Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

wxSmith and XML

<< < (2/2)

Jenna:
If I see it right, tinyxml only uses the value set with SetCondenseWhiteSpace(...) in ReadValue and ReadText, so it will save all spaces, but (if condenseWhiteSpace is set) condense them at read-time.

MortenMacFly:

--- Quote from: jens on March 27, 2009, 11:19:58 am ---If I see it right, tinyxml only uses the value set with SetCondenseWhiteSpace(...) in ReadValue and ReadText, so it will save all spaces, but (if condenseWhiteSpace is set) condense them at read-time.

--- End quote ---
Hehe... that makes it clear. I'd say quite in-consequent, right?! The better default option would be to have the condensed variable to false so that it's the same when reading and writing...

Navigation

[0] Message Index

[*] Previous page

Go to full version