I'm using tinyxml inside crtmpserver project (http://rtmpd.com/who-did-what/)
I discovered a problem. When de-serializing a XML, double spaces from text nodes are replaced with single spaces. Actually, any consecutive number of spaces are replaced with single space. The XML was generated using tinyxml. So, the serializer clearly stores them untouched. The deserializer should generate identical values, but is not doing that.
Here is a sample XML file:
When deserialized, I get:
I also tested the XML with the w3c validator and the file is valid
Log in to post a comment.