[Expat-bugs] [Bug #131864] XML_SetReturnNSTriplet doesn't work as documented

noreply@sourceforge.net noreply@sourceforge.net
Sat, 10 Feb 2001 13:29:32 -0800


Bug #131864, was updated on 2001-Feb-10 13:29
Here is a current snapshot of the bug.

Project: Expat XML Parser
Category: None
Status: Open
Resolution: None
Bug Group: None
Priority: 5
Submitted by: rmc
Assigned to : nobody
Summary: XML_SetReturnNSTriplet doesn't work as documented

Details: test.xml:
<foo:doc xmlns:foo='urn:bar' foo:bar='baz'/>

When processed with a namespace-enabled parser, after setting the
ReturnNSTriplet flag, the foo:bar attribute name is correctly expanded to a
triplet, but the foo:doc element type name is not. A trivial
event-reporting app says:

Namespace declaration start: foo='urn:bar'
Element start: 'urn:bar!doc'
  Attribute: urn:bar!bar!foo='baz'
Element end: 'urn:bar!doc'
Namespace declaration end: foo

A look at the source seems to indicate that the code to do the expansion
doesn't exist.


For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=131864&group_id=10127