[Expat-bugs] [ expat-Bugs-1190650 ] Incorrectly parses property
whose value is the property name
SourceForge.net
noreply at sourceforge.net
Wed Apr 27 02:25:27 CEST 2005
Bugs item #1190650, was opened at 2005-04-26 17:25
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=1190650&group_id=10127
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Incorrectly parses property whose value is the property name
Initial Comment:
I'm using Expat 1.95.8. When I parse an XML doc
which has a property whose value is the same as that
property's name, and there is another XML property
after it in the same XML element, then Expat
misinterprets the first property's value to be the
second property's name. An example that demonstrates
this (more tersely, too!) is that Expat parses the input:
<message hello="hello" world="world">
...as if it were:
<message hello="world" world="world">
Another example would be:
<tag firstProperty="firstProperty"
secondProperty="secondProperty"
thirdProperty="thirdProperty">
...becomes:
<tag firstProperty="secondProperty"
secondProperty="thirdProperty"
thirdProperty="thirdProperty">
It's a pretty rare case, obviously.
Thanks,
Daniel Brewer
dbrewer( at-no spam )extensis.com
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=1190650&group_id=10127
More information about the Expat-bugs
mailing list