The following causes the parsing of a file to fail, due to the whitespace inside the end tag:
<tag>something</tag >
TiXmlElement::Parse will ignore any whitespace in the end tag, which is against the XML spec.
http://www.w3.org/TR/REC-xml/#NT-ETag
Whitespace in TinyXML isn't up to spec, although I'd like it to be. Regrettably you'll find quite a few edge cases like this.
lee
Log in to post a comment.
The following causes the parsing of a file to fail, due to the whitespace inside the end tag:
<tag>something</tag >
TiXmlElement::Parse will ignore any whitespace in the end tag, which is against the XML spec.
http://www.w3.org/TR/REC-xml/#NT-ETag
Whitespace in TinyXML isn't up to spec, although I'd like it to be. Regrettably you'll find quite a few edge cases like this.
lee