About Mini-XML

Mini-XML is a small XML library that you can use to read and write XML and XML-like data files in your application without requiring large non-standard libraries. Mini-XML only requires an ANSI C compatible compiler (GCC works, as do most vendors' ANSI C compilers) and a 'make' program.

Mini-XML supports reading of UTF-8 and UTF-16 and writing of UTF-8 encoded XML files and strings. Data is stored in a linked-list tree structure, preserving the XML data hierarchy, and arbitrary element names, attributes, and attribute values are supported with no preset limits, just available memory.

 

Mini-XML 2.10 Jun 13, 2016

Mini-XML 2.10 is now available for download from:

   http://www.msweet.org/downloads.php/Mini-XML

Mini-XML 2.10 fixes some stack overflow, XML, and API issues. Changes include:

  • The version number in mxml.h was wrong (Bug #532)
  • The mxml.spec file was out of date (Bug #521)
  • Mini-XML no longer allows malformed element names (Bug #509)
  • mxmlLoad* and mxmlSAXLoad* did not properly create text nodes when MXML_TEXT_CALLBACK was specified (Bug #531)
  • mxmlDelete used a recursive algorithm which could require large amounts of stack space depending on the file (Bug #549, CVE-2016-4570)
  • mxmlWrite* used a recursive algorithm which could require large amounts of stack space depending on the file (Bug #549, CVE-2016-4571)

Enjoy!

Post comment

Mini-XML 2.9 Now Available Oct 19, 2014

Mini-XML 2.9 is now available for download from:

  http://www.msweet.org/downloads.php/Mini-XML

Mini-XML 2.9 fixes a bug in the mxmlLoad* functions when using the default (MXML_NO_CALLBACK or MXML_TEXT_CALLBACK) callback.

2 comments

View All Articles