Bug fix release for TinyXML. TinyXml is a simple, small, minimal, C++ XML parser that can be easily integrating into other programs.
Features and extra polish added to this simple C++ XML parser. CDATA support has been added when text parsing, and Eller's popular tutorial is now part of the standard docs.
TinyXml 2.4 uses Tyge Lovset's more efficient string class (when STL is not being used), "unsafe" functions have been replaced in many modern compilers, and TinyXml will now perform correct EOL normalization.
There are some extra convenience methods as well. Text can be queried directly from an Element, and ValueStr() will avoid string casting in STL mode.... read more
3rd party projects that add functionality to TinyXml!
The first, TinyBind http://sourceforge.net/projects/tinybind/ is "add-on library for the cross-platform XML parser tinyxml that makes it easy to "bind" a C++ struct definition to an XML file format for easy serialize/deserialize. supports nested structs and STL containers."
The second, TinyXPath http://sourceforge.net/projects/tinyxpath/, "Small footprint C++ library to extract an XPath expression from an XML tree. Uses the TinyXML project to parse XML trees and store intermediate results. Runs on any platform. Optional use of STL. Overhead less than 100KB, including TinyXML."
TinyXml 2.3.2 is the first stable release of TinyXml with support for UTF-8 making the parser fully internationalized. The 2.3 series also addressed some long standing bugs and adds copy and assignment operators for Node classes.
The 2.3 series has turned out to be a significant revision of TinyXml. 2.3.1 addresses API issues and bugs from 2.3.0, primarily improving UTF-8 and copy/assignment. Although some bug fixes were added too.
Copy / Assignment
- All the children of TiXmlNode (Document, Text, Unknown, Declaration, and Element) not fully support copy and assignment.
- TinyXml will now try to detect the correct encoding: UTF-8 or legacy mode.
- The encoding can be forced to one mode or the other through the API or a header constant.
- Bugs in parsing have been fixed, especially in regards to incorrectly encoded source.... read more