mirror of
https://github.com/michaelrsweet/mxml.git
synced 2024-11-08 13:39:58 +00:00
Fix bug in custom data with whitespace.
Prep for 2.2.2 release.
This commit is contained in:
parent
ce6b845684
commit
63cd5de2a0
@ -1,7 +1,5 @@
|
||||
Mini-XML 2.2.1 is now available for download from:
|
||||
Mini-XML 2.2.2 is now available for download from:
|
||||
|
||||
http://www.easysw.com/~mike/mxml/software.php
|
||||
|
||||
Mini-XML 2.2.1 fixes some makefile bugs, changes the load
|
||||
functions to return NULL on error, and updates the node creation
|
||||
functions to conform to the documentation.
|
||||
Mini-XML 2.2.2 fixes a bug in the reading of custom data nodes.
|
||||
|
8
CHANGES
8
CHANGES
@ -1,6 +1,12 @@
|
||||
CHANGES - 05/17/2005
|
||||
CHANGES - 05/19/2005
|
||||
--------------------
|
||||
|
||||
CHANGES IN Mini-XML 2.2.2
|
||||
|
||||
- mxmlLoad*() did not treat custom data as opaque, so
|
||||
whitespace characters would be lost.
|
||||
|
||||
|
||||
CHANGES IN Mini-XML 2.2.1
|
||||
|
||||
- mxmlLoadFd(), mxmlLoadFile(), and mxmlLoadString() now
|
||||
|
4
README
4
README
@ -1,11 +1,11 @@
|
||||
README - 05/17/2005
|
||||
README - 05/19/2005
|
||||
-------------------
|
||||
|
||||
|
||||
INTRODUCTION
|
||||
|
||||
This README file describes the Mini-XML library version
|
||||
2.2.1.
|
||||
2.2.2.
|
||||
|
||||
Mini-XML is a small XML parsing library that you can use to
|
||||
read XML and XML-like data files in your application without
|
||||
|
@ -23,7 +23,7 @@ dnl Set the name of the config header file...
|
||||
AC_CONFIG_HEADER(config.h)
|
||||
|
||||
dnl Version number...
|
||||
VERSION=2.2.1
|
||||
VERSION=2.2.2
|
||||
AC_SUBST(VERSION)
|
||||
AC_DEFINE_UNQUOTED(MXML_VERSION, "Mini-XML v$VERSION")
|
||||
|
||||
|
@ -83,20 +83,21 @@ Copyright 2003-2005<BR>
|
||||
</UL>
|
||||
<B><A HREF="#RELNOTES">B - Release Notes</A></B>
|
||||
<UL>
|
||||
<LI><A HREF="#7_1">Changes in Mini-XML 2.2.1</A></LI>
|
||||
<LI><A HREF="#7_2">Changes in Mini-XML 2.2</A></LI>
|
||||
<LI><A HREF="#7_3">Changes in Mini-XML 2.1</A></LI>
|
||||
<LI><A HREF="#7_4">Changes in Mini-XML 2.0</A></LI>
|
||||
<LI><A HREF="#7_5">Changes in Mini-XML 1.3</A></LI>
|
||||
<LI><A HREF="#7_6">Changes in Mini-XML 1.2</A></LI>
|
||||
<LI><A HREF="#7_7">Changes in Mini-XML 1.1.2</A></LI>
|
||||
<LI><A HREF="#7_8">Changes in Mini-XML 1.1.1</A></LI>
|
||||
<LI><A HREF="#7_9">Changes in Mini-XML 1.1</A></LI>
|
||||
<LI><A HREF="#7_10">Changes in Mini-XML 1.0</A></LI>
|
||||
<LI><A HREF="#7_11">Changes in Mini-XML 0.93</A></LI>
|
||||
<LI><A HREF="#7_12">Changes in Mini-XML 0.92</A></LI>
|
||||
<LI><A HREF="#7_13">Changes in Mini-XML 0.91</A></LI>
|
||||
<LI><A HREF="#7_14">Changes in Mini-XML 0.9</A></LI>
|
||||
<LI><A HREF="#7_1">Changes in Mini-XML 2.2.2</A></LI>
|
||||
<LI><A HREF="#7_2">Changes in Mini-XML 2.2.1</A></LI>
|
||||
<LI><A HREF="#7_3">Changes in Mini-XML 2.2</A></LI>
|
||||
<LI><A HREF="#7_4">Changes in Mini-XML 2.1</A></LI>
|
||||
<LI><A HREF="#7_5">Changes in Mini-XML 2.0</A></LI>
|
||||
<LI><A HREF="#7_6">Changes in Mini-XML 1.3</A></LI>
|
||||
<LI><A HREF="#7_7">Changes in Mini-XML 1.2</A></LI>
|
||||
<LI><A HREF="#7_8">Changes in Mini-XML 1.1.2</A></LI>
|
||||
<LI><A HREF="#7_9">Changes in Mini-XML 1.1.1</A></LI>
|
||||
<LI><A HREF="#7_10">Changes in Mini-XML 1.1</A></LI>
|
||||
<LI><A HREF="#7_11">Changes in Mini-XML 1.0</A></LI>
|
||||
<LI><A HREF="#7_12">Changes in Mini-XML 0.93</A></LI>
|
||||
<LI><A HREF="#7_13">Changes in Mini-XML 0.92</A></LI>
|
||||
<LI><A HREF="#7_14">Changes in Mini-XML 0.91</A></LI>
|
||||
<LI><A HREF="#7_15">Changes in Mini-XML 0.9</A></LI>
|
||||
</UL>
|
||||
<B><A HREF="#REFERENCE">C - Library Reference</A></B>
|
||||
<UL>
|
||||
@ -1826,7 +1827,12 @@ Ty Coon, President of Vice
|
||||
<P>That's all there is to it!</P>
|
||||
<HR NOSHADE>
|
||||
<H1 align="right"><A name="RELNOTES">B - Release Notes</A></H1>
|
||||
<H2><A NAME="7_1">Changes in Mini-XML 2.2.1</A></H2>
|
||||
<H2><A NAME="7_1">Changes in Mini-XML 2.2.2</A></H2>
|
||||
<UL>
|
||||
<LI>mxmlLoad*() did not treat custom data as opaque, so whitespace
|
||||
characters would be lost.</LI>
|
||||
</UL>
|
||||
<H2><A NAME="7_2">Changes in Mini-XML 2.2.1</A></H2>
|
||||
<UL>
|
||||
<LI>mxmlLoadFd(), mxmlLoadFile(), and mxmlLoadString() now correctly
|
||||
return NULL on error (STR #21)</LI>
|
||||
@ -1837,7 +1843,7 @@ Ty Coon, President of Vice
|
||||
proper permissions on UNIX/Linux/OSX.</LI>
|
||||
<LI>Fixed a MingW/Cygwin compilation problem (STR #18)</LI>
|
||||
</UL>
|
||||
<H2><A NAME="7_2">Changes in Mini-XML 2.2</A></H2>
|
||||
<H2><A NAME="7_3">Changes in Mini-XML 2.2</A></H2>
|
||||
<UL>
|
||||
<LI>Added shared library support (STR #17)</LI>
|
||||
<LI>mxmlLoad*() now returns an error when an XML stream contains illegal
|
||||
@ -1851,7 +1857,7 @@ Ty Coon, President of Vice
|
||||
<LI>Added checking for invalid comment termination ("--->" is not
|
||||
allowed)</LI>
|
||||
</UL>
|
||||
<H2><A NAME="7_3">Changes in Mini-XML 2.1</A></H2>
|
||||
<H2><A NAME="7_4">Changes in Mini-XML 2.1</A></H2>
|
||||
<UL>
|
||||
<LI>Added support for custom data nodes (STR #6)</LI>
|
||||
<LI>Now treat UTF-8 sequences which are longer than necessary as an
|
||||
@ -1862,7 +1868,7 @@ Ty Coon, President of Vice
|
||||
<LI>Added mxmlLoadFd() and mxmlSaveFd() functions.</LI>
|
||||
<LI>Fixed multi-word UTF-16 handling.</LI>
|
||||
</UL>
|
||||
<H2><A NAME="7_4">Changes in Mini-XML 2.0</A></H2>
|
||||
<H2><A NAME="7_5">Changes in Mini-XML 2.0</A></H2>
|
||||
<UL>
|
||||
<LI>New programmers manual.</LI>
|
||||
<LI>Added Visual C++ project files for Microsoft Windows users.</LI>
|
||||
@ -1895,7 +1901,7 @@ Ty Coon, President of Vice
|
||||
destination path and install path. This caused problems when building
|
||||
and installing with MingW.</LI>
|
||||
</UL>
|
||||
<H2><A NAME="7_5">Changes in Mini-XML 1.3</A></H2>
|
||||
<H2><A NAME="7_6">Changes in Mini-XML 1.3</A></H2>
|
||||
<UL>
|
||||
<LI>Fixes for mxmldoc.</LI>
|
||||
<LI>Added support for reading standard HTML entity names.</LI>
|
||||
@ -1911,7 +1917,7 @@ Ty Coon, President of Vice
|
||||
<LI>The load and save functions now properly handle quoted element and
|
||||
attribute name strings properly, e.g. for !DOCTYPE declarations.</LI>
|
||||
</UL>
|
||||
<H2><A NAME="7_6">Changes in Mini-XML 1.2</A></H2>
|
||||
<H2><A NAME="7_7">Changes in Mini-XML 1.2</A></H2>
|
||||
<UL>
|
||||
<LI>Added new "set" methods to set the value of a node.</LI>
|
||||
<LI>Added new formatted text methods mxmlNewTextf() and mxmlSetTextf()
|
||||
@ -1924,13 +1930,13 @@ Ty Coon, President of Vice
|
||||
<LI>Added --with/without-snprintf configure option to control the
|
||||
snprintf() and vsnprintf() function checks.</LI>
|
||||
</UL>
|
||||
<H2><A NAME="7_7">Changes in Mini-XML 1.1.2</A></H2>
|
||||
<H2><A NAME="7_8">Changes in Mini-XML 1.1.2</A></H2>
|
||||
<UL>
|
||||
<LI>The mxml(3) man page wasn't updated for the string functions.</LI>
|
||||
<LI>mxmlSaveString() returned the wrong number of characters.</LI>
|
||||
<LI>mxml_add_char() updated the buffer pointer in the wrong place.</LI>
|
||||
</UL>
|
||||
<H2><A NAME="7_8">Changes in Mini-XML 1.1.1</A></H2>
|
||||
<H2><A NAME="7_9">Changes in Mini-XML 1.1.1</A></H2>
|
||||
<UL>
|
||||
<LI>The private mxml_add_ch() function did not update the
|
||||
start-of-buffer pointer which could cause a crash when using
|
||||
@ -1941,7 +1947,7 @@ Ty Coon, President of Vice
|
||||
<LI>Added a mxmlSaveAllocString() convenience function for saving an XML
|
||||
node tree to an allocated string.</LI>
|
||||
</UL>
|
||||
<H2><A NAME="7_9">Changes in Mini-XML 1.1</A></H2>
|
||||
<H2><A NAME="7_10">Changes in Mini-XML 1.1</A></H2>
|
||||
<UL>
|
||||
<LI>The mxmlLoadFile() function now uses dynamically allocated string
|
||||
buffers for element names, attribute names, and attribute values.
|
||||
@ -1953,7 +1959,7 @@ Ty Coon, President of Vice
|
||||
<LI>Add emulation of strdup() if the local platform does not provide the
|
||||
function.</LI>
|
||||
</UL>
|
||||
<H2><A NAME="7_10">Changes in Mini-XML 1.0</A></H2>
|
||||
<H2><A NAME="7_11">Changes in Mini-XML 1.0</A></H2>
|
||||
<UL>
|
||||
<LI>The mxmldoc program now handles function arguments, structures,
|
||||
unions, enumerations, classes, and typedefs properly.</LI>
|
||||
@ -1961,7 +1967,7 @@ Ty Coon, President of Vice
|
||||
code.</LI>
|
||||
<LI>Added man pages and packaging files.</LI>
|
||||
</UL>
|
||||
<H2><A NAME="7_11">Changes in Mini-XML 0.93</A></H2>
|
||||
<H2><A NAME="7_12">Changes in Mini-XML 0.93</A></H2>
|
||||
<UL>
|
||||
<LI>New mxmldoc example program that is also used to create and update
|
||||
code documentation using XML and produce HTML reference pages.</LI>
|
||||
@ -1986,15 +1992,15 @@ Ty Coon, President of Vice
|
||||
<LI>mxmlSaveFile() now supports a whitespace callback to provide more
|
||||
human-readable XML output under program control.</LI>
|
||||
</UL>
|
||||
<H2><A NAME="7_12">Changes in Mini-XML 0.92</A></H2>
|
||||
<H2><A NAME="7_13">Changes in Mini-XML 0.92</A></H2>
|
||||
<UL>
|
||||
<LI>mxmlSaveFile() didn't return a value on success.</LI>
|
||||
</UL>
|
||||
<H2><A NAME="7_13">Changes in Mini-XML 0.91</A></H2>
|
||||
<H2><A NAME="7_14">Changes in Mini-XML 0.91</A></H2>
|
||||
<UL>
|
||||
<LI>mxmlWalkNext() would go into an infinite loop.</LI>
|
||||
</UL>
|
||||
<H2><A NAME="7_14">Changes in Mini-XML 0.9</A></H2>
|
||||
<H2><A NAME="7_15">Changes in Mini-XML 0.9</A></H2>
|
||||
<UL>
|
||||
<LI>Initial public release.</LI>
|
||||
</UL>
|
||||
|
@ -3,6 +3,16 @@
|
||||
|
||||
<h1 align='right'><a name='RELNOTES'>B - Release Notes</a></h1>
|
||||
|
||||
<h2>Changes in Mini-XML 2.2.2</h2>
|
||||
|
||||
<ul>
|
||||
|
||||
<li>mxmlLoad*() did not treat custom data as opaque, so
|
||||
whitespace characters would be lost.</li>
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
<h2>Changes in Mini-XML 2.2.1</h2>
|
||||
|
||||
<ul>
|
||||
|
@ -1786,7 +1786,7 @@ mxml_load_data(mxml_node_t *top, /* I - Top node */
|
||||
if (mxml_add_char(ch, &bufptr, &buffer, &bufsize))
|
||||
goto error;
|
||||
}
|
||||
else if (type == MXML_OPAQUE || !isspace(ch))
|
||||
else if (type == MXML_OPAQUE || type == MXML_CUSTOM || !isspace(ch))
|
||||
{
|
||||
/*
|
||||
* Add character to current buffer...
|
||||
|
@ -18,7 +18,7 @@
|
||||
|
||||
Summary: Miniature XML development library
|
||||
Name: mxml
|
||||
Version: 2.2.1
|
||||
Version: 2.2.2
|
||||
Release: 1
|
||||
Copyright: GPL
|
||||
Group: Development/Libraries
|
||||
|
@ -8,7 +8,7 @@
|
||||
<LINK REL="Start" HREF="index.html">
|
||||
<LINK REL="Contents" HREF="toc.html">
|
||||
<LINK REL="Prev" HREF="HowtoApplyTheseTermstoYourNewLibraries.html">
|
||||
<LINK REL="Next" HREF="ChangesinMiniXML221.html">
|
||||
<LINK REL="Next" HREF="ChangesinMiniXML222.html">
|
||||
<STYLE TYPE="text/css"><!--
|
||||
BODY { font-family: serif }
|
||||
H1 { font-family: sans-serif }
|
||||
@ -25,12 +25,12 @@ PRE { font-family: monospace }
|
||||
<BODY>
|
||||
<A HREF="toc.html">Contents</A>
|
||||
<A HREF="HowtoApplyTheseTermstoYourNewLibraries.html">Previous</A>
|
||||
<A HREF="ChangesinMiniXML221.html">Next</A>
|
||||
<A HREF="ChangesinMiniXML222.html">Next</A>
|
||||
<HR NOSHADE>
|
||||
<H1 align="right"><A name="RELNOTES">B - Release Notes</A></H1>
|
||||
<HR NOSHADE>
|
||||
<A HREF="toc.html">Contents</A>
|
||||
<A HREF="HowtoApplyTheseTermstoYourNewLibraries.html">Previous</A>
|
||||
<A HREF="ChangesinMiniXML221.html">Next</A>
|
||||
<A HREF="ChangesinMiniXML222.html">Next</A>
|
||||
</BODY>
|
||||
</HTML>
|
||||
|
@ -27,7 +27,7 @@ PRE { font-family: monospace }
|
||||
<A HREF="ChangesinMiniXML091.html">Previous</A>
|
||||
<A HREF="CLibraryReference.html">Next</A>
|
||||
<HR NOSHADE>
|
||||
<H2><A NAME="7_14">Changes in Mini-XML 0.9</A></H2>
|
||||
<H2><A NAME="7_15">Changes in Mini-XML 0.9</A></H2>
|
||||
<UL>
|
||||
<LI>Initial public release.</LI>
|
||||
</UL>
|
||||
|
@ -27,7 +27,7 @@ PRE { font-family: monospace }
|
||||
<A HREF="ChangesinMiniXML092.html">Previous</A>
|
||||
<A HREF="ChangesinMiniXML09.html">Next</A>
|
||||
<HR NOSHADE>
|
||||
<H2><A NAME="7_13">Changes in Mini-XML 0.91</A></H2>
|
||||
<H2><A NAME="7_14">Changes in Mini-XML 0.91</A></H2>
|
||||
<UL>
|
||||
<LI>mxmlWalkNext() would go into an infinite loop.</LI>
|
||||
</UL>
|
||||
|
@ -27,7 +27,7 @@ PRE { font-family: monospace }
|
||||
<A HREF="ChangesinMiniXML093.html">Previous</A>
|
||||
<A HREF="ChangesinMiniXML091.html">Next</A>
|
||||
<HR NOSHADE>
|
||||
<H2><A NAME="7_12">Changes in Mini-XML 0.92</A></H2>
|
||||
<H2><A NAME="7_13">Changes in Mini-XML 0.92</A></H2>
|
||||
<UL>
|
||||
<LI>mxmlSaveFile() didn't return a value on success.</LI>
|
||||
</UL>
|
||||
|
@ -27,7 +27,7 @@ PRE { font-family: monospace }
|
||||
<A HREF="ChangesinMiniXML10.html">Previous</A>
|
||||
<A HREF="ChangesinMiniXML092.html">Next</A>
|
||||
<HR NOSHADE>
|
||||
<H2><A NAME="7_11">Changes in Mini-XML 0.93</A></H2>
|
||||
<H2><A NAME="7_12">Changes in Mini-XML 0.93</A></H2>
|
||||
<UL>
|
||||
<LI>New mxmldoc example program that is also used to create and update
|
||||
code documentation using XML and produce HTML reference pages.</LI>
|
||||
|
@ -27,7 +27,7 @@ PRE { font-family: monospace }
|
||||
<A HREF="ChangesinMiniXML11.html">Previous</A>
|
||||
<A HREF="ChangesinMiniXML093.html">Next</A>
|
||||
<HR NOSHADE>
|
||||
<H2><A NAME="7_10">Changes in Mini-XML 1.0</A></H2>
|
||||
<H2><A NAME="7_11">Changes in Mini-XML 1.0</A></H2>
|
||||
<UL>
|
||||
<LI>The mxmldoc program now handles function arguments, structures,
|
||||
unions, enumerations, classes, and typedefs properly.</LI>
|
||||
|
@ -27,7 +27,7 @@ PRE { font-family: monospace }
|
||||
<A HREF="ChangesinMiniXML111.html">Previous</A>
|
||||
<A HREF="ChangesinMiniXML10.html">Next</A>
|
||||
<HR NOSHADE>
|
||||
<H2><A NAME="7_9">Changes in Mini-XML 1.1</A></H2>
|
||||
<H2><A NAME="7_10">Changes in Mini-XML 1.1</A></H2>
|
||||
<UL>
|
||||
<LI>The mxmlLoadFile() function now uses dynamically allocated string
|
||||
buffers for element names, attribute names, and attribute values.
|
||||
|
@ -27,7 +27,7 @@ PRE { font-family: monospace }
|
||||
<A HREF="ChangesinMiniXML112.html">Previous</A>
|
||||
<A HREF="ChangesinMiniXML11.html">Next</A>
|
||||
<HR NOSHADE>
|
||||
<H2><A NAME="7_8">Changes in Mini-XML 1.1.1</A></H2>
|
||||
<H2><A NAME="7_9">Changes in Mini-XML 1.1.1</A></H2>
|
||||
<UL>
|
||||
<LI>The private mxml_add_ch() function did not update the
|
||||
start-of-buffer pointer which could cause a crash when using
|
||||
|
@ -27,7 +27,7 @@ PRE { font-family: monospace }
|
||||
<A HREF="ChangesinMiniXML12.html">Previous</A>
|
||||
<A HREF="ChangesinMiniXML111.html">Next</A>
|
||||
<HR NOSHADE>
|
||||
<H2><A NAME="7_7">Changes in Mini-XML 1.1.2</A></H2>
|
||||
<H2><A NAME="7_8">Changes in Mini-XML 1.1.2</A></H2>
|
||||
<UL>
|
||||
<LI>The mxml(3) man page wasn't updated for the string functions.</LI>
|
||||
<LI>mxmlSaveString() returned the wrong number of characters.</LI>
|
||||
|
@ -27,7 +27,7 @@ PRE { font-family: monospace }
|
||||
<A HREF="ChangesinMiniXML13.html">Previous</A>
|
||||
<A HREF="ChangesinMiniXML112.html">Next</A>
|
||||
<HR NOSHADE>
|
||||
<H2><A NAME="7_6">Changes in Mini-XML 1.2</A></H2>
|
||||
<H2><A NAME="7_7">Changes in Mini-XML 1.2</A></H2>
|
||||
<UL>
|
||||
<LI>Added new "set" methods to set the value of a node.</LI>
|
||||
<LI>Added new formatted text methods mxmlNewTextf() and mxmlSetTextf()
|
||||
|
@ -27,7 +27,7 @@ PRE { font-family: monospace }
|
||||
<A HREF="ChangesinMiniXML20.html">Previous</A>
|
||||
<A HREF="ChangesinMiniXML12.html">Next</A>
|
||||
<HR NOSHADE>
|
||||
<H2><A NAME="7_5">Changes in Mini-XML 1.3</A></H2>
|
||||
<H2><A NAME="7_6">Changes in Mini-XML 1.3</A></H2>
|
||||
<UL>
|
||||
<LI>Fixes for mxmldoc.</LI>
|
||||
<LI>Added support for reading standard HTML entity names.</LI>
|
||||
|
@ -27,7 +27,7 @@ PRE { font-family: monospace }
|
||||
<A HREF="ChangesinMiniXML21.html">Previous</A>
|
||||
<A HREF="ChangesinMiniXML13.html">Next</A>
|
||||
<HR NOSHADE>
|
||||
<H2><A NAME="7_4">Changes in Mini-XML 2.0</A></H2>
|
||||
<H2><A NAME="7_5">Changes in Mini-XML 2.0</A></H2>
|
||||
<UL>
|
||||
<LI>New programmers manual.</LI>
|
||||
<LI>Added Visual C++ project files for Microsoft Windows users.</LI>
|
||||
|
@ -27,7 +27,7 @@ PRE { font-family: monospace }
|
||||
<A HREF="ChangesinMiniXML22.html">Previous</A>
|
||||
<A HREF="ChangesinMiniXML20.html">Next</A>
|
||||
<HR NOSHADE>
|
||||
<H2><A NAME="7_3">Changes in Mini-XML 2.1</A></H2>
|
||||
<H2><A NAME="7_4">Changes in Mini-XML 2.1</A></H2>
|
||||
<UL>
|
||||
<LI>Added support for custom data nodes (STR #6)</LI>
|
||||
<LI>Now treat UTF-8 sequences which are longer than necessary as an
|
||||
|
@ -27,7 +27,7 @@ PRE { font-family: monospace }
|
||||
<A HREF="ChangesinMiniXML221.html">Previous</A>
|
||||
<A HREF="ChangesinMiniXML21.html">Next</A>
|
||||
<HR NOSHADE>
|
||||
<H2><A NAME="7_2">Changes in Mini-XML 2.2</A></H2>
|
||||
<H2><A NAME="7_3">Changes in Mini-XML 2.2</A></H2>
|
||||
<UL>
|
||||
<LI>Added shared library support (STR #17)</LI>
|
||||
<LI>mxmlLoad*() now returns an error when an XML stream contains illegal
|
||||
|
@ -7,7 +7,7 @@
|
||||
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=iso-iso-8859-1">
|
||||
<LINK REL="Start" HREF="index.html">
|
||||
<LINK REL="Contents" HREF="toc.html">
|
||||
<LINK REL="Prev" HREF="BReleaseNotes.html">
|
||||
<LINK REL="Prev" HREF="ChangesinMiniXML222.html">
|
||||
<LINK REL="Next" HREF="ChangesinMiniXML22.html">
|
||||
<STYLE TYPE="text/css"><!--
|
||||
BODY { font-family: serif }
|
||||
@ -24,10 +24,10 @@ PRE { font-family: monospace }
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<A HREF="toc.html">Contents</A>
|
||||
<A HREF="BReleaseNotes.html">Previous</A>
|
||||
<A HREF="ChangesinMiniXML222.html">Previous</A>
|
||||
<A HREF="ChangesinMiniXML22.html">Next</A>
|
||||
<HR NOSHADE>
|
||||
<H2><A NAME="7_1">Changes in Mini-XML 2.2.1</A></H2>
|
||||
<H2><A NAME="7_2">Changes in Mini-XML 2.2.1</A></H2>
|
||||
<UL>
|
||||
<LI>mxmlLoadFd(), mxmlLoadFile(), and mxmlLoadString() now correctly
|
||||
return NULL on error (STR #21)</LI>
|
||||
@ -40,7 +40,7 @@ PRE { font-family: monospace }
|
||||
</UL>
|
||||
<HR NOSHADE>
|
||||
<A HREF="toc.html">Contents</A>
|
||||
<A HREF="BReleaseNotes.html">Previous</A>
|
||||
<A HREF="ChangesinMiniXML222.html">Previous</A>
|
||||
<A HREF="ChangesinMiniXML22.html">Next</A>
|
||||
</BODY>
|
||||
</HTML>
|
||||
|
40
www/docfiles/ChangesinMiniXML222.html
Normal file
40
www/docfiles/ChangesinMiniXML222.html
Normal file
@ -0,0 +1,40 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>Mini-XML Programmers Manual, Version 2.2.1</TITLE>
|
||||
<META NAME="author" CONTENT="Michael Sweet">
|
||||
<META NAME="copyright" CONTENT="Copyright 2003-2005">
|
||||
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=iso-iso-8859-1">
|
||||
<LINK REL="Start" HREF="index.html">
|
||||
<LINK REL="Contents" HREF="toc.html">
|
||||
<LINK REL="Prev" HREF="BReleaseNotes.html">
|
||||
<LINK REL="Next" HREF="ChangesinMiniXML221.html">
|
||||
<STYLE TYPE="text/css"><!--
|
||||
BODY { font-family: serif }
|
||||
H1 { font-family: sans-serif }
|
||||
H2 { font-family: sans-serif }
|
||||
H3 { font-family: sans-serif }
|
||||
H4 { font-family: sans-serif }
|
||||
H5 { font-family: sans-serif }
|
||||
H6 { font-family: sans-serif }
|
||||
SUB { font-size: smaller }
|
||||
SUP { font-size: smaller }
|
||||
PRE { font-family: monospace }
|
||||
--></STYLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<A HREF="toc.html">Contents</A>
|
||||
<A HREF="BReleaseNotes.html">Previous</A>
|
||||
<A HREF="ChangesinMiniXML221.html">Next</A>
|
||||
<HR NOSHADE>
|
||||
<H2><A NAME="7_1">Changes in Mini-XML 2.2.2</A></H2>
|
||||
<UL>
|
||||
<LI>mxmlLoad*() did not treat custom data as opaque, so whitespace
|
||||
characters would be lost.</LI>
|
||||
</UL>
|
||||
<HR NOSHADE>
|
||||
<A HREF="toc.html">Contents</A>
|
||||
<A HREF="BReleaseNotes.html">Previous</A>
|
||||
<A HREF="ChangesinMiniXML221.html">Next</A>
|
||||
</BODY>
|
||||
</HTML>
|
@ -90,20 +90,21 @@ Variables and Class/Structure/Union Members</A></LI>
|
||||
</UL>
|
||||
<B><A HREF="BReleaseNotes.html#RELNOTES">B - Release Notes</A></B>
|
||||
<UL>
|
||||
<LI><A HREF="ChangesinMiniXML221.html#7_1">Changes in Mini-XML 2.2.1</A></LI>
|
||||
<LI><A HREF="ChangesinMiniXML22.html#7_2">Changes in Mini-XML 2.2</A></LI>
|
||||
<LI><A HREF="ChangesinMiniXML21.html#7_3">Changes in Mini-XML 2.1</A></LI>
|
||||
<LI><A HREF="ChangesinMiniXML20.html#7_4">Changes in Mini-XML 2.0</A></LI>
|
||||
<LI><A HREF="ChangesinMiniXML13.html#7_5">Changes in Mini-XML 1.3</A></LI>
|
||||
<LI><A HREF="ChangesinMiniXML12.html#7_6">Changes in Mini-XML 1.2</A></LI>
|
||||
<LI><A HREF="ChangesinMiniXML112.html#7_7">Changes in Mini-XML 1.1.2</A></LI>
|
||||
<LI><A HREF="ChangesinMiniXML111.html#7_8">Changes in Mini-XML 1.1.1</A></LI>
|
||||
<LI><A HREF="ChangesinMiniXML11.html#7_9">Changes in Mini-XML 1.1</A></LI>
|
||||
<LI><A HREF="ChangesinMiniXML10.html#7_10">Changes in Mini-XML 1.0</A></LI>
|
||||
<LI><A HREF="ChangesinMiniXML093.html#7_11">Changes in Mini-XML 0.93</A></LI>
|
||||
<LI><A HREF="ChangesinMiniXML092.html#7_12">Changes in Mini-XML 0.92</A></LI>
|
||||
<LI><A HREF="ChangesinMiniXML091.html#7_13">Changes in Mini-XML 0.91</A></LI>
|
||||
<LI><A HREF="ChangesinMiniXML09.html#7_14">Changes in Mini-XML 0.9</A></LI>
|
||||
<LI><A HREF="ChangesinMiniXML222.html#7_1">Changes in Mini-XML 2.2.2</A></LI>
|
||||
<LI><A HREF="ChangesinMiniXML221.html#7_2">Changes in Mini-XML 2.2.1</A></LI>
|
||||
<LI><A HREF="ChangesinMiniXML22.html#7_3">Changes in Mini-XML 2.2</A></LI>
|
||||
<LI><A HREF="ChangesinMiniXML21.html#7_4">Changes in Mini-XML 2.1</A></LI>
|
||||
<LI><A HREF="ChangesinMiniXML20.html#7_5">Changes in Mini-XML 2.0</A></LI>
|
||||
<LI><A HREF="ChangesinMiniXML13.html#7_6">Changes in Mini-XML 1.3</A></LI>
|
||||
<LI><A HREF="ChangesinMiniXML12.html#7_7">Changes in Mini-XML 1.2</A></LI>
|
||||
<LI><A HREF="ChangesinMiniXML112.html#7_8">Changes in Mini-XML 1.1.2</A></LI>
|
||||
<LI><A HREF="ChangesinMiniXML111.html#7_9">Changes in Mini-XML 1.1.1</A></LI>
|
||||
<LI><A HREF="ChangesinMiniXML11.html#7_10">Changes in Mini-XML 1.1</A></LI>
|
||||
<LI><A HREF="ChangesinMiniXML10.html#7_11">Changes in Mini-XML 1.0</A></LI>
|
||||
<LI><A HREF="ChangesinMiniXML093.html#7_12">Changes in Mini-XML 0.93</A></LI>
|
||||
<LI><A HREF="ChangesinMiniXML092.html#7_13">Changes in Mini-XML 0.92</A></LI>
|
||||
<LI><A HREF="ChangesinMiniXML091.html#7_14">Changes in Mini-XML 0.91</A></LI>
|
||||
<LI><A HREF="ChangesinMiniXML09.html#7_15">Changes in Mini-XML 0.9</A></LI>
|
||||
</UL>
|
||||
<B><A HREF="CLibraryReference.html#REFERENCE">C - Library Reference</A></B>
|
||||
<UL>
|
||||
|
@ -21,7 +21,7 @@ html_start_table(array("Quick Info"), "100%", "100%");
|
||||
html_start_row();
|
||||
print("<td>"
|
||||
."<p align='center'>"
|
||||
."Stable Release: <a href='software.php?2.2.1'>v2.2.1</a></p>"
|
||||
."Stable Release: <a href='software.php?2.2.2'>v2.2.2</a></p>"
|
||||
."<small><p>Mini-XML is a small XML parsing library that you can use to "
|
||||
."read XML and XML-like data files in your application without "
|
||||
."requiring large non-standard libraries. Mini-XML only requires "
|
||||
|
@ -83,20 +83,21 @@ Copyright 2003-2005<BR>
|
||||
</UL>
|
||||
<B><A HREF="#RELNOTES">B - Release Notes</A></B>
|
||||
<UL>
|
||||
<LI><A HREF="#7_1">Changes in Mini-XML 2.2.1</A></LI>
|
||||
<LI><A HREF="#7_2">Changes in Mini-XML 2.2</A></LI>
|
||||
<LI><A HREF="#7_3">Changes in Mini-XML 2.1</A></LI>
|
||||
<LI><A HREF="#7_4">Changes in Mini-XML 2.0</A></LI>
|
||||
<LI><A HREF="#7_5">Changes in Mini-XML 1.3</A></LI>
|
||||
<LI><A HREF="#7_6">Changes in Mini-XML 1.2</A></LI>
|
||||
<LI><A HREF="#7_7">Changes in Mini-XML 1.1.2</A></LI>
|
||||
<LI><A HREF="#7_8">Changes in Mini-XML 1.1.1</A></LI>
|
||||
<LI><A HREF="#7_9">Changes in Mini-XML 1.1</A></LI>
|
||||
<LI><A HREF="#7_10">Changes in Mini-XML 1.0</A></LI>
|
||||
<LI><A HREF="#7_11">Changes in Mini-XML 0.93</A></LI>
|
||||
<LI><A HREF="#7_12">Changes in Mini-XML 0.92</A></LI>
|
||||
<LI><A HREF="#7_13">Changes in Mini-XML 0.91</A></LI>
|
||||
<LI><A HREF="#7_14">Changes in Mini-XML 0.9</A></LI>
|
||||
<LI><A HREF="#7_1">Changes in Mini-XML 2.2.2</A></LI>
|
||||
<LI><A HREF="#7_2">Changes in Mini-XML 2.2.1</A></LI>
|
||||
<LI><A HREF="#7_3">Changes in Mini-XML 2.2</A></LI>
|
||||
<LI><A HREF="#7_4">Changes in Mini-XML 2.1</A></LI>
|
||||
<LI><A HREF="#7_5">Changes in Mini-XML 2.0</A></LI>
|
||||
<LI><A HREF="#7_6">Changes in Mini-XML 1.3</A></LI>
|
||||
<LI><A HREF="#7_7">Changes in Mini-XML 1.2</A></LI>
|
||||
<LI><A HREF="#7_8">Changes in Mini-XML 1.1.2</A></LI>
|
||||
<LI><A HREF="#7_9">Changes in Mini-XML 1.1.1</A></LI>
|
||||
<LI><A HREF="#7_10">Changes in Mini-XML 1.1</A></LI>
|
||||
<LI><A HREF="#7_11">Changes in Mini-XML 1.0</A></LI>
|
||||
<LI><A HREF="#7_12">Changes in Mini-XML 0.93</A></LI>
|
||||
<LI><A HREF="#7_13">Changes in Mini-XML 0.92</A></LI>
|
||||
<LI><A HREF="#7_14">Changes in Mini-XML 0.91</A></LI>
|
||||
<LI><A HREF="#7_15">Changes in Mini-XML 0.9</A></LI>
|
||||
</UL>
|
||||
<B><A HREF="#REFERENCE">C - Library Reference</A></B>
|
||||
<UL>
|
||||
@ -1826,7 +1827,12 @@ Ty Coon, President of Vice
|
||||
<P>That's all there is to it!</P>
|
||||
<HR NOSHADE>
|
||||
<H1 align="right"><A name="RELNOTES">B - Release Notes</A></H1>
|
||||
<H2><A NAME="7_1">Changes in Mini-XML 2.2.1</A></H2>
|
||||
<H2><A NAME="7_1">Changes in Mini-XML 2.2.2</A></H2>
|
||||
<UL>
|
||||
<LI>mxmlLoad*() did not treat custom data as opaque, so whitespace
|
||||
characters would be lost.</LI>
|
||||
</UL>
|
||||
<H2><A NAME="7_2">Changes in Mini-XML 2.2.1</A></H2>
|
||||
<UL>
|
||||
<LI>mxmlLoadFd(), mxmlLoadFile(), and mxmlLoadString() now correctly
|
||||
return NULL on error (STR #21)</LI>
|
||||
@ -1837,7 +1843,7 @@ Ty Coon, President of Vice
|
||||
proper permissions on UNIX/Linux/OSX.</LI>
|
||||
<LI>Fixed a MingW/Cygwin compilation problem (STR #18)</LI>
|
||||
</UL>
|
||||
<H2><A NAME="7_2">Changes in Mini-XML 2.2</A></H2>
|
||||
<H2><A NAME="7_3">Changes in Mini-XML 2.2</A></H2>
|
||||
<UL>
|
||||
<LI>Added shared library support (STR #17)</LI>
|
||||
<LI>mxmlLoad*() now returns an error when an XML stream contains illegal
|
||||
@ -1851,7 +1857,7 @@ Ty Coon, President of Vice
|
||||
<LI>Added checking for invalid comment termination ("--->" is not
|
||||
allowed)</LI>
|
||||
</UL>
|
||||
<H2><A NAME="7_3">Changes in Mini-XML 2.1</A></H2>
|
||||
<H2><A NAME="7_4">Changes in Mini-XML 2.1</A></H2>
|
||||
<UL>
|
||||
<LI>Added support for custom data nodes (STR #6)</LI>
|
||||
<LI>Now treat UTF-8 sequences which are longer than necessary as an
|
||||
@ -1862,7 +1868,7 @@ Ty Coon, President of Vice
|
||||
<LI>Added mxmlLoadFd() and mxmlSaveFd() functions.</LI>
|
||||
<LI>Fixed multi-word UTF-16 handling.</LI>
|
||||
</UL>
|
||||
<H2><A NAME="7_4">Changes in Mini-XML 2.0</A></H2>
|
||||
<H2><A NAME="7_5">Changes in Mini-XML 2.0</A></H2>
|
||||
<UL>
|
||||
<LI>New programmers manual.</LI>
|
||||
<LI>Added Visual C++ project files for Microsoft Windows users.</LI>
|
||||
@ -1895,7 +1901,7 @@ Ty Coon, President of Vice
|
||||
destination path and install path. This caused problems when building
|
||||
and installing with MingW.</LI>
|
||||
</UL>
|
||||
<H2><A NAME="7_5">Changes in Mini-XML 1.3</A></H2>
|
||||
<H2><A NAME="7_6">Changes in Mini-XML 1.3</A></H2>
|
||||
<UL>
|
||||
<LI>Fixes for mxmldoc.</LI>
|
||||
<LI>Added support for reading standard HTML entity names.</LI>
|
||||
@ -1911,7 +1917,7 @@ Ty Coon, President of Vice
|
||||
<LI>The load and save functions now properly handle quoted element and
|
||||
attribute name strings properly, e.g. for !DOCTYPE declarations.</LI>
|
||||
</UL>
|
||||
<H2><A NAME="7_6">Changes in Mini-XML 1.2</A></H2>
|
||||
<H2><A NAME="7_7">Changes in Mini-XML 1.2</A></H2>
|
||||
<UL>
|
||||
<LI>Added new "set" methods to set the value of a node.</LI>
|
||||
<LI>Added new formatted text methods mxmlNewTextf() and mxmlSetTextf()
|
||||
@ -1924,13 +1930,13 @@ Ty Coon, President of Vice
|
||||
<LI>Added --with/without-snprintf configure option to control the
|
||||
snprintf() and vsnprintf() function checks.</LI>
|
||||
</UL>
|
||||
<H2><A NAME="7_7">Changes in Mini-XML 1.1.2</A></H2>
|
||||
<H2><A NAME="7_8">Changes in Mini-XML 1.1.2</A></H2>
|
||||
<UL>
|
||||
<LI>The mxml(3) man page wasn't updated for the string functions.</LI>
|
||||
<LI>mxmlSaveString() returned the wrong number of characters.</LI>
|
||||
<LI>mxml_add_char() updated the buffer pointer in the wrong place.</LI>
|
||||
</UL>
|
||||
<H2><A NAME="7_8">Changes in Mini-XML 1.1.1</A></H2>
|
||||
<H2><A NAME="7_9">Changes in Mini-XML 1.1.1</A></H2>
|
||||
<UL>
|
||||
<LI>The private mxml_add_ch() function did not update the
|
||||
start-of-buffer pointer which could cause a crash when using
|
||||
@ -1941,7 +1947,7 @@ Ty Coon, President of Vice
|
||||
<LI>Added a mxmlSaveAllocString() convenience function for saving an XML
|
||||
node tree to an allocated string.</LI>
|
||||
</UL>
|
||||
<H2><A NAME="7_9">Changes in Mini-XML 1.1</A></H2>
|
||||
<H2><A NAME="7_10">Changes in Mini-XML 1.1</A></H2>
|
||||
<UL>
|
||||
<LI>The mxmlLoadFile() function now uses dynamically allocated string
|
||||
buffers for element names, attribute names, and attribute values.
|
||||
@ -1953,7 +1959,7 @@ Ty Coon, President of Vice
|
||||
<LI>Add emulation of strdup() if the local platform does not provide the
|
||||
function.</LI>
|
||||
</UL>
|
||||
<H2><A NAME="7_10">Changes in Mini-XML 1.0</A></H2>
|
||||
<H2><A NAME="7_11">Changes in Mini-XML 1.0</A></H2>
|
||||
<UL>
|
||||
<LI>The mxmldoc program now handles function arguments, structures,
|
||||
unions, enumerations, classes, and typedefs properly.</LI>
|
||||
@ -1961,7 +1967,7 @@ Ty Coon, President of Vice
|
||||
code.</LI>
|
||||
<LI>Added man pages and packaging files.</LI>
|
||||
</UL>
|
||||
<H2><A NAME="7_11">Changes in Mini-XML 0.93</A></H2>
|
||||
<H2><A NAME="7_12">Changes in Mini-XML 0.93</A></H2>
|
||||
<UL>
|
||||
<LI>New mxmldoc example program that is also used to create and update
|
||||
code documentation using XML and produce HTML reference pages.</LI>
|
||||
@ -1986,15 +1992,15 @@ Ty Coon, President of Vice
|
||||
<LI>mxmlSaveFile() now supports a whitespace callback to provide more
|
||||
human-readable XML output under program control.</LI>
|
||||
</UL>
|
||||
<H2><A NAME="7_12">Changes in Mini-XML 0.92</A></H2>
|
||||
<H2><A NAME="7_13">Changes in Mini-XML 0.92</A></H2>
|
||||
<UL>
|
||||
<LI>mxmlSaveFile() didn't return a value on success.</LI>
|
||||
</UL>
|
||||
<H2><A NAME="7_13">Changes in Mini-XML 0.91</A></H2>
|
||||
<H2><A NAME="7_14">Changes in Mini-XML 0.91</A></H2>
|
||||
<UL>
|
||||
<LI>mxmlWalkNext() would go into an infinite loop.</LI>
|
||||
</UL>
|
||||
<H2><A NAME="7_14">Changes in Mini-XML 0.9</A></H2>
|
||||
<H2><A NAME="7_15">Changes in Mini-XML 0.9</A></H2>
|
||||
<UL>
|
||||
<LI>Initial public release.</LI>
|
||||
</UL>
|
||||
|
BIN
www/mxml.pdf
BIN
www/mxml.pdf
Binary file not shown.
BIN
www/mxml.ps.gz
BIN
www/mxml.ps.gz
Binary file not shown.
Loading…
Reference in New Issue
Block a user