Although tinyxml supports handling CDATA, there seems to have been no way to
make use of it previously. The fix is pretty trivial; just a getter and setter
to access the tinyxml CDATA getter and setter.
Also included here are a couple of tweaks that I vaguely recall I added for
performance reasons (in TiXmlElement::CopyTo and TiXmlAttributeSet::Add).
Finally, there are two overloaded versions of ticpp::Base::FromString for
floats and double which recognize "inf", "-inf" and "nan" and use the
appropriate values from std::numeric_limits. Thee may not be suitable for
inclusion in library, but since I had them I thought that I might as well share
them.
Original issue reported on code.google.com by cnwea...@gmail.com on 2 Jul 2010 at 6:30
Original issue reported on code.google.com by
cnwea...@gmail.com
on 2 Jul 2010 at 6:30Attachments: