Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

Patch to enable CDATA, plus odds and ends #60

Open
GoogleCodeExporter opened this issue Mar 17, 2015 · 1 comment
Open

Patch to enable CDATA, plus odds and ends #60

GoogleCodeExporter opened this issue Mar 17, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

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 [email protected] on 2 Jul 2010 at 6:30

Attachments:

@GoogleCodeExporter
Copy link
Author

Original comment by [email protected] on 4 Jul 2010 at 10:34

  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant