Rebuilt the API and regenerated docs
diff --git a/doc/APIchunk20.html b/doc/APIchunk20.html
index 0f9b7f0..9c4ed36 100644
--- a/doc/APIchunk20.html
+++ b/doc/APIchunk20.html
@@ -87,30 +87,6 @@
<a href="html/libxml-HTMLparser.html#_htmlElemDesc">_htmlElemDesc</a><br />
<a href="html/libxml-xmlstring.html#xmlCheckUTF8">xmlCheckUTF8</a><br />
<a href="html/libxml-debugXML.html#xmlDebugDumpString">xmlDebugDumpString</a><br />
-</dd><dt>need</dt><dd><a href="html/libxml-xmlversion.html#WITH_TRIO">WITH_TRIO</a><br />
-<a href="html/libxml-schemasInternals.html#XML_SCHEMAS_TYPE_FACETSNEEDVALUE">XML_SCHEMAS_TYPE_FACETSNEEDVALUE</a><br />
-<a href="html/libxml-schemasInternals.html#XML_SCHEMAS_TYPE_NORMVALUENEEDED">XML_SCHEMAS_TYPE_NORMVALUENEEDED</a><br />
-<a href="html/libxml-parserInternals.html#XML_SUBSTITUTE_BOTH">XML_SUBSTITUTE_BOTH</a><br />
-<a href="html/libxml-parserInternals.html#XML_SUBSTITUTE_NONE">XML_SUBSTITUTE_NONE</a><br />
-<a href="html/libxml-parserInternals.html#XML_SUBSTITUTE_PEREF">XML_SUBSTITUTE_PEREF</a><br />
-<a href="html/libxml-parserInternals.html#XML_SUBSTITUTE_REF">XML_SUBSTITUTE_REF</a><br />
-<a href="html/libxml-tree.html#_xmlDOMWrapCtxt">_xmlDOMWrapCtxt</a><br />
-<a href="html/libxml-parser.html#xmlCreatePushParserCtxt">xmlCreatePushParserCtxt</a><br />
-<a href="html/libxml-tree.html#xmlGetNsList">xmlGetNsList</a><br />
-<a href="html/libxml-encoding.html#xmlInitCharEncodingHandlers">xmlInitCharEncodingHandlers</a><br />
-<a href="html/libxml-tree.html#xmlNewDocNode">xmlNewDocNode</a><br />
-<a href="html/libxml-tree.html#xmlNewDocNodeEatName">xmlNewDocNodeEatName</a><br />
-<a href="html/libxml-tree.html#xmlNewTextChild">xmlNewTextChild</a><br />
-<a href="html/libxml-tree.html#xmlNodeSetContent">xmlNodeSetContent</a><br />
-<a href="html/libxml-tree.html#xmlNodeSetContentLen">xmlNodeSetContentLen</a><br />
-<a href="html/libxml-parserInternals.html#xmlParseEntityRef">xmlParseEntityRef</a><br />
-<a href="html/libxml-parserInternals.html#xmlParserHandleReference">xmlParserHandleReference</a><br />
-<a href="html/libxml-xmlregexp.html#xmlRegExecErrInfo">xmlRegExecErrInfo</a><br />
-<a href="html/libxml-xmlregexp.html#xmlRegExecNextValues">xmlRegExecNextValues</a><br />
-<a href="html/libxml-xmlschemastypes.html#xmlSchemaNewStringValue">xmlSchemaNewStringValue</a><br />
-<a href="html/libxml-pattern.html#xmlStreamWantsAnyNode">xmlStreamWantsAnyNode</a><br />
-<a href="html/libxml-valid.html#xmlValidGetValidElements">xmlValidGetValidElements</a><br />
-<a href="html/libxml-xpath.html#xmlXPathNewContext">xmlXPathNewContext</a><br />
</dd><dt>needed</dt><dd><a href="html/libxml-parser.html#_xmlParserCtxt">_xmlParserCtxt</a><br />
<a href="html/libxml-xpath.html#_xmlXPathContext">_xmlXPathContext</a><br />
<a href="html/libxml-HTMLparser.html#htmlEntityLookup">htmlEntityLookup</a><br />
@@ -199,6 +175,13 @@
<a href="html/libxml-entities.html#xmlEncodeEntitiesReentrant">xmlEncodeEntitiesReentrant</a><br />
<a href="html/libxml-tree.html#xmlNewChild">xmlNewChild</a><br />
<a href="html/libxml-tree.html#xmlNewTextChild">xmlNewTextChild</a><br />
+<a href="html/libxml-xmlreader.html#xmlTextReaderBaseUri">xmlTextReaderBaseUri</a><br />
+<a href="html/libxml-xmlreader.html#xmlTextReaderLocalName">xmlTextReaderLocalName</a><br />
+<a href="html/libxml-xmlreader.html#xmlTextReaderLocatorBaseURI">xmlTextReaderLocatorBaseURI</a><br />
+<a href="html/libxml-xmlreader.html#xmlTextReaderName">xmlTextReaderName</a><br />
+<a href="html/libxml-xmlreader.html#xmlTextReaderNamespaceUri">xmlTextReaderNamespaceUri</a><br />
+<a href="html/libxml-xmlreader.html#xmlTextReaderPrefix">xmlTextReaderPrefix</a><br />
+<a href="html/libxml-xmlreader.html#xmlTextReaderXmlLang">xmlTextReaderXmlLang</a><br />
<a href="html/libxml-xpathInternals.html#xmlXPathParseNCName">xmlXPathParseNCName</a><br />
</dd><dt>non-CDATA</dt><dd><a href="html/libxml-parser.html#_xmlParserCtxt">_xmlParserCtxt</a><br />
</dd><dt>non-NULL</dt><dd><a href="html/libxml-HTMLparser.html#htmlParseEntityRef">htmlParseEntityRef</a><br />
diff --git a/doc/APIfunctions.html b/doc/APIfunctions.html
index 576f9c0..7834216 100644
--- a/doc/APIfunctions.html
+++ b/doc/APIfunctions.html
@@ -312,6 +312,7 @@
<a href="html/libxml-parser.html#xmlReadDoc">xmlReadDoc</a><br />
<a href="html/libxml-xmlreader.html#xmlReaderForDoc">xmlReaderForDoc</a><br />
<a href="html/libxml-xmlreader.html#xmlReaderNewDoc">xmlReaderNewDoc</a><br />
+<a href="html/libxml-parser.html#xmlRecoverDoc">xmlRecoverDoc</a><br />
<a href="html/libxml-xmlregexp.html#xmlRegExecCallbacks">xmlRegExecCallbacks</a><br />
<a href="html/libxml-xmlregexp.html#xmlRegExecPushString">xmlRegExecPushString</a><br />
<a href="html/libxml-xmlregexp.html#xmlRegExecPushString2">xmlRegExecPushString2</a><br />
@@ -1009,11 +1010,9 @@
<a href="html/libxml-tree.html#xmlNewNodeEatName">xmlNewNodeEatName</a><br />
<a href="html/libxml-tree.html#xmlNewNsPropEatName">xmlNewNsPropEatName</a><br />
<a href="html/libxml-parser.html#xmlParserInputDeallocate">xmlParserInputDeallocate</a><br />
-<a href="html/libxml-parser.html#xmlRecoverDoc">xmlRecoverDoc</a><br />
<a href="html/libxml-SAX2.html#xmlSAX2EntityDecl">xmlSAX2EntityDecl</a><br />
<a href="html/libxml-xmlstring.html#xmlStrPrintf">xmlStrPrintf</a><br />
<a href="html/libxml-xmlstring.html#xmlStrVPrintf">xmlStrVPrintf</a><br />
-<a href="html/libxml-xmlstring.html#xmlStrcasestr">xmlStrcasestr</a><br />
<a href="html/libxml-xmlstring.html#xmlStrcat">xmlStrcat</a><br />
<a href="html/libxml-xmlstring.html#xmlStrncat">xmlStrncat</a><br />
<a href="html/libxml-xpathInternals.html#xmlXPathWrapString">xmlXPathWrapString</a><br />
diff --git a/doc/html/libxml-parser.html b/doc/html/libxml-parser.html
index c38eaa3..b35cac0 100644
--- a/doc/html/libxml-parser.html
+++ b/doc/html/libxml-parser.html
@@ -169,7 +169,7 @@
<pre class="programlisting"><a href="libxml-tree.html#xmlDocPtr">xmlDocPtr</a> <a href="#xmlReadFile">xmlReadFile</a> (const char * filename, <br /> const char * encoding, <br /> int options)</pre>
<pre class="programlisting"><a href="libxml-tree.html#xmlDocPtr">xmlDocPtr</a> <a href="#xmlReadIO">xmlReadIO</a> (<a href="libxml-xmlIO.html#xmlInputReadCallback">xmlInputReadCallback</a> ioread, <br /> <a href="libxml-xmlIO.html#xmlInputCloseCallback">xmlInputCloseCallback</a> ioclose, <br /> void * ioctx, <br /> const char * URL, <br /> const char * encoding, <br /> int options)</pre>
<pre class="programlisting"><a href="libxml-tree.html#xmlDocPtr">xmlDocPtr</a> <a href="#xmlReadMemory">xmlReadMemory</a> (const char * buffer, <br /> int size, <br /> const char * URL, <br /> const char * encoding, <br /> int options)</pre>
-<pre class="programlisting"><a href="libxml-tree.html#xmlDocPtr">xmlDocPtr</a> <a href="#xmlRecoverDoc">xmlRecoverDoc</a> (<a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * cur)</pre>
+<pre class="programlisting"><a href="libxml-tree.html#xmlDocPtr">xmlDocPtr</a> <a href="#xmlRecoverDoc">xmlRecoverDoc</a> (const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * cur)</pre>
<pre class="programlisting"><a href="libxml-tree.html#xmlDocPtr">xmlDocPtr</a> <a href="#xmlRecoverFile">xmlRecoverFile</a> (const char * filename)</pre>
<pre class="programlisting"><a href="libxml-tree.html#xmlDocPtr">xmlDocPtr</a> <a href="#xmlRecoverMemory">xmlRecoverMemory</a> (const char * buffer, <br /> int size)</pre>
<pre class="programlisting"><a href="libxml-tree.html#xmlDtdPtr">xmlDtdPtr</a> <a href="#xmlSAXParseDTD">xmlSAXParseDTD</a> (<a href="libxml-tree.html#xmlSAXHandlerPtr">xmlSAXHandlerPtr</a> sax, <br /> const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * ExternalID, <br /> const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * SystemID)</pre>
@@ -518,7 +518,7 @@
</pre><p>parse an XML document from I/O functions and source and build a tree.</p>
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>ioread</tt></i>:</span></td><td>an I/O read function</td></tr><tr><td><span class="term"><i><tt>ioclose</tt></i>:</span></td><td>an I/O close function</td></tr><tr><td><span class="term"><i><tt>ioctx</tt></i>:</span></td><td>an I/O handler</td></tr><tr><td><span class="term"><i><tt>URL</tt></i>:</span></td><td>the base URL to use for the document</td></tr><tr><td><span class="term"><i><tt>encoding</tt></i>:</span></td><td>the document encoding, or NULL</td></tr><tr><td><span class="term"><i><tt>options</tt></i>:</span></td><td>a combination of <a href="libxml-parser.html#xmlParserOption">xmlParserOption</a></td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the resulting document tree</td></tr></tbody></table></div><h3><a name="xmlReadMemory" id="xmlReadMemory"></a>Function: xmlReadMemory</h3><pre class="programlisting"><a href="libxml-tree.html#xmlDocPtr">xmlDocPtr</a> xmlReadMemory (const char * buffer, <br /> int size, <br /> const char * URL, <br /> const char * encoding, <br /> int options)<br />
</pre><p>parse an XML in-memory document and build a tree.</p>
-<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>buffer</tt></i>:</span></td><td>a pointer to a char array</td></tr><tr><td><span class="term"><i><tt>size</tt></i>:</span></td><td>the size of the array</td></tr><tr><td><span class="term"><i><tt>URL</tt></i>:</span></td><td>the base URL to use for the document</td></tr><tr><td><span class="term"><i><tt>encoding</tt></i>:</span></td><td>the document encoding, or NULL</td></tr><tr><td><span class="term"><i><tt>options</tt></i>:</span></td><td>a combination of <a href="libxml-parser.html#xmlParserOption">xmlParserOption</a></td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the resulting document tree</td></tr></tbody></table></div><h3><a name="xmlRecoverDoc" id="xmlRecoverDoc"></a>Function: xmlRecoverDoc</h3><pre class="programlisting"><a href="libxml-tree.html#xmlDocPtr">xmlDocPtr</a> xmlRecoverDoc (<a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * cur)<br />
+<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>buffer</tt></i>:</span></td><td>a pointer to a char array</td></tr><tr><td><span class="term"><i><tt>size</tt></i>:</span></td><td>the size of the array</td></tr><tr><td><span class="term"><i><tt>URL</tt></i>:</span></td><td>the base URL to use for the document</td></tr><tr><td><span class="term"><i><tt>encoding</tt></i>:</span></td><td>the document encoding, or NULL</td></tr><tr><td><span class="term"><i><tt>options</tt></i>:</span></td><td>a combination of <a href="libxml-parser.html#xmlParserOption">xmlParserOption</a></td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the resulting document tree</td></tr></tbody></table></div><h3><a name="xmlRecoverDoc" id="xmlRecoverDoc"></a>Function: xmlRecoverDoc</h3><pre class="programlisting"><a href="libxml-tree.html#xmlDocPtr">xmlDocPtr</a> xmlRecoverDoc (const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * cur)<br />
</pre><p>parse an XML in-memory document and build a tree. In the case the document is not Well Formed, a attempt to build a tree is tried anyway</p>
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>cur</tt></i>:</span></td><td>a pointer to an array of <a href="libxml-xmlstring.html#xmlChar">xmlChar</a></td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the resulting document tree or NULL in case of failure</td></tr></tbody></table></div><h3><a name="xmlRecoverFile" id="xmlRecoverFile"></a>Function: xmlRecoverFile</h3><pre class="programlisting"><a href="libxml-tree.html#xmlDocPtr">xmlDocPtr</a> xmlRecoverFile (const char * filename)<br />
</pre><p>parse an XML file and build a tree. Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time. In the case the document is not Well Formed, it attempts to build a tree anyway</p>
diff --git a/doc/html/libxml-xmlreader.html b/doc/html/libxml-xmlreader.html
index 306faae..f010f65 100644
--- a/doc/html/libxml-xmlreader.html
+++ b/doc/html/libxml-xmlreader.html
@@ -185,7 +185,7 @@
</pre><p>Provides the number of attributes of the current node</p>
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>reader</tt></i>:</span></td><td>the <a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> used</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>0 i no attributes, -1 in case of error or the <a href="libxml-SAX.html#attribute">attribute</a> count</td></tr></tbody></table></div><h3><a name="xmlTextReaderBaseUri" id="xmlTextReaderBaseUri"></a>Function: xmlTextReaderBaseUri</h3><pre class="programlisting"><a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * xmlTextReaderBaseUri (<a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> reader)<br />
</pre><p>The base URI of the node.</p>
-<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>reader</tt></i>:</span></td><td>the <a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> used</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the base URI or NULL if not available</td></tr></tbody></table></div><h3><a name="xmlTextReaderByteConsumed" id="xmlTextReaderByteConsumed"></a>Function: xmlTextReaderByteConsumed</h3><pre class="programlisting">long xmlTextReaderByteConsumed (<a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> reader)<br />
+<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>reader</tt></i>:</span></td><td>the <a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> used</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the base URI or NULL if not available, if non NULL it need to be freed by the caller.</td></tr></tbody></table></div><h3><a name="xmlTextReaderByteConsumed" id="xmlTextReaderByteConsumed"></a>Function: xmlTextReaderByteConsumed</h3><pre class="programlisting">long xmlTextReaderByteConsumed (<a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> reader)<br />
</pre><p>This function provides the current index of the parser used by the reader, relative to the start of the current entity. This function actually just wraps a call to xmlBytesConsumed() for the parser context associated with the reader. See xmlBytesConsumed() for more information.</p>
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>reader</tt></i>:</span></td><td>an XML reader</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the index in bytes from the beginning of the entity or -1 in case the index could not be computed.</td></tr></tbody></table></div><h3><a name="xmlTextReaderClose" id="xmlTextReaderClose"></a>Function: xmlTextReaderClose</h3><pre class="programlisting">int xmlTextReaderClose (<a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> reader)<br />
</pre><p>This method releases any resources allocated by the current instance changes the state to Closed and close any underlying input.</p>
@@ -250,9 +250,9 @@
</pre><p>Retrieve the validity status from the parser context</p>
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>reader</tt></i>:</span></td><td>the <a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> used</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the flag value 1 if valid, 0 if no, and -1 in case of error</td></tr></tbody></table></div><h3><a name="xmlTextReaderLocalName" id="xmlTextReaderLocalName"></a>Function: xmlTextReaderLocalName</h3><pre class="programlisting"><a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * xmlTextReaderLocalName (<a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> reader)<br />
</pre><p>The local name of the node.</p>
-<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>reader</tt></i>:</span></td><td>the <a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> used</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the local name or NULL if not available</td></tr></tbody></table></div><h3><a name="xmlTextReaderLocatorBaseURI" id="xmlTextReaderLocatorBaseURI"></a>Function: xmlTextReaderLocatorBaseURI</h3><pre class="programlisting"><a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * xmlTextReaderLocatorBaseURI (<a href="libxml-xmlreader.html#xmlTextReaderLocatorPtr">xmlTextReaderLocatorPtr</a> locator)<br />
+<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>reader</tt></i>:</span></td><td>the <a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> used</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the local name or NULL if not available, if non NULL it need to be freed by the caller.</td></tr></tbody></table></div><h3><a name="xmlTextReaderLocatorBaseURI" id="xmlTextReaderLocatorBaseURI"></a>Function: xmlTextReaderLocatorBaseURI</h3><pre class="programlisting"><a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * xmlTextReaderLocatorBaseURI (<a href="libxml-xmlreader.html#xmlTextReaderLocatorPtr">xmlTextReaderLocatorPtr</a> locator)<br />
</pre><p>Obtain the base URI for the given locator.</p>
-<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>locator</tt></i>:</span></td><td>the <a href="libxml-xmlreader.html#xmlTextReaderLocatorPtr">xmlTextReaderLocatorPtr</a> used</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the base URI or NULL in case of error.</td></tr></tbody></table></div><h3><a name="xmlTextReaderLocatorLineNumber" id="xmlTextReaderLocatorLineNumber"></a>Function: xmlTextReaderLocatorLineNumber</h3><pre class="programlisting">int xmlTextReaderLocatorLineNumber (<a href="libxml-xmlreader.html#xmlTextReaderLocatorPtr">xmlTextReaderLocatorPtr</a> locator)<br />
+<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>locator</tt></i>:</span></td><td>the <a href="libxml-xmlreader.html#xmlTextReaderLocatorPtr">xmlTextReaderLocatorPtr</a> used</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the base URI or NULL in case of error, if non NULL it need to be freed by the caller.</td></tr></tbody></table></div><h3><a name="xmlTextReaderLocatorLineNumber" id="xmlTextReaderLocatorLineNumber"></a>Function: xmlTextReaderLocatorLineNumber</h3><pre class="programlisting">int xmlTextReaderLocatorLineNumber (<a href="libxml-xmlreader.html#xmlTextReaderLocatorPtr">xmlTextReaderLocatorPtr</a> locator)<br />
</pre><p>Obtain the line number for the given locator.</p>
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>locator</tt></i>:</span></td><td>the <a href="libxml-xmlreader.html#xmlTextReaderLocatorPtr">xmlTextReaderLocatorPtr</a> used</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the line number or -1 in case of error.</td></tr></tbody></table></div><h3><a name="xmlTextReaderLookupNamespace" id="xmlTextReaderLookupNamespace"></a>Function: xmlTextReaderLookupNamespace</h3><pre class="programlisting"><a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * xmlTextReaderLookupNamespace (<a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> reader, <br /> const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * prefix)<br />
</pre><p>Resolves a namespace prefix in the scope of the current element.</p>
@@ -270,9 +270,9 @@
</pre><p>Moves the position of the current instance to the next <a href="libxml-SAX.html#attribute">attribute</a> associated with the current node.</p>
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>reader</tt></i>:</span></td><td>the <a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> used</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>1 in case of success, -1 in case of error, 0 if not found</td></tr></tbody></table></div><h3><a name="xmlTextReaderName" id="xmlTextReaderName"></a>Function: xmlTextReaderName</h3><pre class="programlisting"><a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * xmlTextReaderName (<a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> reader)<br />
</pre><p>The qualified name of the node, equal to Prefix :LocalName.</p>
-<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>reader</tt></i>:</span></td><td>the <a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> used</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the local name or NULL if not available</td></tr></tbody></table></div><h3><a name="xmlTextReaderNamespaceUri" id="xmlTextReaderNamespaceUri"></a>Function: xmlTextReaderNamespaceUri</h3><pre class="programlisting"><a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * xmlTextReaderNamespaceUri (<a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> reader)<br />
+<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>reader</tt></i>:</span></td><td>the <a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> used</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the local name or NULL if not available, if non NULL it need to be freed by the caller.</td></tr></tbody></table></div><h3><a name="xmlTextReaderNamespaceUri" id="xmlTextReaderNamespaceUri"></a>Function: xmlTextReaderNamespaceUri</h3><pre class="programlisting"><a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * xmlTextReaderNamespaceUri (<a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> reader)<br />
</pre><p>The URI defining the namespace associated with the node.</p>
-<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>reader</tt></i>:</span></td><td>the <a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> used</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the namespace URI or NULL if not available</td></tr></tbody></table></div><h3><a name="xmlTextReaderNext" id="xmlTextReaderNext"></a>Function: xmlTextReaderNext</h3><pre class="programlisting">int xmlTextReaderNext (<a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> reader)<br />
+<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>reader</tt></i>:</span></td><td>the <a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> used</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the namespace URI or NULL if not available, if non NULL it need to be freed by the caller.</td></tr></tbody></table></div><h3><a name="xmlTextReaderNext" id="xmlTextReaderNext"></a>Function: xmlTextReaderNext</h3><pre class="programlisting">int xmlTextReaderNext (<a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> reader)<br />
</pre><p>Skip to the node following the current one in document order while avoiding the subtree if any.</p>
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>reader</tt></i>:</span></td><td>the <a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> used</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>1 if the node was read successfully, 0 if there is no more nodes to read, or -1 in case of error</td></tr></tbody></table></div><h3><a name="xmlTextReaderNextSibling" id="xmlTextReaderNextSibling"></a>Function: xmlTextReaderNextSibling</h3><pre class="programlisting">int xmlTextReaderNextSibling (<a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> reader)<br />
</pre><p>Skip to the node following the current one in document order while avoiding the subtree if any. Currently implemented only for Readers built on a document</p>
@@ -282,7 +282,7 @@
</pre><p>The value indicating whether to normalize white space and <a href="libxml-SAX.html#attribute">attribute</a> values. Since <a href="libxml-SAX.html#attribute">attribute</a> value and end of line normalizations are a MUST in the XML specification only the value true is accepted. The broken bahaviour of accepting out of range character entities like &#0; is of course not supported either.</p>
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>reader</tt></i>:</span></td><td>the <a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> used</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>1 or -1 in case of error.</td></tr></tbody></table></div><h3><a name="xmlTextReaderPrefix" id="xmlTextReaderPrefix"></a>Function: xmlTextReaderPrefix</h3><pre class="programlisting"><a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * xmlTextReaderPrefix (<a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> reader)<br />
</pre><p>A shorthand <a href="libxml-SAX.html#reference">reference</a> to the namespace associated with the node.</p>
-<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>reader</tt></i>:</span></td><td>the <a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> used</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the prefix or NULL if not available</td></tr></tbody></table></div><h3><a name="xmlTextReaderPreserve" id="xmlTextReaderPreserve"></a>Function: xmlTextReaderPreserve</h3><pre class="programlisting"><a href="libxml-tree.html#xmlNodePtr">xmlNodePtr</a> xmlTextReaderPreserve (<a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> reader)<br />
+<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>reader</tt></i>:</span></td><td>the <a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> used</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the prefix or NULL if not available, if non NULL it need to be freed by the caller.</td></tr></tbody></table></div><h3><a name="xmlTextReaderPreserve" id="xmlTextReaderPreserve"></a>Function: xmlTextReaderPreserve</h3><pre class="programlisting"><a href="libxml-tree.html#xmlNodePtr">xmlNodePtr</a> xmlTextReaderPreserve (<a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> reader)<br />
</pre><p>This tells the XML Reader to preserve the current node. The caller must also use xmlTextReaderCurrentDoc() to keep an handle on the resulting document once parsing has finished</p>
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>reader</tt></i>:</span></td><td>the <a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> used</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the <a href="libxml-tree.html#xmlNodePtr">xmlNodePtr</a> or NULL in case of error.</td></tr></tbody></table></div><h3><a name="xmlTextReaderPreservePattern" id="xmlTextReaderPreservePattern"></a>Function: xmlTextReaderPreservePattern</h3><pre class="programlisting">int xmlTextReaderPreservePattern (<a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> reader, <br /> const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * pattern, <br /> const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> ** namespaces)<br />
</pre><p>This tells the XML Reader to preserve all nodes matched by the pattern. The caller must also use xmlTextReaderCurrentDoc() to keep an handle on the resulting document once parsing has finished</p>
@@ -324,4 +324,4 @@
</pre><p>Provides the text value of the node if present</p>
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>reader</tt></i>:</span></td><td>the <a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> used</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the string or NULL if not available. The result must be deallocated with xmlFree()</td></tr></tbody></table></div><h3><a name="xmlTextReaderXmlLang" id="xmlTextReaderXmlLang"></a>Function: xmlTextReaderXmlLang</h3><pre class="programlisting"><a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * xmlTextReaderXmlLang (<a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> reader)<br />
</pre><p>The xml:lang scope within which the node resides.</p>
-<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>reader</tt></i>:</span></td><td>the <a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> used</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the xml:lang value or NULL if none exists.</td></tr></tbody></table></div><p><a href="../bugs.html">Daniel Veillard</a></p></td></tr></table></td></tr></table></td></tr></table></td></tr></table></td></tr></table></body></html>
+<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>reader</tt></i>:</span></td><td>the <a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> used</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the xml:lang value or NULL if none exists., if non NULL it need to be freed by the caller.</td></tr></tbody></table></div><p><a href="../bugs.html">Daniel Veillard</a></p></td></tr></table></td></tr></table></td></tr></table></td></tr></table></td></tr></table></body></html>
diff --git a/doc/html/libxml-xmlstring.html b/doc/html/libxml-xmlstring.html
index cad7074..91b62de 100644
--- a/doc/html/libxml-xmlstring.html
+++ b/doc/html/libxml-xmlstring.html
@@ -20,7 +20,7 @@
<pre class="programlisting">int <a href="#xmlStrQEqual">xmlStrQEqual</a> (const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * pref, <br /> const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * name, <br /> const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * str)</pre>
<pre class="programlisting">int <a href="#xmlStrVPrintf">xmlStrVPrintf</a> (<a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * buf, <br /> int len, <br /> const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * msg, <br /> va_list ap)</pre>
<pre class="programlisting">int <a href="#xmlStrcasecmp">xmlStrcasecmp</a> (const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * str1, <br /> const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * str2)</pre>
-<pre class="programlisting">const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * <a href="#xmlStrcasestr">xmlStrcasestr</a> (const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * str, <br /> <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * val)</pre>
+<pre class="programlisting">const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * <a href="#xmlStrcasestr">xmlStrcasestr</a> (const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * str, <br /> const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * val)</pre>
<pre class="programlisting"><a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * <a href="#xmlStrcat">xmlStrcat</a> (<a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * cur, <br /> const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * add)</pre>
<pre class="programlisting">const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * <a href="#xmlStrchr">xmlStrchr</a> (const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * str, <br /> <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> val)</pre>
<pre class="programlisting">int <a href="#xmlStrcmp">xmlStrcmp</a> (const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * str1, <br /> const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * str2)</pre>
@@ -63,7 +63,7 @@
</pre><p>Formats @msg and places result into @buf.</p>
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>buf</tt></i>:</span></td><td>the result buffer.</td></tr><tr><td><span class="term"><i><tt>len</tt></i>:</span></td><td>the result buffer length.</td></tr><tr><td><span class="term"><i><tt>msg</tt></i>:</span></td><td>the message with printf formatting.</td></tr><tr><td><span class="term"><i><tt>ap</tt></i>:</span></td><td>extra parameters for the message.</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the number of <a href="libxml-SAX.html#characters">characters</a> written to @buf or -1 if an error occurs.</td></tr></tbody></table></div><h3><a name="xmlStrcasecmp" id="xmlStrcasecmp"></a>Function: xmlStrcasecmp</h3><pre class="programlisting">int xmlStrcasecmp (const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * str1, <br /> const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * str2)<br />
</pre><p>a strcasecmp for xmlChar's</p>
-<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>str1</tt></i>:</span></td><td>the first <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> *</td></tr><tr><td><span class="term"><i><tt>str2</tt></i>:</span></td><td>the second <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> *</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the integer result of the comparison</td></tr></tbody></table></div><h3><a name="xmlStrcasestr" id="xmlStrcasestr"></a>Function: xmlStrcasestr</h3><pre class="programlisting">const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * xmlStrcasestr (const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * str, <br /> <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * val)<br />
+<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>str1</tt></i>:</span></td><td>the first <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> *</td></tr><tr><td><span class="term"><i><tt>str2</tt></i>:</span></td><td>the second <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> *</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the integer result of the comparison</td></tr></tbody></table></div><h3><a name="xmlStrcasestr" id="xmlStrcasestr"></a>Function: xmlStrcasestr</h3><pre class="programlisting">const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * xmlStrcasestr (const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * str, <br /> const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * val)<br />
</pre><p>a case-ignoring strstr for xmlChar's</p>
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>str</tt></i>:</span></td><td>the <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * array (haystack)</td></tr><tr><td><span class="term"><i><tt>val</tt></i>:</span></td><td>the <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> to search (needle)</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * for the first occurrence or NULL.</td></tr></tbody></table></div><h3><a name="xmlStrcat" id="xmlStrcat"></a>Function: xmlStrcat</h3><pre class="programlisting"><a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * xmlStrcat (<a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * cur, <br /> const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * add)<br />
</pre><p>a strcat for array of xmlChar's. Since they are supposed to be encoded in UTF-8 or an encoding with 8bit based chars, we assume a termination mark of '0'.</p>
diff --git a/doc/libxml2-api.xml b/doc/libxml2-api.xml
index ce4b035..8c8f6c2 100644
--- a/doc/libxml2-api.xml
+++ b/doc/libxml2-api.xml
@@ -11952,7 +11952,7 @@
<arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context'/>
</function>
<function name='xmlParseElementChildrenContentDecl' file='parserInternals' module='parser'>
- <info>parse the declaration for a Mixed Element content The leading '(' and spaces have been skipped in xmlParseElementContentDecl [47] children ::= (choice | seq) ('?' | '*' | '+')? [48] cp ::= (Name | choice | seq) ('?' | '*' | '+')? [49] choice ::= '(' S? cp ( S? '|' S? cp )* S? ')' [50] seq ::= '(' S? cp ( S? ',' S? cp )* S? ')' [ VC: Proper Group/PE Nesting ] applies to [49] and [50] TODO Parameter-entity replacement text must be properly nested with parenthesized groups. That is to say, if either of the opening or closing parentheses in a choice, seq, or Mixed construct is contained in the replacement text for a parameter entity, both must be contained in the same replacement text. For interoperability, if a parameter-entity reference appears in a choice, seq, or Mixed construct, its replacement text should not be empty, and neither the first nor last non-blank character of the replacement text should be a connector (| or ,).</info>
+ <info>parse the declaration for a Mixed Element content The leading '(' and spaces have been skipped in xmlParseElementContentDecl [47] children ::= (choice | seq) ('?' | '*' | '+')? [48] cp ::= (Name | choice | seq) ('?' | '*' | '+')? [49] choice ::= '(' S? cp ( S? '|' S? cp )* S? ')' [50] seq ::= '(' S? cp ( S? ',' S? cp )* S? ')' [ VC: Proper Group/PE Nesting ] applies to [49] and [50] TODO Parameter-entity replacement text must be properly nested with parenthesized groups. That is to say, if either of the opening or closing parentheses in a choice, seq, or Mixed construct is contained in the replacement text for a parameter entity, both must be contained in the same replacement text. For interoperability, if a parameter-entity reference appears in a choice, seq, or Mixed construct, its replacement text should not be empty, and neither the first nor last non-blank character of the replacement text should be a connector (| or ,).</info>
<return type='xmlElementContentPtr' info='the tree of xmlElementContentPtr describing the element hierarchy.'/>
<arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context'/>
<arg name='inputchk' type='int' info='the input used for the current entity, needed for boundary checks'/>
@@ -12633,7 +12633,7 @@
<cond>defined(LIBXML_SAX1_ENABLED)</cond>
<info>parse an XML in-memory document and build a tree. In the case the document is not Well Formed, a attempt to build a tree is tried anyway</info>
<return type='xmlDocPtr' info='the resulting document tree or NULL in case of failure'/>
- <arg name='cur' type='xmlChar *' info='a pointer to an array of xmlChar'/>
+ <arg name='cur' type='const xmlChar *' info='a pointer to an array of xmlChar'/>
</function>
<function name='xmlRecoverFile' file='parser' module='parser'>
<cond>defined(LIBXML_SAX1_ENABLED)</cond>
@@ -14309,7 +14309,7 @@
<info>a case-ignoring strstr for xmlChar's</info>
<return type='const xmlChar *' info='the xmlChar * for the first occurrence or NULL.'/>
<arg name='str' type='const xmlChar *' info='the xmlChar * array (haystack)'/>
- <arg name='val' type='xmlChar *' info='the xmlChar to search (needle)'/>
+ <arg name='val' type='const xmlChar *' info='the xmlChar to search (needle)'/>
</function>
<function name='xmlStrcat' file='xmlstring' module='xmlstring'>
<info>a strcat for array of xmlChar's. Since they are supposed to be encoded in UTF-8 or an encoding with 8bit based chars, we assume a termination mark of '0'.</info>
@@ -14521,7 +14521,7 @@
<function name='xmlTextReaderBaseUri' file='xmlreader' module='xmlreader'>
<cond>defined(LIBXML_READER_ENABLED)</cond>
<info>The base URI of the node.</info>
- <return type='xmlChar *' info='the base URI or NULL if not available'/>
+ <return type='xmlChar *' info='the base URI or NULL if not available, if non NULL it need to be freed by the caller.'/>
<arg name='reader' type='xmlTextReaderPtr' info='the xmlTextReaderPtr used'/>
</function>
<function name='xmlTextReaderByteConsumed' file='xmlreader' module='xmlreader'>
@@ -14724,13 +14724,13 @@
<function name='xmlTextReaderLocalName' file='xmlreader' module='xmlreader'>
<cond>defined(LIBXML_READER_ENABLED)</cond>
<info>The local name of the node.</info>
- <return type='xmlChar *' info='the local name or NULL if not available'/>
+ <return type='xmlChar *' info='the local name or NULL if not available, if non NULL it need to be freed by the caller.'/>
<arg name='reader' type='xmlTextReaderPtr' info='the xmlTextReaderPtr used'/>
</function>
<function name='xmlTextReaderLocatorBaseURI' file='xmlreader' module='xmlreader'>
<cond>defined(LIBXML_READER_ENABLED)</cond>
<info>Obtain the base URI for the given locator.</info>
- <return type='xmlChar *' info='the base URI or NULL in case of error.'/>
+ <return type='xmlChar *' info='the base URI or NULL in case of error, if non NULL it need to be freed by the caller.'/>
<arg name='locator' type='xmlTextReaderLocatorPtr' info='the xmlTextReaderLocatorPtr used'/>
</function>
<function name='xmlTextReaderLocatorLineNumber' file='xmlreader' module='xmlreader'>
@@ -14789,13 +14789,13 @@
<function name='xmlTextReaderName' file='xmlreader' module='xmlreader'>
<cond>defined(LIBXML_READER_ENABLED)</cond>
<info>The qualified name of the node, equal to Prefix :LocalName.</info>
- <return type='xmlChar *' info='the local name or NULL if not available'/>
+ <return type='xmlChar *' info='the local name or NULL if not available, if non NULL it need to be freed by the caller.'/>
<arg name='reader' type='xmlTextReaderPtr' info='the xmlTextReaderPtr used'/>
</function>
<function name='xmlTextReaderNamespaceUri' file='xmlreader' module='xmlreader'>
<cond>defined(LIBXML_READER_ENABLED)</cond>
<info>The URI defining the namespace associated with the node.</info>
- <return type='xmlChar *' info='the namespace URI or NULL if not available'/>
+ <return type='xmlChar *' info='the namespace URI or NULL if not available, if non NULL it need to be freed by the caller.'/>
<arg name='reader' type='xmlTextReaderPtr' info='the xmlTextReaderPtr used'/>
</function>
<function name='xmlTextReaderNext' file='xmlreader' module='xmlreader'>
@@ -14825,7 +14825,7 @@
<function name='xmlTextReaderPrefix' file='xmlreader' module='xmlreader'>
<cond>defined(LIBXML_READER_ENABLED)</cond>
<info>A shorthand reference to the namespace associated with the node.</info>
- <return type='xmlChar *' info='the prefix or NULL if not available'/>
+ <return type='xmlChar *' info='the prefix or NULL if not available, if non NULL it need to be freed by the caller.'/>
<arg name='reader' type='xmlTextReaderPtr' info='the xmlTextReaderPtr used'/>
</function>
<function name='xmlTextReaderPreserve' file='xmlreader' module='xmlreader'>
@@ -14969,7 +14969,7 @@
<function name='xmlTextReaderXmlLang' file='xmlreader' module='xmlreader'>
<cond>defined(LIBXML_READER_ENABLED)</cond>
<info>The xml:lang scope within which the node resides.</info>
- <return type='xmlChar *' info='the xml:lang value or NULL if none exists.'/>
+ <return type='xmlChar *' info='the xml:lang value or NULL if none exists., if non NULL it need to be freed by the caller.'/>
<arg name='reader' type='xmlTextReaderPtr' info='the xmlTextReaderPtr used'/>
</function>
<function name='xmlTextWriterEndAttribute' file='xmlwriter' module='xmlwriter'>
diff --git a/doc/libxml2-refs.xml b/doc/libxml2-refs.xml
index 8bd731b..a5b497c 100644
--- a/doc/libxml2-refs.xml
+++ b/doc/libxml2-refs.xml
@@ -8231,6 +8231,7 @@
<ref name='xmlReadDoc'/>
<ref name='xmlReaderForDoc'/>
<ref name='xmlReaderNewDoc'/>
+ <ref name='xmlRecoverDoc'/>
<ref name='xmlRegExecCallbacks'/>
<ref name='xmlRegExecPushString'/>
<ref name='xmlRegExecPushString2'/>
@@ -9016,11 +9017,9 @@
<ref name='xmlNewNodeEatName'/>
<ref name='xmlNewNsPropEatName'/>
<ref name='xmlParserInputDeallocate'/>
- <ref name='xmlRecoverDoc'/>
<ref name='xmlSAX2EntityDecl'/>
<ref name='xmlStrPrintf'/>
<ref name='xmlStrVPrintf'/>
- <ref name='xmlStrcasestr'/>
<ref name='xmlStrcat'/>
<ref name='xmlStrncat'/>
<ref name='xmlXPathWrapString'/>
@@ -25249,32 +25248,6 @@
<ref name='xmlCheckUTF8'/>
<ref name='xmlDebugDumpString'/>
</word>
- <word name='need'>
- <ref name='WITH_TRIO'/>
- <ref name='XML_SCHEMAS_TYPE_FACETSNEEDVALUE'/>
- <ref name='XML_SCHEMAS_TYPE_NORMVALUENEEDED'/>
- <ref name='XML_SUBSTITUTE_BOTH'/>
- <ref name='XML_SUBSTITUTE_NONE'/>
- <ref name='XML_SUBSTITUTE_PEREF'/>
- <ref name='XML_SUBSTITUTE_REF'/>
- <ref name='_xmlDOMWrapCtxt'/>
- <ref name='xmlCreatePushParserCtxt'/>
- <ref name='xmlGetNsList'/>
- <ref name='xmlInitCharEncodingHandlers'/>
- <ref name='xmlNewDocNode'/>
- <ref name='xmlNewDocNodeEatName'/>
- <ref name='xmlNewTextChild'/>
- <ref name='xmlNodeSetContent'/>
- <ref name='xmlNodeSetContentLen'/>
- <ref name='xmlParseEntityRef'/>
- <ref name='xmlParserHandleReference'/>
- <ref name='xmlRegExecErrInfo'/>
- <ref name='xmlRegExecNextValues'/>
- <ref name='xmlSchemaNewStringValue'/>
- <ref name='xmlStreamWantsAnyNode'/>
- <ref name='xmlValidGetValidElements'/>
- <ref name='xmlXPathNewContext'/>
- </word>
<word name='needed'>
<ref name='_xmlParserCtxt'/>
<ref name='_xmlXPathContext'/>
@@ -25404,6 +25377,13 @@
<ref name='xmlEncodeEntitiesReentrant'/>
<ref name='xmlNewChild'/>
<ref name='xmlNewTextChild'/>
+ <ref name='xmlTextReaderBaseUri'/>
+ <ref name='xmlTextReaderLocalName'/>
+ <ref name='xmlTextReaderLocatorBaseURI'/>
+ <ref name='xmlTextReaderName'/>
+ <ref name='xmlTextReaderNamespaceUri'/>
+ <ref name='xmlTextReaderPrefix'/>
+ <ref name='xmlTextReaderXmlLang'/>
<ref name='xmlXPathParseNCName'/>
</word>
<word name='non-CDATA'>
diff --git a/parser.c b/parser.c
index 0808837..dc9c14d 100644
--- a/parser.c
+++ b/parser.c
@@ -6079,11 +6079,9 @@
}
/**
- *
* xmlParseElementChildrenContentDecl:
* @ctxt: an XML parser context
* @inputchk: the input used for the current entity, needed for boundary checks
- * @depth: the level of recursion
*
* parse the declaration for a Mixed Element content
* The leading '(' and spaces have been skipped in xmlParseElementContentDecl
diff --git a/python/libxml2class.txt b/python/libxml2class.txt
deleted file mode 100644
index 1e747ed..0000000
--- a/python/libxml2class.txt
+++ /dev/null
@@ -1,1169 +0,0 @@
- Generated Classes for libxml2-python
-
-#
-# Global functions of the module
-#
-
-
-# functions from module HTMLparser
-htmlCreateMemoryParserCtxt()
-htmlHandleOmittedElem()
-htmlIsScriptAttribute()
-htmlNewParserCtxt()
-htmlParseDoc()
-htmlParseFile()
-htmlReadDoc()
-htmlReadFd()
-htmlReadFile()
-htmlReadMemory()
-
-# functions from module HTMLtree
-htmlIsBooleanAttr()
-htmlNewDoc()
-htmlNewDocNoDtD()
-
-# functions from module SAX2
-SAXDefaultVersion()
-defaultSAXHandlerInit()
-docbDefaultSAXHandlerInit()
-htmlDefaultSAXHandlerInit()
-
-# functions from module catalog
-catalogAdd()
-catalogCleanup()
-catalogConvert()
-catalogDump()
-catalogGetPublic()
-catalogGetSystem()
-catalogRemove()
-catalogResolve()
-catalogResolvePublic()
-catalogResolveSystem()
-catalogResolveURI()
-catalogSetDebug()
-initializeCatalog()
-loadACatalog()
-loadCatalog()
-loadCatalogs()
-loadSGMLSuperCatalog()
-newCatalog()
-parseCatalogFile()
-
-# functions from module chvalid
-isBaseChar()
-isBlank()
-isChar()
-isCombining()
-isDigit()
-isExtender()
-isIdeographic()
-isPubidChar()
-
-# functions from module debugXML
-boolToText()
-debugDumpString()
-shellPrintXPathError()
-
-# functions from module dict
-dictCleanup()
-
-# functions from module encoding
-addEncodingAlias()
-cleanupCharEncodingHandlers()
-cleanupEncodingAliases()
-delEncodingAlias()
-encodingAlias()
-initCharEncodingHandlers()
-
-# functions from module entities
-cleanupPredefinedEntities()
-initializePredefinedEntities()
-predefinedEntity()
-
-# functions from module globals
-cleanupGlobals()
-initGlobals()
-thrDefDefaultBufferSize()
-thrDefDoValidityCheckingDefaultValue()
-thrDefGetWarningsDefaultValue()
-thrDefIndentTreeOutput()
-thrDefKeepBlanksDefaultValue()
-thrDefLineNumbersDefaultValue()
-thrDefLoadExtDtdDefaultValue()
-thrDefParserDebugEntities()
-thrDefPedanticParserDefaultValue()
-thrDefSaveNoEmptyTags()
-thrDefSubstituteEntitiesDefaultValue()
-thrDefTreeIndentString()
-
-# functions from module nanoftp
-nanoFTPCleanup()
-nanoFTPInit()
-nanoFTPProxy()
-nanoFTPScanProxy()
-
-# functions from module nanohttp
-nanoHTTPCleanup()
-nanoHTTPInit()
-nanoHTTPScanProxy()
-
-# functions from module parser
-createDocParserCtxt()
-initParser()
-keepBlanksDefault()
-lineNumbersDefault()
-newParserCtxt()
-parseDTD()
-parseDoc()
-parseEntity()
-parseFile()
-parseMemory()
-pedanticParserDefault()
-readDoc()
-readFd()
-readFile()
-readMemory()
-recoverDoc()
-recoverFile()
-recoverMemory()
-substituteEntitiesDefault()
-
-# functions from module parserInternals
-checkLanguageID()
-copyChar()
-copyCharMultiByte()
-createEntityParserCtxt()
-createFileParserCtxt()
-createMemoryParserCtxt()
-createURLParserCtxt()
-htmlCreateFileParserCtxt()
-htmlInitAutoClose()
-isLetter()
-namePop()
-namePush()
-nodePop()
-nodePush()
-
-# functions from module python
-SAXParseFile()
-createInputBuffer()
-createOutputBuffer()
-createPushParser()
-debugMemory()
-dumpMemory()
-htmlCreatePushParser()
-htmlSAXParseFile()
-memoryUsed()
-newNode()
-pythonCleanupParser()
-setEntityLoader()
-
-# functions from module relaxng
-relaxNGCleanupTypes()
-relaxNGInitTypes()
-relaxNGNewMemParserCtxt()
-relaxNGNewParserCtxt()
-
-# functions from module tree
-buildQName()
-compressMode()
-isXHTML()
-newComment()
-newDoc()
-newPI()
-newText()
-newTextLen()
-setCompressMode()
-validateNCName()
-validateNMToken()
-validateName()
-validateQName()
-
-# functions from module uri
-URIEscape()
-URIEscapeStr()
-URIUnescapeString()
-buildRelativeURI()
-buildURI()
-canonicPath()
-createURI()
-normalizeURIPath()
-parseURI()
-parseURIRaw()
-pathToURI()
-
-# functions from module valid
-newValidCtxt()
-validateNameValue()
-validateNamesValue()
-validateNmtokenValue()
-validateNmtokensValue()
-
-# functions from module xmlIO
-checkFilename()
-cleanupInputCallbacks()
-cleanupOutputCallbacks()
-fileMatch()
-iOFTPMatch()
-iOHTTPMatch()
-normalizeWindowsPath()
-parserGetDirectory()
-popInputCallbacks()
-registerDefaultInputCallbacks()
-registerDefaultOutputCallbacks()
-registerHTTPPostCallbacks()
-
-# functions from module xmlerror
-lastError()
-resetLastError()
-
-# functions from module xmlreader
-newTextReaderFilename()
-readerForDoc()
-readerForFd()
-readerForFile()
-readerForMemory()
-
-# functions from module xmlregexp
-regexpCompile()
-
-# functions from module xmlschemas
-schemaNewMemParserCtxt()
-schemaNewParserCtxt()
-
-# functions from module xmlschemastypes
-schemaCleanupTypes()
-schemaCollapseString()
-schemaInitTypes()
-schemaWhiteSpaceReplace()
-
-# functions from module xmlstring
-UTF8Charcmp()
-UTF8Size()
-UTF8Strlen()
-UTF8Strloc()
-UTF8Strndup()
-UTF8Strpos()
-UTF8Strsize()
-UTF8Strsub()
-checkUTF8()
-
-# functions from module xmlunicode
-uCSIsAegeanNumbers()
-uCSIsAlphabeticPresentationForms()
-uCSIsArabic()
-uCSIsArabicPresentationFormsA()
-uCSIsArabicPresentationFormsB()
-uCSIsArmenian()
-uCSIsArrows()
-uCSIsBasicLatin()
-uCSIsBengali()
-uCSIsBlock()
-uCSIsBlockElements()
-uCSIsBopomofo()
-uCSIsBopomofoExtended()
-uCSIsBoxDrawing()
-uCSIsBraillePatterns()
-uCSIsBuhid()
-uCSIsByzantineMusicalSymbols()
-uCSIsCJKCompatibility()
-uCSIsCJKCompatibilityForms()
-uCSIsCJKCompatibilityIdeographs()
-uCSIsCJKCompatibilityIdeographsSupplement()
-uCSIsCJKRadicalsSupplement()
-uCSIsCJKSymbolsandPunctuation()
-uCSIsCJKUnifiedIdeographs()
-uCSIsCJKUnifiedIdeographsExtensionA()
-uCSIsCJKUnifiedIdeographsExtensionB()
-uCSIsCat()
-uCSIsCatC()
-uCSIsCatCc()
-uCSIsCatCf()
-uCSIsCatCo()
-uCSIsCatCs()
-uCSIsCatL()
-uCSIsCatLl()
-uCSIsCatLm()
-uCSIsCatLo()
-uCSIsCatLt()
-uCSIsCatLu()
-uCSIsCatM()
-uCSIsCatMc()
-uCSIsCatMe()
-uCSIsCatMn()
-uCSIsCatN()
-uCSIsCatNd()
-uCSIsCatNl()
-uCSIsCatNo()
-uCSIsCatP()
-uCSIsCatPc()
-uCSIsCatPd()
-uCSIsCatPe()
-uCSIsCatPf()
-uCSIsCatPi()
-uCSIsCatPo()
-uCSIsCatPs()
-uCSIsCatS()
-uCSIsCatSc()
-uCSIsCatSk()
-uCSIsCatSm()
-uCSIsCatSo()
-uCSIsCatZ()
-uCSIsCatZl()
-uCSIsCatZp()
-uCSIsCatZs()
-uCSIsCherokee()
-uCSIsCombiningDiacriticalMarks()
-uCSIsCombiningDiacriticalMarksforSymbols()
-uCSIsCombiningHalfMarks()
-uCSIsCombiningMarksforSymbols()
-uCSIsControlPictures()
-uCSIsCurrencySymbols()
-uCSIsCypriotSyllabary()
-uCSIsCyrillic()
-uCSIsCyrillicSupplement()
-uCSIsDeseret()
-uCSIsDevanagari()
-uCSIsDingbats()
-uCSIsEnclosedAlphanumerics()
-uCSIsEnclosedCJKLettersandMonths()
-uCSIsEthiopic()
-uCSIsGeneralPunctuation()
-uCSIsGeometricShapes()
-uCSIsGeorgian()
-uCSIsGothic()
-uCSIsGreek()
-uCSIsGreekExtended()
-uCSIsGreekandCoptic()
-uCSIsGujarati()
-uCSIsGurmukhi()
-uCSIsHalfwidthandFullwidthForms()
-uCSIsHangulCompatibilityJamo()
-uCSIsHangulJamo()
-uCSIsHangulSyllables()
-uCSIsHanunoo()
-uCSIsHebrew()
-uCSIsHighPrivateUseSurrogates()
-uCSIsHighSurrogates()
-uCSIsHiragana()
-uCSIsIPAExtensions()
-uCSIsIdeographicDescriptionCharacters()
-uCSIsKanbun()
-uCSIsKangxiRadicals()
-uCSIsKannada()
-uCSIsKatakana()
-uCSIsKatakanaPhoneticExtensions()
-uCSIsKhmer()
-uCSIsKhmerSymbols()
-uCSIsLao()
-uCSIsLatin1Supplement()
-uCSIsLatinExtendedA()
-uCSIsLatinExtendedAdditional()
-uCSIsLatinExtendedB()
-uCSIsLetterlikeSymbols()
-uCSIsLimbu()
-uCSIsLinearBIdeograms()
-uCSIsLinearBSyllabary()
-uCSIsLowSurrogates()
-uCSIsMalayalam()
-uCSIsMathematicalAlphanumericSymbols()
-uCSIsMathematicalOperators()
-uCSIsMiscellaneousMathematicalSymbolsA()
-uCSIsMiscellaneousMathematicalSymbolsB()
-uCSIsMiscellaneousSymbols()
-uCSIsMiscellaneousSymbolsandArrows()
-uCSIsMiscellaneousTechnical()
-uCSIsMongolian()
-uCSIsMusicalSymbols()
-uCSIsMyanmar()
-uCSIsNumberForms()
-uCSIsOgham()
-uCSIsOldItalic()
-uCSIsOpticalCharacterRecognition()
-uCSIsOriya()
-uCSIsOsmanya()
-uCSIsPhoneticExtensions()
-uCSIsPrivateUse()
-uCSIsPrivateUseArea()
-uCSIsRunic()
-uCSIsShavian()
-uCSIsSinhala()
-uCSIsSmallFormVariants()
-uCSIsSpacingModifierLetters()
-uCSIsSpecials()
-uCSIsSuperscriptsandSubscripts()
-uCSIsSupplementalArrowsA()
-uCSIsSupplementalArrowsB()
-uCSIsSupplementalMathematicalOperators()
-uCSIsSupplementaryPrivateUseAreaA()
-uCSIsSupplementaryPrivateUseAreaB()
-uCSIsSyriac()
-uCSIsTagalog()
-uCSIsTagbanwa()
-uCSIsTags()
-uCSIsTaiLe()
-uCSIsTaiXuanJingSymbols()
-uCSIsTamil()
-uCSIsTelugu()
-uCSIsThaana()
-uCSIsThai()
-uCSIsTibetan()
-uCSIsUgaritic()
-uCSIsUnifiedCanadianAboriginalSyllabics()
-uCSIsVariationSelectors()
-uCSIsVariationSelectorsSupplement()
-uCSIsYiRadicals()
-uCSIsYiSyllables()
-uCSIsYijingHexagramSymbols()
-
-# functions from module xmlversion
-checkVersion()
-
-# functions from module xpathInternals
-valuePop()
-
-
-#
-# Set of classes of the module
-#
-
-
-
-Class xmlNode(xmlCore)
- # accessors
- ns()
- nsDefs()
-
- # functions from module debugXML
- debugDumpNode()
- debugDumpNodeList()
- debugDumpOneNode()
- lsCountNode()
- lsOneNode()
- shellPrintNode()
-
- # functions from module tree
- addChild()
- addChildList()
- addContent()
- addContentLen()
- addNextSibling()
- addPrevSibling()
- addSibling()
- copyNode()
- copyNodeList()
- copyProp()
- copyPropList()
- docCopyNode()
- docCopyNodeList()
- docSetRootElement()
- firstElementChild()
- freeNode()
- freeNodeList()
- getBase()
- getContent()
- getLang()
- getSpacePreserve()
- hasNsProp()
- hasProp()
- isBlankNode()
- isText()
- lastChild()
- lastElementChild()
- lineNo()
- listGetRawString()
- listGetString()
- newChild()
- newNs()
- newNsProp()
- newNsPropEatName()
- newProp()
- newTextChild()
- nextElementSibling()
- noNsProp()
- nodePath()
- nsProp()
- previousElementSibling()
- prop()
- reconciliateNs()
- replaceNode()
- searchNs()
- searchNsByHref()
- setBase()
- setContent()
- setContentLen()
- setLang()
- setListDoc()
- setName()
- setNs()
- setNsProp()
- setProp()
- setSpacePreserve()
- setTreeDoc()
- textConcat()
- textMerge()
- unlinkNode()
- unsetNsProp()
- unsetProp()
-
- # functions from module valid
- isID()
- isRef()
- validNormalizeAttributeValue()
-
- # functions from module xinclude
- xincludeProcessTree()
- xincludeProcessTreeFlags()
-
- # functions from module xmlschemas
- schemaValidateOneElement()
-
- # functions from module xpath
- xpathCastNodeToNumber()
- xpathCastNodeToString()
- xpathCmpNodes()
-
- # functions from module xpathInternals
- xpathNewNodeSet()
- xpathNewValueTree()
- xpathNextAncestor()
- xpathNextAncestorOrSelf()
- xpathNextAttribute()
- xpathNextChild()
- xpathNextDescendant()
- xpathNextDescendantOrSelf()
- xpathNextFollowing()
- xpathNextFollowingSibling()
- xpathNextNamespace()
- xpathNextParent()
- xpathNextPreceding()
- xpathNextPrecedingSibling()
- xpathNextSelf()
-
- # functions from module xpointer
- xpointerNewCollapsedRange()
- xpointerNewContext()
- xpointerNewLocationSetNodes()
- xpointerNewRange()
- xpointerNewRangeNodes()
-
-
-Class xmlDoc(xmlNode)
-
- # functions from module HTMLparser
- htmlAutoCloseTag()
- htmlIsAutoClosed()
-
- # functions from module HTMLtree
- htmlDocContentDumpFormatOutput()
- htmlDocContentDumpOutput()
- htmlDocDump()
- htmlGetMetaEncoding()
- htmlNodeDumpFile()
- htmlNodeDumpFileFormat()
- htmlNodeDumpFormatOutput()
- htmlNodeDumpOutput()
- htmlSaveFile()
- htmlSaveFileEnc()
- htmlSaveFileFormat()
- htmlSetMetaEncoding()
-
- # functions from module debugXML
- debugCheckDocument()
- debugDumpDocument()
- debugDumpDocumentHead()
- debugDumpEntities()
-
- # functions from module entities
- addDocEntity()
- addDtdEntity()
- docEntity()
- dtdEntity()
- encodeEntities()
- encodeEntitiesReentrant()
- encodeSpecialChars()
- newEntity()
- parameterEntity()
-
- # functions from module relaxng
- relaxNGNewDocParserCtxt()
- relaxNGValidateDoc()
- relaxNGValidateFullElement()
- relaxNGValidatePopElement()
- relaxNGValidatePushElement()
-
- # functions from module tree
- copyDoc()
- copyNode()
- copyNodeList()
- createIntSubset()
- docCompressMode()
- dump()
- elemDump()
- formatDump()
- freeDoc()
- getRootElement()
- intSubset()
- newCDataBlock()
- newCharRef()
- newDocComment()
- newDocFragment()
- newDocNode()
- newDocNodeEatName()
- newDocPI()
- newDocProp()
- newDocRawNode()
- newDocText()
- newDocTextLen()
- newDtd()
- newGlobalNs()
- newReference()
- nodeDumpOutput()
- nodeGetBase()
- nodeListGetRawString()
- nodeListGetString()
- reconciliateNs()
- saveFile()
- saveFileEnc()
- saveFileTo()
- saveFormatFile()
- saveFormatFileEnc()
- saveFormatFileTo()
- searchNs()
- searchNsByHref()
- setDocCompressMode()
- setListDoc()
- setRootElement()
- setTreeDoc()
- stringGetNodeList()
- stringLenGetNodeList()
-
- # functions from module valid
- ID()
- isID()
- isMixedElement()
- isRef()
- removeID()
- removeRef()
- validCtxtNormalizeAttributeValue()
- validNormalizeAttributeValue()
- validateDocument()
- validateDocumentFinal()
- validateDtd()
- validateDtdFinal()
- validateElement()
- validateNotationUse()
- validateOneAttribute()
- validateOneElement()
- validateOneNamespace()
- validatePopElement()
- validatePushElement()
- validateRoot()
-
- # functions from module xinclude
- xincludeProcess()
- xincludeProcessFlags()
-
- # functions from module xmlreader
- NewWalker()
- readerWalker()
-
- # functions from module xmlschemas
- schemaNewDocParserCtxt()
- schemaValidateDoc()
-
- # functions from module xpath
- xpathNewContext()
- xpathOrderDocElems()
-
- # functions from module xpointer
- xpointerNewContext()
-Class xpathContext()
- # accessors
- contextDoc()
- contextNode()
- contextPosition()
- contextSize()
- function()
- functionURI()
- setContextDoc()
- setContextNode()
-
- # functions from module python
- registerXPathFunction()
-
- # functions from module xpath
- xpathContextSetCache()
- xpathEval()
- xpathEvalExpression()
- xpathFreeContext()
-
- # functions from module xpathInternals
- xpathNewParserContext()
- xpathNsLookup()
- xpathRegisterAllFunctions()
- xpathRegisterNs()
- xpathRegisteredFuncsCleanup()
- xpathRegisteredNsCleanup()
- xpathRegisteredVariablesCleanup()
- xpathVariableLookup()
- xpathVariableLookupNS()
-
- # functions from module xpointer
- xpointerEval()
-
-
-Class xmlAttribute(xmlNode)
-
-
-Class ValidCtxt(ValidCtxtCore)
-
- # functions from module valid
- validCtxtNormalizeAttributeValue()
- validateDocument()
- validateDocumentFinal()
- validateDtd()
- validateDtdFinal()
- validateElement()
- validateNotationUse()
- validateOneAttribute()
- validateOneElement()
- validateOneNamespace()
- validatePopElement()
- validatePushCData()
- validatePushElement()
- validateRoot()
-
-
-Class xmlElement(xmlNode)
-
-
-Class xmlAttr(xmlNode)
-
- # functions from module debugXML
- debugDumpAttr()
- debugDumpAttrList()
-
- # functions from module tree
- copyProp()
- copyPropList()
- freeProp()
- freePropList()
- removeProp()
-
- # functions from module valid
- removeID()
- removeRef()
-
-
-Class xmlTextReader(xmlTextReaderCore)
-
- # functions from module xmlreader
- AttributeCount()
- BaseUri()
- ByteConsumed()
- Close()
- CurrentDoc()
- CurrentNode()
- Depth()
- Encoding()
- Expand()
- GetAttribute()
- GetAttributeNo()
- GetAttributeNs()
- GetParserColumnNumber()
- GetParserLineNumber()
- GetParserProp()
- GetRemainder()
- HasAttributes()
- HasValue()
- IsDefault()
- IsEmptyElement()
- IsNamespaceDecl()
- IsValid()
- LocalName()
- LookupNamespace()
- MoveToAttribute()
- MoveToAttributeNo()
- MoveToAttributeNs()
- MoveToElement()
- MoveToFirstAttribute()
- MoveToNextAttribute()
- Name()
- NamespaceUri()
- NewDoc()
- NewFd()
- NewFile()
- NewMemory()
- NewWalker()
- Next()
- NextSibling()
- NodeType()
- Normalization()
- Prefix()
- Preserve()
- QuoteChar()
- Read()
- ReadAttributeValue()
- ReadInnerXml()
- ReadOuterXml()
- ReadState()
- ReadString()
- RelaxNGSetSchema()
- RelaxNGValidate()
- SchemaValidate()
- SchemaValidateCtxt()
- SetParserProp()
- SetSchema()
- Setup()
- Standalone()
- String()
- Value()
- XmlLang()
- XmlVersion()
-Class xmlReg()
-
- # functions from module xmlregexp
- regexpExec()
- regexpIsDeterminist()
- regexpPrint()
-Class catalog()
-
- # functions from module catalog
- add()
- catalogIsEmpty()
- convertSGMLCatalog()
- dump()
- remove()
- resolve()
- resolvePublic()
- resolveSystem()
- resolveURI()
-
-
-Class xmlEntity(xmlNode)
-
- # functions from module parserInternals
- handleEntity()
-Class relaxNgSchema()
-
- # functions from module relaxng
- relaxNGDump()
- relaxNGDumpTree()
- relaxNGNewValidCtxt()
-
- # functions from module xmlreader
- RelaxNGSetSchema()
-Class Schema()
-
- # functions from module xmlreader
- SetSchema()
-
- # functions from module xmlschemas
- schemaDump()
- schemaNewValidCtxt()
-Class Error()
- # accessors
- code()
- domain()
- file()
- level()
- line()
- message()
-
- # functions from module xmlerror
- copyError()
- resetError()
-
-
-Class relaxNgValidCtxt(relaxNgValidCtxtCore)
-
- # functions from module relaxng
- relaxNGValidateDoc()
- relaxNGValidateFullElement()
- relaxNGValidatePopElement()
- relaxNGValidatePushCData()
- relaxNGValidatePushElement()
-Class xpathParserContext()
- # accessors
- context()
-
- # functions from module xpathInternals
- xpathAddValues()
- xpathBooleanFunction()
- xpathCeilingFunction()
- xpathCompareValues()
- xpathConcatFunction()
- xpathContainsFunction()
- xpathCountFunction()
- xpathDivValues()
- xpathEqualValues()
- xpathErr()
- xpathEvalExpr()
- xpathFalseFunction()
- xpathFloorFunction()
- xpathFreeParserContext()
- xpathIdFunction()
- xpathLangFunction()
- xpathLastFunction()
- xpathLocalNameFunction()
- xpathModValues()
- xpathMultValues()
- xpathNamespaceURIFunction()
- xpathNextAncestor()
- xpathNextAncestorOrSelf()
- xpathNextAttribute()
- xpathNextChild()
- xpathNextDescendant()
- xpathNextDescendantOrSelf()
- xpathNextFollowing()
- xpathNextFollowingSibling()
- xpathNextNamespace()
- xpathNextParent()
- xpathNextPreceding()
- xpathNextPrecedingSibling()
- xpathNextSelf()
- xpathNormalizeFunction()
- xpathNotEqualValues()
- xpathNotFunction()
- xpathNumberFunction()
- xpathParseNCName()
- xpathParseName()
- xpathPopBoolean()
- xpathPopNumber()
- xpathPopString()
- xpathPositionFunction()
- xpathRoot()
- xpathRoundFunction()
- xpathStartsWithFunction()
- xpathStringFunction()
- xpathStringLengthFunction()
- xpathSubValues()
- xpathSubstringAfterFunction()
- xpathSubstringBeforeFunction()
- xpathSubstringFunction()
- xpathSumFunction()
- xpathTranslateFunction()
- xpathTrueFunction()
- xpathValueFlipSign()
- xpatherror()
-
- # functions from module xpointer
- xpointerEvalRangePredicate()
- xpointerRangeToFunction()
-
-
-Class parserCtxt(parserCtxtCore)
- # accessors
- doc()
- isValid()
- lineNumbers()
- loadSubset()
- pedantic()
- replaceEntities()
- validate()
- wellFormed()
-
- # functions from module HTMLparser
- htmlCtxtReadDoc()
- htmlCtxtReadFd()
- htmlCtxtReadFile()
- htmlCtxtReadMemory()
- htmlCtxtReset()
- htmlCtxtUseOptions()
- htmlFreeParserCtxt()
- htmlParseCharRef()
- htmlParseChunk()
- htmlParseDocument()
- htmlParseElement()
-
- # functions from module parser
- byteConsumed()
- clearParserCtxt()
- ctxtReadDoc()
- ctxtReadFd()
- ctxtReadFile()
- ctxtReadMemory()
- ctxtReset()
- ctxtResetPush()
- ctxtUseOptions()
- initParserCtxt()
- parseChunk()
- parseDocument()
- parseExtParsedEnt()
- setupParserForBuffer()
- stopParser()
-
- # functions from module parserInternals
- decodeEntities()
- handleEntity()
- namespaceParseNCName()
- namespaceParseNSDef()
- nextChar()
- parseAttValue()
- parseAttributeListDecl()
- parseCDSect()
- parseCharData()
- parseCharRef()
- parseComment()
- parseContent()
- parseDocTypeDecl()
- parseElement()
- parseElementDecl()
- parseEncName()
- parseEncodingDecl()
- parseEndTag()
- parseEntityDecl()
- parseEntityRef()
- parseExternalSubset()
- parseMarkupDecl()
- parseMisc()
- parseName()
- parseNamespace()
- parseNmtoken()
- parseNotationDecl()
- parsePEReference()
- parsePI()
- parsePITarget()
- parsePubidLiteral()
- parseQuotedString()
- parseReference()
- parseSDDecl()
- parseStartTag()
- parseSystemLiteral()
- parseTextDecl()
- parseVersionInfo()
- parseVersionNum()
- parseXMLDecl()
- parserHandlePEReference()
- parserHandleReference()
- popInput()
- scanName()
- skipBlankChars()
- stringDecodeEntities()
- stringLenDecodeEntities()
-
-
-Class xmlDtd(xmlNode)
-
- # functions from module debugXML
- debugDumpDTD()
-
- # functions from module tree
- copyDtd()
- freeDtd()
-
- # functions from module valid
- dtdAttrDesc()
- dtdElementDesc()
- dtdQAttrDesc()
- dtdQElementDesc()
-
-
-Class xmlNs(xmlNode)
-
- # functions from module tree
- copyNamespace()
- copyNamespaceList()
- freeNs()
- freeNsList()
- newChild()
- newDocNode()
- newDocNodeEatName()
- newDocRawNode()
- newNodeEatName()
- newNsProp()
- newNsPropEatName()
- newTextChild()
- setNs()
- setNsProp()
- unsetNsProp()
-
- # functions from module xpathInternals
- xpathNodeSetFreeNs()
-
-
-Class inputBuffer(ioReadWrapper)
-
- # functions from module xmlIO
- grow()
- push()
- read()
-
- # functions from module xmlreader
- Setup()
- newTextReader()
-Class relaxNgParserCtxt()
-
- # functions from module relaxng
- relaxNGParse()
- relaxParserSetFlag()
-
-
-Class outputBuffer(ioWriteWrapper)
-
- # functions from module HTMLtree
- htmlDocContentDumpFormatOutput()
- htmlDocContentDumpOutput()
- htmlNodeDumpFormatOutput()
- htmlNodeDumpOutput()
-
- # functions from module tree
- nodeDumpOutput()
- saveFileTo()
- saveFormatFileTo()
-
- # functions from module xmlIO
- write()
- writeString()
-Class SchemaParserCtxt()
-
- # functions from module xmlschemas
- schemaParse()
-
-
-Class SchemaValidCtxt(SchemaValidCtxtCore)
-
- # functions from module xmlreader
- SchemaValidateCtxt()
-
- # functions from module xmlschemas
- schemaIsValid()
- schemaSetValidOptions()
- schemaValidCtxtGetOptions()
- schemaValidCtxtGetParserCtxt()
- schemaValidateDoc()
- schemaValidateFile()
- schemaValidateOneElement()
-Class xmlTextReaderLocator()
-
- # functions from module xmlreader
- BaseURI()
- LineNumber()
-Class URI()
- # accessors
- authority()
- fragment()
- opaque()
- path()
- port()
- query()
- queryRaw()
- scheme()
- server()
- setAuthority()
- setFragment()
- setOpaque()
- setPath()
- setPort()
- setQuery()
- setQueryRaw()
- setScheme()
- setServer()
- setUser()
- user()
-
- # functions from module uri
- parseURIReference()
- printURI()
- saveUri()
diff --git a/testapi.c b/testapi.c
index 21d02a0..315e47b 100644
--- a/testapi.c
+++ b/testapi.c
@@ -14625,14 +14625,14 @@
xmlChar * cur; /* a pointer to an array of xmlChar */
int n_cur;
- for (n_cur = 0;n_cur < gen_nb_xmlChar_ptr;n_cur++) {
+ for (n_cur = 0;n_cur < gen_nb_const_xmlChar_ptr;n_cur++) {
mem_base = xmlMemBlocks();
- cur = gen_xmlChar_ptr(n_cur, 0);
+ cur = gen_const_xmlChar_ptr(n_cur, 0);
- ret_val = xmlRecoverDoc(cur);
+ ret_val = xmlRecoverDoc((const xmlChar *)cur);
desret_xmlDocPtr(ret_val);
call_tests++;
- des_xmlChar_ptr(n_cur, cur, 0);
+ des_const_xmlChar_ptr(n_cur, (const xmlChar *)cur, 0);
xmlResetLastError();
if (mem_base != xmlMemBlocks()) {
printf("Leak of %d blocks found in xmlRecoverDoc",
@@ -17378,10 +17378,6 @@
}
#endif
-#ifdef LIBXML_SCHEMAS_ENABLED
-
-#endif
-
static int
test_xmlRelaxNGGetParserErrors(void) {
@@ -36167,16 +36163,16 @@
int n_val;
for (n_str = 0;n_str < gen_nb_const_xmlChar_ptr;n_str++) {
- for (n_val = 0;n_val < gen_nb_xmlChar_ptr;n_val++) {
+ for (n_val = 0;n_val < gen_nb_const_xmlChar_ptr;n_val++) {
mem_base = xmlMemBlocks();
str = gen_const_xmlChar_ptr(n_str, 0);
- val = gen_xmlChar_ptr(n_val, 1);
+ val = gen_const_xmlChar_ptr(n_val, 1);
- ret_val = xmlStrcasestr((const xmlChar *)str, val);
+ ret_val = xmlStrcasestr((const xmlChar *)str, (const xmlChar *)val);
desret_const_xmlChar_ptr(ret_val);
call_tests++;
des_const_xmlChar_ptr(n_str, (const xmlChar *)str, 0);
- des_xmlChar_ptr(n_val, val, 1);
+ des_const_xmlChar_ptr(n_val, (const xmlChar *)val, 1);
xmlResetLastError();
if (mem_base != xmlMemBlocks()) {
printf("Leak of %d blocks found in xmlStrcasestr",