TinyXML incorrectly encodes text element containing an ampersand followed by either x or #:
The text gets decoded properly to: foo
Yet when saving that very same XML document unmodified, the result is: <foo>foo
This is clearly incorrect behavior and actually results in incorrect XML.
I have attached a patch that contains both a fix as well as an updated xmltest.cpp
Patch is against a fresh CVS checkout made on 2010-07-19 21:00 UTC
Log in to post a comment.