[ expat-Bugs-231864 ] XML_SetReturnNSTriplet doesn't work as documented
noreply@sourceforge.net
noreply@sourceforge.net
Fri Apr 19 14:00:07 2002
Bugs item #231864, was opened at 2001-02-10 16:29
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=231864&group_id=10127
Category: None
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Ernst Jan Plugge (rmc)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: XML_SetReturnNSTriplet doesn't work as documented
Initial Comment:
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.
----------------------------------------------------------------------
>Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2002-04-19 16:59
Message:
Logged In: YES
user_id=3066
Finally(!) fixed in lib/xmlparse.c revision 1.26 using a
modified version of patch #476929. Added tests in
tests/runtests.c revision 1.10.
----------------------------------------------------------------------
Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2001-04-05 15:18
Message:
Logged In: YES
user_id=3066
--sigh--
I actually expect to look at this in 1-2 weeks.
----------------------------------------------------------------------
Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2001-02-14 13:18
Message:
Assigned to me since I was planning to use this feature in the near-ish future.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=231864&group_id=10127