Added docs for 2.4.22, Daniel
diff --git a/doc/FAQ.html b/doc/FAQ.html
index d8bb868..6f8eac1 100644
--- a/doc/FAQ.html
+++ b/doc/FAQ.html
@@ -105,8 +105,8 @@
<li>
<em>Can I embed libxml in a proprietary application ?</em>
<p>Yes. The MIT License allows you to also keep proprietary the changes
- you made to libxml, but it would be graceful to provide back bug fixes and
- improvements as patches for possible incorporation in the main
+ you made to libxml, but it would be graceful to provide back bug fixes
+ and improvements as patches for possible incorporation in the main
development tree</p>
</li>
</ol>
diff --git a/doc/encoding.html b/doc/encoding.html
index b42b478..d3aefea 100644
--- a/doc/encoding.html
+++ b/doc/encoding.html
@@ -288,8 +288,8 @@
<li>HTML, a specific handler for the conversion of UTF-8 to ASCII with HTML
predefined entities like &copy; for the Copyright sign.</li>
</ol>
-<p>More over when compiled on an Unix platform with iconv support the full set
-of encodings supported by iconv can be instantly be used by libxml. On a
+<p>More over when compiled on an Unix platform with iconv support the full
+set of encodings supported by iconv can be instantly be used by libxml. On a
linux machine with glibc-2.1 the list of supported encodings and aliases fill
3 full pages, and include UCS-4, the full set of ISO-Latin encodings, and the
various Japanese ones.</p>
diff --git a/doc/namespaces.html b/doc/namespaces.html
index 33e6c34..c8e0b7d 100644
--- a/doc/namespaces.html
+++ b/doc/namespaces.html
@@ -104,10 +104,10 @@
</mydoc></pre>
<p>The namespace value has to be an absolute URL, but the URL doesn't have to
point to any existing resource on the Web. It will bind all the element and
-attributes with that URL. I suggest to use an URL within a domain you control,
-and that the URL should contain some kind of version information if possible.
-For example, <code>"http://www.gnome.org/gnumeric/1.0/"</code> is a good
-namespace scheme.</p>
+attributes with that URL. I suggest to use an URL within a domain you
+control, and that the URL should contain some kind of version information if
+possible. For example, <code>"http://www.gnome.org/gnumeric/1.0/"</code> is a
+good namespace scheme.</p>
<p>Then when you load a file, make sure that a namespace carrying the
version-independent prefix is installed on the root element of your document,
and if the version information don't match something you know, warn the user
diff --git a/doc/news.html b/doc/news.html
index f62d95c..88b6a92 100644
--- a/doc/news.html
+++ b/doc/news.html
@@ -93,6 +93,17 @@
<ul><li>Finishing up <a href="http://www.w3.org/TR/xmlschema-1/">XML
Schemas</a> and <a href="http://www.w3.org/TR/xinclude">XInclude</a>
</li></ul>
+<h3>2.4.22: May 27 2002</h3>
+<ul>
+<li>a number of bug fixes: configure scripts, base handling, parser, memory
+ usage, HTML parser, XPath, documentation (Christian Cornelssen),
+ indentation, URI parsing </li>
+<li>Optimizations for XMLSec, fixing and making public some of the network
+ protocol handlers (Aleksey)</li>
+<li>performance patch from Gary Pennington</li>
+<li>Charles Bozeman provided date and time support for XML Schemas
+ datatypes</li>
+</ul>
<h3>2.4.21: Apr 29 2002</h3>
<p>This release is both a bug fix release and also contains the early XML
Schemas <a href="http://www.w3.org/TR/xmlschema-1/">structures</a> and <a href="http://www.w3.org/TR/xmlschema-2/">datatypes</a> code, beware, all
@@ -573,8 +584,8 @@
</ul>
<h3>2.1.0 and 1.8.8: June 29 2000</h3>
<ul>
-<li>1.8.8 is mostly a commodity package for upgrading to libxml2 according to
- <a href="upgrade.html">new instructions</a>. It fixes a nasty problem
+<li>1.8.8 is mostly a commodity package for upgrading to libxml2 according
+ to <a href="upgrade.html">new instructions</a>. It fixes a nasty problem
about &#38; charref parsing</li>
<li>2.1.0 also ease the upgrade from libxml v1 to the recent version. it
also contains numerous fixes and enhancements:
@@ -624,8 +635,9 @@
RPMs</li>
<li>This version is now the head in the Gnome CVS base, the old one is
available under the tag LIB_XML_1_X</li>
-<li>This includes a very large set of changes. From a programmatic point of
- view applications should not have to be modified too much, check the <a href="upgrade.html">upgrade page</a>
+<li>This includes a very large set of changes. From a programmatic point
+ of view applications should not have to be modified too much, check the
+ <a href="upgrade.html">upgrade page</a>
</li>
<li>Some interfaces may changes (especially a bit about encoding).</li>
<li>the updates includes:
diff --git a/doc/python.html b/doc/python.html
index 7cceff0..1b07d4a 100644
--- a/doc/python.html
+++ b/doc/python.html
@@ -126,8 +126,8 @@
</li>
<li>There is support for libxml2 in the DOM module of PHP.</li>
</ul>
-<p>The distribution includes a set of Python bindings, which are guaranteed to
-be maintained as part of the library in the future, though the Python
+<p>The distribution includes a set of Python bindings, which are guaranteed
+to be maintained as part of the library in the future, though the Python
interface have not yet reached the maturity of the C API.</p>
<p>To install the Python bindings there are 2 options:</p>
<ul>
@@ -168,8 +168,7 @@
<li>
<code>name</code> : returns the node name</li>
<li>
-<code>type</code> : returns a string indicating the node
- type</li>
+<code>type</code> : returns a string indicating the node type</li>
<li>
<code>content</code> : returns the content of the node, it is based on
xmlNodeGetContent() and hence is recursive.</li>
diff --git a/doc/upgrade.html b/doc/upgrade.html
index ff9b359..6c0b773 100644
--- a/doc/upgrade.html
+++ b/doc/upgrade.html
@@ -178,15 +178,16 @@
<li>find all occurrences where the xmlDoc <strong>root</strong> field is
used and change it to <strong>xmlRootNode</strong>
</li>
-<li>similarly find all occurrences where the xmlNode <strong>childs</strong>
- field is used and change it to <strong>xmlChildrenNode</strong>
+<li>similarly find all occurrences where the xmlNode
+ <strong>childs</strong> field is used and change it to
+ <strong>xmlChildrenNode</strong>
</li>
<li>add a <strong>LIBXML_TEST_VERSION</strong> macro somewhere in your
<strong>main()</strong> or in the library init entry point</li>
<li>Recompile, check compatibility, it should still work</li>
-<li>Change your configure script to look first for xml2-config and fall back
- using xml-config . Use the --cflags and --libs output of the command as
- the Include and Linking parameters needed to use libxml.</li>
+<li>Change your configure script to look first for xml2-config and fall
+ back using xml-config . Use the --cflags and --libs output of the command
+ as the Include and Linking parameters needed to use libxml.</li>
<li>install libxml2-2.3.x and libxml2-devel-2.3.x (libxml-1.8.y and
libxml-devel-1.8.y can be kept simultaneously)</li>
<li>remove your config.cache, relaunch your configuration mechanism, and
diff --git a/doc/xml.html b/doc/xml.html
index 6815e46..6e2de89 100644
--- a/doc/xml.html
+++ b/doc/xml.html
@@ -160,8 +160,8 @@
</li>
<li><em>Can I embed libxml in a proprietary application ?</em>
<p>Yes. The MIT License allows you to also keep proprietary the changes
- you made to libxml, but it would be graceful to provide back bug fixes and
- improvements as patches for possible incorporation in the main
+ you made to libxml, but it would be graceful to provide back bug fixes
+ and improvements as patches for possible incorporation in the main
development tree</p>
</li>
</ol>
@@ -570,6 +570,18 @@
Schemas</a> and <a href="http://www.w3.org/TR/xinclude">XInclude</a></li>
</ul>
+<h3>2.4.22: May 27 2002</h3>
+<ul>
+ <li>a number of bug fixes: configure scripts, base handling, parser, memory
+ usage, HTML parser, XPath, documentation (Christian Cornelssen),
+ indentation, URI parsing </li>
+ <li>Optimizations for XMLSec, fixing and making public some of the network
+ protocol handlers (Aleksey)</li>
+ <li>performance patch from Gary Pennington</li>
+ <li>Charles Bozeman provided date and time support for XML Schemas
+ datatypes</li>
+</ul>
+
<h3>2.4.21: Apr 29 2002</h3>
<p>This release is both a bug fix release and also contains the early XML
@@ -1116,8 +1128,8 @@
<h3>2.1.0 and 1.8.8: June 29 2000</h3>
<ul>
- <li>1.8.8 is mostly a commodity package for upgrading to libxml2 according to
- <a href="upgrade.html">new instructions</a>. It fixes a nasty problem
+ <li>1.8.8 is mostly a commodity package for upgrading to libxml2 according
+ to <a href="upgrade.html">new instructions</a>. It fixes a nasty problem
about &#38; charref parsing</li>
<li>2.1.0 also ease the upgrade from libxml v1 to the recent version. it
also contains numerous fixes and enhancements:
@@ -1169,9 +1181,9 @@
RPMs</li>
<li>This version is now the head in the Gnome CVS base, the old one is
available under the tag LIB_XML_1_X</li>
- <li>This includes a very large set of changes. From a programmatic point of
- view applications should not have to be modified too much, check the <a
- href="upgrade.html">upgrade page</a></li>
+ <li>This includes a very large set of changes. From a programmatic point
+ of view applications should not have to be modified too much, check the
+ <a href="upgrade.html">upgrade page</a></li>
<li>Some interfaces may changes (especially a bit about encoding).</li>
<li>the updates includes:
<ul>
@@ -1421,8 +1433,8 @@
<li>There is support for libxml2 in the DOM module of PHP.</li>
</ul>
-<p>The distribution includes a set of Python bindings, which are guaranteed to
-be maintained as part of the library in the future, though the Python
+<p>The distribution includes a set of Python bindings, which are guaranteed
+to be maintained as part of the library in the future, though the Python
interface have not yet reached the maturity of the C API.</p>
<p>To install the Python bindings there are 2 options:</p>
@@ -1468,8 +1480,7 @@
binding level share the same subset of accessors:</p>
<ul>
<li><code>name</code> : returns the node name</li>
- <li><code>type</code> : returns a string indicating the node
- type</li>
+ <li><code>type</code> : returns a string indicating the node type</li>
<li><code>content</code> : returns the content of the node, it is based on
xmlNodeGetContent() and hence is recursive.</li>
<li><code>parent</code> , <code>children</code>, <code>last</code>,
@@ -1857,8 +1868,8 @@
<p>DTD is the acronym for Document Type Definition. This is a description of
the content for a family of XML files. This is part of the XML 1.0
-specification, and allows to describe and check that a given document instance
-conforms to a set of rules detailing its structure and content.</p>
+specification, and allows to describe and check that a given document
+instance conforms to a set of rules detailing its structure and content.</p>
<p>Validation is the process of checking a document against a DTD (more
generally against a set of construction rules).</p>
@@ -1925,9 +1936,9 @@
<p><code><!ELEMENT spec (front, body, back?)></code></p>
<p>it also expresses that the spec element contains one <code>front</code>,
-one <code>body</code> and one optional <code>back</code> children elements
-in this order. The declaration of one element of the structure and its
-content are done in a single declaration. Similarly the following declares
+one <code>body</code> and one optional <code>back</code> children elements in
+this order. The declaration of one element of the structure and its content
+are done in a single declaration. Similarly the following declares
<code>div1</code> elements:</p>
<p><code><!ELEMENT div1 (head, (p | list | note)*, div2?)></code></p>
@@ -2397,8 +2408,8 @@
predefined entities like &copy; for the Copyright sign.</li>
</ol>
-<p>More over when compiled on an Unix platform with iconv support the full set
-of encodings supported by iconv can be instantly be used by libxml. On a
+<p>More over when compiled on an Unix platform with iconv support the full
+set of encodings supported by iconv can be instantly be used by libxml. On a
linux machine with glibc-2.1 the list of supported encodings and aliases fill
3 full pages, and include UCS-4, the full set of ISO-Latin encodings, and the
various Japanese ones.</p>
@@ -2583,8 +2594,8 @@
href="http://xmlsoft.org/messages/0711.html">solution</a> was to redefine a
new output handler with the closing call deactivated:</p>
<ol>
- <li>First define a new I/O output allocator where the output don't close the
- file:
+ <li>First define a new I/O output allocator where the output don't close
+ the file:
<pre>xmlOutputBufferPtr
xmlOutputBufferCreateOwn(FILE *file, xmlCharEncodingHandlerPtr encoder) {
xmlOutputBufferPtr ret;
@@ -2612,6 +2623,7 @@
+
} </pre>
</li>
<li>And then use it to save the document:
@@ -3338,10 +3350,10 @@
<p>The namespace value has to be an absolute URL, but the URL doesn't have to
point to any existing resource on the Web. It will bind all the element and
-attributes with that URL. I suggest to use an URL within a domain you control,
-and that the URL should contain some kind of version information if possible.
-For example, <code>"http://www.gnome.org/gnumeric/1.0/"</code> is a good
-namespace scheme.</p>
+attributes with that URL. I suggest to use an URL within a domain you
+control, and that the URL should contain some kind of version information if
+possible. For example, <code>"http://www.gnome.org/gnumeric/1.0/"</code> is a
+good namespace scheme.</p>
<p>Then when you load a file, make sure that a namespace carrying the
version-independent prefix is installed on the root element of your document,
@@ -3466,14 +3478,15 @@
<li>install the libxml-1.8.8 (and libxml-devel-1.8.8) packages</li>
<li>find all occurrences where the xmlDoc <strong>root</strong> field is
used and change it to <strong>xmlRootNode</strong></li>
- <li>similarly find all occurrences where the xmlNode <strong>childs</strong>
- field is used and change it to <strong>xmlChildrenNode</strong></li>
+ <li>similarly find all occurrences where the xmlNode
+ <strong>childs</strong> field is used and change it to
+ <strong>xmlChildrenNode</strong></li>
<li>add a <strong>LIBXML_TEST_VERSION</strong> macro somewhere in your
<strong>main()</strong> or in the library init entry point</li>
<li>Recompile, check compatibility, it should still work</li>
- <li>Change your configure script to look first for xml2-config and fall back
- using xml-config . Use the --cflags and --libs output of the command as
- the Include and Linking parameters needed to use libxml.</li>
+ <li>Change your configure script to look first for xml2-config and fall
+ back using xml-config . Use the --cflags and --libs output of the command
+ as the Include and Linking parameters needed to use libxml.</li>
<li>install libxml2-2.3.x and libxml2-devel-2.3.x (libxml-1.8.y and
libxml-devel-1.8.y can be kept simultaneously)</li>
<li>remove your config.cache, relaunch your configuration mechanism, and
diff --git a/doc/xmldtd.html b/doc/xmldtd.html
index b90f25e..9927f76 100644
--- a/doc/xmldtd.html
+++ b/doc/xmldtd.html
@@ -105,8 +105,8 @@
<p>Well what is validation and what is a DTD ?</p>
<p>DTD is the acronym for Document Type Definition. This is a description of
the content for a family of XML files. This is part of the XML 1.0
-specification, and allows to describe and check that a given document instance
-conforms to a set of rules detailing its structure and content.</p>
+specification, and allows to describe and check that a given document
+instance conforms to a set of rules detailing its structure and content.</p>
<p>Validation is the process of checking a document against a DTD (more
generally against a set of construction rules).</p>
<p>The validation process and building DTDs are the two most difficult parts
@@ -158,9 +158,9 @@
<p>The following declares an element <code>spec</code>:</p>
<p><code><!ELEMENT spec (front, body, back?)></code></p>
<p>it also expresses that the spec element contains one <code>front</code>,
-one <code>body</code> and one optional <code>back</code> children elements
-in this order. The declaration of one element of the structure and its
-content are done in a single declaration. Similarly the following declares
+one <code>body</code> and one optional <code>back</code> children elements in
+this order. The declaration of one element of the structure and its content
+are done in a single declaration. Similarly the following declares
<code>div1</code> elements:</p>
<p><code><!ELEMENT div1 (head, (p | list | note)*, div2?)></code></p>
<p>means div1 contains one <code>head</code> then a series of optional
diff --git a/doc/xmlio.html b/doc/xmlio.html
index 4d96574..c9bf2ff 100644
--- a/doc/xmlio.html
+++ b/doc/xmlio.html
@@ -205,8 +205,8 @@
and this was a problem. The <a href="http://xmlsoft.org/messages/0711.html">solution</a> was to redefine a
new output handler with the closing call deactivated:</p>
<ol>
-<li>First define a new I/O output allocator where the output don't close the
- file:
+<li>First define a new I/O output allocator where the output don't close
+ the file:
<pre>xmlOutputBufferPtr
xmlOutputBufferCreateOwn(FILE *file, xmlCharEncodingHandlerPtr encoder) {
xmlOutputBufferPtr ret;
@@ -234,6 +234,7 @@
+
} </pre>
</li>
<li>And then use it to save the document: