rebuilt the API and docs. Daniel

* doc/libxml2-api.xml doc/html/*: rebuilt the API and docs.
Daniel
diff --git a/doc/html/index.sgml b/doc/html/index.sgml
index 07636c8..d24b50d 100644
--- a/doc/html/index.sgml
+++ b/doc/html/index.sgml
@@ -269,6 +269,7 @@
 <ANCHOR id="xmlValidateNMToken" href="libxml/libxml-tree.html#xmlValidateNMToken">
 <ANCHOR id="xmlBuildQName" href="libxml/libxml-tree.html#xmlBuildQName">
 <ANCHOR id="xmlSplitQName2" href="libxml/libxml-tree.html#xmlSplitQName2">
+<ANCHOR id="xmlSplitQName3" href="libxml/libxml-tree.html#xmlSplitQName3">
 <ANCHOR id="xmlSetBufferAllocationScheme" href="libxml/libxml-tree.html#xmlSetBufferAllocationScheme">
 <ANCHOR id="xmlGetBufferAllocationScheme" href="libxml/libxml-tree.html#xmlGetBufferAllocationScheme">
 <ANCHOR id="xmlBufferCreate" href="libxml/libxml-tree.html#xmlBufferCreate">
@@ -514,11 +515,13 @@
 <ANCHOR id="xmlRelaxNGNewDocParserCtxt" href="libxml/libxml-relaxng.html#xmlRelaxNGNewDocParserCtxt">
 <ANCHOR id="xmlRelaxNGFreeParserCtxt" href="libxml/libxml-relaxng.html#xmlRelaxNGFreeParserCtxt">
 <ANCHOR id="xmlRelaxNGSetParserErrors" href="libxml/libxml-relaxng.html#xmlRelaxNGSetParserErrors">
+<ANCHOR id="xmlRelaxNGGetParserErrors" href="libxml/libxml-relaxng.html#xmlRelaxNGGetParserErrors">
 <ANCHOR id="xmlRelaxNGParse" href="libxml/libxml-relaxng.html#xmlRelaxNGParse">
 <ANCHOR id="xmlRelaxNGFree" href="libxml/libxml-relaxng.html#xmlRelaxNGFree">
 <ANCHOR id="xmlRelaxNGDump" href="libxml/libxml-relaxng.html#xmlRelaxNGDump">
 <ANCHOR id="xmlRelaxNGDumpTree" href="libxml/libxml-relaxng.html#xmlRelaxNGDumpTree">
 <ANCHOR id="xmlRelaxNGSetValidErrors" href="libxml/libxml-relaxng.html#xmlRelaxNGSetValidErrors">
+<ANCHOR id="xmlRelaxNGGetValidErrors" href="libxml/libxml-relaxng.html#xmlRelaxNGGetValidErrors">
 <ANCHOR id="xmlRelaxNGNewValidCtxt" href="libxml/libxml-relaxng.html#xmlRelaxNGNewValidCtxt">
 <ANCHOR id="xmlRelaxNGFreeValidCtxt" href="libxml/libxml-relaxng.html#xmlRelaxNGFreeValidCtxt">
 <ANCHOR id="xmlRelaxNGValidateDoc" href="libxml/libxml-relaxng.html#xmlRelaxNGValidateDoc">
@@ -840,6 +843,7 @@
 <ANCHOR id="xmlXPtrBuildNodeList" href="libxml/libxml-xpointer.html#xmlXPtrBuildNodeList">
 <ANCHOR id="xmlXPtrEvalRangePredicate" href="libxml/libxml-xpointer.html#xmlXPtrEvalRangePredicate">
 <ANCHOR id="xmlXIncludeProcess" href="libxml/libxml-xinclude.html#xmlXIncludeProcess">
+<ANCHOR id="xmlXIncludeProcessTree" href="libxml/libxml-xinclude.html#xmlXIncludeProcessTree">
 <ANCHOR id="xmlNanoHTTPInit" href="libxml/libxml-nanohttp.html#xmlNanoHTTPInit">
 <ANCHOR id="xmlNanoHTTPCleanup" href="libxml/libxml-nanohttp.html#xmlNanoHTTPCleanup">
 <ANCHOR id="xmlNanoHTTPScanProxy" href="libxml/libxml-nanohttp.html#xmlNanoHTTPScanProxy">
@@ -1214,6 +1218,8 @@
 <ANCHOR id="xmlUTF8Strloc" href="libxml/libxml-encoding.html#xmlUTF8Strloc">
 <ANCHOR id="xmlUTF8Strsub" href="libxml/libxml-encoding.html#xmlUTF8Strsub">
 <ANCHOR id="xmlUTF8Strlen" href="libxml/libxml-encoding.html#xmlUTF8Strlen">
+<ANCHOR id="xmlUTF8Size" href="libxml/libxml-encoding.html#xmlUTF8Size">
+<ANCHOR id="xmlUTF8Charcmp" href="libxml/libxml-encoding.html#xmlUTF8Charcmp">
 <ANCHOR id="xmlHashTable" href="libxml/libxml-hash.html#xmlHashTable">
 <ANCHOR id="xmlHashTablePtr" href="libxml/libxml-hash.html#xmlHashTablePtr">
 <ANCHOR id="xmlHashDeallocator" href="libxml/libxml-hash.html#xmlHashDeallocator">
diff --git a/doc/html/libxml-encoding.html b/doc/html/libxml-encoding.html
index 6ff158c..dee2596 100644
--- a/doc/html/libxml-encoding.html
+++ b/doc/html/libxml-encoding.html
@@ -96,6 +96,9 @@
                                              int start,
                                              int len);
 int         <a href="libxml-encoding.html#xmlUTF8Strlen">xmlUTF8Strlen</a>                   (const <a href="libxml-tree.html#xmlChar">xmlChar</a> *utf);
+int         <a href="libxml-encoding.html#xmlUTF8Size">xmlUTF8Size</a>                     (const <a href="libxml-tree.html#xmlChar">xmlChar</a> *utf);
+int         <a href="libxml-encoding.html#xmlUTF8Charcmp">xmlUTF8Charcmp</a>                  (const <a href="libxml-tree.html#xmlChar">xmlChar</a> *utf1,
+                                             const <a href="libxml-tree.html#xmlChar">xmlChar</a> *utf2);
 </pre></div><div class="refsect1" lang="en"><h2>Description</h2><p>
 
 </p></div><div class="refsect1" lang="en"><h2>Details</h2><div class="refsect2" lang="en"><h3><a name="xmlCharEncoding"></a>enum xmlCharEncoding</h3><pre class="programlisting">typedef enum {
@@ -412,4 +415,17 @@
 
 </p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i><tt>utf</tt></i> :</span></td><td>  a sequence of UTF-8 encoded bytes
 </td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td>the number of characters in the string or -1 in case of error
+</td></tr></tbody></table></div></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="xmlUTF8Size"></a>xmlUTF8Size ()</h3><pre class="programlisting">int         xmlUTF8Size                     (const <a href="libxml-tree.html#xmlChar">xmlChar</a> *utf);</pre><p>
+</p><p>
+
+</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i><tt>utf</tt></i> :</span></td><td> pointer to the UTF8 character
+</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td>the numbers of bytes in the character, -1 on format error
+</td></tr></tbody></table></div></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="xmlUTF8Charcmp"></a>xmlUTF8Charcmp ()</h3><pre class="programlisting">int         xmlUTF8Charcmp                  (const <a href="libxml-tree.html#xmlChar">xmlChar</a> *utf1,
+                                             const <a href="libxml-tree.html#xmlChar">xmlChar</a> *utf2);</pre><p>
+</p><p>
+
+</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i><tt>utf1</tt></i> :</span></td><td> pointer to first UTF8 char
+</td></tr><tr><td><span class="term"><i><tt>utf2</tt></i> :</span></td><td> pointer to second UTF8 char
+</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td>result of comparing the two UCS4 values
+as with xmlStrncmp
 </td></tr></tbody></table></div></div></div></div><table xmlns="http://www.w3.org/TR/xhtml1/transitional" class="navigation" width="100%" summary="Navigation footer" cellpadding="2" cellspacing="0"><tr valign="middle"><td align="left"><a accesskey="p" href="libxml-parserInternals.html"><b>&lt;&lt; parserInternals</b></a></td><td align="right"><a accesskey="n" href="libxml-hash.html"><b>hash &gt;&gt;</b></a></td></tr></table></body></html>
diff --git a/doc/html/libxml-relaxng.html b/doc/html/libxml-relaxng.html
index 0c908c6..a8b744b 100644
--- a/doc/html/libxml-relaxng.html
+++ b/doc/html/libxml-relaxng.html
@@ -58,6 +58,10 @@
                                              <a href="libxml-relaxng.html#xmlRelaxNGValidityErrorFunc">xmlRelaxNGValidityErrorFunc</a> err,
                                              <a href="libxml-relaxng.html#xmlRelaxNGValidityWarningFunc">xmlRelaxNGValidityWarningFunc</a> warn,
                                              void *ctx);
+int         <a href="libxml-relaxng.html#xmlRelaxNGGetParserErrors">xmlRelaxNGGetParserErrors</a>       (<a href="libxml-relaxng.html#xmlRelaxNGParserCtxtPtr">xmlRelaxNGParserCtxtPtr</a> ctxt,
+                                             <a href="libxml-relaxng.html#xmlRelaxNGValidityErrorFunc">xmlRelaxNGValidityErrorFunc</a> *err,
+                                             <a href="libxml-relaxng.html#xmlRelaxNGValidityWarningFunc">xmlRelaxNGValidityWarningFunc</a> *warn,
+                                             void **ctx);
 <a href="libxml-relaxng.html#xmlRelaxNGPtr">xmlRelaxNGPtr</a> <a href="libxml-relaxng.html#xmlRelaxNGParse">xmlRelaxNGParse</a>               (<a href="libxml-relaxng.html#xmlRelaxNGParserCtxtPtr">xmlRelaxNGParserCtxtPtr</a> ctxt);
 void        <a href="libxml-relaxng.html#xmlRelaxNGFree">xmlRelaxNGFree</a>                  (<a href="libxml-relaxng.html#xmlRelaxNGPtr">xmlRelaxNGPtr</a> schema);
 void        <a href="libxml-relaxng.html#xmlRelaxNGDump">xmlRelaxNGDump</a>                  (<GTKDOCLINK xmlns="http://www.w3.org/TR/xhtml1/transitional" HREF="FILE-CAPS">FILE</GTKDOCLINK> *output,
@@ -68,6 +72,10 @@
                                              <a href="libxml-relaxng.html#xmlRelaxNGValidityErrorFunc">xmlRelaxNGValidityErrorFunc</a> err,
                                              <a href="libxml-relaxng.html#xmlRelaxNGValidityWarningFunc">xmlRelaxNGValidityWarningFunc</a> warn,
                                              void *ctx);
+int         <a href="libxml-relaxng.html#xmlRelaxNGGetValidErrors">xmlRelaxNGGetValidErrors</a>        (<a href="libxml-relaxng.html#xmlRelaxNGValidCtxtPtr">xmlRelaxNGValidCtxtPtr</a> ctxt,
+                                             <a href="libxml-relaxng.html#xmlRelaxNGValidityErrorFunc">xmlRelaxNGValidityErrorFunc</a> *err,
+                                             <a href="libxml-relaxng.html#xmlRelaxNGValidityWarningFunc">xmlRelaxNGValidityWarningFunc</a> *warn,
+                                             void **ctx);
 <a href="libxml-relaxng.html#xmlRelaxNGValidCtxtPtr">xmlRelaxNGValidCtxtPtr</a> <a href="libxml-relaxng.html#xmlRelaxNGNewValidCtxt">xmlRelaxNGNewValidCtxt</a>
                                             (<a href="libxml-relaxng.html#xmlRelaxNGPtr">xmlRelaxNGPtr</a> schema);
 void        <a href="libxml-relaxng.html#xmlRelaxNGFreeValidCtxt">xmlRelaxNGFreeValidCtxt</a>         (<a href="libxml-relaxng.html#xmlRelaxNGValidCtxtPtr">xmlRelaxNGValidCtxtPtr</a> ctxt);
@@ -205,6 +213,17 @@
 </td></tr><tr><td><span class="term"><i><tt>err</tt></i> :</span></td><td>  the error callback
 </td></tr><tr><td><span class="term"><i><tt>warn</tt></i> :</span></td><td>  the warning callback
 </td></tr><tr><td><span class="term"><i><tt>ctx</tt></i> :</span></td><td>  contextual data for the callbacks
+</td></tr></tbody></table></div></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="xmlRelaxNGGetParserErrors"></a>xmlRelaxNGGetParserErrors ()</h3><pre class="programlisting">int         xmlRelaxNGGetParserErrors       (<a href="libxml-relaxng.html#xmlRelaxNGParserCtxtPtr">xmlRelaxNGParserCtxtPtr</a> ctxt,
+                                             <a href="libxml-relaxng.html#xmlRelaxNGValidityErrorFunc">xmlRelaxNGValidityErrorFunc</a> *err,
+                                             <a href="libxml-relaxng.html#xmlRelaxNGValidityWarningFunc">xmlRelaxNGValidityWarningFunc</a> *warn,
+                                             void **ctx);</pre><p>
+Get the callback information used to handle errors for a validation context</p><p>
+
+</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i> :</span></td><td>  a Relax-NG validation context
+</td></tr><tr><td><span class="term"><i><tt>err</tt></i> :</span></td><td>  the error callback result
+</td></tr><tr><td><span class="term"><i><tt>warn</tt></i> :</span></td><td>  the warning callback result
+</td></tr><tr><td><span class="term"><i><tt>ctx</tt></i> :</span></td><td>  contextual data for the callbacks result
+</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td>-1 in case of failure, 0 otherwise.
 </td></tr></tbody></table></div></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="xmlRelaxNGParse"></a>xmlRelaxNGParse ()</h3><pre class="programlisting"><a href="libxml-relaxng.html#xmlRelaxNGPtr">xmlRelaxNGPtr</a> xmlRelaxNGParse               (<a href="libxml-relaxng.html#xmlRelaxNGParserCtxtPtr">xmlRelaxNGParserCtxtPtr</a> ctxt);</pre><p>
 parse a schema definition resource and build an internal
 XML Shema struture which can be used to validate instances.
@@ -239,6 +258,17 @@
 </td></tr><tr><td><span class="term"><i><tt>err</tt></i> :</span></td><td>  the error function
 </td></tr><tr><td><span class="term"><i><tt>warn</tt></i> :</span></td><td> the warning function
 </td></tr><tr><td><span class="term"><i><tt>ctx</tt></i> :</span></td><td> the functions context
+</td></tr></tbody></table></div></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="xmlRelaxNGGetValidErrors"></a>xmlRelaxNGGetValidErrors ()</h3><pre class="programlisting">int         xmlRelaxNGGetValidErrors        (<a href="libxml-relaxng.html#xmlRelaxNGValidCtxtPtr">xmlRelaxNGValidCtxtPtr</a> ctxt,
+                                             <a href="libxml-relaxng.html#xmlRelaxNGValidityErrorFunc">xmlRelaxNGValidityErrorFunc</a> *err,
+                                             <a href="libxml-relaxng.html#xmlRelaxNGValidityWarningFunc">xmlRelaxNGValidityWarningFunc</a> *warn,
+                                             void **ctx);</pre><p>
+Get the error and warning callback informations</p><p>
+
+</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i> :</span></td><td>  a Relax-NG validation context
+</td></tr><tr><td><span class="term"><i><tt>err</tt></i> :</span></td><td>  the error function result
+</td></tr><tr><td><span class="term"><i><tt>warn</tt></i> :</span></td><td> the warning function result
+</td></tr><tr><td><span class="term"><i><tt>ctx</tt></i> :</span></td><td> the functions context result
+</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td>-1 in case of error and 0 otherwise
 </td></tr></tbody></table></div></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="xmlRelaxNGNewValidCtxt"></a>xmlRelaxNGNewValidCtxt ()</h3><pre class="programlisting"><a href="libxml-relaxng.html#xmlRelaxNGValidCtxtPtr">xmlRelaxNGValidCtxtPtr</a> xmlRelaxNGNewValidCtxt
                                             (<a href="libxml-relaxng.html#xmlRelaxNGPtr">xmlRelaxNGPtr</a> schema);</pre><p>
 Create an XML RelaxNGs validation context based on the given schema</p><p>
diff --git a/doc/html/libxml-tree.html b/doc/html/libxml-tree.html
index b2f1248..36052df 100644
--- a/doc/html/libxml-tree.html
+++ b/doc/html/libxml-tree.html
@@ -103,6 +103,8 @@
                                              int len);
 <a href="libxml-tree.html#xmlChar">xmlChar</a>*    <a href="libxml-tree.html#xmlSplitQName2">xmlSplitQName2</a>                  (const <a href="libxml-tree.html#xmlChar">xmlChar</a> *name,
                                              <a href="libxml-tree.html#xmlChar">xmlChar</a> **prefix);
+const <a href="libxml-tree.html#xmlChar">xmlChar</a>* <a href="libxml-tree.html#xmlSplitQName3">xmlSplitQName3</a>               (const <a href="libxml-tree.html#xmlChar">xmlChar</a> *name,
+                                             int *len);
 void        <a href="libxml-tree.html#xmlSetBufferAllocationScheme">xmlSetBufferAllocationScheme</a>    (<a href="libxml-tree.html#xmlBufferAllocationScheme">xmlBufferAllocationScheme</a> scheme);
 <a href="libxml-tree.html#xmlBufferAllocationScheme">xmlBufferAllocationScheme</a> <a href="libxml-tree.html#xmlGetBufferAllocationScheme">xmlGetBufferAllocationScheme</a>
                                             (void);
@@ -1069,6 +1071,14 @@
 </td></tr><tr><td><span class="term"><i><tt>prefix</tt></i> :</span></td><td>  a xmlChar ** 
 </td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td>NULL if not a QName, otherwise the local part, and prefix
   is updated to get the Prefix if any.
+</td></tr></tbody></table></div></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="xmlSplitQName3"></a>xmlSplitQName3 ()</h3><pre class="programlisting">const <a href="libxml-tree.html#xmlChar">xmlChar</a>* xmlSplitQName3               (const <a href="libxml-tree.html#xmlChar">xmlChar</a> *name,
+                                             int *len);</pre><p>
+parse an XML qualified name string,i</p><p>
+
+</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i><tt>name</tt></i> :</span></td><td>  the full QName
+</td></tr><tr><td><span class="term"><i><tt>len</tt></i> :</span></td><td> an int *
+</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td>NULL if it is not a Qualified Name, otherwise, update len
+        with the lenght in byte of the prefix and return a pointer
 </td></tr></tbody></table></div></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="xmlSetBufferAllocationScheme"></a>xmlSetBufferAllocationScheme ()</h3><pre class="programlisting">void        xmlSetBufferAllocationScheme    (<a href="libxml-tree.html#xmlBufferAllocationScheme">xmlBufferAllocationScheme</a> scheme);</pre><p>
 Set the buffer allocation method.  Types are
 XML_BUFFER_ALLOC_EXACT - use exact sizes, keeps memory usage down
diff --git a/doc/html/libxml-xinclude.html b/doc/html/libxml-xinclude.html
index 5b48314..6a92c13 100644
--- a/doc/html/libxml-xinclude.html
+++ b/doc/html/libxml-xinclude.html
@@ -33,6 +33,7 @@
 
 
 int         <a href="libxml-xinclude.html#xmlXIncludeProcess">xmlXIncludeProcess</a>              (<a href="libxml-tree.html#xmlDocPtr">xmlDocPtr</a> doc);
+int         <a href="libxml-xinclude.html#xmlXIncludeProcessTree">xmlXIncludeProcessTree</a>          (<a href="libxml-tree.html#xmlNodePtr">xmlNodePtr</a> tree);
 </pre></div><div class="refsect1" lang="en"><h2>Description</h2><p>
 
 </p></div><div class="refsect1" lang="en"><h2>Details</h2><div class="refsect2" lang="en"><h3><a name="xmlXIncludeProcess"></a>xmlXIncludeProcess ()</h3><pre class="programlisting">int         xmlXIncludeProcess              (<a href="libxml-tree.html#xmlDocPtr">xmlDocPtr</a> doc);</pre><p>
@@ -41,4 +42,10 @@
 </p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i><tt>doc</tt></i> :</span></td><td> an XML document
 </td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td>0 if no substitution were done, -1 if some processing failed
    or the number of substitutions done.
+</td></tr></tbody></table></div></div><hr xmlns="http://www.w3.org/TR/xhtml1/transitional"></hr><div class="refsect2" lang="en"><h3><a name="xmlXIncludeProcessTree"></a>xmlXIncludeProcessTree ()</h3><pre class="programlisting">int         xmlXIncludeProcessTree          (<a href="libxml-tree.html#xmlNodePtr">xmlNodePtr</a> tree);</pre><p>
+Implement the XInclude substitution for the given subtree</p><p>
+
+</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><i><tt>tree</tt></i> :</span></td><td> a node in an XML document
+</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td><td>0 if no substitution were done, -1 if some processing failed
+   or the number of substitutions done.
 </td></tr></tbody></table></div></div></div></div><table xmlns="http://www.w3.org/TR/xhtml1/transitional" class="navigation" width="100%" summary="Navigation footer" cellpadding="2" cellspacing="0"><tr valign="middle"><td align="left"><a accesskey="p" href="libxml-xpointer.html"><b>&lt;&lt; xpointer</b></a></td><td align="right"><a accesskey="n" href="libxml-nanohttp.html"><b>nanohttp &gt;&gt;</b></a></td></tr></table></body></html>