mirror of
https://gitlab.gnome.org/GNOME/libxml2
synced 2025-03-28 21:33:13 +00:00
Fixed apibuild.py, regenerated doc and interfaces
* doc/apibuild.py: fixed the parsing after the change of macro name * doc/* testapi.c: regenerated
This commit is contained in:
parent
fde74704b7
commit
7b465bdf11
@ -37,7 +37,11 @@ A:link, A:visited, A:active { text-decoration: underline }
|
||||
<a href="APIchunk27.html">w-w</a>
|
||||
<a href="APIchunk28.html">x-x</a>
|
||||
<a href="APIchunk29.html">y-z</a>
|
||||
</h2><h2>Letter c:</h2><dl><dt>cache</dt><dd><a href="html/libxml-xpath.html#xmlXPathContextSetCache">xmlXPathContextSetCache</a><br />
|
||||
</h2><h2>Letter c:</h2><dl><dt>c14n</dt><dd><a href="html/libxml-c14n.html#xmlC14NDocDumpMemory">xmlC14NDocDumpMemory</a><br />
|
||||
<a href="html/libxml-c14n.html#xmlC14NDocSave">xmlC14NDocSave</a><br />
|
||||
<a href="html/libxml-c14n.html#xmlC14NDocSaveTo">xmlC14NDocSaveTo</a><br />
|
||||
<a href="html/libxml-c14n.html#xmlC14NExecute">xmlC14NExecute</a><br />
|
||||
</dd><dt>cache</dt><dd><a href="html/libxml-xpath.html#xmlXPathContextSetCache">xmlXPathContextSetCache</a><br />
|
||||
</dd><dt>cached</dt><dd><a href="html/libxml-xpath.html#xmlXPathContextSetCache">xmlXPathContextSetCache</a><br />
|
||||
</dd><dt>caching:</dt><dd><a href="html/libxml-xpath.html#xmlXPathContextSetCache">xmlXPathContextSetCache</a><br />
|
||||
</dd><dt>calculated</dt><dd><a href="html/libxml-xmlstring.html#xmlStrncatNew">xmlStrncatNew</a><br />
|
||||
|
@ -203,10 +203,6 @@ A:link, A:visited, A:active { text-decoration: underline }
|
||||
</dd><dt>flag</dt><dd><a href="html/libxml-schemasInternals.html#XML_SCHEMAS_ELEM_CIRCULAR">XML_SCHEMAS_ELEM_CIRCULAR</a><br />
|
||||
<a href="html/libxml-HTMLtree.html#htmlSetMetaEncoding">htmlSetMetaEncoding</a><br />
|
||||
<a href="html/libxml-SAX.html#initxmlDefaultSAXHandler">initxmlDefaultSAXHandler</a><br />
|
||||
<a href="html/libxml-c14n.html#xmlC14NDocDumpMemory">xmlC14NDocDumpMemory</a><br />
|
||||
<a href="html/libxml-c14n.html#xmlC14NDocSave">xmlC14NDocSave</a><br />
|
||||
<a href="html/libxml-c14n.html#xmlC14NDocSaveTo">xmlC14NDocSaveTo</a><br />
|
||||
<a href="html/libxml-c14n.html#xmlC14NExecute">xmlC14NExecute</a><br />
|
||||
<a href="html/libxml-SAX2.html#xmlSAX2InitDefaultSAXHandler">xmlSAX2InitDefaultSAXHandler</a><br />
|
||||
<a href="html/libxml-xmlreader.html#xmlTextReaderIsValid">xmlTextReaderIsValid</a><br />
|
||||
</dd><dt>flagged</dt><dd><a href="html/libxml-HTMLparser.html#_htmlElemDesc">_htmlElemDesc</a><br />
|
||||
|
@ -211,7 +211,7 @@ A:link, A:visited, A:active { text-decoration: underline }
|
||||
<a href="html/libxml-xpointer.html#xmlXPtrLocationSetRemove">xmlXPtrLocationSetRemove</a><br />
|
||||
<a href="html/libxml-xpointer.html#xmlXPtrNewRange">xmlXPtrNewRange</a><br />
|
||||
</dd><dt>indicate</dt><dd><a href="html/libxml-xmlversion.html#ATTRIBUTE_ALLOC_SIZE">ATTRIBUTE_ALLOC_SIZE</a><br />
|
||||
<a href="html/libxml-xmlversion.html#ATTRIBUTE_PRINTF">ATTRIBUTE_PRINTF</a><br />
|
||||
<a href="html/libxml-xmlversion.html#LIBXML_ATTR_FORMAT">LIBXML_ATTR_FORMAT</a><br />
|
||||
<a href="html/libxml-parserInternals.html#xmlParseExternalID">xmlParseExternalID</a><br />
|
||||
<a href="html/libxml-parser.html#xmlParserInputGrow">xmlParserInputGrow</a><br />
|
||||
<a href="html/libxml-parser.html#xmlParserInputRead">xmlParserInputRead</a><br />
|
||||
|
@ -274,11 +274,11 @@ A:link, A:visited, A:active { text-decoration: underline }
|
||||
<a href="html/libxml-threads.html#xmlUnlockLibrary">xmlUnlockLibrary</a><br />
|
||||
</dd><dt>lifetime</dt><dd><a href="html/libxml-tree.html#xmlBufferCreateStatic">xmlBufferCreateStatic</a><br />
|
||||
<a href="html/libxml-xmlregexp.html#xmlExpCtxtNbCons">xmlExpCtxtNbCons</a><br />
|
||||
</dd><dt>like</dt><dd><a href="html/libxml-xmlversion.html#ATTRIBUTE_PRINTF">ATTRIBUTE_PRINTF</a><br />
|
||||
<a href="html/libxml-parserInternals.html#IS_CHAR_CH">IS_CHAR_CH</a><br />
|
||||
</dd><dt>like</dt><dd><a href="html/libxml-parserInternals.html#IS_CHAR_CH">IS_CHAR_CH</a><br />
|
||||
<a href="html/libxml-parserInternals.html#IS_DIGIT_CH">IS_DIGIT_CH</a><br />
|
||||
<a href="html/libxml-parserInternals.html#IS_EXTENDER_CH">IS_EXTENDER_CH</a><br />
|
||||
<a href="html/libxml-parserInternals.html#IS_LETTER_CH">IS_LETTER_CH</a><br />
|
||||
<a href="html/libxml-xmlversion.html#LIBXML_ATTR_FORMAT">LIBXML_ATTR_FORMAT</a><br />
|
||||
<a href="html/libxml-xmlversion.html#LIBXML_DOTTED_VERSION">LIBXML_DOTTED_VERSION</a><br />
|
||||
<a href="html/libxml-xmlversion.html#LIBXML_TREE_ENABLED">LIBXML_TREE_ENABLED</a><br />
|
||||
<a href="html/libxml-encoding.html#xmlCharEncOutFunc">xmlCharEncOutFunc</a><br />
|
||||
|
@ -244,6 +244,10 @@ A:link, A:visited, A:active { text-decoration: underline }
|
||||
<a href="html/libxml-parser.html#_xmlParserCtxt">_xmlParserCtxt</a><br />
|
||||
<a href="html/libxml-DOCBparser.html#docbCreatePushParserCtxt">docbCreatePushParserCtxt</a><br />
|
||||
<a href="html/libxml-HTMLparser.html#htmlCreatePushParserCtxt">htmlCreatePushParserCtxt</a><br />
|
||||
<a href="html/libxml-c14n.html#xmlC14NDocDumpMemory">xmlC14NDocDumpMemory</a><br />
|
||||
<a href="html/libxml-c14n.html#xmlC14NDocSave">xmlC14NDocSave</a><br />
|
||||
<a href="html/libxml-c14n.html#xmlC14NDocSaveTo">xmlC14NDocSaveTo</a><br />
|
||||
<a href="html/libxml-c14n.html#xmlC14NExecute">xmlC14NExecute</a><br />
|
||||
<a href="html/libxml-parser.html#xmlCreatePushParserCtxt">xmlCreatePushParserCtxt</a><br />
|
||||
<a href="html/libxml-tree.html#xmlGetCompressMode">xmlGetCompressMode</a><br />
|
||||
<a href="html/libxml-parser.html#xmlKeepBlanksDefault">xmlKeepBlanksDefault</a><br />
|
||||
|
@ -208,10 +208,6 @@ A:link, A:visited, A:active { text-decoration: underline }
|
||||
</dd><dt>non-blank</dt><dd><a href="html/libxml-parserInternals.html#xmlParseElementChildrenContentDecl">xmlParseElementChildrenContentDecl</a><br />
|
||||
</dd><dt>non-determinist</dt><dd><a href="html/libxml-valid.html#_xmlValidCtxt">_xmlValidCtxt</a><br />
|
||||
</dd><dt>non-empty</dt><dd><a href="html/libxml-xpathInternals.html#xmlXPathBooleanFunction">xmlXPathBooleanFunction</a><br />
|
||||
</dd><dt>non-exclusive</dt><dd><a href="html/libxml-c14n.html#xmlC14NDocDumpMemory">xmlC14NDocDumpMemory</a><br />
|
||||
<a href="html/libxml-c14n.html#xmlC14NDocSave">xmlC14NDocSave</a><br />
|
||||
<a href="html/libxml-c14n.html#xmlC14NDocSaveTo">xmlC14NDocSaveTo</a><br />
|
||||
<a href="html/libxml-c14n.html#xmlC14NExecute">xmlC14NExecute</a><br />
|
||||
</dd><dt>non-final</dt><dd><a href="html/libxml-xmlregexp.html#xmlRegExecPushString">xmlRegExecPushString</a><br />
|
||||
<a href="html/libxml-xmlregexp.html#xmlRegExecPushString2">xmlRegExecPushString2</a><br />
|
||||
</dd><dt>non-negative</dt><dd><a href="html/libxml-c14n.html#xmlC14NDocSaveTo">xmlC14NDocSaveTo</a><br />
|
||||
|
@ -127,8 +127,8 @@ A:link, A:visited, A:active { text-decoration: underline }
|
||||
<a href="html/libxml-xpathInternals.html#xmlXPathFunctionLookup">xmlXPathFunctionLookup</a><br />
|
||||
<a href="html/libxml-xpathInternals.html#xmlXPathFunctionLookupNS">xmlXPathFunctionLookupNS</a><br />
|
||||
</dd></dl><h2>Letter G:</h2><dl><dt>GCC</dt><dd><a href="html/libxml-xmlversion.html#ATTRIBUTE_ALLOC_SIZE">ATTRIBUTE_ALLOC_SIZE</a><br />
|
||||
<a href="html/libxml-xmlversion.html#ATTRIBUTE_PRINTF">ATTRIBUTE_PRINTF</a><br />
|
||||
<a href="html/libxml-xmlversion.html#ATTRIBUTE_UNUSED">ATTRIBUTE_UNUSED</a><br />
|
||||
<a href="html/libxml-xmlversion.html#LIBXML_ATTR_FORMAT">LIBXML_ATTR_FORMAT</a><br />
|
||||
</dd><dt>GEDecl</dt><dd><a href="html/libxml-parserInternals.html#xmlParseEntityDecl">xmlParseEntityDecl</a><br />
|
||||
</dd><dt>GET</dt><dd><a href="html/libxml-nanohttp.html#xmlNanoHTTPFetch">xmlNanoHTTPFetch</a><br />
|
||||
<a href="html/libxml-nanohttp.html#xmlNanoHTTPOpen">xmlNanoHTTPOpen</a><br />
|
||||
|
@ -192,11 +192,15 @@ A:link, A:visited, A:active { text-decoration: underline }
|
||||
<a href="html/libxml-SAX2.html#xmlSAX2UnparsedEntityDecl">xmlSAX2UnparsedEntityDecl</a><br />
|
||||
<a href="html/libxml-SAX2.html#xmlSAXDefaultVersion">xmlSAXDefaultVersion</a><br />
|
||||
<a href="html/libxml-SAX2.html#xmlSAXVersion">xmlSAXVersion</a><br />
|
||||
</p><h2><a name="c14n" id="c14n">Module c14n</a>:</h2><p><a href="html/libxml-c14n.html#xmlC14NDocDumpMemory">xmlC14NDocDumpMemory</a><br />
|
||||
</p><h2><a name="c14n" id="c14n">Module c14n</a>:</h2><p><a href="html/libxml-c14n.html#XML_C14N_1_0">XML_C14N_1_0</a><br />
|
||||
<a href="html/libxml-c14n.html#XML_C14N_1_1">XML_C14N_1_1</a><br />
|
||||
<a href="html/libxml-c14n.html#XML_C14N_EXCLUSIVE_1_0">XML_C14N_EXCLUSIVE_1_0</a><br />
|
||||
<a href="html/libxml-c14n.html#xmlC14NDocDumpMemory">xmlC14NDocDumpMemory</a><br />
|
||||
<a href="html/libxml-c14n.html#xmlC14NDocSave">xmlC14NDocSave</a><br />
|
||||
<a href="html/libxml-c14n.html#xmlC14NDocSaveTo">xmlC14NDocSaveTo</a><br />
|
||||
<a href="html/libxml-c14n.html#xmlC14NExecute">xmlC14NExecute</a><br />
|
||||
<a href="html/libxml-c14n.html#xmlC14NIsVisibleCallback">xmlC14NIsVisibleCallback</a><br />
|
||||
<a href="html/libxml-c14n.html#xmlC14NMode">xmlC14NMode</a><br />
|
||||
</p><h2><a name="catalog" id="catalog">Module catalog</a>:</h2><p><a href="html/libxml-catalog.html#XML_CATALOGS_NAMESPACE">XML_CATALOGS_NAMESPACE</a><br />
|
||||
<a href="html/libxml-catalog.html#XML_CATALOG_PI">XML_CATALOG_PI</a><br />
|
||||
<a href="html/libxml-catalog.html#XML_CATA_ALLOW_ALL">XML_CATA_ALLOW_ALL</a><br />
|
||||
@ -3126,9 +3130,9 @@ A:link, A:visited, A:active { text-decoration: underline }
|
||||
<a href="html/libxml-xmlunicode.html#xmlUCSIsYiSyllables">xmlUCSIsYiSyllables</a><br />
|
||||
<a href="html/libxml-xmlunicode.html#xmlUCSIsYijingHexagramSymbols">xmlUCSIsYijingHexagramSymbols</a><br />
|
||||
</p><h2><a name="xmlversion" id="xmlversion">Module xmlversion</a>:</h2><p><a href="html/libxml-xmlversion.html#ATTRIBUTE_ALLOC_SIZE">ATTRIBUTE_ALLOC_SIZE</a><br />
|
||||
<a href="html/libxml-xmlversion.html#ATTRIBUTE_PRINTF">ATTRIBUTE_PRINTF</a><br />
|
||||
<a href="html/libxml-xmlversion.html#ATTRIBUTE_UNUSED">ATTRIBUTE_UNUSED</a><br />
|
||||
<a href="html/libxml-xmlversion.html#DEBUG_MEMORY_LOCATION">DEBUG_MEMORY_LOCATION</a><br />
|
||||
<a href="html/libxml-xmlversion.html#LIBXML_ATTR_FORMAT">LIBXML_ATTR_FORMAT</a><br />
|
||||
<a href="html/libxml-xmlversion.html#LIBXML_AUTOMATA_ENABLED">LIBXML_AUTOMATA_ENABLED</a><br />
|
||||
<a href="html/libxml-xmlversion.html#LIBXML_C14N_ENABLED">LIBXML_C14N_ENABLED</a><br />
|
||||
<a href="html/libxml-xmlversion.html#LIBXML_CATALOG_ENABLED">LIBXML_CATALOG_ENABLED</a><br />
|
||||
|
File diff suppressed because one or more lines are too long
@ -12,6 +12,6 @@ Object Model</em>; this is an API for accessing XML or HTML structured
|
||||
documents. Native support for DOM in Gnome is on the way (module gnome-dom),
|
||||
and will be based on gnome-xml. This will be a far cleaner interface to
|
||||
manipulate XML files within Gnome since it won't expose the internal
|
||||
structure.</p><p>The current DOM implementation on top of libxml2 is the <a href="http:///svn.gnome.org/viewcvs/gdome2/trunk/">gdome2 Gnome module</a>, this
|
||||
structure.</p><p>The current DOM implementation on top of libxml2 is the <a href="http://svn.gnome.org/viewvc/gdome2/trunk/">gdome2 Gnome module</a>, this
|
||||
is a full DOM interface, thanks to Paolo Casarini, check the <a href="http://gdome2.cs.unibo.it/">Gdome2 homepage</a> for more
|
||||
information.</p><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>
|
||||
|
@ -239,10 +239,10 @@ pnode=pxmlDoc->children->children;</pre>
|
||||
examples</a>.</li>
|
||||
<li>look for examples of use for libxml2 function using the Gnome code
|
||||
or by asking on Google.</li>
|
||||
<li><a href="http://svn.gnome.org/viewcvs/libxml2/trunk/">Browse
|
||||
<li><a href="http://svn.gnome.org/viewvc/libxml2/trunk/">Browse
|
||||
the libxml2 source</a> , I try to write code as clean and documented
|
||||
as possible, so looking at it may be helpful. In particular the code
|
||||
of <a href="http://svn.gnome.org/viewcvs/libxml2/trunk/xmllint.c?view=markup">xmllint.c</a> and of the various testXXX.c test programs should
|
||||
of <a href="http://svn.gnome.org/viewvc/libxml2/trunk/xmllint.c?view=markup">xmllint.c</a> and of the various testXXX.c test programs should
|
||||
provide good examples of how to do things with the library.</li>
|
||||
</ul></li>
|
||||
<p></p>
|
||||
|
@ -74,6 +74,7 @@ ignored_words = {
|
||||
"X_IN_Y": (5, "macro function builder"),
|
||||
"ATTRIBUTE_ALLOC_SIZE": (3, "macro for gcc checking extension"),
|
||||
"ATTRIBUTE_PRINTF": (5, "macro for gcc printf args checking extension"),
|
||||
"LIBXML_ATTR_FORMAT": (5, "macro for gcc printf args checking extension"),
|
||||
}
|
||||
|
||||
def escape(raw):
|
||||
|
@ -43,11 +43,12 @@
|
||||
<p>Author(s): Aleksey Sanin <aleksey@aleksey.com> </p>
|
||||
<div class="refsynopsisdiv">
|
||||
<h2>Synopsis</h2>
|
||||
<pre class="synopsis">int <a href="#xmlC14NExecute">xmlC14NExecute</a> (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/> <a href="libxml2-c14n.html#xmlC14NIsVisibleCallback">xmlC14NIsVisibleCallback</a> is_visible_callback, <br/> void * user_data, <br/> int exclusive, <br/> <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> ** inclusive_ns_prefixes, <br/> int with_comments, <br/> <a href="libxml2-tree.html#xmlOutputBufferPtr">xmlOutputBufferPtr</a> buf);
|
||||
int <a href="#xmlC14NDocSaveTo">xmlC14NDocSaveTo</a> (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/> <a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> nodes, <br/> int exclusive, <br/> <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> ** inclusive_ns_prefixes, <br/> int with_comments, <br/> <a href="libxml2-tree.html#xmlOutputBufferPtr">xmlOutputBufferPtr</a> buf);
|
||||
<pre class="synopsis">typedef enum <a href="#xmlC14NMode">xmlC14NMode</a>;
|
||||
int <a href="#xmlC14NExecute">xmlC14NExecute</a> (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/> <a href="libxml2-c14n.html#xmlC14NIsVisibleCallback">xmlC14NIsVisibleCallback</a> is_visible_callback, <br/> void * user_data, <br/> int mode, <br/> <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> ** inclusive_ns_prefixes, <br/> int with_comments, <br/> <a href="libxml2-tree.html#xmlOutputBufferPtr">xmlOutputBufferPtr</a> buf);
|
||||
int <a href="#xmlC14NDocSaveTo">xmlC14NDocSaveTo</a> (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/> <a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> nodes, <br/> int mode, <br/> <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> ** inclusive_ns_prefixes, <br/> int with_comments, <br/> <a href="libxml2-tree.html#xmlOutputBufferPtr">xmlOutputBufferPtr</a> buf);
|
||||
typedef int <a href="#xmlC14NIsVisibleCallback">xmlC14NIsVisibleCallback</a> (void * user_data, <br/> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node, <br/> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> parent);
|
||||
int <a href="#xmlC14NDocSave">xmlC14NDocSave</a> (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/> <a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> nodes, <br/> int exclusive, <br/> <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> ** inclusive_ns_prefixes, <br/> int with_comments, <br/> const char * filename, <br/> int compression);
|
||||
int <a href="#xmlC14NDocDumpMemory">xmlC14NDocDumpMemory</a> (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/> <a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> nodes, <br/> int exclusive, <br/> <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> ** inclusive_ns_prefixes, <br/> int with_comments, <br/> <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> ** doc_txt_ptr);
|
||||
int <a href="#xmlC14NDocSave">xmlC14NDocSave</a> (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/> <a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> nodes, <br/> int mode, <br/> <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> ** inclusive_ns_prefixes, <br/> int with_comments, <br/> const char * filename, <br/> int compression);
|
||||
int <a href="#xmlC14NDocDumpMemory">xmlC14NDocDumpMemory</a> (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/> <a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> nodes, <br/> int mode, <br/> <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> ** inclusive_ns_prefixes, <br/> int with_comments, <br/> <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> ** doc_txt_ptr);
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
@ -56,25 +57,33 @@ int <a href="#xmlC14NDocDumpMemory">xmlC14NDocDumpMemory</a> (<a href="libxml2-
|
||||
<div class="refsect1" lang="en">
|
||||
<h2>Details</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<div class="refsect2" lang="en"><h3><a name="xmlC14NMode">Enum </a>xmlC14NMode</h3><pre class="programlisting">enum <a href="#xmlC14NMode">xmlC14NMode</a> {
|
||||
<a name="XML_C14N_1_0">XML_C14N_1_0</a> = 0 /* Origianal C14N 1.0 spec */
|
||||
<a name="XML_C14N_EXCLUSIVE_1_0">XML_C14N_EXCLUSIVE_1_0</a> = 1 /* Exclusive C14N 1.0 spec */
|
||||
<a name="XML_C14N_1_1">XML_C14N_1_1</a> = 2 /* C14N 1.1 spec */
|
||||
};
|
||||
</pre><p/>
|
||||
</div>
|
||||
<hr/>
|
||||
<div class="refsect2" lang="en"><h3><a name="xmlC14NIsVisibleCallback"/>Function type xmlC14NIsVisibleCallback</h3><pre class="programlisting">int xmlC14NIsVisibleCallback (void * user_data, <br/> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node, <br/> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> parent)<br/>
|
||||
</pre><p>Signature for a C14N callback on visible nodes</p>
|
||||
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>user_data</tt></i>:</span></td><td>user data</td></tr><tr><td><span class="term"><i><tt>node</tt></i>:</span></td><td>the curent node</td></tr><tr><td><span class="term"><i><tt>parent</tt></i>:</span></td><td>the parent node</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>1 if the node should be included</td></tr></tbody></table></div></div>
|
||||
<hr/>
|
||||
<div class="refsect2" lang="en"><h3><a name="xmlC14NDocDumpMemory"/>xmlC14NDocDumpMemory ()</h3><pre class="programlisting">int xmlC14NDocDumpMemory (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/> <a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> nodes, <br/> int exclusive, <br/> <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> ** inclusive_ns_prefixes, <br/> int with_comments, <br/> <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> ** doc_txt_ptr)<br/>
|
||||
<div class="refsect2" lang="en"><h3><a name="xmlC14NDocDumpMemory"/>xmlC14NDocDumpMemory ()</h3><pre class="programlisting">int xmlC14NDocDumpMemory (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/> <a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> nodes, <br/> int mode, <br/> <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> ** inclusive_ns_prefixes, <br/> int with_comments, <br/> <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> ** doc_txt_ptr)<br/>
|
||||
</pre><p>Dumps the canonized image of given XML document into memory. For details see "Canonical XML" (http://www.w3.org/TR/xml-c14n) or "Exclusive XML Canonicalization" (http://www.w3.org/TR/xml-exc-c14n)</p>
|
||||
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>doc</tt></i>:</span></td><td>the XML document for canonization</td></tr><tr><td><span class="term"><i><tt>nodes</tt></i>:</span></td><td>the nodes set to be included in the canonized image or NULL if all document nodes should be included</td></tr><tr><td><span class="term"><i><tt>exclusive</tt></i>:</span></td><td>the exclusive flag (0 - non-exclusive canonicalization; otherwise - exclusive canonicalization)</td></tr><tr><td><span class="term"><i><tt>inclusive_ns_prefixes</tt></i>:</span></td><td>the list of inclusive namespace prefixes ended with a NULL or NULL if there is no inclusive namespaces (only for exclusive canonicalization, ignored otherwise)</td></tr><tr><td><span class="term"><i><tt>with_comments</tt></i>:</span></td><td>include comments in the result (!=0) or not (==0)</td></tr><tr><td><span class="term"><i><tt>doc_txt_ptr</tt></i>:</span></td><td>the memory pointer for allocated canonical XML text; the caller of this functions is responsible for calling xmlFree() to free allocated memory</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the number of bytes written on success or a negative value on fail</td></tr></tbody></table></div></div>
|
||||
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>doc</tt></i>:</span></td><td>the XML document for canonization</td></tr><tr><td><span class="term"><i><tt>nodes</tt></i>:</span></td><td>the nodes set to be included in the canonized image or NULL if all document nodes should be included</td></tr><tr><td><span class="term"><i><tt>mode</tt></i>:</span></td><td>the c14n mode (see @xmlC14NMode)</td></tr><tr><td><span class="term"><i><tt>inclusive_ns_prefixes</tt></i>:</span></td><td>the list of inclusive namespace prefixes ended with a NULL or NULL if there is no inclusive namespaces (only for exclusive canonicalization, ignored otherwise)</td></tr><tr><td><span class="term"><i><tt>with_comments</tt></i>:</span></td><td>include comments in the result (!=0) or not (==0)</td></tr><tr><td><span class="term"><i><tt>doc_txt_ptr</tt></i>:</span></td><td>the memory pointer for allocated canonical XML text; the caller of this functions is responsible for calling xmlFree() to free allocated memory</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the number of bytes written on success or a negative value on fail</td></tr></tbody></table></div></div>
|
||||
<hr/>
|
||||
<div class="refsect2" lang="en"><h3><a name="xmlC14NDocSave"/>xmlC14NDocSave ()</h3><pre class="programlisting">int xmlC14NDocSave (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/> <a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> nodes, <br/> int exclusive, <br/> <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> ** inclusive_ns_prefixes, <br/> int with_comments, <br/> const char * filename, <br/> int compression)<br/>
|
||||
<div class="refsect2" lang="en"><h3><a name="xmlC14NDocSave"/>xmlC14NDocSave ()</h3><pre class="programlisting">int xmlC14NDocSave (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/> <a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> nodes, <br/> int mode, <br/> <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> ** inclusive_ns_prefixes, <br/> int with_comments, <br/> const char * filename, <br/> int compression)<br/>
|
||||
</pre><p>Dumps the canonized image of given XML document into the file. For details see "Canonical XML" (http://www.w3.org/TR/xml-c14n) or "Exclusive XML Canonicalization" (http://www.w3.org/TR/xml-exc-c14n)</p>
|
||||
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>doc</tt></i>:</span></td><td>the XML document for canonization</td></tr><tr><td><span class="term"><i><tt>nodes</tt></i>:</span></td><td>the nodes set to be included in the canonized image or NULL if all document nodes should be included</td></tr><tr><td><span class="term"><i><tt>exclusive</tt></i>:</span></td><td>the exclusive flag (0 - non-exclusive canonicalization; otherwise - exclusive canonicalization)</td></tr><tr><td><span class="term"><i><tt>inclusive_ns_prefixes</tt></i>:</span></td><td>the list of inclusive namespace prefixes ended with a NULL or NULL if there is no inclusive namespaces (only for exclusive canonicalization, ignored otherwise)</td></tr><tr><td><span class="term"><i><tt>with_comments</tt></i>:</span></td><td>include comments in the result (!=0) or not (==0)</td></tr><tr><td><span class="term"><i><tt>filename</tt></i>:</span></td><td>the filename to store canonical XML image</td></tr><tr><td><span class="term"><i><tt>compression</tt></i>:</span></td><td>the compression level (zlib requred): -1 - libxml default, 0 - uncompressed, >0 - compression level</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the number of bytes written success or a negative value on fail</td></tr></tbody></table></div></div>
|
||||
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>doc</tt></i>:</span></td><td>the XML document for canonization</td></tr><tr><td><span class="term"><i><tt>nodes</tt></i>:</span></td><td>the nodes set to be included in the canonized image or NULL if all document nodes should be included</td></tr><tr><td><span class="term"><i><tt>mode</tt></i>:</span></td><td>the c14n mode (see @xmlC14NMode)</td></tr><tr><td><span class="term"><i><tt>inclusive_ns_prefixes</tt></i>:</span></td><td>the list of inclusive namespace prefixes ended with a NULL or NULL if there is no inclusive namespaces (only for exclusive canonicalization, ignored otherwise)</td></tr><tr><td><span class="term"><i><tt>with_comments</tt></i>:</span></td><td>include comments in the result (!=0) or not (==0)</td></tr><tr><td><span class="term"><i><tt>filename</tt></i>:</span></td><td>the filename to store canonical XML image</td></tr><tr><td><span class="term"><i><tt>compression</tt></i>:</span></td><td>the compression level (zlib requred): -1 - libxml default, 0 - uncompressed, >0 - compression level</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the number of bytes written success or a negative value on fail</td></tr></tbody></table></div></div>
|
||||
<hr/>
|
||||
<div class="refsect2" lang="en"><h3><a name="xmlC14NDocSaveTo"/>xmlC14NDocSaveTo ()</h3><pre class="programlisting">int xmlC14NDocSaveTo (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/> <a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> nodes, <br/> int exclusive, <br/> <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> ** inclusive_ns_prefixes, <br/> int with_comments, <br/> <a href="libxml2-tree.html#xmlOutputBufferPtr">xmlOutputBufferPtr</a> buf)<br/>
|
||||
<div class="refsect2" lang="en"><h3><a name="xmlC14NDocSaveTo"/>xmlC14NDocSaveTo ()</h3><pre class="programlisting">int xmlC14NDocSaveTo (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/> <a href="libxml2-xpath.html#xmlNodeSetPtr">xmlNodeSetPtr</a> nodes, <br/> int mode, <br/> <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> ** inclusive_ns_prefixes, <br/> int with_comments, <br/> <a href="libxml2-tree.html#xmlOutputBufferPtr">xmlOutputBufferPtr</a> buf)<br/>
|
||||
</pre><p>Dumps the canonized image of given XML document into the provided buffer. For details see "Canonical XML" (http://www.w3.org/TR/xml-c14n) or "Exclusive XML Canonicalization" (http://www.w3.org/TR/xml-exc-c14n)</p>
|
||||
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>doc</tt></i>:</span></td><td>the XML document for canonization</td></tr><tr><td><span class="term"><i><tt>nodes</tt></i>:</span></td><td>the nodes set to be included in the canonized image or NULL if all document nodes should be included</td></tr><tr><td><span class="term"><i><tt>exclusive</tt></i>:</span></td><td>the exclusive flag (0 - non-exclusive canonicalization; otherwise - exclusive canonicalization)</td></tr><tr><td><span class="term"><i><tt>inclusive_ns_prefixes</tt></i>:</span></td><td>the list of inclusive namespace prefixes ended with a NULL or NULL if there is no inclusive namespaces (only for exclusive canonicalization, ignored otherwise)</td></tr><tr><td><span class="term"><i><tt>with_comments</tt></i>:</span></td><td>include comments in the result (!=0) or not (==0)</td></tr><tr><td><span class="term"><i><tt>buf</tt></i>:</span></td><td>the output buffer to store canonical XML; this buffer MUST have encoder==NULL because C14N requires UTF-8 output</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>non-negative value on success or a negative value on fail</td></tr></tbody></table></div></div>
|
||||
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>doc</tt></i>:</span></td><td>the XML document for canonization</td></tr><tr><td><span class="term"><i><tt>nodes</tt></i>:</span></td><td>the nodes set to be included in the canonized image or NULL if all document nodes should be included</td></tr><tr><td><span class="term"><i><tt>mode</tt></i>:</span></td><td>the c14n mode (see @xmlC14NMode)</td></tr><tr><td><span class="term"><i><tt>inclusive_ns_prefixes</tt></i>:</span></td><td>the list of inclusive namespace prefixes ended with a NULL or NULL if there is no inclusive namespaces (only for exclusive canonicalization, ignored otherwise)</td></tr><tr><td><span class="term"><i><tt>with_comments</tt></i>:</span></td><td>include comments in the result (!=0) or not (==0)</td></tr><tr><td><span class="term"><i><tt>buf</tt></i>:</span></td><td>the output buffer to store canonical XML; this buffer MUST have encoder==NULL because C14N requires UTF-8 output</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>non-negative value on success or a negative value on fail</td></tr></tbody></table></div></div>
|
||||
<hr/>
|
||||
<div class="refsect2" lang="en"><h3><a name="xmlC14NExecute"/>xmlC14NExecute ()</h3><pre class="programlisting">int xmlC14NExecute (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/> <a href="libxml2-c14n.html#xmlC14NIsVisibleCallback">xmlC14NIsVisibleCallback</a> is_visible_callback, <br/> void * user_data, <br/> int exclusive, <br/> <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> ** inclusive_ns_prefixes, <br/> int with_comments, <br/> <a href="libxml2-tree.html#xmlOutputBufferPtr">xmlOutputBufferPtr</a> buf)<br/>
|
||||
<div class="refsect2" lang="en"><h3><a name="xmlC14NExecute"/>xmlC14NExecute ()</h3><pre class="programlisting">int xmlC14NExecute (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/> <a href="libxml2-c14n.html#xmlC14NIsVisibleCallback">xmlC14NIsVisibleCallback</a> is_visible_callback, <br/> void * user_data, <br/> int mode, <br/> <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> ** inclusive_ns_prefixes, <br/> int with_comments, <br/> <a href="libxml2-tree.html#xmlOutputBufferPtr">xmlOutputBufferPtr</a> buf)<br/>
|
||||
</pre><p>Dumps the canonized image of given XML document into the provided buffer. For details see "Canonical XML" (http://www.w3.org/TR/xml-c14n) or "Exclusive XML Canonicalization" (http://www.w3.org/TR/xml-exc-c14n)</p>
|
||||
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>doc</tt></i>:</span></td><td>the XML document for canonization</td></tr><tr><td><span class="term"><i><tt>is_visible_callback</tt></i>:</span></td><td>the function to use to determine is node visible or not</td></tr><tr><td><span class="term"><i><tt>user_data</tt></i>:</span></td><td>the first parameter for @is_visible_callback function (in most cases, it is nodes set)</td></tr><tr><td><span class="term"><i><tt>exclusive</tt></i>:</span></td><td>the exclusive flag (0 - non-exclusive canonicalization; otherwise - exclusive canonicalization)</td></tr><tr><td><span class="term"><i><tt>inclusive_ns_prefixes</tt></i>:</span></td><td>the list of inclusive namespace prefixes ended with a NULL or NULL if there is no inclusive namespaces (only for exclusive canonicalization, ignored otherwise)</td></tr><tr><td><span class="term"><i><tt>with_comments</tt></i>:</span></td><td>include comments in the result (!=0) or not (==0)</td></tr><tr><td><span class="term"><i><tt>buf</tt></i>:</span></td><td>the output buffer to store canonical XML; this buffer MUST have encoder==NULL because C14N requires UTF-8 output</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>non-negative value on success or a negative value on fail</td></tr></tbody></table></div></div>
|
||||
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>doc</tt></i>:</span></td><td>the XML document for canonization</td></tr><tr><td><span class="term"><i><tt>is_visible_callback</tt></i>:</span></td><td>the function to use to determine is node visible or not</td></tr><tr><td><span class="term"><i><tt>user_data</tt></i>:</span></td><td>the first parameter for @is_visible_callback function (in most cases, it is nodes set)</td></tr><tr><td><span class="term"><i><tt>mode</tt></i>:</span></td><td>the c14n mode (see @xmlC14NMode)</td></tr><tr><td><span class="term"><i><tt>inclusive_ns_prefixes</tt></i>:</span></td><td>the list of inclusive namespace prefixes ended with a NULL or NULL if there is no inclusive namespaces (only for exclusive canonicalization, ignored otherwise)</td></tr><tr><td><span class="term"><i><tt>with_comments</tt></i>:</span></td><td>include comments in the result (!=0) or not (==0)</td></tr><tr><td><span class="term"><i><tt>buf</tt></i>:</span></td><td>the output buffer to store canonical XML; this buffer MUST have encoder==NULL because C14N requires UTF-8 output</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>non-negative value on success or a negative value on fail</td></tr></tbody></table></div></div>
|
||||
<hr/>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -44,7 +44,7 @@
|
||||
<div class="refsynopsisdiv">
|
||||
<h2>Synopsis</h2>
|
||||
<pre class="synopsis">#define <a href="#LIBXML_VERSION_EXTRA">LIBXML_VERSION_EXTRA</a>;
|
||||
#define <a href="#LIBXML_DOCB_ENABLED">LIBXML_DOCB_ENABLED</a>;
|
||||
#define <a href="#LIBXML_MODULES_ENABLED">LIBXML_MODULES_ENABLED</a>;
|
||||
#define <a href="#LIBXML_LEGACY_ENABLED">LIBXML_LEGACY_ENABLED</a>;
|
||||
#define <a href="#LIBXML_READER_ENABLED">LIBXML_READER_ENABLED</a>;
|
||||
#define <a href="#LIBXML_THREAD_ENABLED">LIBXML_THREAD_ENABLED</a>;
|
||||
@ -53,8 +53,8 @@
|
||||
#define <a href="#LIBXML_DEBUG_ENABLED">LIBXML_DEBUG_ENABLED</a>;
|
||||
#define <a href="#LIBXML_XINCLUDE_ENABLED">LIBXML_XINCLUDE_ENABLED</a>;
|
||||
#define <a href="#ATTRIBUTE_UNUSED">ATTRIBUTE_UNUSED</a>;
|
||||
#define <a href="#LIBXML_MODULES_ENABLED">LIBXML_MODULES_ENABLED</a>;
|
||||
#define <a href="#ATTRIBUTE_PRINTF">ATTRIBUTE_PRINTF</a>;
|
||||
#define <a href="#LIBXML_DOCB_ENABLED">LIBXML_DOCB_ENABLED</a>;
|
||||
#define <a href="#LIBXML_PUSH_ENABLED">LIBXML_PUSH_ENABLED</a>;
|
||||
#define <a href="#LIBXML_SAX1_ENABLED">LIBXML_SAX1_ENABLED</a>;
|
||||
#define <a href="#WITHOUT_TRIO">WITHOUT_TRIO</a>;
|
||||
#define <a href="#LIBXML_SCHEMATRON_ENABLED">LIBXML_SCHEMATRON_ENABLED</a>;
|
||||
@ -76,10 +76,10 @@
|
||||
#define <a href="#LIBXML_AUTOMATA_ENABLED">LIBXML_AUTOMATA_ENABLED</a>;
|
||||
#define <a href="#LIBXML_ZLIB_ENABLED">LIBXML_ZLIB_ENABLED</a>;
|
||||
#define <a href="#ATTRIBUTE_ALLOC_SIZE">ATTRIBUTE_ALLOC_SIZE</a>;
|
||||
#define <a href="#LIBXML_PUSH_ENABLED">LIBXML_PUSH_ENABLED</a>;
|
||||
#define <a href="#LIBXML_C14N_ENABLED">LIBXML_C14N_ENABLED</a>;
|
||||
#define <a href="#LIBXML_SCHEMAS_ENABLED">LIBXML_SCHEMAS_ENABLED</a>;
|
||||
#define <a href="#DEBUG_MEMORY_LOCATION">DEBUG_MEMORY_LOCATION</a>;
|
||||
#define <a href="#LIBXML_ATTR_FORMAT">LIBXML_ATTR_FORMAT</a>;
|
||||
#define <a href="#LIBXML_TEST_VERSION">LIBXML_TEST_VERSION</a>;
|
||||
#define <a href="#LIBXML_XPATH_ENABLED">LIBXML_XPATH_ENABLED</a>;
|
||||
#define <a href="#LIBXML_EXPR_ENABLED">LIBXML_EXPR_ENABLED</a>;
|
||||
@ -97,10 +97,6 @@ void <a href="#xmlCheckVersion">xmlCheckVersion</a> (int version);
|
||||
<div class="refsect2" lang="en">
|
||||
<div class="refsect2" lang="en"><h3><a name="ATTRIBUTE_ALLOC_SIZE">Macro </a>ATTRIBUTE_ALLOC_SIZE</h3><pre class="programlisting">#define <a href="#ATTRIBUTE_ALLOC_SIZE">ATTRIBUTE_ALLOC_SIZE</a>;
|
||||
</pre><p>Macro used to indicate to GCC this is an allocator function</p>
|
||||
</div>
|
||||
<hr/>
|
||||
<div class="refsect2" lang="en"><h3><a name="ATTRIBUTE_PRINTF">Macro </a>ATTRIBUTE_PRINTF</h3><pre class="programlisting">#define <a href="#ATTRIBUTE_PRINTF">ATTRIBUTE_PRINTF</a>;
|
||||
</pre><p>Macro used to indicate to GCC the parameter are printf like</p>
|
||||
</div>
|
||||
<hr/>
|
||||
<div class="refsect2" lang="en"><h3><a name="ATTRIBUTE_UNUSED">Macro </a>ATTRIBUTE_UNUSED</h3><pre class="programlisting">#define <a href="#ATTRIBUTE_UNUSED">ATTRIBUTE_UNUSED</a>;
|
||||
@ -109,6 +105,10 @@ void <a href="#xmlCheckVersion">xmlCheckVersion</a> (int version);
|
||||
<hr/>
|
||||
<div class="refsect2" lang="en"><h3><a name="DEBUG_MEMORY_LOCATION">Macro </a>DEBUG_MEMORY_LOCATION</h3><pre class="programlisting">#define <a href="#DEBUG_MEMORY_LOCATION">DEBUG_MEMORY_LOCATION</a>;
|
||||
</pre><p>Whether the memory debugging is configured in</p>
|
||||
</div>
|
||||
<hr/>
|
||||
<div class="refsect2" lang="en"><h3><a name="LIBXML_ATTR_FORMAT">Macro </a>LIBXML_ATTR_FORMAT</h3><pre class="programlisting">#define <a href="#LIBXML_ATTR_FORMAT">LIBXML_ATTR_FORMAT</a>;
|
||||
</pre><p>Macro used to indicate to GCC the parameter are printf like</p>
|
||||
</div>
|
||||
<hr/>
|
||||
<div class="refsect2" lang="en"><h3><a name="LIBXML_AUTOMATA_ENABLED">Macro </a>LIBXML_AUTOMATA_ENABLED</h3><pre class="programlisting">#define <a href="#LIBXML_AUTOMATA_ENABLED">LIBXML_AUTOMATA_ENABLED</a>;
|
||||
|
@ -53,7 +53,6 @@
|
||||
</chapters>
|
||||
<functions>
|
||||
<function name="ATTRIBUTE_ALLOC_SIZE" link="libxml2-xmlversion.html#ATTRIBUTE_ALLOC_SIZE"/>
|
||||
<function name="ATTRIBUTE_PRINTF" link="libxml2-xmlversion.html#ATTRIBUTE_PRINTF"/>
|
||||
<function name="ATTRIBUTE_UNUSED" link="libxml2-xmlversion.html#ATTRIBUTE_UNUSED"/>
|
||||
<function name="BAD_CAST" link="libxml2-xmlstring.html#BAD_CAST"/>
|
||||
<function name="BASE_BUFFER_SIZE" link="libxml2-tree.html#BASE_BUFFER_SIZE"/>
|
||||
@ -92,6 +91,7 @@
|
||||
<function name="IS_LETTER_CH" link="libxml2-parserInternals.html#IS_LETTER_CH"/>
|
||||
<function name="IS_PUBIDCHAR" link="libxml2-parserInternals.html#IS_PUBIDCHAR"/>
|
||||
<function name="IS_PUBIDCHAR_CH" link="libxml2-parserInternals.html#IS_PUBIDCHAR_CH"/>
|
||||
<function name="LIBXML_ATTR_FORMAT" link="libxml2-xmlversion.html#LIBXML_ATTR_FORMAT"/>
|
||||
<function name="LIBXML_AUTOMATA_ENABLED" link="libxml2-xmlversion.html#LIBXML_AUTOMATA_ENABLED"/>
|
||||
<function name="LIBXML_C14N_ENABLED" link="libxml2-xmlversion.html#LIBXML_C14N_ENABLED"/>
|
||||
<function name="LIBXML_CATALOG_ENABLED" link="libxml2-xmlversion.html#LIBXML_CATALOG_ENABLED"/>
|
||||
@ -343,8 +343,11 @@
|
||||
<function name="XML_BUFFER_ALLOC_EXACT" link="libxml2-tree.html#XML_BUFFER_ALLOC_EXACT"/>
|
||||
<function name="XML_BUFFER_ALLOC_IMMUTABLE" link="libxml2-tree.html#XML_BUFFER_ALLOC_IMMUTABLE"/>
|
||||
<function name="XML_BUFFER_ALLOC_IO" link="libxml2-tree.html#XML_BUFFER_ALLOC_IO"/>
|
||||
<function name="XML_C14N_1_0" link="libxml2-c14n.html#XML_C14N_1_0"/>
|
||||
<function name="XML_C14N_1_1" link="libxml2-c14n.html#XML_C14N_1_1"/>
|
||||
<function name="XML_C14N_CREATE_CTXT" link="libxml2-xmlerror.html#XML_C14N_CREATE_CTXT"/>
|
||||
<function name="XML_C14N_CREATE_STACK" link="libxml2-xmlerror.html#XML_C14N_CREATE_STACK"/>
|
||||
<function name="XML_C14N_EXCLUSIVE_1_0" link="libxml2-c14n.html#XML_C14N_EXCLUSIVE_1_0"/>
|
||||
<function name="XML_C14N_INVALID_NODE" link="libxml2-xmlerror.html#XML_C14N_INVALID_NODE"/>
|
||||
<function name="XML_C14N_RELATIVE_NAMESPACE" link="libxml2-xmlerror.html#XML_C14N_RELATIVE_NAMESPACE"/>
|
||||
<function name="XML_C14N_REQUIRES_UTF8" link="libxml2-xmlerror.html#XML_C14N_REQUIRES_UTF8"/>
|
||||
@ -1559,6 +1562,7 @@
|
||||
<function name="xmlAutomataStatePtr" link="libxml2-xmlautomata.html#xmlAutomataStatePtr"/>
|
||||
<function name="xmlBufferAllocationScheme" link="libxml2-tree.html#xmlBufferAllocationScheme"/>
|
||||
<function name="xmlBufferPtr" link="libxml2-tree.html#xmlBufferPtr"/>
|
||||
<function name="xmlC14NMode" link="libxml2-c14n.html#xmlC14NMode"/>
|
||||
<function name="xmlCatalogAllow" link="libxml2-catalog.html#xmlCatalogAllow"/>
|
||||
<function name="xmlCatalogPrefer" link="libxml2-catalog.html#xmlCatalogPrefer"/>
|
||||
<function name="xmlCatalogPtr" link="libxml2-catalog.html#xmlCatalogPtr"/>
|
||||
|
@ -24,7 +24,7 @@ A:link, A:visited, A:active { text-decoration: underline }
|
||||
documentation</a> explaining how to use the libxml SAX interface.</li>
|
||||
<li>George Lebl wrote <a href="http://www-106.ibm.com/developerworks/library/l-gnome3/">an article
|
||||
for IBM developerWorks</a> about using libxml.</li>
|
||||
<li>Check <a href="http://svn.gnome.org/viewcvs/libxml2/trunk/TODO?view=markup">the TODO
|
||||
<li>Check <a href="http://svn.gnome.org/viewvc/libxml2/trunk/TODO?view=markup">the TODO
|
||||
file</a>.</li>
|
||||
<li>Read the <a href="upgrade.html">1.x to 2.x upgrade path</a>
|
||||
description. If you are starting a new project using libxml you should
|
||||
|
@ -28,7 +28,7 @@ Windows binaries made by Igor Zlatovic are available in the <a href="http://xmls
|
||||
<li>Docs, content of the web site, the list archive included <a href="ftp://xmlsoft.org/libxml2/libxml-docs.tar.gz">libxml-docs.tar.gz</a>.</li>
|
||||
</ul><p><a name="Contribs" id="Contribs">Contributions:</a></p><p>I do accept external contributions, especially if compiling on another
|
||||
platform, get in touch with the list to upload the package, wrappers for
|
||||
various languages have been provided, and can be found in the <a href="python.html">bindings section</a></p><p>Libxml2 is also available from SVN:</p><ul><li><p>The <a href="http://svn.gnome.org/viewcvs/libxml2/trunk/">Gnome SVN
|
||||
various languages have been provided, and can be found in the <a href="python.html">bindings section</a></p><p>Libxml2 is also available from SVN:</p><ul><li><p>The <a href="http://svn.gnome.org/viewvc/libxml2/trunk/">Gnome SVN
|
||||
base</a>. Check the <a href="http://developer.gnome.org/tools/svn.html">Gnome SVN Tools</a>
|
||||
page; the SVN module is <b>libxml2</b>.</p>
|
||||
</li>
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -217,6 +217,10 @@
|
||||
<summary>Provide Canonical XML and Exclusive XML Canonicalization</summary>
|
||||
<description>the c14n modules provides a "Canonical XML" implementation</description>
|
||||
<author>Aleksey Sanin <aleksey@aleksey.com> </author>
|
||||
<exports symbol='XML_C14N_1_1' type='enum'/>
|
||||
<exports symbol='XML_C14N_1_0' type='enum'/>
|
||||
<exports symbol='XML_C14N_EXCLUSIVE_1_0' type='enum'/>
|
||||
<exports symbol='xmlC14NMode' type='typedef'/>
|
||||
<exports symbol='xmlC14NExecute' type='function'/>
|
||||
<exports symbol='xmlC14NDocSaveTo' type='function'/>
|
||||
<exports symbol='xmlC14NIsVisibleCallback' type='function'/>
|
||||
@ -3336,7 +3340,7 @@
|
||||
<description>compile-time version informations for the XML library </description>
|
||||
<author>Daniel Veillard </author>
|
||||
<exports symbol='LIBXML_VERSION_EXTRA' type='macro'/>
|
||||
<exports symbol='LIBXML_DOCB_ENABLED' type='macro'/>
|
||||
<exports symbol='LIBXML_MODULES_ENABLED' type='macro'/>
|
||||
<exports symbol='LIBXML_LEGACY_ENABLED' type='macro'/>
|
||||
<exports symbol='LIBXML_READER_ENABLED' type='macro'/>
|
||||
<exports symbol='LIBXML_THREAD_ENABLED' type='macro'/>
|
||||
@ -3345,8 +3349,8 @@
|
||||
<exports symbol='LIBXML_DEBUG_ENABLED' type='macro'/>
|
||||
<exports symbol='LIBXML_XINCLUDE_ENABLED' type='macro'/>
|
||||
<exports symbol='ATTRIBUTE_UNUSED' type='macro'/>
|
||||
<exports symbol='LIBXML_MODULES_ENABLED' type='macro'/>
|
||||
<exports symbol='ATTRIBUTE_PRINTF' type='macro'/>
|
||||
<exports symbol='LIBXML_DOCB_ENABLED' type='macro'/>
|
||||
<exports symbol='LIBXML_PUSH_ENABLED' type='macro'/>
|
||||
<exports symbol='LIBXML_SAX1_ENABLED' type='macro'/>
|
||||
<exports symbol='WITHOUT_TRIO' type='macro'/>
|
||||
<exports symbol='LIBXML_SCHEMATRON_ENABLED' type='macro'/>
|
||||
@ -3368,10 +3372,10 @@
|
||||
<exports symbol='LIBXML_AUTOMATA_ENABLED' type='macro'/>
|
||||
<exports symbol='LIBXML_ZLIB_ENABLED' type='macro'/>
|
||||
<exports symbol='ATTRIBUTE_ALLOC_SIZE' type='macro'/>
|
||||
<exports symbol='LIBXML_PUSH_ENABLED' type='macro'/>
|
||||
<exports symbol='LIBXML_C14N_ENABLED' type='macro'/>
|
||||
<exports symbol='LIBXML_SCHEMAS_ENABLED' type='macro'/>
|
||||
<exports symbol='DEBUG_MEMORY_LOCATION' type='macro'/>
|
||||
<exports symbol='LIBXML_ATTR_FORMAT' type='macro'/>
|
||||
<exports symbol='LIBXML_TEST_VERSION' type='macro'/>
|
||||
<exports symbol='LIBXML_XPATH_ENABLED' type='macro'/>
|
||||
<exports symbol='LIBXML_EXPR_ENABLED' type='macro'/>
|
||||
@ -3771,9 +3775,6 @@
|
||||
<macro name='ATTRIBUTE_ALLOC_SIZE' file='xmlversion'>
|
||||
<info>Macro used to indicate to GCC this is an allocator function</info>
|
||||
</macro>
|
||||
<macro name='ATTRIBUTE_PRINTF' file='xmlversion'>
|
||||
<info>Macro used to indicate to GCC the parameter are printf like</info>
|
||||
</macro>
|
||||
<macro name='ATTRIBUTE_UNUSED' file='xmlversion'>
|
||||
<info>Macro used to signal to GCC unused function parameters</info>
|
||||
</macro>
|
||||
@ -3910,6 +3911,9 @@
|
||||
<info>Same as IS_PUBIDCHAR but for single-byte value</info>
|
||||
<arg name='c' info='an xmlChar value (normally unsigned char)'/>
|
||||
</macro>
|
||||
<macro name='LIBXML_ATTR_FORMAT' file='xmlversion'>
|
||||
<info>Macro used to indicate to GCC the parameter are printf like</info>
|
||||
</macro>
|
||||
<macro name='LIBXML_AUTOMATA_ENABLED' file='xmlversion'>
|
||||
<info>Whether the automata interfaces are compiled in</info>
|
||||
</macro>
|
||||
@ -4624,8 +4628,11 @@
|
||||
<enum name='XML_BUFFER_ALLOC_EXACT' file='tree' value='2' type='xmlBufferAllocationScheme' info='grow only to the minimal size'/>
|
||||
<enum name='XML_BUFFER_ALLOC_IMMUTABLE' file='tree' value='3' type='xmlBufferAllocationScheme' info='immutable buffer'/>
|
||||
<enum name='XML_BUFFER_ALLOC_IO' file='tree' value='4' type='xmlBufferAllocationScheme' info=' special allocation scheme used for I/O'/>
|
||||
<enum name='XML_C14N_1_0' file='c14n' value='0' type='xmlC14NMode' info='Origianal C14N 1.0 spec'/>
|
||||
<enum name='XML_C14N_1_1' file='c14n' value='2' type='xmlC14NMode' info=' C14N 1.1 spec'/>
|
||||
<enum name='XML_C14N_CREATE_CTXT' file='xmlerror' value='1950' type='xmlParserErrors'/>
|
||||
<enum name='XML_C14N_CREATE_STACK' file='xmlerror' value='1952' type='xmlParserErrors' info='1952'/>
|
||||
<enum name='XML_C14N_EXCLUSIVE_1_0' file='c14n' value='1' type='xmlC14NMode' info='Exclusive C14N 1.0 spec'/>
|
||||
<enum name='XML_C14N_INVALID_NODE' file='xmlerror' value='1953' type='xmlParserErrors' info='1953'/>
|
||||
<enum name='XML_C14N_RELATIVE_NAMESPACE' file='xmlerror' value='1955' type='xmlParserErrors' info='1955'/>
|
||||
<enum name='XML_C14N_REQUIRES_UTF8' file='xmlerror' value='1951' type='xmlParserErrors' info='1951'/>
|
||||
@ -5927,6 +5934,7 @@ if necessary or NULL'/>
|
||||
</struct>
|
||||
<typedef name='xmlBufferAllocationScheme' file='tree' type='enum'/>
|
||||
<typedef name='xmlBufferPtr' file='tree' type='xmlBuffer *'/>
|
||||
<typedef name='xmlC14NMode' file='c14n' type='enum'/>
|
||||
<struct name='xmlCatalog' file='catalog' type='struct _xmlCatalog'/>
|
||||
<typedef name='xmlCatalogAllow' file='catalog' type='enum'/>
|
||||
<typedef name='xmlCatalogPrefer' file='catalog' type='enum'/>
|
||||
@ -8581,7 +8589,7 @@ Could we use @subtypes for this?'/>
|
||||
<return type='int' info='the number of bytes written on success or a negative value on fail'/>
|
||||
<arg name='doc' type='xmlDocPtr' info='the XML document for canonization'/>
|
||||
<arg name='nodes' type='xmlNodeSetPtr' info='the nodes set to be included in the canonized image or NULL if all document nodes should be included'/>
|
||||
<arg name='exclusive' type='int' info='the exclusive flag (0 - non-exclusive canonicalization; otherwise - exclusive canonicalization)'/>
|
||||
<arg name='mode' type='int' info='the c14n mode (see @xmlC14NMode)'/>
|
||||
<arg name='inclusive_ns_prefixes' type='xmlChar **' info='the list of inclusive namespace prefixes ended with a NULL or NULL if there is no inclusive namespaces (only for exclusive canonicalization, ignored otherwise)'/>
|
||||
<arg name='with_comments' type='int' info='include comments in the result (!=0) or not (==0)'/>
|
||||
<arg name='doc_txt_ptr' type='xmlChar **' info='the memory pointer for allocated canonical XML text; the caller of this functions is responsible for calling xmlFree() to free allocated memory'/>
|
||||
@ -8592,7 +8600,7 @@ Could we use @subtypes for this?'/>
|
||||
<return type='int' info='the number of bytes written success or a negative value on fail'/>
|
||||
<arg name='doc' type='xmlDocPtr' info='the XML document for canonization'/>
|
||||
<arg name='nodes' type='xmlNodeSetPtr' info='the nodes set to be included in the canonized image or NULL if all document nodes should be included'/>
|
||||
<arg name='exclusive' type='int' info='the exclusive flag (0 - non-exclusive canonicalization; otherwise - exclusive canonicalization)'/>
|
||||
<arg name='mode' type='int' info='the c14n mode (see @xmlC14NMode)'/>
|
||||
<arg name='inclusive_ns_prefixes' type='xmlChar **' info='the list of inclusive namespace prefixes ended with a NULL or NULL if there is no inclusive namespaces (only for exclusive canonicalization, ignored otherwise)'/>
|
||||
<arg name='with_comments' type='int' info='include comments in the result (!=0) or not (==0)'/>
|
||||
<arg name='filename' type='const char *' info='the filename to store canonical XML image'/>
|
||||
@ -8604,7 +8612,7 @@ Could we use @subtypes for this?'/>
|
||||
<return type='int' info='non-negative value on success or a negative value on fail'/>
|
||||
<arg name='doc' type='xmlDocPtr' info='the XML document for canonization'/>
|
||||
<arg name='nodes' type='xmlNodeSetPtr' info='the nodes set to be included in the canonized image or NULL if all document nodes should be included'/>
|
||||
<arg name='exclusive' type='int' info='the exclusive flag (0 - non-exclusive canonicalization; otherwise - exclusive canonicalization)'/>
|
||||
<arg name='mode' type='int' info='the c14n mode (see @xmlC14NMode)'/>
|
||||
<arg name='inclusive_ns_prefixes' type='xmlChar **' info='the list of inclusive namespace prefixes ended with a NULL or NULL if there is no inclusive namespaces (only for exclusive canonicalization, ignored otherwise)'/>
|
||||
<arg name='with_comments' type='int' info='include comments in the result (!=0) or not (==0)'/>
|
||||
<arg name='buf' type='xmlOutputBufferPtr' info='the output buffer to store canonical XML; this buffer MUST have encoder==NULL because C14N requires UTF-8 output'/>
|
||||
@ -8616,7 +8624,7 @@ Could we use @subtypes for this?'/>
|
||||
<arg name='doc' type='xmlDocPtr' info='the XML document for canonization'/>
|
||||
<arg name='is_visible_callback' type='xmlC14NIsVisibleCallback' info='the function to use to determine is node visible or not'/>
|
||||
<arg name='user_data' type='void *' info='the first parameter for @is_visible_callback function (in most cases, it is nodes set)'/>
|
||||
<arg name='exclusive' type='int' info='the exclusive flag (0 - non-exclusive canonicalization; otherwise - exclusive canonicalization)'/>
|
||||
<arg name='mode' type='int' info='the c14n mode (see @xmlC14NMode)'/>
|
||||
<arg name='inclusive_ns_prefixes' type='xmlChar **' info='the list of inclusive namespace prefixes ended with a NULL or NULL if there is no inclusive namespaces (only for exclusive canonicalization, ignored otherwise)'/>
|
||||
<arg name='with_comments' type='int' info='include comments in the result (!=0) or not (==0)'/>
|
||||
<arg name='buf' type='xmlOutputBufferPtr' info='the output buffer to store canonical XML; this buffer MUST have encoder==NULL because C14N requires UTF-8 output'/>
|
||||
|
@ -2,7 +2,6 @@
|
||||
<apirefs name='libxml2'>
|
||||
<references>
|
||||
<reference name='ATTRIBUTE_ALLOC_SIZE' href='html/libxml-xmlversion.html#ATTRIBUTE_ALLOC_SIZE'/>
|
||||
<reference name='ATTRIBUTE_PRINTF' href='html/libxml-xmlversion.html#ATTRIBUTE_PRINTF'/>
|
||||
<reference name='ATTRIBUTE_UNUSED' href='html/libxml-xmlversion.html#ATTRIBUTE_UNUSED'/>
|
||||
<reference name='BAD_CAST' href='html/libxml-xmlstring.html#BAD_CAST'/>
|
||||
<reference name='BASE_BUFFER_SIZE' href='html/libxml-tree.html#BASE_BUFFER_SIZE'/>
|
||||
@ -53,6 +52,7 @@
|
||||
<reference name='IS_LETTER_CH' href='html/libxml-parserInternals.html#IS_LETTER_CH'/>
|
||||
<reference name='IS_PUBIDCHAR' href='html/libxml-parserInternals.html#IS_PUBIDCHAR'/>
|
||||
<reference name='IS_PUBIDCHAR_CH' href='html/libxml-parserInternals.html#IS_PUBIDCHAR_CH'/>
|
||||
<reference name='LIBXML_ATTR_FORMAT' href='html/libxml-xmlversion.html#LIBXML_ATTR_FORMAT'/>
|
||||
<reference name='LIBXML_AUTOMATA_ENABLED' href='html/libxml-xmlversion.html#LIBXML_AUTOMATA_ENABLED'/>
|
||||
<reference name='LIBXML_C14N_ENABLED' href='html/libxml-xmlversion.html#LIBXML_C14N_ENABLED'/>
|
||||
<reference name='LIBXML_CATALOG_ENABLED' href='html/libxml-xmlversion.html#LIBXML_CATALOG_ENABLED'/>
|
||||
@ -143,8 +143,11 @@
|
||||
<reference name='XML_BUFFER_ALLOC_EXACT' href='html/libxml-tree.html#XML_BUFFER_ALLOC_EXACT'/>
|
||||
<reference name='XML_BUFFER_ALLOC_IMMUTABLE' href='html/libxml-tree.html#XML_BUFFER_ALLOC_IMMUTABLE'/>
|
||||
<reference name='XML_BUFFER_ALLOC_IO' href='html/libxml-tree.html#XML_BUFFER_ALLOC_IO'/>
|
||||
<reference name='XML_C14N_1_0' href='html/libxml-c14n.html#XML_C14N_1_0'/>
|
||||
<reference name='XML_C14N_1_1' href='html/libxml-c14n.html#XML_C14N_1_1'/>
|
||||
<reference name='XML_C14N_CREATE_CTXT' href='html/libxml-xmlerror.html#XML_C14N_CREATE_CTXT'/>
|
||||
<reference name='XML_C14N_CREATE_STACK' href='html/libxml-xmlerror.html#XML_C14N_CREATE_STACK'/>
|
||||
<reference name='XML_C14N_EXCLUSIVE_1_0' href='html/libxml-c14n.html#XML_C14N_EXCLUSIVE_1_0'/>
|
||||
<reference name='XML_C14N_INVALID_NODE' href='html/libxml-xmlerror.html#XML_C14N_INVALID_NODE'/>
|
||||
<reference name='XML_C14N_RELATIVE_NAMESPACE' href='html/libxml-xmlerror.html#XML_C14N_RELATIVE_NAMESPACE'/>
|
||||
<reference name='XML_C14N_REQUIRES_UTF8' href='html/libxml-xmlerror.html#XML_C14N_REQUIRES_UTF8'/>
|
||||
@ -1769,6 +1772,7 @@
|
||||
<reference name='xmlC14NDocSaveTo' href='html/libxml-c14n.html#xmlC14NDocSaveTo'/>
|
||||
<reference name='xmlC14NExecute' href='html/libxml-c14n.html#xmlC14NExecute'/>
|
||||
<reference name='xmlC14NIsVisibleCallback' href='html/libxml-c14n.html#xmlC14NIsVisibleCallback'/>
|
||||
<reference name='xmlC14NMode' href='html/libxml-c14n.html#xmlC14NMode'/>
|
||||
<reference name='xmlCanonicPath' href='html/libxml-uri.html#xmlCanonicPath'/>
|
||||
<reference name='xmlCatalog' href='html/libxml-catalog.html#xmlCatalog'/>
|
||||
<reference name='xmlCatalogAdd' href='html/libxml-catalog.html#xmlCatalogAdd'/>
|
||||
@ -3529,7 +3533,6 @@
|
||||
<alpha>
|
||||
<letter name='A'>
|
||||
<ref name='ATTRIBUTE_ALLOC_SIZE'/>
|
||||
<ref name='ATTRIBUTE_PRINTF'/>
|
||||
<ref name='ATTRIBUTE_UNUSED'/>
|
||||
</letter>
|
||||
<letter name='B'>
|
||||
@ -3592,6 +3595,7 @@
|
||||
<ref name='IS_PUBIDCHAR_CH'/>
|
||||
</letter>
|
||||
<letter name='L'>
|
||||
<ref name='LIBXML_ATTR_FORMAT'/>
|
||||
<ref name='LIBXML_AUTOMATA_ENABLED'/>
|
||||
<ref name='LIBXML_C14N_ENABLED'/>
|
||||
<ref name='LIBXML_CATALOG_ENABLED'/>
|
||||
@ -3692,8 +3696,11 @@
|
||||
<ref name='XML_BUFFER_ALLOC_EXACT'/>
|
||||
<ref name='XML_BUFFER_ALLOC_IMMUTABLE'/>
|
||||
<ref name='XML_BUFFER_ALLOC_IO'/>
|
||||
<ref name='XML_C14N_1_0'/>
|
||||
<ref name='XML_C14N_1_1'/>
|
||||
<ref name='XML_C14N_CREATE_CTXT'/>
|
||||
<ref name='XML_C14N_CREATE_STACK'/>
|
||||
<ref name='XML_C14N_EXCLUSIVE_1_0'/>
|
||||
<ref name='XML_C14N_INVALID_NODE'/>
|
||||
<ref name='XML_C14N_RELATIVE_NAMESPACE'/>
|
||||
<ref name='XML_C14N_REQUIRES_UTF8'/>
|
||||
@ -5354,6 +5361,7 @@
|
||||
<ref name='xmlC14NDocSaveTo'/>
|
||||
<ref name='xmlC14NExecute'/>
|
||||
<ref name='xmlC14NIsVisibleCallback'/>
|
||||
<ref name='xmlC14NMode'/>
|
||||
<ref name='xmlCanonicPath'/>
|
||||
<ref name='xmlCatalog'/>
|
||||
<ref name='xmlCatalogAdd'/>
|
||||
@ -10779,11 +10787,15 @@
|
||||
<ref name='xmlSAXVersion'/>
|
||||
</file>
|
||||
<file name='c14n'>
|
||||
<ref name='XML_C14N_1_0'/>
|
||||
<ref name='XML_C14N_1_1'/>
|
||||
<ref name='XML_C14N_EXCLUSIVE_1_0'/>
|
||||
<ref name='xmlC14NDocDumpMemory'/>
|
||||
<ref name='xmlC14NDocSave'/>
|
||||
<ref name='xmlC14NDocSaveTo'/>
|
||||
<ref name='xmlC14NExecute'/>
|
||||
<ref name='xmlC14NIsVisibleCallback'/>
|
||||
<ref name='xmlC14NMode'/>
|
||||
</file>
|
||||
<file name='catalog'>
|
||||
<ref name='XML_CATALOGS_NAMESPACE'/>
|
||||
@ -13787,9 +13799,9 @@
|
||||
</file>
|
||||
<file name='xmlversion'>
|
||||
<ref name='ATTRIBUTE_ALLOC_SIZE'/>
|
||||
<ref name='ATTRIBUTE_PRINTF'/>
|
||||
<ref name='ATTRIBUTE_UNUSED'/>
|
||||
<ref name='DEBUG_MEMORY_LOCATION'/>
|
||||
<ref name='LIBXML_ATTR_FORMAT'/>
|
||||
<ref name='LIBXML_AUTOMATA_ENABLED'/>
|
||||
<ref name='LIBXML_C14N_ENABLED'/>
|
||||
<ref name='LIBXML_CATALOG_ENABLED'/>
|
||||
@ -15758,8 +15770,8 @@
|
||||
<letter name='G'>
|
||||
<word name='GCC'>
|
||||
<ref name='ATTRIBUTE_ALLOC_SIZE'/>
|
||||
<ref name='ATTRIBUTE_PRINTF'/>
|
||||
<ref name='ATTRIBUTE_UNUSED'/>
|
||||
<ref name='LIBXML_ATTR_FORMAT'/>
|
||||
</word>
|
||||
<word name='GEDecl'>
|
||||
<ref name='xmlParseEntityDecl'/>
|
||||
@ -19724,6 +19736,12 @@
|
||||
</chunk>
|
||||
<chunk name='chunk12'>
|
||||
<letter name='c'>
|
||||
<word name='c14n'>
|
||||
<ref name='xmlC14NDocDumpMemory'/>
|
||||
<ref name='xmlC14NDocSave'/>
|
||||
<ref name='xmlC14NDocSaveTo'/>
|
||||
<ref name='xmlC14NExecute'/>
|
||||
</word>
|
||||
<word name='cache'>
|
||||
<ref name='xmlXPathContextSetCache'/>
|
||||
</word>
|
||||
@ -22678,10 +22696,6 @@
|
||||
<ref name='XML_SCHEMAS_ELEM_CIRCULAR'/>
|
||||
<ref name='htmlSetMetaEncoding'/>
|
||||
<ref name='initxmlDefaultSAXHandler'/>
|
||||
<ref name='xmlC14NDocDumpMemory'/>
|
||||
<ref name='xmlC14NDocSave'/>
|
||||
<ref name='xmlC14NDocSaveTo'/>
|
||||
<ref name='xmlC14NExecute'/>
|
||||
<ref name='xmlSAX2InitDefaultSAXHandler'/>
|
||||
<ref name='xmlTextReaderIsValid'/>
|
||||
</word>
|
||||
@ -23691,7 +23705,7 @@
|
||||
</word>
|
||||
<word name='indicate'>
|
||||
<ref name='ATTRIBUTE_ALLOC_SIZE'/>
|
||||
<ref name='ATTRIBUTE_PRINTF'/>
|
||||
<ref name='LIBXML_ATTR_FORMAT'/>
|
||||
<ref name='xmlParseExternalID'/>
|
||||
<ref name='xmlParserInputGrow'/>
|
||||
<ref name='xmlParserInputRead'/>
|
||||
@ -24470,11 +24484,11 @@
|
||||
<ref name='xmlExpCtxtNbCons'/>
|
||||
</word>
|
||||
<word name='like'>
|
||||
<ref name='ATTRIBUTE_PRINTF'/>
|
||||
<ref name='IS_CHAR_CH'/>
|
||||
<ref name='IS_DIGIT_CH'/>
|
||||
<ref name='IS_EXTENDER_CH'/>
|
||||
<ref name='IS_LETTER_CH'/>
|
||||
<ref name='LIBXML_ATTR_FORMAT'/>
|
||||
<ref name='LIBXML_DOTTED_VERSION'/>
|
||||
<ref name='LIBXML_TREE_ENABLED'/>
|
||||
<ref name='xmlCharEncOutFunc'/>
|
||||
@ -25017,6 +25031,10 @@
|
||||
<ref name='_xmlParserCtxt'/>
|
||||
<ref name='docbCreatePushParserCtxt'/>
|
||||
<ref name='htmlCreatePushParserCtxt'/>
|
||||
<ref name='xmlC14NDocDumpMemory'/>
|
||||
<ref name='xmlC14NDocSave'/>
|
||||
<ref name='xmlC14NDocSaveTo'/>
|
||||
<ref name='xmlC14NExecute'/>
|
||||
<ref name='xmlCreatePushParserCtxt'/>
|
||||
<ref name='xmlGetCompressMode'/>
|
||||
<ref name='xmlKeepBlanksDefault'/>
|
||||
@ -25408,12 +25426,6 @@
|
||||
<word name='non-empty'>
|
||||
<ref name='xmlXPathBooleanFunction'/>
|
||||
</word>
|
||||
<word name='non-exclusive'>
|
||||
<ref name='xmlC14NDocDumpMemory'/>
|
||||
<ref name='xmlC14NDocSave'/>
|
||||
<ref name='xmlC14NDocSaveTo'/>
|
||||
<ref name='xmlC14NExecute'/>
|
||||
</word>
|
||||
<word name='non-final'>
|
||||
<ref name='xmlRegExecPushString'/>
|
||||
<ref name='xmlRegExecPushString2'/>
|
||||
|
@ -12,7 +12,7 @@ to help those</p><ul><li>More testing on RelaxNG</li>
|
||||
<li>Finishing up <a href="http://www.w3.org/TR/xmlschema-1/">XML
|
||||
Schemas</a></li>
|
||||
</ul><p>The <a href="ChangeLog.html">change log</a> describes the recents commits
|
||||
to the <a href="http://svn.gnome.org/viewcvs/libxml2/trunk/">SVN</a> code base.</p><p>Here is the list of public releases:</p><h3>2.7.3: Jan 18 2009</h3><ul><li>Build fix: fix build when HTML support is not included.</li>
|
||||
to the <a href="http://svn.gnome.org/viewvc/libxml2/trunk/">SVN</a> code base.</p><p>Here is the list of public releases:</p><h3>2.7.3: Jan 18 2009</h3><ul><li>Build fix: fix build when HTML support is not included.</li>
|
||||
<li>Bug fixes: avoid memory overflow in gigantic text nodes,
|
||||
indentation problem on the writed (Rob Richards),
|
||||
xmlAddChildList pointer problem (Rob Richards and Kevin Milburn),
|
||||
|
42
testapi.c
42
testapi.c
@ -5345,8 +5345,8 @@ test_xmlC14NDocDumpMemory(void) {
|
||||
int n_doc;
|
||||
xmlNodeSetPtr nodes; /* the nodes set to be included in the canonized image or NULL if all document nodes should be included */
|
||||
int n_nodes;
|
||||
int exclusive; /* the exclusive flag (0 - non-exclusive canonicalization; otherwise - exclusive canonicalization) */
|
||||
int n_exclusive;
|
||||
int mode; /* the c14n mode (see @xmlC14NMode) */
|
||||
int n_mode;
|
||||
xmlChar ** inclusive_ns_prefixes; /* the list of inclusive namespace prefixes ended with a NULL or NULL if there is no inclusive namespaces (only for exclusive canonicalization, ignored otherwise) */
|
||||
int n_inclusive_ns_prefixes;
|
||||
int with_comments; /* include comments in the result (!=0) or not (==0) */
|
||||
@ -5356,24 +5356,24 @@ test_xmlC14NDocDumpMemory(void) {
|
||||
|
||||
for (n_doc = 0;n_doc < gen_nb_xmlDocPtr;n_doc++) {
|
||||
for (n_nodes = 0;n_nodes < gen_nb_xmlNodeSetPtr;n_nodes++) {
|
||||
for (n_exclusive = 0;n_exclusive < gen_nb_int;n_exclusive++) {
|
||||
for (n_mode = 0;n_mode < gen_nb_int;n_mode++) {
|
||||
for (n_inclusive_ns_prefixes = 0;n_inclusive_ns_prefixes < gen_nb_xmlChar_ptr_ptr;n_inclusive_ns_prefixes++) {
|
||||
for (n_with_comments = 0;n_with_comments < gen_nb_int;n_with_comments++) {
|
||||
for (n_doc_txt_ptr = 0;n_doc_txt_ptr < gen_nb_xmlChar_ptr_ptr;n_doc_txt_ptr++) {
|
||||
mem_base = xmlMemBlocks();
|
||||
doc = gen_xmlDocPtr(n_doc, 0);
|
||||
nodes = gen_xmlNodeSetPtr(n_nodes, 1);
|
||||
exclusive = gen_int(n_exclusive, 2);
|
||||
mode = gen_int(n_mode, 2);
|
||||
inclusive_ns_prefixes = gen_xmlChar_ptr_ptr(n_inclusive_ns_prefixes, 3);
|
||||
with_comments = gen_int(n_with_comments, 4);
|
||||
doc_txt_ptr = gen_xmlChar_ptr_ptr(n_doc_txt_ptr, 5);
|
||||
|
||||
ret_val = xmlC14NDocDumpMemory(doc, nodes, exclusive, inclusive_ns_prefixes, with_comments, doc_txt_ptr);
|
||||
ret_val = xmlC14NDocDumpMemory(doc, nodes, mode, inclusive_ns_prefixes, with_comments, doc_txt_ptr);
|
||||
desret_int(ret_val);
|
||||
call_tests++;
|
||||
des_xmlDocPtr(n_doc, doc, 0);
|
||||
des_xmlNodeSetPtr(n_nodes, nodes, 1);
|
||||
des_int(n_exclusive, exclusive, 2);
|
||||
des_int(n_mode, mode, 2);
|
||||
des_xmlChar_ptr_ptr(n_inclusive_ns_prefixes, inclusive_ns_prefixes, 3);
|
||||
des_int(n_with_comments, with_comments, 4);
|
||||
des_xmlChar_ptr_ptr(n_doc_txt_ptr, doc_txt_ptr, 5);
|
||||
@ -5384,7 +5384,7 @@ test_xmlC14NDocDumpMemory(void) {
|
||||
test_ret++;
|
||||
printf(" %d", n_doc);
|
||||
printf(" %d", n_nodes);
|
||||
printf(" %d", n_exclusive);
|
||||
printf(" %d", n_mode);
|
||||
printf(" %d", n_inclusive_ns_prefixes);
|
||||
printf(" %d", n_with_comments);
|
||||
printf(" %d", n_doc_txt_ptr);
|
||||
@ -5414,8 +5414,8 @@ test_xmlC14NDocSave(void) {
|
||||
int n_doc;
|
||||
xmlNodeSetPtr nodes; /* the nodes set to be included in the canonized image or NULL if all document nodes should be included */
|
||||
int n_nodes;
|
||||
int exclusive; /* the exclusive flag (0 - non-exclusive canonicalization; otherwise - exclusive canonicalization) */
|
||||
int n_exclusive;
|
||||
int mode; /* the c14n mode (see @xmlC14NMode) */
|
||||
int n_mode;
|
||||
xmlChar ** inclusive_ns_prefixes; /* the list of inclusive namespace prefixes ended with a NULL or NULL if there is no inclusive namespaces (only for exclusive canonicalization, ignored otherwise) */
|
||||
int n_inclusive_ns_prefixes;
|
||||
int with_comments; /* include comments in the result (!=0) or not (==0) */
|
||||
@ -5427,7 +5427,7 @@ test_xmlC14NDocSave(void) {
|
||||
|
||||
for (n_doc = 0;n_doc < gen_nb_xmlDocPtr;n_doc++) {
|
||||
for (n_nodes = 0;n_nodes < gen_nb_xmlNodeSetPtr;n_nodes++) {
|
||||
for (n_exclusive = 0;n_exclusive < gen_nb_int;n_exclusive++) {
|
||||
for (n_mode = 0;n_mode < gen_nb_int;n_mode++) {
|
||||
for (n_inclusive_ns_prefixes = 0;n_inclusive_ns_prefixes < gen_nb_xmlChar_ptr_ptr;n_inclusive_ns_prefixes++) {
|
||||
for (n_with_comments = 0;n_with_comments < gen_nb_int;n_with_comments++) {
|
||||
for (n_filename = 0;n_filename < gen_nb_fileoutput;n_filename++) {
|
||||
@ -5435,18 +5435,18 @@ test_xmlC14NDocSave(void) {
|
||||
mem_base = xmlMemBlocks();
|
||||
doc = gen_xmlDocPtr(n_doc, 0);
|
||||
nodes = gen_xmlNodeSetPtr(n_nodes, 1);
|
||||
exclusive = gen_int(n_exclusive, 2);
|
||||
mode = gen_int(n_mode, 2);
|
||||
inclusive_ns_prefixes = gen_xmlChar_ptr_ptr(n_inclusive_ns_prefixes, 3);
|
||||
with_comments = gen_int(n_with_comments, 4);
|
||||
filename = gen_fileoutput(n_filename, 5);
|
||||
compression = gen_int(n_compression, 6);
|
||||
|
||||
ret_val = xmlC14NDocSave(doc, nodes, exclusive, inclusive_ns_prefixes, with_comments, filename, compression);
|
||||
ret_val = xmlC14NDocSave(doc, nodes, mode, inclusive_ns_prefixes, with_comments, filename, compression);
|
||||
desret_int(ret_val);
|
||||
call_tests++;
|
||||
des_xmlDocPtr(n_doc, doc, 0);
|
||||
des_xmlNodeSetPtr(n_nodes, nodes, 1);
|
||||
des_int(n_exclusive, exclusive, 2);
|
||||
des_int(n_mode, mode, 2);
|
||||
des_xmlChar_ptr_ptr(n_inclusive_ns_prefixes, inclusive_ns_prefixes, 3);
|
||||
des_int(n_with_comments, with_comments, 4);
|
||||
des_fileoutput(n_filename, filename, 5);
|
||||
@ -5458,7 +5458,7 @@ test_xmlC14NDocSave(void) {
|
||||
test_ret++;
|
||||
printf(" %d", n_doc);
|
||||
printf(" %d", n_nodes);
|
||||
printf(" %d", n_exclusive);
|
||||
printf(" %d", n_mode);
|
||||
printf(" %d", n_inclusive_ns_prefixes);
|
||||
printf(" %d", n_with_comments);
|
||||
printf(" %d", n_filename);
|
||||
@ -5490,8 +5490,8 @@ test_xmlC14NDocSaveTo(void) {
|
||||
int n_doc;
|
||||
xmlNodeSetPtr nodes; /* the nodes set to be included in the canonized image or NULL if all document nodes should be included */
|
||||
int n_nodes;
|
||||
int exclusive; /* the exclusive flag (0 - non-exclusive canonicalization; otherwise - exclusive canonicalization) */
|
||||
int n_exclusive;
|
||||
int mode; /* the c14n mode (see @xmlC14NMode) */
|
||||
int n_mode;
|
||||
xmlChar ** inclusive_ns_prefixes; /* the list of inclusive namespace prefixes ended with a NULL or NULL if there is no inclusive namespaces (only for exclusive canonicalization, ignored otherwise) */
|
||||
int n_inclusive_ns_prefixes;
|
||||
int with_comments; /* include comments in the result (!=0) or not (==0) */
|
||||
@ -5501,24 +5501,24 @@ test_xmlC14NDocSaveTo(void) {
|
||||
|
||||
for (n_doc = 0;n_doc < gen_nb_xmlDocPtr;n_doc++) {
|
||||
for (n_nodes = 0;n_nodes < gen_nb_xmlNodeSetPtr;n_nodes++) {
|
||||
for (n_exclusive = 0;n_exclusive < gen_nb_int;n_exclusive++) {
|
||||
for (n_mode = 0;n_mode < gen_nb_int;n_mode++) {
|
||||
for (n_inclusive_ns_prefixes = 0;n_inclusive_ns_prefixes < gen_nb_xmlChar_ptr_ptr;n_inclusive_ns_prefixes++) {
|
||||
for (n_with_comments = 0;n_with_comments < gen_nb_int;n_with_comments++) {
|
||||
for (n_buf = 0;n_buf < gen_nb_xmlOutputBufferPtr;n_buf++) {
|
||||
mem_base = xmlMemBlocks();
|
||||
doc = gen_xmlDocPtr(n_doc, 0);
|
||||
nodes = gen_xmlNodeSetPtr(n_nodes, 1);
|
||||
exclusive = gen_int(n_exclusive, 2);
|
||||
mode = gen_int(n_mode, 2);
|
||||
inclusive_ns_prefixes = gen_xmlChar_ptr_ptr(n_inclusive_ns_prefixes, 3);
|
||||
with_comments = gen_int(n_with_comments, 4);
|
||||
buf = gen_xmlOutputBufferPtr(n_buf, 5);
|
||||
|
||||
ret_val = xmlC14NDocSaveTo(doc, nodes, exclusive, inclusive_ns_prefixes, with_comments, buf);
|
||||
ret_val = xmlC14NDocSaveTo(doc, nodes, mode, inclusive_ns_prefixes, with_comments, buf);
|
||||
desret_int(ret_val);
|
||||
call_tests++;
|
||||
des_xmlDocPtr(n_doc, doc, 0);
|
||||
des_xmlNodeSetPtr(n_nodes, nodes, 1);
|
||||
des_int(n_exclusive, exclusive, 2);
|
||||
des_int(n_mode, mode, 2);
|
||||
des_xmlChar_ptr_ptr(n_inclusive_ns_prefixes, inclusive_ns_prefixes, 3);
|
||||
des_int(n_with_comments, with_comments, 4);
|
||||
des_xmlOutputBufferPtr(n_buf, buf, 5);
|
||||
@ -5529,7 +5529,7 @@ test_xmlC14NDocSaveTo(void) {
|
||||
test_ret++;
|
||||
printf(" %d", n_doc);
|
||||
printf(" %d", n_nodes);
|
||||
printf(" %d", n_exclusive);
|
||||
printf(" %d", n_mode);
|
||||
printf(" %d", n_inclusive_ns_prefixes);
|
||||
printf(" %d", n_with_comments);
|
||||
printf(" %d", n_buf);
|
||||
|
Loading…
x
Reference in New Issue
Block a user