1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-08-07 06:43:02 +03:00

added new function xmlSchemaValidCtxtGetParserCtxt based on Holger

* include/libxml/xmlschemas.h xmlschemas.c: added new function
  xmlSchemaValidCtxtGetParserCtxt based on Holger Kaelberer patch
* doc/apibuild.py doc/*: regenerated the doc, chased why the new
  function didn't got any documentation, added more checking in the
  generator
* include/libxml/relaxng.h include/libxml/schematron.h
  include/libxml/xmlschemas.h include/libxml/c14n.h
  include/libxml/xmlregexp.h include/libxml/globals.h
  include/libxml/xmlreader.h threads.c xmlschemas.c: various changes
  and cleanups following the new reports
Daniel

svn path=/trunk/; revision=3738
This commit is contained in:
Daniel Veillard
2008-04-11 12:58:43 +00:00
parent 33fe28885c
commit dee23485f6
30 changed files with 1519 additions and 1191 deletions

View File

@@ -1,3 +1,17 @@
Fri Apr 11 14:44:00 CEST 2008 Daniel Veillard <daniel@veillard.com>
* include/libxml/xmlschemas.h xmlschemas.c: added new function
xmlSchemaValidCtxtGetParserCtxt based on Holger Kaelberer patch
* doc/apibuild.py doc/*: regenerated the doc, chased why the new
function didn't got any documentation, added more checking in the
generator
* include/libxml/relaxng.h include/libxml/schematron.h
include/libxml/xmlschemas.h include/libxml/c14n.h
include/libxml/xmlregexp.h include/libxml/globals.h
include/libxml/xmlreader.h threads.c xmlschemas.c: various changes
and cleanups following the new reports
Thu Apr 10 10:07:00 CEST 2008 Daniel Veillard <daniel@veillard.com> Thu Apr 10 10:07:00 CEST 2008 Daniel Veillard <daniel@veillard.com>
* Makefile.am: extend the cleanup rule * Makefile.am: extend the cleanup rule

View File

@@ -447,6 +447,7 @@ A:link, A:visited, A:active { text-decoration: underline }
<a href="html/libxml-parser.html#xmlCreatePushParserCtxt">xmlCreatePushParserCtxt</a><br /> <a href="html/libxml-parser.html#xmlCreatePushParserCtxt">xmlCreatePushParserCtxt</a><br />
<a href="html/libxml-parserInternals.html#xmlCreateURLParserCtxt">xmlCreateURLParserCtxt</a><br /> <a href="html/libxml-parserInternals.html#xmlCreateURLParserCtxt">xmlCreateURLParserCtxt</a><br />
<a href="html/libxml-parser.html#xmlNewParserCtxt">xmlNewParserCtxt</a><br /> <a href="html/libxml-parser.html#xmlNewParserCtxt">xmlNewParserCtxt</a><br />
<a href="html/libxml-xmlschemas.html#xmlSchemaValidCtxtGetParserCtxt">xmlSchemaValidCtxtGetParserCtxt</a><br />
</p><h2>Type xmlParserErrors:</h2><p><a href="html/libxml-parser.html#xmlParseInNodeContext">xmlParseInNodeContext</a><br /> </p><h2>Type xmlParserErrors:</h2><p><a href="html/libxml-parser.html#xmlParseInNodeContext">xmlParseInNodeContext</a><br />
</p><h2>Type xmlParserInputBufferCreateFilenameFunc:</h2><p><a href="html/libxml-globals.html#xmlParserInputBufferCreateFilenameDefault">xmlParserInputBufferCreateFilenameDefault</a><br /> </p><h2>Type xmlParserInputBufferCreateFilenameFunc:</h2><p><a href="html/libxml-globals.html#xmlParserInputBufferCreateFilenameDefault">xmlParserInputBufferCreateFilenameDefault</a><br />
<a href="html/libxml-globals.html#xmlThrDefParserInputBufferCreateFilenameDefault">xmlThrDefParserInputBufferCreateFilenameDefault</a><br /> <a href="html/libxml-globals.html#xmlThrDefParserInputBufferCreateFilenameDefault">xmlThrDefParserInputBufferCreateFilenameDefault</a><br />

View File

@@ -2849,6 +2849,7 @@ A:link, A:visited, A:active { text-decoration: underline }
<a href="html/libxml-xmlschemas.html#xmlSchemaSetValidStructuredErrors">xmlSchemaSetValidStructuredErrors</a><br /> <a href="html/libxml-xmlschemas.html#xmlSchemaSetValidStructuredErrors">xmlSchemaSetValidStructuredErrors</a><br />
<a href="html/libxml-xmlschemas.html#xmlSchemaValidCtxt">xmlSchemaValidCtxt</a><br /> <a href="html/libxml-xmlschemas.html#xmlSchemaValidCtxt">xmlSchemaValidCtxt</a><br />
<a href="html/libxml-xmlschemas.html#xmlSchemaValidCtxtGetOptions">xmlSchemaValidCtxtGetOptions</a><br /> <a href="html/libxml-xmlschemas.html#xmlSchemaValidCtxtGetOptions">xmlSchemaValidCtxtGetOptions</a><br />
<a href="html/libxml-xmlschemas.html#xmlSchemaValidCtxtGetParserCtxt">xmlSchemaValidCtxtGetParserCtxt</a><br />
<a href="html/libxml-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a><br /> <a href="html/libxml-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a><br />
<a href="html/libxml-xmlschemas.html#xmlSchemaValidError">xmlSchemaValidError</a><br /> <a href="html/libxml-xmlschemas.html#xmlSchemaValidError">xmlSchemaValidError</a><br />
<a href="html/libxml-xmlschemas.html#xmlSchemaValidOption">xmlSchemaValidOption</a><br /> <a href="html/libxml-xmlschemas.html#xmlSchemaValidOption">xmlSchemaValidOption</a><br />

View File

@@ -1934,6 +1934,7 @@ A:link, A:visited, A:active { text-decoration: underline }
<a href="html/libxml-xmlschemas.html#xmlSchemaSetValidOptions">xmlSchemaSetValidOptions</a><br /> <a href="html/libxml-xmlschemas.html#xmlSchemaSetValidOptions">xmlSchemaSetValidOptions</a><br />
<a href="html/libxml-xmlschemas.html#xmlSchemaSetValidStructuredErrors">xmlSchemaSetValidStructuredErrors</a><br /> <a href="html/libxml-xmlschemas.html#xmlSchemaSetValidStructuredErrors">xmlSchemaSetValidStructuredErrors</a><br />
<a href="html/libxml-xmlschemas.html#xmlSchemaValidCtxtGetOptions">xmlSchemaValidCtxtGetOptions</a><br /> <a href="html/libxml-xmlschemas.html#xmlSchemaValidCtxtGetOptions">xmlSchemaValidCtxtGetOptions</a><br />
<a href="html/libxml-xmlschemas.html#xmlSchemaValidCtxtGetParserCtxt">xmlSchemaValidCtxtGetParserCtxt</a><br />
<a href="html/libxml-xmlschemas.html#xmlSchemaValidateDoc">xmlSchemaValidateDoc</a><br /> <a href="html/libxml-xmlschemas.html#xmlSchemaValidateDoc">xmlSchemaValidateDoc</a><br />
<a href="html/libxml-xmlschemas.html#xmlSchemaValidateFile">xmlSchemaValidateFile</a><br /> <a href="html/libxml-xmlschemas.html#xmlSchemaValidateFile">xmlSchemaValidateFile</a><br />
<a href="html/libxml-xmlschemas.html#xmlSchemaValidateOneElement">xmlSchemaValidateOneElement</a><br /> <a href="html/libxml-xmlschemas.html#xmlSchemaValidateOneElement">xmlSchemaValidateOneElement</a><br />

View File

@@ -2747,6 +2747,7 @@ A:link, A:visited, A:active { text-decoration: underline }
<a href="html/libxml-schemasInternals.html#xmlSchemaValType">xmlSchemaValType</a><br /> <a href="html/libxml-schemasInternals.html#xmlSchemaValType">xmlSchemaValType</a><br />
<a href="html/libxml-xmlschemas.html#xmlSchemaValidCtxt">xmlSchemaValidCtxt</a><br /> <a href="html/libxml-xmlschemas.html#xmlSchemaValidCtxt">xmlSchemaValidCtxt</a><br />
<a href="html/libxml-xmlschemas.html#xmlSchemaValidCtxtGetOptions">xmlSchemaValidCtxtGetOptions</a><br /> <a href="html/libxml-xmlschemas.html#xmlSchemaValidCtxtGetOptions">xmlSchemaValidCtxtGetOptions</a><br />
<a href="html/libxml-xmlschemas.html#xmlSchemaValidCtxtGetParserCtxt">xmlSchemaValidCtxtGetParserCtxt</a><br />
<a href="html/libxml-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a><br /> <a href="html/libxml-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a><br />
<a href="html/libxml-xmlschemas.html#xmlSchemaValidError">xmlSchemaValidError</a><br /> <a href="html/libxml-xmlschemas.html#xmlSchemaValidError">xmlSchemaValidError</a><br />
<a href="html/libxml-xmlschemas.html#xmlSchemaValidOption">xmlSchemaValidOption</a><br /> <a href="html/libxml-xmlschemas.html#xmlSchemaValidOption">xmlSchemaValidOption</a><br />

View File

@@ -898,7 +898,8 @@ class CParser:
# #
i = 0 i = 0
while i < nbargs: while i < nbargs:
if args[i][2] == None and args[i][0] != "void" and args[i][1] != None: if args[i][2] == None and args[i][0] != "void" and \
((args[i][1] != None) or (args[i][1] == '')):
self.warning("Function comment for %s lacks description of arg %s" % (name, args[i][1])) self.warning("Function comment for %s lacks description of arg %s" % (name, args[i][1]))
i = i + 1 i = i + 1
if retdesc == "" and ret[0] != "void": if retdesc == "" and ret[0] != "void":
@@ -906,7 +907,6 @@ class CParser:
if desc == "": if desc == "":
self.warning("Function comment for %s lacks description of the function" % (name)) self.warning("Function comment for %s lacks description of the function" % (name))
return(((ret[0], retdesc), args, desc)) return(((ret[0], retdesc), args, desc))
def parsePreproc(self, token): def parsePreproc(self, token):
@@ -1802,6 +1802,11 @@ class docBuilder:
output.write(" <cond>%s</cond>\n"% (apstr)); output.write(" <cond>%s</cond>\n"% (apstr));
try: try:
(ret, params, desc) = id.info (ret, params, desc) = id.info
if (desc == None or desc == '') and \
name[0:9] != "xmlThrDef" and name != "xmlDllMain":
print "%s %s from %s has no description" % (id.type, name,
self.modulename_file(id.module))
output.write(" <info>%s</info>\n" % (escape(desc))) output.write(" <info>%s</info>\n" % (escape(desc)))
self.indexString(name, desc) self.indexString(name, desc)
if ret[0] != None: if ret[0] != None:

View File

@@ -57,8 +57,8 @@ int <a href="#xmlC14NDocDumpMemory">xmlC14NDocDumpMemory</a> (<a href="libxml2-
<h2>Details</h2> <h2>Details</h2>
<div class="refsect2" lang="en"> <div class="refsect2" lang="en">
<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/> <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/> </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/></tr><tr><td><span class="term"><i><tt>node</tt></i>:</span></td><td/></tr><tr><td><span class="term"><i><tt>parent</tt></i>:</span></td><td/></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td/></tr></tbody></table></div></div> <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/> <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 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/>
</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> </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>

View File

@@ -125,20 +125,20 @@ const char * <a href="#xmlThrDefTreeIndentString">xmlThrDefTreeIndentString</a>
</div> </div>
<hr/> <hr/>
<div class="refsect2" lang="en"><h3><a name="xmlDeregisterNodeFunc"/>Function type xmlDeregisterNodeFunc</h3><pre class="programlisting">void xmlDeregisterNodeFunc (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node)<br/> <div class="refsect2" lang="en"><h3><a name="xmlDeregisterNodeFunc"/>Function type xmlDeregisterNodeFunc</h3><pre class="programlisting">void xmlDeregisterNodeFunc (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node)<br/>
</pre><p/> </pre><p>Signature for the deregistration callback of a discarded node</p>
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>node</tt></i>:</span></td><td/></tr></tbody></table></div></div> <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>node</tt></i>:</span></td><td>the current node</td></tr></tbody></table></div></div>
<hr/> <hr/>
<div class="refsect2" lang="en"><h3><a name="xmlOutputBufferCreateFilenameFunc"/>Function type xmlOutputBufferCreateFilenameFunc</h3><pre class="programlisting"><a href="libxml2-tree.html#xmlOutputBufferPtr">xmlOutputBufferPtr</a> xmlOutputBufferCreateFilenameFunc (const char * URI, <br/> <a href="libxml2-encoding.html#xmlCharEncodingHandlerPtr">xmlCharEncodingHandlerPtr</a> encoder, <br/> int compression)<br/> <div class="refsect2" lang="en"><h3><a name="xmlOutputBufferCreateFilenameFunc"/>Function type xmlOutputBufferCreateFilenameFunc</h3><pre class="programlisting"><a href="libxml2-tree.html#xmlOutputBufferPtr">xmlOutputBufferPtr</a> xmlOutputBufferCreateFilenameFunc (const char * URI, <br/> <a href="libxml2-encoding.html#xmlCharEncodingHandlerPtr">xmlCharEncodingHandlerPtr</a> encoder, <br/> int compression)<br/>
</pre><p/> </pre><p>Signature for the function doing the lookup for a suitable output method corresponding to an URI.</p>
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>URI</tt></i>:</span></td><td/></tr><tr><td><span class="term"><i><tt>encoder</tt></i>:</span></td><td/></tr><tr><td><span class="term"><i><tt>compression</tt></i>:</span></td><td/></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td/></tr></tbody></table></div></div> <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>URI</tt></i>:</span></td><td>the URI to write to</td></tr><tr><td><span class="term"><i><tt>encoder</tt></i>:</span></td><td/></tr><tr><td><span class="term"><i><tt>compression</tt></i>:</span></td><td/></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the new <a href="libxml2-tree.html#xmlOutputBufferPtr">xmlOutputBufferPtr</a> in case of success or NULL if no method was found.</td></tr></tbody></table></div></div>
<hr/> <hr/>
<div class="refsect2" lang="en"><h3><a name="xmlParserInputBufferCreateFilenameFunc"/>Function type xmlParserInputBufferCreateFilenameFunc</h3><pre class="programlisting"><a href="libxml2-tree.html#xmlParserInputBufferPtr">xmlParserInputBufferPtr</a> xmlParserInputBufferCreateFilenameFunc (const char * URI, <br/> <a href="libxml2-encoding.html#xmlCharEncoding">xmlCharEncoding</a> enc)<br/> <div class="refsect2" lang="en"><h3><a name="xmlParserInputBufferCreateFilenameFunc"/>Function type xmlParserInputBufferCreateFilenameFunc</h3><pre class="programlisting"><a href="libxml2-tree.html#xmlParserInputBufferPtr">xmlParserInputBufferPtr</a> xmlParserInputBufferCreateFilenameFunc (const char * URI, <br/> <a href="libxml2-encoding.html#xmlCharEncoding">xmlCharEncoding</a> enc)<br/>
</pre><p/> </pre><p>Signature for the function doing the lookup for a suitable input method corresponding to an URI.</p>
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>URI</tt></i>:</span></td><td/></tr><tr><td><span class="term"><i><tt>enc</tt></i>:</span></td><td/></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td/></tr></tbody></table></div></div> <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>URI</tt></i>:</span></td><td>the URI to read from</td></tr><tr><td><span class="term"><i><tt>enc</tt></i>:</span></td><td>the requested source encoding</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the new <a href="libxml2-tree.html#xmlParserInputBufferPtr">xmlParserInputBufferPtr</a> in case of success or NULL if no method was found.</td></tr></tbody></table></div></div>
<hr/> <hr/>
<div class="refsect2" lang="en"><h3><a name="xmlRegisterNodeFunc"/>Function type xmlRegisterNodeFunc</h3><pre class="programlisting">void xmlRegisterNodeFunc (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node)<br/> <div class="refsect2" lang="en"><h3><a name="xmlRegisterNodeFunc"/>Function type xmlRegisterNodeFunc</h3><pre class="programlisting">void xmlRegisterNodeFunc (<a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node)<br/>
</pre><p/> </pre><p>Signature for the registration callback of a created node</p>
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>node</tt></i>:</span></td><td/></tr></tbody></table></div></div> <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>node</tt></i>:</span></td><td>the current node</td></tr></tbody></table></div></div>
<hr/> <hr/>
<div class="refsect2" lang="en"><h3><a name="docbDefaultSAXHandler">Variable </a>docbDefaultSAXHandler</h3><pre class="programlisting"><a href="libxml2-parser.html#xmlSAXHandlerV1">xmlSAXHandlerV1</a> docbDefaultSAXHandler; <div class="refsect2" lang="en"><h3><a name="docbDefaultSAXHandler">Variable </a>docbDefaultSAXHandler</h3><pre class="programlisting"><a href="libxml2-parser.html#xmlSAXHandlerV1">xmlSAXHandlerV1</a> docbDefaultSAXHandler;
</pre><p/> </pre><p/>

View File

@@ -169,12 +169,12 @@ The content of this structure is not made public by the API.
</div> </div>
<hr/> <hr/>
<div class="refsect2" lang="en"><h3><a name="xmlRelaxNGValidityErrorFunc"/>Function type xmlRelaxNGValidityErrorFunc</h3><pre class="programlisting">void xmlRelaxNGValidityErrorFunc (void * ctx, <br/> const char * msg, <br/> ... ...)<br/> <div class="refsect2" lang="en"><h3><a name="xmlRelaxNGValidityErrorFunc"/>Function type xmlRelaxNGValidityErrorFunc</h3><pre class="programlisting">void xmlRelaxNGValidityErrorFunc (void * ctx, <br/> const char * msg, <br/> ... ...)<br/>
</pre><p/> </pre><p>Signature of an error callback from a Relax-NG validation</p>
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctx</tt></i>:</span></td><td/></tr><tr><td><span class="term"><i><tt>msg</tt></i>:</span></td><td/></tr><tr><td><span class="term"><i><tt>...</tt></i>:</span></td><td/></tr></tbody></table></div></div> <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctx</tt></i>:</span></td><td>the validation context</td></tr><tr><td><span class="term"><i><tt>msg</tt></i>:</span></td><td>the message</td></tr><tr><td><span class="term"><i><tt>...</tt></i>:</span></td><td>extra arguments</td></tr></tbody></table></div></div>
<hr/> <hr/>
<div class="refsect2" lang="en"><h3><a name="xmlRelaxNGValidityWarningFunc"/>Function type xmlRelaxNGValidityWarningFunc</h3><pre class="programlisting">void xmlRelaxNGValidityWarningFunc (void * ctx, <br/> const char * msg, <br/> ... ...)<br/> <div class="refsect2" lang="en"><h3><a name="xmlRelaxNGValidityWarningFunc"/>Function type xmlRelaxNGValidityWarningFunc</h3><pre class="programlisting">void xmlRelaxNGValidityWarningFunc (void * ctx, <br/> const char * msg, <br/> ... ...)<br/>
</pre><p/> </pre><p>Signature of a warning callback from a Relax-NG validation</p>
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctx</tt></i>:</span></td><td/></tr><tr><td><span class="term"><i><tt>msg</tt></i>:</span></td><td/></tr><tr><td><span class="term"><i><tt>...</tt></i>:</span></td><td/></tr></tbody></table></div></div> <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctx</tt></i>:</span></td><td>the validation context</td></tr><tr><td><span class="term"><i><tt>msg</tt></i>:</span></td><td>the message</td></tr><tr><td><span class="term"><i><tt>...</tt></i>:</span></td><td>extra arguments</td></tr></tbody></table></div></div>
<hr/> <hr/>
<div class="refsect2" lang="en"><h3><a name="xmlRelaxNGCleanupTypes"/>xmlRelaxNGCleanupTypes ()</h3><pre class="programlisting">void xmlRelaxNGCleanupTypes (void)<br/> <div class="refsect2" lang="en"><h3><a name="xmlRelaxNGCleanupTypes"/>xmlRelaxNGCleanupTypes ()</h3><pre class="programlisting">void xmlRelaxNGCleanupTypes (void)<br/>
</pre><p>Cleanup the default Schemas type library associated to RelaxNG</p> </pre><p>Cleanup the default Schemas type library associated to RelaxNG</p>

View File

@@ -113,12 +113,12 @@ The content of this structure is not made public by the API.
</div> </div>
<hr/> <hr/>
<div class="refsect2" lang="en"><h3><a name="xmlSchematronValidityErrorFunc"/>Function type xmlSchematronValidityErrorFunc</h3><pre class="programlisting">void xmlSchematronValidityErrorFunc (void * ctx, <br/> const char * msg, <br/> ... ...)<br/> <div class="refsect2" lang="en"><h3><a name="xmlSchematronValidityErrorFunc"/>Function type xmlSchematronValidityErrorFunc</h3><pre class="programlisting">void xmlSchematronValidityErrorFunc (void * ctx, <br/> const char * msg, <br/> ... ...)<br/>
</pre><p/> </pre><p>Signature of an error callback from a Schematron validation</p>
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctx</tt></i>:</span></td><td/></tr><tr><td><span class="term"><i><tt>msg</tt></i>:</span></td><td/></tr><tr><td><span class="term"><i><tt>...</tt></i>:</span></td><td/></tr></tbody></table></div></div> <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctx</tt></i>:</span></td><td>the validation context</td></tr><tr><td><span class="term"><i><tt>msg</tt></i>:</span></td><td>the message</td></tr><tr><td><span class="term"><i><tt>...</tt></i>:</span></td><td>extra arguments</td></tr></tbody></table></div></div>
<hr/> <hr/>
<div class="refsect2" lang="en"><h3><a name="xmlSchematronValidityWarningFunc"/>Function type xmlSchematronValidityWarningFunc</h3><pre class="programlisting">void xmlSchematronValidityWarningFunc (void * ctx, <br/> const char * msg, <br/> ... ...)<br/> <div class="refsect2" lang="en"><h3><a name="xmlSchematronValidityWarningFunc"/>Function type xmlSchematronValidityWarningFunc</h3><pre class="programlisting">void xmlSchematronValidityWarningFunc (void * ctx, <br/> const char * msg, <br/> ... ...)<br/>
</pre><p/> </pre><p>Signature of a warning callback from a Schematron validation</p>
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctx</tt></i>:</span></td><td/></tr><tr><td><span class="term"><i><tt>msg</tt></i>:</span></td><td/></tr><tr><td><span class="term"><i><tt>...</tt></i>:</span></td><td/></tr></tbody></table></div></div> <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctx</tt></i>:</span></td><td>the validation context</td></tr><tr><td><span class="term"><i><tt>msg</tt></i>:</span></td><td>the message</td></tr><tr><td><span class="term"><i><tt>...</tt></i>:</span></td><td>extra arguments</td></tr></tbody></table></div></div>
<hr/> <hr/>
<div class="refsect2" lang="en"><h3><a name="xmlSchematronFree"/>xmlSchematronFree ()</h3><pre class="programlisting">void xmlSchematronFree (<a href="libxml2-schematron.html#xmlSchematronPtr">xmlSchematronPtr</a> schema)<br/> <div class="refsect2" lang="en"><h3><a name="xmlSchematronFree"/>xmlSchematronFree ()</h3><pre class="programlisting">void xmlSchematronFree (<a href="libxml2-schematron.html#xmlSchematronPtr">xmlSchematronPtr</a> schema)<br/>
</pre><p>Deallocate a Schematron structure.</p> </pre><p>Deallocate a Schematron structure.</p>

View File

@@ -211,8 +211,8 @@ The content of this structure is not made public by the API.
</div> </div>
<hr/> <hr/>
<div class="refsect2" lang="en"><h3><a name="xmlTextReaderErrorFunc"/>Function type xmlTextReaderErrorFunc</h3><pre class="programlisting">void xmlTextReaderErrorFunc (void * arg, <br/> const char * msg, <br/> <a href="libxml2-xmlreader.html#xmlParserSeverities">xmlParserSeverities</a> severity, <br/> <a href="libxml2-xmlreader.html#xmlTextReaderLocatorPtr">xmlTextReaderLocatorPtr</a> locator)<br/> <div class="refsect2" lang="en"><h3><a name="xmlTextReaderErrorFunc"/>Function type xmlTextReaderErrorFunc</h3><pre class="programlisting">void xmlTextReaderErrorFunc (void * arg, <br/> const char * msg, <br/> <a href="libxml2-xmlreader.html#xmlParserSeverities">xmlParserSeverities</a> severity, <br/> <a href="libxml2-xmlreader.html#xmlTextReaderLocatorPtr">xmlTextReaderLocatorPtr</a> locator)<br/>
</pre><p/> </pre><p>Signature of an error callback from a reader parser</p>
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>arg</tt></i>:</span></td><td/></tr><tr><td><span class="term"><i><tt>msg</tt></i>:</span></td><td/></tr><tr><td><span class="term"><i><tt>severity</tt></i>:</span></td><td/></tr><tr><td><span class="term"><i><tt>locator</tt></i>:</span></td><td/></tr></tbody></table></div></div> <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>arg</tt></i>:</span></td><td>the user argument</td></tr><tr><td><span class="term"><i><tt>msg</tt></i>:</span></td><td>the message</td></tr><tr><td><span class="term"><i><tt>severity</tt></i>:</span></td><td>the severity of the error</td></tr><tr><td><span class="term"><i><tt>locator</tt></i>:</span></td><td>a locator indicating where the error occured</td></tr></tbody></table></div></div>
<hr/> <hr/>
<div class="refsect2" lang="en"><h3><a name="xmlFreeTextReader"/>xmlFreeTextReader ()</h3><pre class="programlisting">void xmlFreeTextReader (<a href="libxml2-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> reader)<br/> <div class="refsect2" lang="en"><h3><a name="xmlFreeTextReader"/>xmlFreeTextReader ()</h3><pre class="programlisting">void xmlFreeTextReader (<a href="libxml2-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> reader)<br/>
</pre><p>Deallocate all the resources associated to the reader</p> </pre><p>Deallocate all the resources associated to the reader</p>

View File

@@ -143,8 +143,8 @@ The content of this structure is not made public by the API.
</div> </div>
<hr/> <hr/>
<div class="refsect2" lang="en"><h3><a name="xmlRegExecCallbacks"/>Function type xmlRegExecCallbacks</h3><pre class="programlisting">void xmlRegExecCallbacks (<a href="libxml2-xmlregexp.html#xmlRegExecCtxtPtr">xmlRegExecCtxtPtr</a> exec, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * token, <br/> void * transdata, <br/> void * inputdata)<br/> <div class="refsect2" lang="en"><h3><a name="xmlRegExecCallbacks"/>Function type xmlRegExecCallbacks</h3><pre class="programlisting">void xmlRegExecCallbacks (<a href="libxml2-xmlregexp.html#xmlRegExecCtxtPtr">xmlRegExecCtxtPtr</a> exec, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * token, <br/> void * transdata, <br/> void * inputdata)<br/>
</pre><p/> </pre><p>Callback function when doing a transition in the automata</p>
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>exec</tt></i>:</span></td><td/></tr><tr><td><span class="term"><i><tt>token</tt></i>:</span></td><td/></tr><tr><td><span class="term"><i><tt>transdata</tt></i>:</span></td><td/></tr><tr><td><span class="term"><i><tt>inputdata</tt></i>:</span></td><td/></tr></tbody></table></div></div> <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>exec</tt></i>:</span></td><td>the regular expression context</td></tr><tr><td><span class="term"><i><tt>token</tt></i>:</span></td><td>the current token string</td></tr><tr><td><span class="term"><i><tt>transdata</tt></i>:</span></td><td>transition data</td></tr><tr><td><span class="term"><i><tt>inputdata</tt></i>:</span></td><td>input data</td></tr></tbody></table></div></div>
<hr/> <hr/>
<div class="refsect2" lang="en"><h3><a name="emptyExp">Variable </a>emptyExp</h3><pre class="programlisting"><a href="libxml2-xmlregexp.html#xmlExpNodePtr">xmlExpNodePtr</a> emptyExp; <div class="refsect2" lang="en"><h3><a name="emptyExp">Variable </a>emptyExp</h3><pre class="programlisting"><a href="libxml2-xmlregexp.html#xmlExpNodePtr">xmlExpNodePtr</a> emptyExp;
</pre><p/> </pre><p/>

View File

@@ -68,7 +68,7 @@ void <a href="#xmlSchemaSetValidStructuredErrors">xmlSchemaSetValidStructuredErr
void <a href="#xmlSchemaSetValidErrors">xmlSchemaSetValidErrors</a> (<a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt, <br/> <a href="libxml2-xmlschemas.html#xmlSchemaValidityErrorFunc">xmlSchemaValidityErrorFunc</a> err, <br/> <a href="libxml2-xmlschemas.html#xmlSchemaValidityWarningFunc">xmlSchemaValidityWarningFunc</a> warn, <br/> void * ctx); void <a href="#xmlSchemaSetValidErrors">xmlSchemaSetValidErrors</a> (<a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt, <br/> <a href="libxml2-xmlschemas.html#xmlSchemaValidityErrorFunc">xmlSchemaValidityErrorFunc</a> err, <br/> <a href="libxml2-xmlschemas.html#xmlSchemaValidityWarningFunc">xmlSchemaValidityWarningFunc</a> warn, <br/> void * ctx);
int <a href="#xmlSchemaValidCtxtGetOptions">xmlSchemaValidCtxtGetOptions</a> (<a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt); int <a href="#xmlSchemaValidCtxtGetOptions">xmlSchemaValidCtxtGetOptions</a> (<a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt);
int <a href="#xmlSchemaValidateFile">xmlSchemaValidateFile</a> (<a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt, <br/> const char * filename, <br/> int options); int <a href="#xmlSchemaValidateFile">xmlSchemaValidateFile</a> (<a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt, <br/> const char * filename, <br/> int options);
int <a href="#xmlSchemaValidateDoc">xmlSchemaValidateDoc</a> (<a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt, <br/> <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> instance); int <a href="#xmlSchemaValidateDoc">xmlSchemaValidateDoc</a> (<a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt, <br/> <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc);
void <a href="#xmlSchemaFree">xmlSchemaFree</a> (<a href="libxml2-xmlschemas.html#xmlSchemaPtr">xmlSchemaPtr</a> schema); void <a href="#xmlSchemaFree">xmlSchemaFree</a> (<a href="libxml2-xmlschemas.html#xmlSchemaPtr">xmlSchemaPtr</a> schema);
<a href="libxml2-xmlschemas.html#xmlSchemaParserCtxtPtr">xmlSchemaParserCtxtPtr</a> <a href="#xmlSchemaNewMemParserCtxt">xmlSchemaNewMemParserCtxt</a> (const char * buffer, <br/> int size); <a href="libxml2-xmlschemas.html#xmlSchemaParserCtxtPtr">xmlSchemaParserCtxtPtr</a> <a href="#xmlSchemaNewMemParserCtxt">xmlSchemaNewMemParserCtxt</a> (const char * buffer, <br/> int size);
int <a href="#xmlSchemaGetValidErrors">xmlSchemaGetValidErrors</a> (<a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt, <br/> <a href="libxml2-xmlschemas.html#xmlSchemaValidityErrorFunc">xmlSchemaValidityErrorFunc</a> * err, <br/> <a href="libxml2-xmlschemas.html#xmlSchemaValidityWarningFunc">xmlSchemaValidityWarningFunc</a> * warn, <br/> void ** ctx); int <a href="#xmlSchemaGetValidErrors">xmlSchemaGetValidErrors</a> (<a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt, <br/> <a href="libxml2-xmlschemas.html#xmlSchemaValidityErrorFunc">xmlSchemaValidityErrorFunc</a> * err, <br/> <a href="libxml2-xmlschemas.html#xmlSchemaValidityWarningFunc">xmlSchemaValidityWarningFunc</a> * warn, <br/> void ** ctx);
@@ -77,6 +77,7 @@ void <a href="#xmlSchemaSetParserErrors">xmlSchemaSetParserErrors</a> (<a href="
typedef void <a href="#xmlSchemaValidityWarningFunc">xmlSchemaValidityWarningFunc</a> (void * ctx, <br/> const char * msg, <br/> ... ...); typedef void <a href="#xmlSchemaValidityWarningFunc">xmlSchemaValidityWarningFunc</a> (void * ctx, <br/> const char * msg, <br/> ... ...);
void <a href="#xmlSchemaDump">xmlSchemaDump</a> (FILE * output, <br/> <a href="libxml2-xmlschemas.html#xmlSchemaPtr">xmlSchemaPtr</a> schema); void <a href="#xmlSchemaDump">xmlSchemaDump</a> (FILE * output, <br/> <a href="libxml2-xmlschemas.html#xmlSchemaPtr">xmlSchemaPtr</a> schema);
void <a href="#xmlSchemaFreeValidCtxt">xmlSchemaFreeValidCtxt</a> (<a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt); void <a href="#xmlSchemaFreeValidCtxt">xmlSchemaFreeValidCtxt</a> (<a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt);
<a href="libxml2-tree.html#xmlParserCtxtPtr">xmlParserCtxtPtr</a> <a href="#xmlSchemaValidCtxtGetParserCtxt">xmlSchemaValidCtxtGetParserCtxt</a> (<a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt);
void <a href="#xmlSchemaSetParserStructuredErrors">xmlSchemaSetParserStructuredErrors</a> (<a href="libxml2-xmlschemas.html#xmlSchemaParserCtxtPtr">xmlSchemaParserCtxtPtr</a> ctxt, <br/> <a href="libxml2-xmlerror.html#xmlStructuredErrorFunc">xmlStructuredErrorFunc</a> serror, <br/> void * ctx); void <a href="#xmlSchemaSetParserStructuredErrors">xmlSchemaSetParserStructuredErrors</a> (<a href="libxml2-xmlschemas.html#xmlSchemaParserCtxtPtr">xmlSchemaParserCtxtPtr</a> ctxt, <br/> <a href="libxml2-xmlerror.html#xmlStructuredErrorFunc">xmlStructuredErrorFunc</a> serror, <br/> void * ctx);
<a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> <a href="#xmlSchemaNewValidCtxt">xmlSchemaNewValidCtxt</a> (<a href="libxml2-xmlschemas.html#xmlSchemaPtr">xmlSchemaPtr</a> schema); <a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> <a href="#xmlSchemaNewValidCtxt">xmlSchemaNewValidCtxt</a> (<a href="libxml2-xmlschemas.html#xmlSchemaPtr">xmlSchemaPtr</a> schema);
</pre> </pre>
@@ -185,12 +186,12 @@ The content of this structure is not made public by the API.
</div> </div>
<hr/> <hr/>
<div class="refsect2" lang="en"><h3><a name="xmlSchemaValidityErrorFunc"/>Function type xmlSchemaValidityErrorFunc</h3><pre class="programlisting">void xmlSchemaValidityErrorFunc (void * ctx, <br/> const char * msg, <br/> ... ...)<br/> <div class="refsect2" lang="en"><h3><a name="xmlSchemaValidityErrorFunc"/>Function type xmlSchemaValidityErrorFunc</h3><pre class="programlisting">void xmlSchemaValidityErrorFunc (void * ctx, <br/> const char * msg, <br/> ... ...)<br/>
</pre><p/> </pre><p>Signature of an error callback from an XSD validation</p>
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctx</tt></i>:</span></td><td/></tr><tr><td><span class="term"><i><tt>msg</tt></i>:</span></td><td/></tr><tr><td><span class="term"><i><tt>...</tt></i>:</span></td><td/></tr></tbody></table></div></div> <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctx</tt></i>:</span></td><td>the validation context</td></tr><tr><td><span class="term"><i><tt>msg</tt></i>:</span></td><td>the message</td></tr><tr><td><span class="term"><i><tt>...</tt></i>:</span></td><td>extra arguments</td></tr></tbody></table></div></div>
<hr/> <hr/>
<div class="refsect2" lang="en"><h3><a name="xmlSchemaValidityWarningFunc"/>Function type xmlSchemaValidityWarningFunc</h3><pre class="programlisting">void xmlSchemaValidityWarningFunc (void * ctx, <br/> const char * msg, <br/> ... ...)<br/> <div class="refsect2" lang="en"><h3><a name="xmlSchemaValidityWarningFunc"/>Function type xmlSchemaValidityWarningFunc</h3><pre class="programlisting">void xmlSchemaValidityWarningFunc (void * ctx, <br/> const char * msg, <br/> ... ...)<br/>
</pre><p/> </pre><p>Signature of a warning callback from an XSD validation</p>
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctx</tt></i>:</span></td><td/></tr><tr><td><span class="term"><i><tt>msg</tt></i>:</span></td><td/></tr><tr><td><span class="term"><i><tt>...</tt></i>:</span></td><td/></tr></tbody></table></div></div> <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctx</tt></i>:</span></td><td>the validation context</td></tr><tr><td><span class="term"><i><tt>msg</tt></i>:</span></td><td>the message</td></tr><tr><td><span class="term"><i><tt>...</tt></i>:</span></td><td>extra arguments</td></tr></tbody></table></div></div>
<hr/> <hr/>
<div class="refsect2" lang="en"><h3><a name="xmlSchemaDump"/>xmlSchemaDump ()</h3><pre class="programlisting">void xmlSchemaDump (FILE * output, <br/> <a href="libxml2-xmlschemas.html#xmlSchemaPtr">xmlSchemaPtr</a> schema)<br/> <div class="refsect2" lang="en"><h3><a name="xmlSchemaDump"/>xmlSchemaDump ()</h3><pre class="programlisting">void xmlSchemaDump (FILE * output, <br/> <a href="libxml2-xmlschemas.html#xmlSchemaPtr">xmlSchemaPtr</a> schema)<br/>
</pre><p>Dump a Schema structure.</p> </pre><p>Dump a Schema structure.</p>
@@ -205,20 +206,20 @@ The content of this structure is not made public by the API.
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>the schema parser context</td></tr></tbody></table></div></div> <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>the schema parser context</td></tr></tbody></table></div></div>
<hr/> <hr/>
<div class="refsect2" lang="en"><h3><a name="xmlSchemaFreeValidCtxt"/>xmlSchemaFreeValidCtxt ()</h3><pre class="programlisting">void xmlSchemaFreeValidCtxt (<a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt)<br/> <div class="refsect2" lang="en"><h3><a name="xmlSchemaFreeValidCtxt"/>xmlSchemaFreeValidCtxt ()</h3><pre class="programlisting">void xmlSchemaFreeValidCtxt (<a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt)<br/>
</pre><p/> </pre><p>Free the resources associated to the schema validation context</p>
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td/></tr></tbody></table></div></div> <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>the schema validation context</td></tr></tbody></table></div></div>
<hr/> <hr/>
<div class="refsect2" lang="en"><h3><a name="xmlSchemaGetParserErrors"/>xmlSchemaGetParserErrors ()</h3><pre class="programlisting">int xmlSchemaGetParserErrors (<a href="libxml2-xmlschemas.html#xmlSchemaParserCtxtPtr">xmlSchemaParserCtxtPtr</a> ctxt, <br/> <a href="libxml2-xmlschemas.html#xmlSchemaValidityErrorFunc">xmlSchemaValidityErrorFunc</a> * err, <br/> <a href="libxml2-xmlschemas.html#xmlSchemaValidityWarningFunc">xmlSchemaValidityWarningFunc</a> * warn, <br/> void ** ctx)<br/> <div class="refsect2" lang="en"><h3><a name="xmlSchemaGetParserErrors"/>xmlSchemaGetParserErrors ()</h3><pre class="programlisting">int xmlSchemaGetParserErrors (<a href="libxml2-xmlschemas.html#xmlSchemaParserCtxtPtr">xmlSchemaParserCtxtPtr</a> ctxt, <br/> <a href="libxml2-xmlschemas.html#xmlSchemaValidityErrorFunc">xmlSchemaValidityErrorFunc</a> * err, <br/> <a href="libxml2-xmlschemas.html#xmlSchemaValidityWarningFunc">xmlSchemaValidityWarningFunc</a> * warn, <br/> void ** ctx)<br/>
</pre><p>Get the callback information used to handle errors for a parser context</p> </pre><p>Get the callback information used to handle errors for a parser context</p>
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>a XMl-Schema parser context</td></tr><tr><td><span class="term"><i><tt>err</tt></i>:</span></td><td>the error callback result</td></tr><tr><td><span class="term"><i><tt>warn</tt></i>:</span></td><td>the warning callback result</td></tr><tr><td><span class="term"><i><tt>ctx</tt></i>:</span></td><td>contextual data for the callbacks result</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>-1 in case of failure, 0 otherwise</td></tr></tbody></table></div></div> <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>a XMl-Schema parser context</td></tr><tr><td><span class="term"><i><tt>err</tt></i>:</span></td><td>the error callback result</td></tr><tr><td><span class="term"><i><tt>warn</tt></i>:</span></td><td>the warning callback result</td></tr><tr><td><span class="term"><i><tt>ctx</tt></i>:</span></td><td>contextual data for the callbacks result</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>-1 in case of failure, 0 otherwise</td></tr></tbody></table></div></div>
<hr/> <hr/>
<div class="refsect2" lang="en"><h3><a name="xmlSchemaGetValidErrors"/>xmlSchemaGetValidErrors ()</h3><pre class="programlisting">int xmlSchemaGetValidErrors (<a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt, <br/> <a href="libxml2-xmlschemas.html#xmlSchemaValidityErrorFunc">xmlSchemaValidityErrorFunc</a> * err, <br/> <a href="libxml2-xmlschemas.html#xmlSchemaValidityWarningFunc">xmlSchemaValidityWarningFunc</a> * warn, <br/> void ** ctx)<br/> <div class="refsect2" lang="en"><h3><a name="xmlSchemaGetValidErrors"/>xmlSchemaGetValidErrors ()</h3><pre class="programlisting">int xmlSchemaGetValidErrors (<a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt, <br/> <a href="libxml2-xmlschemas.html#xmlSchemaValidityErrorFunc">xmlSchemaValidityErrorFunc</a> * err, <br/> <a href="libxml2-xmlschemas.html#xmlSchemaValidityWarningFunc">xmlSchemaValidityWarningFunc</a> * warn, <br/> void ** ctx)<br/>
</pre><p/> </pre><p>Get the error and warning callback informations</p>
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td/></tr><tr><td><span class="term"><i><tt>err</tt></i>:</span></td><td/></tr><tr><td><span class="term"><i><tt>warn</tt></i>:</span></td><td/></tr><tr><td><span class="term"><i><tt>ctx</tt></i>:</span></td><td/></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td/></tr></tbody></table></div></div> <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>a XML-Schema validation context</td></tr><tr><td><span class="term"><i><tt>err</tt></i>:</span></td><td>the error function result</td></tr><tr><td><span class="term"><i><tt>warn</tt></i>:</span></td><td>the warning function result</td></tr><tr><td><span class="term"><i><tt>ctx</tt></i>:</span></td><td>the functions context result</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>-1 in case of error and 0 otherwise</td></tr></tbody></table></div></div>
<hr/> <hr/>
<div class="refsect2" lang="en"><h3><a name="xmlSchemaIsValid"/>xmlSchemaIsValid ()</h3><pre class="programlisting">int xmlSchemaIsValid (<a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt)<br/> <div class="refsect2" lang="en"><h3><a name="xmlSchemaIsValid"/>xmlSchemaIsValid ()</h3><pre class="programlisting">int xmlSchemaIsValid (<a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt)<br/>
</pre><p/> </pre><p>Check if any error was detected during validation.</p>
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td/></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td/></tr></tbody></table></div></div> <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>the schema validation context</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>1 if valid so far, 0 if errors were detected, and -1 in case of internal error.</td></tr></tbody></table></div></div>
<hr/> <hr/>
<div class="refsect2" lang="en"><h3><a name="xmlSchemaNewDocParserCtxt"/>xmlSchemaNewDocParserCtxt ()</h3><pre class="programlisting"><a href="libxml2-xmlschemas.html#xmlSchemaParserCtxtPtr">xmlSchemaParserCtxtPtr</a> xmlSchemaNewDocParserCtxt (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc)<br/> <div class="refsect2" lang="en"><h3><a name="xmlSchemaNewDocParserCtxt"/>xmlSchemaNewDocParserCtxt ()</h3><pre class="programlisting"><a href="libxml2-xmlschemas.html#xmlSchemaParserCtxtPtr">xmlSchemaParserCtxtPtr</a> xmlSchemaNewDocParserCtxt (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc)<br/>
</pre><p>Create an XML Schemas parse context for that document. NB. The document may be modified during the parsing process.</p> </pre><p>Create an XML Schemas parse context for that document. NB. The document may be modified during the parsing process.</p>
@@ -233,20 +234,20 @@ The content of this structure is not made public by the API.
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>URL</tt></i>:</span></td><td>the location of the schema</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the parser context or NULL in case of error</td></tr></tbody></table></div></div> <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>URL</tt></i>:</span></td><td>the location of the schema</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the parser context or NULL in case of error</td></tr></tbody></table></div></div>
<hr/> <hr/>
<div class="refsect2" lang="en"><h3><a name="xmlSchemaNewValidCtxt"/>xmlSchemaNewValidCtxt ()</h3><pre class="programlisting"><a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> xmlSchemaNewValidCtxt (<a href="libxml2-xmlschemas.html#xmlSchemaPtr">xmlSchemaPtr</a> schema)<br/> <div class="refsect2" lang="en"><h3><a name="xmlSchemaNewValidCtxt"/>xmlSchemaNewValidCtxt ()</h3><pre class="programlisting"><a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> xmlSchemaNewValidCtxt (<a href="libxml2-xmlschemas.html#xmlSchemaPtr">xmlSchemaPtr</a> schema)<br/>
</pre><p/> </pre><p>Create an XML Schemas validation context based on the given schema.</p>
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>schema</tt></i>:</span></td><td/></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td/></tr></tbody></table></div></div> <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>schema</tt></i>:</span></td><td>a precompiled XML Schemas</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the validation context or NULL in case of error</td></tr></tbody></table></div></div>
<hr/> <hr/>
<div class="refsect2" lang="en"><h3><a name="xmlSchemaParse"/>xmlSchemaParse ()</h3><pre class="programlisting"><a href="libxml2-xmlschemas.html#xmlSchemaPtr">xmlSchemaPtr</a> xmlSchemaParse (<a href="libxml2-xmlschemas.html#xmlSchemaParserCtxtPtr">xmlSchemaParserCtxtPtr</a> ctxt)<br/> <div class="refsect2" lang="en"><h3><a name="xmlSchemaParse"/>xmlSchemaParse ()</h3><pre class="programlisting"><a href="libxml2-xmlschemas.html#xmlSchemaPtr">xmlSchemaPtr</a> xmlSchemaParse (<a href="libxml2-xmlschemas.html#xmlSchemaParserCtxtPtr">xmlSchemaParserCtxtPtr</a> ctxt)<br/>
</pre><p>parse a schema definition resource and build an internal XML Shema struture which can be used to validate instances.</p> </pre><p>parse a schema definition resource and build an internal XML Shema struture which can be used to validate instances.</p>
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>a schema validation context</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the internal XML Schema structure built from the resource or NULL in case of error</td></tr></tbody></table></div></div> <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>a schema validation context</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the internal XML Schema structure built from the resource or NULL in case of error</td></tr></tbody></table></div></div>
<hr/> <hr/>
<div class="refsect2" lang="en"><h3><a name="xmlSchemaSAXPlug"/>xmlSchemaSAXPlug ()</h3><pre class="programlisting"><a href="libxml2-xmlschemas.html#xmlSchemaSAXPlugPtr">xmlSchemaSAXPlugPtr</a> xmlSchemaSAXPlug (<a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt, <br/> <a href="libxml2-tree.html#xmlSAXHandlerPtr">xmlSAXHandlerPtr</a> * sax, <br/> void ** user_data)<br/> <div class="refsect2" lang="en"><h3><a name="xmlSchemaSAXPlug"/>xmlSchemaSAXPlug ()</h3><pre class="programlisting"><a href="libxml2-xmlschemas.html#xmlSchemaSAXPlugPtr">xmlSchemaSAXPlugPtr</a> xmlSchemaSAXPlug (<a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt, <br/> <a href="libxml2-tree.html#xmlSAXHandlerPtr">xmlSAXHandlerPtr</a> * sax, <br/> void ** user_data)<br/>
</pre><p/> </pre><p>Plug a SAX based validation layer in a SAX parsing event flow. The original @saxptr and @dataptr data are replaced by new pointers but the calls to the original will be maintained.</p>
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td/></tr><tr><td><span class="term"><i><tt>sax</tt></i>:</span></td><td/></tr><tr><td><span class="term"><i><tt>user_data</tt></i>:</span></td><td/></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td/></tr></tbody></table></div></div> <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>a schema validation context</td></tr><tr><td><span class="term"><i><tt>sax</tt></i>:</span></td><td>a pointer to the original <a href="libxml2-tree.html#xmlSAXHandlerPtr">xmlSAXHandlerPtr</a></td></tr><tr><td><span class="term"><i><tt>user_data</tt></i>:</span></td><td>a pointer to the original SAX user data pointer</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>a pointer to a data structure needed to unplug the validation layer or NULL in case of errors.</td></tr></tbody></table></div></div>
<hr/> <hr/>
<div class="refsect2" lang="en"><h3><a name="xmlSchemaSAXUnplug"/>xmlSchemaSAXUnplug ()</h3><pre class="programlisting">int xmlSchemaSAXUnplug (<a href="libxml2-xmlschemas.html#xmlSchemaSAXPlugPtr">xmlSchemaSAXPlugPtr</a> plug)<br/> <div class="refsect2" lang="en"><h3><a name="xmlSchemaSAXUnplug"/>xmlSchemaSAXUnplug ()</h3><pre class="programlisting">int xmlSchemaSAXUnplug (<a href="libxml2-xmlschemas.html#xmlSchemaSAXPlugPtr">xmlSchemaSAXPlugPtr</a> plug)<br/>
</pre><p/> </pre><p>Unplug a SAX based validation layer in a SAX parsing event flow. The original pointers used in the call are restored.</p>
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>plug</tt></i>:</span></td><td/></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td/></tr></tbody></table></div></div> <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>plug</tt></i>:</span></td><td>a data structure returned by <a href="libxml2-xmlschemas.html#xmlSchemaSAXPlug">xmlSchemaSAXPlug</a></td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>0 in case of success and -1 in case of failure.</td></tr></tbody></table></div></div>
<hr/> <hr/>
<div class="refsect2" lang="en"><h3><a name="xmlSchemaSetParserErrors"/>xmlSchemaSetParserErrors ()</h3><pre class="programlisting">void xmlSchemaSetParserErrors (<a href="libxml2-xmlschemas.html#xmlSchemaParserCtxtPtr">xmlSchemaParserCtxtPtr</a> ctxt, <br/> <a href="libxml2-xmlschemas.html#xmlSchemaValidityErrorFunc">xmlSchemaValidityErrorFunc</a> err, <br/> <a href="libxml2-xmlschemas.html#xmlSchemaValidityWarningFunc">xmlSchemaValidityWarningFunc</a> warn, <br/> void * ctx)<br/> <div class="refsect2" lang="en"><h3><a name="xmlSchemaSetParserErrors"/>xmlSchemaSetParserErrors ()</h3><pre class="programlisting">void xmlSchemaSetParserErrors (<a href="libxml2-xmlschemas.html#xmlSchemaParserCtxtPtr">xmlSchemaParserCtxtPtr</a> ctxt, <br/> <a href="libxml2-xmlschemas.html#xmlSchemaValidityErrorFunc">xmlSchemaValidityErrorFunc</a> err, <br/> <a href="libxml2-xmlschemas.html#xmlSchemaValidityWarningFunc">xmlSchemaValidityWarningFunc</a> warn, <br/> void * ctx)<br/>
</pre><p>Set the callback functions used to handle errors for a validation context</p> </pre><p>Set the callback functions used to handle errors for a validation context</p>
@@ -257,36 +258,40 @@ The content of this structure is not made public by the API.
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>a schema parser context</td></tr><tr><td><span class="term"><i><tt>serror</tt></i>:</span></td><td>the structured error function</td></tr><tr><td><span class="term"><i><tt>ctx</tt></i>:</span></td><td>the functions context</td></tr></tbody></table></div></div> <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>a schema parser context</td></tr><tr><td><span class="term"><i><tt>serror</tt></i>:</span></td><td>the structured error function</td></tr><tr><td><span class="term"><i><tt>ctx</tt></i>:</span></td><td>the functions context</td></tr></tbody></table></div></div>
<hr/> <hr/>
<div class="refsect2" lang="en"><h3><a name="xmlSchemaSetValidErrors"/>xmlSchemaSetValidErrors ()</h3><pre class="programlisting">void xmlSchemaSetValidErrors (<a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt, <br/> <a href="libxml2-xmlschemas.html#xmlSchemaValidityErrorFunc">xmlSchemaValidityErrorFunc</a> err, <br/> <a href="libxml2-xmlschemas.html#xmlSchemaValidityWarningFunc">xmlSchemaValidityWarningFunc</a> warn, <br/> void * ctx)<br/> <div class="refsect2" lang="en"><h3><a name="xmlSchemaSetValidErrors"/>xmlSchemaSetValidErrors ()</h3><pre class="programlisting">void xmlSchemaSetValidErrors (<a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt, <br/> <a href="libxml2-xmlschemas.html#xmlSchemaValidityErrorFunc">xmlSchemaValidityErrorFunc</a> err, <br/> <a href="libxml2-xmlschemas.html#xmlSchemaValidityWarningFunc">xmlSchemaValidityWarningFunc</a> warn, <br/> void * ctx)<br/>
</pre><p/> </pre><p>Set the error and warning callback informations</p>
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td/></tr><tr><td><span class="term"><i><tt>err</tt></i>:</span></td><td/></tr><tr><td><span class="term"><i><tt>warn</tt></i>:</span></td><td/></tr><tr><td><span class="term"><i><tt>ctx</tt></i>:</span></td><td/></tr></tbody></table></div></div> <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>a schema validation context</td></tr><tr><td><span class="term"><i><tt>err</tt></i>:</span></td><td>the error function</td></tr><tr><td><span class="term"><i><tt>warn</tt></i>:</span></td><td>the warning function</td></tr><tr><td><span class="term"><i><tt>ctx</tt></i>:</span></td><td>the functions context</td></tr></tbody></table></div></div>
<hr/> <hr/>
<div class="refsect2" lang="en"><h3><a name="xmlSchemaSetValidOptions"/>xmlSchemaSetValidOptions ()</h3><pre class="programlisting">int xmlSchemaSetValidOptions (<a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt, <br/> int options)<br/> <div class="refsect2" lang="en"><h3><a name="xmlSchemaSetValidOptions"/>xmlSchemaSetValidOptions ()</h3><pre class="programlisting">int xmlSchemaSetValidOptions (<a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt, <br/> int options)<br/>
</pre><p/> </pre><p>Sets the options to be used during the validation.</p>
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td/></tr><tr><td><span class="term"><i><tt>options</tt></i>:</span></td><td/></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td/></tr></tbody></table></div></div> <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>a schema validation context</td></tr><tr><td><span class="term"><i><tt>options</tt></i>:</span></td><td>a combination of <a href="libxml2-xmlschemas.html#xmlSchemaValidOption">xmlSchemaValidOption</a></td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>0 in case of success, -1 in case of an API error.</td></tr></tbody></table></div></div>
<hr/> <hr/>
<div class="refsect2" lang="en"><h3><a name="xmlSchemaSetValidStructuredErrors"/>xmlSchemaSetValidStructuredErrors ()</h3><pre class="programlisting">void xmlSchemaSetValidStructuredErrors (<a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt, <br/> <a href="libxml2-xmlerror.html#xmlStructuredErrorFunc">xmlStructuredErrorFunc</a> serror, <br/> void * ctx)<br/> <div class="refsect2" lang="en"><h3><a name="xmlSchemaSetValidStructuredErrors"/>xmlSchemaSetValidStructuredErrors ()</h3><pre class="programlisting">void xmlSchemaSetValidStructuredErrors (<a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt, <br/> <a href="libxml2-xmlerror.html#xmlStructuredErrorFunc">xmlStructuredErrorFunc</a> serror, <br/> void * ctx)<br/>
</pre><p/> </pre><p>Set the structured error callback</p>
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td/></tr><tr><td><span class="term"><i><tt>serror</tt></i>:</span></td><td/></tr><tr><td><span class="term"><i><tt>ctx</tt></i>:</span></td><td/></tr></tbody></table></div></div> <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>a schema validation context</td></tr><tr><td><span class="term"><i><tt>serror</tt></i>:</span></td><td>the structured error function</td></tr><tr><td><span class="term"><i><tt>ctx</tt></i>:</span></td><td>the functions context</td></tr></tbody></table></div></div>
<hr/> <hr/>
<div class="refsect2" lang="en"><h3><a name="xmlSchemaValidCtxtGetOptions"/>xmlSchemaValidCtxtGetOptions ()</h3><pre class="programlisting">int xmlSchemaValidCtxtGetOptions (<a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt)<br/> <div class="refsect2" lang="en"><h3><a name="xmlSchemaValidCtxtGetOptions"/>xmlSchemaValidCtxtGetOptions ()</h3><pre class="programlisting">int xmlSchemaValidCtxtGetOptions (<a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt)<br/>
</pre><p/> </pre><p>Get the validation context options.</p>
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td/></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td/></tr></tbody></table></div></div> <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>a schema validation context</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the option combination or -1 on error.</td></tr></tbody></table></div></div>
<hr/> <hr/>
<div class="refsect2" lang="en"><h3><a name="xmlSchemaValidateDoc"/>xmlSchemaValidateDoc ()</h3><pre class="programlisting">int xmlSchemaValidateDoc (<a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt, <br/> <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> instance)<br/> <div class="refsect2" lang="en"><h3><a name="xmlSchemaValidCtxtGetParserCtxt"/>xmlSchemaValidCtxtGetParserCtxt ()</h3><pre class="programlisting"><a href="libxml2-tree.html#xmlParserCtxtPtr">xmlParserCtxtPtr</a> xmlSchemaValidCtxtGetParserCtxt (<a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt)<br/>
</pre><p/> </pre><p>allow access to the parser context of the schema validation context</p>
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td/></tr><tr><td><span class="term"><i><tt>instance</tt></i>:</span></td><td/></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td/></tr></tbody></table></div></div> <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>a schema validation context</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the parser context of the schema validation context or NULL in case of error.</td></tr></tbody></table></div></div>
<hr/>
<div class="refsect2" lang="en"><h3><a name="xmlSchemaValidateDoc"/>xmlSchemaValidateDoc ()</h3><pre class="programlisting">int xmlSchemaValidateDoc (<a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt, <br/> <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc)<br/>
</pre><p>Validate a document tree in memory.</p>
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>a schema validation context</td></tr><tr><td><span class="term"><i><tt>doc</tt></i>:</span></td><td>a parsed document tree</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>0 if the document is schemas valid, a positive error code number otherwise and -1 in case of internal or API error.</td></tr></tbody></table></div></div>
<hr/> <hr/>
<div class="refsect2" lang="en"><h3><a name="xmlSchemaValidateFile"/>xmlSchemaValidateFile ()</h3><pre class="programlisting">int xmlSchemaValidateFile (<a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt, <br/> const char * filename, <br/> int options)<br/> <div class="refsect2" lang="en"><h3><a name="xmlSchemaValidateFile"/>xmlSchemaValidateFile ()</h3><pre class="programlisting">int xmlSchemaValidateFile (<a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt, <br/> const char * filename, <br/> int options)<br/>
</pre><p/> </pre><p>Do a schemas validation of the given resource, it will use the SAX streamable validation internally.</p>
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td/></tr><tr><td><span class="term"><i><tt>filename</tt></i>:</span></td><td/></tr><tr><td><span class="term"><i><tt>options</tt></i>:</span></td><td/></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td/></tr></tbody></table></div></div> <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>a schema validation context</td></tr><tr><td><span class="term"><i><tt>filename</tt></i>:</span></td><td>the URI of the instance</td></tr><tr><td><span class="term"><i><tt>options</tt></i>:</span></td><td>a future set of options, currently unused</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>0 if the document is valid, a positive error code number otherwise and -1 in case of an internal or API error.</td></tr></tbody></table></div></div>
<hr/> <hr/>
<div class="refsect2" lang="en"><h3><a name="xmlSchemaValidateOneElement"/>xmlSchemaValidateOneElement ()</h3><pre class="programlisting">int xmlSchemaValidateOneElement (<a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt, <br/> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> elem)<br/> <div class="refsect2" lang="en"><h3><a name="xmlSchemaValidateOneElement"/>xmlSchemaValidateOneElement ()</h3><pre class="programlisting">int xmlSchemaValidateOneElement (<a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt, <br/> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> elem)<br/>
</pre><p/> </pre><p>Validate a branch of a tree, starting with the given @elem.</p>
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td/></tr><tr><td><span class="term"><i><tt>elem</tt></i>:</span></td><td/></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td/></tr></tbody></table></div></div> <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>a schema validation context</td></tr><tr><td><span class="term"><i><tt>elem</tt></i>:</span></td><td>an element node</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>0 if the element and its subtree is valid, a positive error code number otherwise and -1 in case of an internal or API error.</td></tr></tbody></table></div></div>
<hr/> <hr/>
<div class="refsect2" lang="en"><h3><a name="xmlSchemaValidateStream"/>xmlSchemaValidateStream ()</h3><pre class="programlisting">int xmlSchemaValidateStream (<a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt, <br/> <a href="libxml2-tree.html#xmlParserInputBufferPtr">xmlParserInputBufferPtr</a> input, <br/> <a href="libxml2-encoding.html#xmlCharEncoding">xmlCharEncoding</a> enc, <br/> <a href="libxml2-tree.html#xmlSAXHandlerPtr">xmlSAXHandlerPtr</a> sax, <br/> void * user_data)<br/> <div class="refsect2" lang="en"><h3><a name="xmlSchemaValidateStream"/>xmlSchemaValidateStream ()</h3><pre class="programlisting">int xmlSchemaValidateStream (<a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt, <br/> <a href="libxml2-tree.html#xmlParserInputBufferPtr">xmlParserInputBufferPtr</a> input, <br/> <a href="libxml2-encoding.html#xmlCharEncoding">xmlCharEncoding</a> enc, <br/> <a href="libxml2-tree.html#xmlSAXHandlerPtr">xmlSAXHandlerPtr</a> sax, <br/> void * user_data)<br/>
</pre><p/> </pre><p>Validate an input based on a flow of SAX event from the parser and forward the events to the @sax handler with the provided @user_data the user provided @sax handler must be a SAX2 one.</p>
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td/></tr><tr><td><span class="term"><i><tt>input</tt></i>:</span></td><td/></tr><tr><td><span class="term"><i><tt>enc</tt></i>:</span></td><td/></tr><tr><td><span class="term"><i><tt>sax</tt></i>:</span></td><td/></tr><tr><td><span class="term"><i><tt>user_data</tt></i>:</span></td><td/></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td/></tr></tbody></table></div></div> <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>a schema validation context</td></tr><tr><td><span class="term"><i><tt>input</tt></i>:</span></td><td>the input to use for reading the data</td></tr><tr><td><span class="term"><i><tt>enc</tt></i>:</span></td><td>an optional encoding information</td></tr><tr><td><span class="term"><i><tt>sax</tt></i>:</span></td><td>a SAX handler for the resulting events</td></tr><tr><td><span class="term"><i><tt>user_data</tt></i>:</span></td><td>the context to provide to the SAX handler.</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>0 if the document is schemas valid, a positive error code number otherwise and -1 in case of internal or API error.</td></tr></tbody></table></div></div>
<hr/> <hr/>
</div> </div>
</div> </div>

View File

@@ -2835,6 +2835,7 @@
<function name="xmlSchemaValPredefTypeNode ()" link="libxml2-xmlschemastypes.html#xmlSchemaValPredefTypeNode"/> <function name="xmlSchemaValPredefTypeNode ()" link="libxml2-xmlschemastypes.html#xmlSchemaValPredefTypeNode"/>
<function name="xmlSchemaValPredefTypeNodeNoNorm ()" link="libxml2-xmlschemastypes.html#xmlSchemaValPredefTypeNodeNoNorm"/> <function name="xmlSchemaValPredefTypeNodeNoNorm ()" link="libxml2-xmlschemastypes.html#xmlSchemaValPredefTypeNodeNoNorm"/>
<function name="xmlSchemaValidCtxtGetOptions ()" link="libxml2-xmlschemas.html#xmlSchemaValidCtxtGetOptions"/> <function name="xmlSchemaValidCtxtGetOptions ()" link="libxml2-xmlschemas.html#xmlSchemaValidCtxtGetOptions"/>
<function name="xmlSchemaValidCtxtGetParserCtxt ()" link="libxml2-xmlschemas.html#xmlSchemaValidCtxtGetParserCtxt"/>
<function name="xmlSchemaValidateDoc ()" link="libxml2-xmlschemas.html#xmlSchemaValidateDoc"/> <function name="xmlSchemaValidateDoc ()" link="libxml2-xmlschemas.html#xmlSchemaValidateDoc"/>
<function name="xmlSchemaValidateFacet ()" link="libxml2-xmlschemastypes.html#xmlSchemaValidateFacet"/> <function name="xmlSchemaValidateFacet ()" link="libxml2-xmlschemastypes.html#xmlSchemaValidateFacet"/>
<function name="xmlSchemaValidateFacetWhtsp ()" link="libxml2-xmlschemastypes.html#xmlSchemaValidateFacetWhtsp"/> <function name="xmlSchemaValidateFacetWhtsp ()" link="libxml2-xmlschemastypes.html#xmlSchemaValidateFacetWhtsp"/>

View File

@@ -43,6 +43,7 @@ The content of this structure is not made public by the API.
<pre class="programlisting">int <a href="#xmlSchemaSetValidOptions">xmlSchemaSetValidOptions</a> (<a href="libxml-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt, <br /> int options)</pre> <pre class="programlisting">int <a href="#xmlSchemaSetValidOptions">xmlSchemaSetValidOptions</a> (<a href="libxml-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt, <br /> int options)</pre>
<pre class="programlisting">void <a href="#xmlSchemaSetValidStructuredErrors">xmlSchemaSetValidStructuredErrors</a> (<a href="libxml-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt, <br /> <a href="libxml-xmlerror.html#xmlStructuredErrorFunc">xmlStructuredErrorFunc</a> serror, <br /> void * ctx)</pre> <pre class="programlisting">void <a href="#xmlSchemaSetValidStructuredErrors">xmlSchemaSetValidStructuredErrors</a> (<a href="libxml-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt, <br /> <a href="libxml-xmlerror.html#xmlStructuredErrorFunc">xmlStructuredErrorFunc</a> serror, <br /> void * ctx)</pre>
<pre class="programlisting">int <a href="#xmlSchemaValidCtxtGetOptions">xmlSchemaValidCtxtGetOptions</a> (<a href="libxml-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt)</pre> <pre class="programlisting">int <a href="#xmlSchemaValidCtxtGetOptions">xmlSchemaValidCtxtGetOptions</a> (<a href="libxml-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt)</pre>
<pre class="programlisting"><a href="libxml-tree.html#xmlParserCtxtPtr">xmlParserCtxtPtr</a> <a href="#xmlSchemaValidCtxtGetParserCtxt">xmlSchemaValidCtxtGetParserCtxt</a> (<a href="libxml-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt)</pre>
<pre class="programlisting">int <a href="#xmlSchemaValidateDoc">xmlSchemaValidateDoc</a> (<a href="libxml-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt, <br /> <a href="libxml-tree.html#xmlDocPtr">xmlDocPtr</a> instance)</pre> <pre class="programlisting">int <a href="#xmlSchemaValidateDoc">xmlSchemaValidateDoc</a> (<a href="libxml-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt, <br /> <a href="libxml-tree.html#xmlDocPtr">xmlDocPtr</a> instance)</pre>
<pre class="programlisting">int <a href="#xmlSchemaValidateFile">xmlSchemaValidateFile</a> (<a href="libxml-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt, <br /> const char * filename, <br /> int options)</pre> <pre class="programlisting">int <a href="#xmlSchemaValidateFile">xmlSchemaValidateFile</a> (<a href="libxml-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt, <br /> const char * filename, <br /> int options)</pre>
<pre class="programlisting">int <a href="#xmlSchemaValidateOneElement">xmlSchemaValidateOneElement</a> (<a href="libxml-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt, <br /> <a href="libxml-tree.html#xmlNodePtr">xmlNodePtr</a> elem)</pre> <pre class="programlisting">int <a href="#xmlSchemaValidateOneElement">xmlSchemaValidateOneElement</a> (<a href="libxml-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt, <br /> <a href="libxml-tree.html#xmlNodePtr">xmlNodePtr</a> elem)</pre>
@@ -153,6 +154,8 @@ The content of this structure is not made public by the API.
</pre><p></p> </pre><p></p>
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td></td></tr><tr><td><span class="term"><i><tt>serror</tt></i>:</span></td><td></td></tr><tr><td><span class="term"><i><tt>ctx</tt></i>:</span></td><td></td></tr></tbody></table></div><h3><a name="xmlSchemaValidCtxtGetOptions" id="xmlSchemaValidCtxtGetOptions"></a>Function: xmlSchemaValidCtxtGetOptions</h3><pre class="programlisting">int xmlSchemaValidCtxtGetOptions (<a href="libxml-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt)<br /> <div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td></td></tr><tr><td><span class="term"><i><tt>serror</tt></i>:</span></td><td></td></tr><tr><td><span class="term"><i><tt>ctx</tt></i>:</span></td><td></td></tr></tbody></table></div><h3><a name="xmlSchemaValidCtxtGetOptions" id="xmlSchemaValidCtxtGetOptions"></a>Function: xmlSchemaValidCtxtGetOptions</h3><pre class="programlisting">int xmlSchemaValidCtxtGetOptions (<a href="libxml-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt)<br />
</pre><p></p> </pre><p></p>
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td></td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td></td></tr></tbody></table></div><h3><a name="xmlSchemaValidCtxtGetParserCtxt" id="xmlSchemaValidCtxtGetParserCtxt"></a>Function: xmlSchemaValidCtxtGetParserCtxt</h3><pre class="programlisting"><a href="libxml-tree.html#xmlParserCtxtPtr">xmlParserCtxtPtr</a> xmlSchemaValidCtxtGetParserCtxt (<a href="libxml-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt)<br />
</pre><p></p>
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td></td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td></td></tr></tbody></table></div><h3><a name="xmlSchemaValidateDoc" id="xmlSchemaValidateDoc"></a>Function: xmlSchemaValidateDoc</h3><pre class="programlisting">int xmlSchemaValidateDoc (<a href="libxml-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt, <br /> <a href="libxml-tree.html#xmlDocPtr">xmlDocPtr</a> instance)<br /> <div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td></td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td></td></tr></tbody></table></div><h3><a name="xmlSchemaValidateDoc" id="xmlSchemaValidateDoc"></a>Function: xmlSchemaValidateDoc</h3><pre class="programlisting">int xmlSchemaValidateDoc (<a href="libxml-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt, <br /> <a href="libxml-tree.html#xmlDocPtr">xmlDocPtr</a> instance)<br />
</pre><p></p> </pre><p></p>
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td></td></tr><tr><td><span class="term"><i><tt>instance</tt></i>:</span></td><td></td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td></td></tr></tbody></table></div><h3><a name="xmlSchemaValidateFile" id="xmlSchemaValidateFile"></a>Function: xmlSchemaValidateFile</h3><pre class="programlisting">int xmlSchemaValidateFile (<a href="libxml-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt, <br /> const char * filename, <br /> int options)<br /> <div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td></td></tr><tr><td><span class="term"><i><tt>instance</tt></i>:</span></td><td></td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td></td></tr></tbody></table></div><h3><a name="xmlSchemaValidateFile" id="xmlSchemaValidateFile"></a>Function: xmlSchemaValidateFile</h3><pre class="programlisting">int xmlSchemaValidateFile (<a href="libxml-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt, <br /> const char * filename, <br /> int options)<br />

View File

@@ -3046,6 +3046,7 @@
<exports symbol='xmlSchemaValidityWarningFunc' type='function'/> <exports symbol='xmlSchemaValidityWarningFunc' type='function'/>
<exports symbol='xmlSchemaDump' type='function'/> <exports symbol='xmlSchemaDump' type='function'/>
<exports symbol='xmlSchemaFreeValidCtxt' type='function'/> <exports symbol='xmlSchemaFreeValidCtxt' type='function'/>
<exports symbol='xmlSchemaValidCtxtGetParserCtxt' type='function'/>
<exports symbol='xmlSchemaSetParserStructuredErrors' type='function'/> <exports symbol='xmlSchemaSetParserStructuredErrors' type='function'/>
<exports symbol='xmlSchemaNewValidCtxt' type='function'/> <exports symbol='xmlSchemaNewValidCtxt' type='function'/>
</file> </file>
@@ -8552,11 +8553,11 @@ Could we use @subtypes for this?'/>
</function> </function>
<functype name='xmlC14NIsVisibleCallback' file='c14n' module='c14n'> <functype name='xmlC14NIsVisibleCallback' file='c14n' module='c14n'>
<cond>defined(LIBXML_C14N_ENABLED) &amp;&amp; defined(LIBXML_OUTPUT_ENABLED)</cond> <cond>defined(LIBXML_C14N_ENABLED) &amp;&amp; defined(LIBXML_OUTPUT_ENABLED)</cond>
<info></info> <info>Signature for a C14N callback on visible nodes</info>
<return type='int' info=''/> <return type='int' info='1 if the node should be included'/>
<arg name='user_data' type='void *' info=''/> <arg name='user_data' type='void *' info='user data'/>
<arg name='node' type='xmlNodePtr' info=''/> <arg name='node' type='xmlNodePtr' info='the curent node'/>
<arg name='parent' type='xmlNodePtr' info=''/> <arg name='parent' type='xmlNodePtr' info='the parent node'/>
</functype> </functype>
<function name='xmlCanonicPath' file='uri' module='uri'> <function name='xmlCanonicPath' file='uri' module='uri'>
<info>Constructs a canonic path from the specified path.</info> <info>Constructs a canonic path from the specified path.</info>
@@ -9247,9 +9248,9 @@ Could we use @subtypes for this?'/>
<arg name='func' type='xmlDeregisterNodeFunc' info='function pointer to the new DeregisterNodeFunc'/> <arg name='func' type='xmlDeregisterNodeFunc' info='function pointer to the new DeregisterNodeFunc'/>
</function> </function>
<functype name='xmlDeregisterNodeFunc' file='globals' module='globals'> <functype name='xmlDeregisterNodeFunc' file='globals' module='globals'>
<info></info> <info>Signature for the deregistration callback of a discarded node</info>
<return type='void'/> <return type='void'/>
<arg name='node' type='xmlNodePtr' info=''/> <arg name='node' type='xmlNodePtr' info='the current node'/>
</functype> </functype>
<function name='xmlDetectCharEncoding' file='encoding' module='encoding'> <function name='xmlDetectCharEncoding' file='encoding' module='encoding'>
<info>Guess the encoding of the entity using the first bytes of the entity content according to the non-normative appendix F of the XML-1.0 recommendation.</info> <info>Guess the encoding of the entity using the first bytes of the entity content according to the non-normative appendix F of the XML-1.0 recommendation.</info>
@@ -11628,9 +11629,9 @@ Could we use @subtypes for this?'/>
<arg name='func' type='xmlOutputBufferCreateFilenameFunc' info='function pointer to the new OutputBufferCreateFilenameFunc'/> <arg name='func' type='xmlOutputBufferCreateFilenameFunc' info='function pointer to the new OutputBufferCreateFilenameFunc'/>
</function> </function>
<functype name='xmlOutputBufferCreateFilenameFunc' file='globals' module='globals'> <functype name='xmlOutputBufferCreateFilenameFunc' file='globals' module='globals'>
<info></info> <info>Signature for the function doing the lookup for a suitable output method corresponding to an URI.</info>
<return type='xmlOutputBufferPtr' info=''/> <return type='xmlOutputBufferPtr' info='the new xmlOutputBufferPtr in case of success or NULL if no method was found.'/>
<arg name='URI' type='const char *' info=''/> <arg name='URI' type='const char *' info='the URI to write to'/>
<arg name='encoder' type='xmlCharEncodingHandlerPtr' info=''/> <arg name='encoder' type='xmlCharEncodingHandlerPtr' info=''/>
<arg name='compression' type='int' info=''/> <arg name='compression' type='int' info=''/>
</functype> </functype>
@@ -12143,10 +12144,10 @@ Could we use @subtypes for this?'/>
<arg name='func' type='xmlParserInputBufferCreateFilenameFunc' info='function pointer to the new ParserInputBufferCreateFilenameFunc'/> <arg name='func' type='xmlParserInputBufferCreateFilenameFunc' info='function pointer to the new ParserInputBufferCreateFilenameFunc'/>
</function> </function>
<functype name='xmlParserInputBufferCreateFilenameFunc' file='globals' module='globals'> <functype name='xmlParserInputBufferCreateFilenameFunc' file='globals' module='globals'>
<info></info> <info>Signature for the function doing the lookup for a suitable input method corresponding to an URI.</info>
<return type='xmlParserInputBufferPtr' info=''/> <return type='xmlParserInputBufferPtr' info='the new xmlParserInputBufferPtr in case of success or NULL if no method was found.'/>
<arg name='URI' type='const char *' info=''/> <arg name='URI' type='const char *' info='the URI to read from'/>
<arg name='enc' type='xmlCharEncoding' info=''/> <arg name='enc' type='xmlCharEncoding' info='the requested source encoding'/>
</functype> </functype>
<function name='xmlParserInputBufferCreateIO' file='xmlIO' module='xmlIO'> <function name='xmlParserInputBufferCreateIO' file='xmlIO' module='xmlIO'>
<info>Create a buffered parser input for the progressive parsing for the input from an I/O handler</info> <info>Create a buffered parser input for the progressive parsing for the input from an I/O handler</info>
@@ -12525,12 +12526,12 @@ Could we use @subtypes for this?'/>
</function> </function>
<functype name='xmlRegExecCallbacks' file='xmlregexp' module='xmlregexp'> <functype name='xmlRegExecCallbacks' file='xmlregexp' module='xmlregexp'>
<cond>defined(LIBXML_REGEXP_ENABLED)</cond> <cond>defined(LIBXML_REGEXP_ENABLED)</cond>
<info></info> <info>Callback function when doing a transition in the automata</info>
<return type='void'/> <return type='void'/>
<arg name='exec' type='xmlRegExecCtxtPtr' info=''/> <arg name='exec' type='xmlRegExecCtxtPtr' info='the regular expression context'/>
<arg name='token' type='const xmlChar *' info=''/> <arg name='token' type='const xmlChar *' info='the current token string'/>
<arg name='transdata' type='void *' info=''/> <arg name='transdata' type='void *' info='transition data'/>
<arg name='inputdata' type='void *' info=''/> <arg name='inputdata' type='void *' info='input data'/>
</functype> </functype>
<function name='xmlRegExecErrInfo' file='xmlregexp' module='xmlregexp'> <function name='xmlRegExecErrInfo' file='xmlregexp' module='xmlregexp'>
<cond>defined(LIBXML_REGEXP_ENABLED)</cond> <cond>defined(LIBXML_REGEXP_ENABLED)</cond>
@@ -12649,9 +12650,9 @@ Could we use @subtypes for this?'/>
<arg name='func' type='xmlRegisterNodeFunc' info='function pointer to the new RegisterNodeFunc'/> <arg name='func' type='xmlRegisterNodeFunc' info='function pointer to the new RegisterNodeFunc'/>
</function> </function>
<functype name='xmlRegisterNodeFunc' file='globals' module='globals'> <functype name='xmlRegisterNodeFunc' file='globals' module='globals'>
<info></info> <info>Signature for the registration callback of a created node</info>
<return type='void'/> <return type='void'/>
<arg name='node' type='xmlNodePtr' info=''/> <arg name='node' type='xmlNodePtr' info='the current node'/>
</functype> </functype>
<function name='xmlRegisterOutputCallbacks' file='xmlIO' module='xmlIO'> <function name='xmlRegisterOutputCallbacks' file='xmlIO' module='xmlIO'>
<cond>defined(LIBXML_OUTPUT_ENABLED)</cond> <cond>defined(LIBXML_OUTPUT_ENABLED)</cond>
@@ -12828,19 +12829,19 @@ Could we use @subtypes for this?'/>
</function> </function>
<functype name='xmlRelaxNGValidityErrorFunc' file='relaxng' module='relaxng'> <functype name='xmlRelaxNGValidityErrorFunc' file='relaxng' module='relaxng'>
<cond>defined(LIBXML_SCHEMAS_ENABLED)</cond> <cond>defined(LIBXML_SCHEMAS_ENABLED)</cond>
<info></info> <info>Signature of an error callback from a Relax-NG validation</info>
<return type='void'/> <return type='void'/>
<arg name='ctx' type='void *' info=''/> <arg name='ctx' type='void *' info='the validation context'/>
<arg name='msg' type='const char *' info=''/> <arg name='msg' type='const char *' info='the message'/>
<arg name='...' type='...' info=''/> <arg name='...' type='...' info='extra arguments'/>
</functype> </functype>
<functype name='xmlRelaxNGValidityWarningFunc' file='relaxng' module='relaxng'> <functype name='xmlRelaxNGValidityWarningFunc' file='relaxng' module='relaxng'>
<cond>defined(LIBXML_SCHEMAS_ENABLED)</cond> <cond>defined(LIBXML_SCHEMAS_ENABLED)</cond>
<info></info> <info>Signature of a warning callback from a Relax-NG validation</info>
<return type='void'/> <return type='void'/>
<arg name='ctx' type='void *' info=''/> <arg name='ctx' type='void *' info='the validation context'/>
<arg name='msg' type='const char *' info=''/> <arg name='msg' type='const char *' info='the message'/>
<arg name='...' type='...' info=''/> <arg name='...' type='...' info='extra arguments'/>
</functype> </functype>
<function name='xmlRelaxParserSetFlag' file='relaxng' module='relaxng'> <function name='xmlRelaxParserSetFlag' file='relaxng' module='relaxng'>
<cond>defined(LIBXML_SCHEMAS_ENABLED)</cond> <cond>defined(LIBXML_SCHEMAS_ENABLED)</cond>
@@ -13405,9 +13406,9 @@ Could we use @subtypes for this?'/>
</function> </function>
<function name='xmlSchemaFreeValidCtxt' file='xmlschemas' module='xmlschemas'> <function name='xmlSchemaFreeValidCtxt' file='xmlschemas' module='xmlschemas'>
<cond>defined(LIBXML_SCHEMAS_ENABLED)</cond> <cond>defined(LIBXML_SCHEMAS_ENABLED)</cond>
<info></info> <info>Free the resources associated to the schema validation context</info>
<return type='void'/> <return type='void'/>
<arg name='ctxt' type='xmlSchemaValidCtxtPtr' info=''/> <arg name='ctxt' type='xmlSchemaValidCtxtPtr' info='the schema validation context'/>
</function> </function>
<function name='xmlSchemaFreeValue' file='xmlschemastypes' module='xmlschemastypes'> <function name='xmlSchemaFreeValue' file='xmlschemastypes' module='xmlschemastypes'>
<cond>defined(LIBXML_SCHEMAS_ENABLED)</cond> <cond>defined(LIBXML_SCHEMAS_ENABLED)</cond>
@@ -13478,12 +13479,12 @@ Could we use @subtypes for this?'/>
</function> </function>
<function name='xmlSchemaGetValidErrors' file='xmlschemas' module='xmlschemas'> <function name='xmlSchemaGetValidErrors' file='xmlschemas' module='xmlschemas'>
<cond>defined(LIBXML_SCHEMAS_ENABLED)</cond> <cond>defined(LIBXML_SCHEMAS_ENABLED)</cond>
<info></info> <info>Get the error and warning callback informations</info>
<return type='int' info=''/> <return type='int' info='-1 in case of error and 0 otherwise'/>
<arg name='ctxt' type='xmlSchemaValidCtxtPtr' info=''/> <arg name='ctxt' type='xmlSchemaValidCtxtPtr' info='a XML-Schema validation context'/>
<arg name='err' type='xmlSchemaValidityErrorFunc *' info=''/> <arg name='err' type='xmlSchemaValidityErrorFunc *' info='the error function result'/>
<arg name='warn' type='xmlSchemaValidityWarningFunc *' info=''/> <arg name='warn' type='xmlSchemaValidityWarningFunc *' info='the warning function result'/>
<arg name='ctx' type='void **' info=''/> <arg name='ctx' type='void **' info='the functions context result'/>
</function> </function>
<function name='xmlSchemaInitTypes' file='xmlschemastypes' module='xmlschemastypes'> <function name='xmlSchemaInitTypes' file='xmlschemastypes' module='xmlschemastypes'>
<cond>defined(LIBXML_SCHEMAS_ENABLED)</cond> <cond>defined(LIBXML_SCHEMAS_ENABLED)</cond>
@@ -13499,9 +13500,9 @@ Could we use @subtypes for this?'/>
</function> </function>
<function name='xmlSchemaIsValid' file='xmlschemas' module='xmlschemas'> <function name='xmlSchemaIsValid' file='xmlschemas' module='xmlschemas'>
<cond>defined(LIBXML_SCHEMAS_ENABLED)</cond> <cond>defined(LIBXML_SCHEMAS_ENABLED)</cond>
<info></info> <info>Check if any error was detected during validation.</info>
<return type='int' info=''/> <return type='int' info='1 if valid so far, 0 if errors were detected, and -1 in case of internal error.'/>
<arg name='ctxt' type='xmlSchemaValidCtxtPtr' info=''/> <arg name='ctxt' type='xmlSchemaValidCtxtPtr' info='the schema validation context'/>
</function> </function>
<function name='xmlSchemaNewDocParserCtxt' file='xmlschemas' module='xmlschemas'> <function name='xmlSchemaNewDocParserCtxt' file='xmlschemas' module='xmlschemas'>
<cond>defined(LIBXML_SCHEMAS_ENABLED)</cond> <cond>defined(LIBXML_SCHEMAS_ENABLED)</cond>
@@ -13550,9 +13551,9 @@ Could we use @subtypes for this?'/>
</function> </function>
<function name='xmlSchemaNewValidCtxt' file='xmlschemas' module='xmlschemas'> <function name='xmlSchemaNewValidCtxt' file='xmlschemas' module='xmlschemas'>
<cond>defined(LIBXML_SCHEMAS_ENABLED)</cond> <cond>defined(LIBXML_SCHEMAS_ENABLED)</cond>
<info></info> <info>Create an XML Schemas validation context based on the given schema.</info>
<return type='xmlSchemaValidCtxtPtr' info=''/> <return type='xmlSchemaValidCtxtPtr' info='the validation context or NULL in case of error'/>
<arg name='schema' type='xmlSchemaPtr' info=''/> <arg name='schema' type='xmlSchemaPtr' info='a precompiled XML Schemas'/>
</function> </function>
<function name='xmlSchemaParse' file='xmlschemas' module='xmlschemas'> <function name='xmlSchemaParse' file='xmlschemas' module='xmlschemas'>
<cond>defined(LIBXML_SCHEMAS_ENABLED)</cond> <cond>defined(LIBXML_SCHEMAS_ENABLED)</cond>
@@ -13562,17 +13563,17 @@ Could we use @subtypes for this?'/>
</function> </function>
<function name='xmlSchemaSAXPlug' file='xmlschemas' module='xmlschemas'> <function name='xmlSchemaSAXPlug' file='xmlschemas' module='xmlschemas'>
<cond>defined(LIBXML_SCHEMAS_ENABLED)</cond> <cond>defined(LIBXML_SCHEMAS_ENABLED)</cond>
<info></info> <info>Plug a SAX based validation layer in a SAX parsing event flow. The original @saxptr and @dataptr data are replaced by new pointers but the calls to the original will be maintained.</info>
<return type='xmlSchemaSAXPlugPtr' info=''/> <return type='xmlSchemaSAXPlugPtr' info='a pointer to a data structure needed to unplug the validation layer or NULL in case of errors.'/>
<arg name='ctxt' type='xmlSchemaValidCtxtPtr' info=''/> <arg name='ctxt' type='xmlSchemaValidCtxtPtr' info='a schema validation context'/>
<arg name='sax' type='xmlSAXHandlerPtr *' info=''/> <arg name='sax' type='xmlSAXHandlerPtr *' info='a pointer to the original xmlSAXHandlerPtr'/>
<arg name='user_data' type='void **' info=''/> <arg name='user_data' type='void **' info='a pointer to the original SAX user data pointer'/>
</function> </function>
<function name='xmlSchemaSAXUnplug' file='xmlschemas' module='xmlschemas'> <function name='xmlSchemaSAXUnplug' file='xmlschemas' module='xmlschemas'>
<cond>defined(LIBXML_SCHEMAS_ENABLED)</cond> <cond>defined(LIBXML_SCHEMAS_ENABLED)</cond>
<info></info> <info>Unplug a SAX based validation layer in a SAX parsing event flow. The original pointers used in the call are restored.</info>
<return type='int' info=''/> <return type='int' info='0 in case of success and -1 in case of failure.'/>
<arg name='plug' type='xmlSchemaSAXPlugPtr' info=''/> <arg name='plug' type='xmlSchemaSAXPlugPtr' info='a data structure returned by xmlSchemaSAXPlug'/>
</function> </function>
<function name='xmlSchemaSetParserErrors' file='xmlschemas' module='xmlschemas'> <function name='xmlSchemaSetParserErrors' file='xmlschemas' module='xmlschemas'>
<cond>defined(LIBXML_SCHEMAS_ENABLED)</cond> <cond>defined(LIBXML_SCHEMAS_ENABLED)</cond>
@@ -13593,27 +13594,27 @@ Could we use @subtypes for this?'/>
</function> </function>
<function name='xmlSchemaSetValidErrors' file='xmlschemas' module='xmlschemas'> <function name='xmlSchemaSetValidErrors' file='xmlschemas' module='xmlschemas'>
<cond>defined(LIBXML_SCHEMAS_ENABLED)</cond> <cond>defined(LIBXML_SCHEMAS_ENABLED)</cond>
<info></info> <info>Set the error and warning callback informations</info>
<return type='void'/> <return type='void'/>
<arg name='ctxt' type='xmlSchemaValidCtxtPtr' info=''/> <arg name='ctxt' type='xmlSchemaValidCtxtPtr' info='a schema validation context'/>
<arg name='err' type='xmlSchemaValidityErrorFunc' info=''/> <arg name='err' type='xmlSchemaValidityErrorFunc' info='the error function'/>
<arg name='warn' type='xmlSchemaValidityWarningFunc' info=''/> <arg name='warn' type='xmlSchemaValidityWarningFunc' info='the warning function'/>
<arg name='ctx' type='void *' info=''/> <arg name='ctx' type='void *' info='the functions context'/>
</function> </function>
<function name='xmlSchemaSetValidOptions' file='xmlschemas' module='xmlschemas'> <function name='xmlSchemaSetValidOptions' file='xmlschemas' module='xmlschemas'>
<cond>defined(LIBXML_SCHEMAS_ENABLED)</cond> <cond>defined(LIBXML_SCHEMAS_ENABLED)</cond>
<info></info> <info>Sets the options to be used during the validation.</info>
<return type='int' info=''/> <return type='int' info='0 in case of success, -1 in case of an API error.'/>
<arg name='ctxt' type='xmlSchemaValidCtxtPtr' info=''/> <arg name='ctxt' type='xmlSchemaValidCtxtPtr' info='a schema validation context'/>
<arg name='options' type='int' info=''/> <arg name='options' type='int' info='a combination of xmlSchemaValidOption'/>
</function> </function>
<function name='xmlSchemaSetValidStructuredErrors' file='xmlschemas' module='xmlschemas'> <function name='xmlSchemaSetValidStructuredErrors' file='xmlschemas' module='xmlschemas'>
<cond>defined(LIBXML_SCHEMAS_ENABLED)</cond> <cond>defined(LIBXML_SCHEMAS_ENABLED)</cond>
<info></info> <info>Set the structured error callback</info>
<return type='void'/> <return type='void'/>
<arg name='ctxt' type='xmlSchemaValidCtxtPtr' info=''/> <arg name='ctxt' type='xmlSchemaValidCtxtPtr' info='a schema validation context'/>
<arg name='serror' type='xmlStructuredErrorFunc' info=''/> <arg name='serror' type='xmlStructuredErrorFunc' info='the structured error function'/>
<arg name='ctx' type='void *' info=''/> <arg name='ctx' type='void *' info='the functions context'/>
</function> </function>
<function name='xmlSchemaValPredefTypeNode' file='xmlschemastypes' module='xmlschemastypes'> <function name='xmlSchemaValPredefTypeNode' file='xmlschemastypes' module='xmlschemastypes'>
<cond>defined(LIBXML_SCHEMAS_ENABLED)</cond> <cond>defined(LIBXML_SCHEMAS_ENABLED)</cond>
@@ -13635,16 +13636,22 @@ Could we use @subtypes for this?'/>
</function> </function>
<function name='xmlSchemaValidCtxtGetOptions' file='xmlschemas' module='xmlschemas'> <function name='xmlSchemaValidCtxtGetOptions' file='xmlschemas' module='xmlschemas'>
<cond>defined(LIBXML_SCHEMAS_ENABLED)</cond> <cond>defined(LIBXML_SCHEMAS_ENABLED)</cond>
<info></info> <info>Get the validation context options.</info>
<return type='int' info=''/> <return type='int' info='the option combination or -1 on error.'/>
<arg name='ctxt' type='xmlSchemaValidCtxtPtr' info=''/> <arg name='ctxt' type='xmlSchemaValidCtxtPtr' info='a schema validation context'/>
</function>
<function name='xmlSchemaValidCtxtGetParserCtxt' file='xmlschemas' module='xmlschemas'>
<cond>defined(LIBXML_SCHEMAS_ENABLED)</cond>
<info>allow access to the parser context of the schema validation context</info>
<return type='xmlParserCtxtPtr' info='the parser context of the schema validation context or NULL in case of error.'/>
<arg name='ctxt' type='xmlSchemaValidCtxtPtr' info='a schema validation context'/>
</function> </function>
<function name='xmlSchemaValidateDoc' file='xmlschemas' module='xmlschemas'> <function name='xmlSchemaValidateDoc' file='xmlschemas' module='xmlschemas'>
<cond>defined(LIBXML_SCHEMAS_ENABLED)</cond> <cond>defined(LIBXML_SCHEMAS_ENABLED)</cond>
<info></info> <info>Validate a document tree in memory.</info>
<return type='int' info=''/> <return type='int' info='0 if the document is schemas valid, a positive error code number otherwise and -1 in case of internal or API error.'/>
<arg name='ctxt' type='xmlSchemaValidCtxtPtr' info=''/> <arg name='ctxt' type='xmlSchemaValidCtxtPtr' info='a schema validation context'/>
<arg name='instance' type='xmlDocPtr' info=''/> <arg name='doc' type='xmlDocPtr' info='a parsed document tree'/>
</function> </function>
<function name='xmlSchemaValidateFacet' file='xmlschemastypes' module='xmlschemastypes'> <function name='xmlSchemaValidateFacet' file='xmlschemastypes' module='xmlschemastypes'>
<cond>defined(LIBXML_SCHEMAS_ENABLED)</cond> <cond>defined(LIBXML_SCHEMAS_ENABLED)</cond>
@@ -13668,11 +13675,11 @@ Could we use @subtypes for this?'/>
</function> </function>
<function name='xmlSchemaValidateFile' file='xmlschemas' module='xmlschemas'> <function name='xmlSchemaValidateFile' file='xmlschemas' module='xmlschemas'>
<cond>defined(LIBXML_SCHEMAS_ENABLED)</cond> <cond>defined(LIBXML_SCHEMAS_ENABLED)</cond>
<info></info> <info>Do a schemas validation of the given resource, it will use the SAX streamable validation internally.</info>
<return type='int' info=''/> <return type='int' info='0 if the document is valid, a positive error code number otherwise and -1 in case of an internal or API error.'/>
<arg name='ctxt' type='xmlSchemaValidCtxtPtr' info=''/> <arg name='ctxt' type='xmlSchemaValidCtxtPtr' info='a schema validation context'/>
<arg name='filename' type='const char *' info=''/> <arg name='filename' type='const char *' info='the URI of the instance'/>
<arg name='options' type='int' info=''/> <arg name='options' type='int' info='a future set of options, currently unused'/>
</function> </function>
<function name='xmlSchemaValidateLengthFacet' file='xmlschemastypes' module='xmlschemastypes'> <function name='xmlSchemaValidateLengthFacet' file='xmlschemastypes' module='xmlschemastypes'>
<cond>defined(LIBXML_SCHEMAS_ENABLED)</cond> <cond>defined(LIBXML_SCHEMAS_ENABLED)</cond>
@@ -13706,10 +13713,10 @@ Could we use @subtypes for this?'/>
</function> </function>
<function name='xmlSchemaValidateOneElement' file='xmlschemas' module='xmlschemas'> <function name='xmlSchemaValidateOneElement' file='xmlschemas' module='xmlschemas'>
<cond>defined(LIBXML_SCHEMAS_ENABLED)</cond> <cond>defined(LIBXML_SCHEMAS_ENABLED)</cond>
<info></info> <info>Validate a branch of a tree, starting with the given @elem.</info>
<return type='int' info=''/> <return type='int' info='0 if the element and its subtree is valid, a positive error code number otherwise and -1 in case of an internal or API error.'/>
<arg name='ctxt' type='xmlSchemaValidCtxtPtr' info=''/> <arg name='ctxt' type='xmlSchemaValidCtxtPtr' info='a schema validation context'/>
<arg name='elem' type='xmlNodePtr' info=''/> <arg name='elem' type='xmlNodePtr' info='an element node'/>
</function> </function>
<function name='xmlSchemaValidatePredefinedType' file='xmlschemastypes' module='xmlschemastypes'> <function name='xmlSchemaValidatePredefinedType' file='xmlschemastypes' module='xmlschemastypes'>
<cond>defined(LIBXML_SCHEMAS_ENABLED)</cond> <cond>defined(LIBXML_SCHEMAS_ENABLED)</cond>
@@ -13721,29 +13728,29 @@ Could we use @subtypes for this?'/>
</function> </function>
<function name='xmlSchemaValidateStream' file='xmlschemas' module='xmlschemas'> <function name='xmlSchemaValidateStream' file='xmlschemas' module='xmlschemas'>
<cond>defined(LIBXML_SCHEMAS_ENABLED)</cond> <cond>defined(LIBXML_SCHEMAS_ENABLED)</cond>
<info></info> <info>Validate an input based on a flow of SAX event from the parser and forward the events to the @sax handler with the provided @user_data the user provided @sax handler must be a SAX2 one.</info>
<return type='int' info=''/> <return type='int' info='0 if the document is schemas valid, a positive error code number otherwise and -1 in case of internal or API error.'/>
<arg name='ctxt' type='xmlSchemaValidCtxtPtr' info=''/> <arg name='ctxt' type='xmlSchemaValidCtxtPtr' info='a schema validation context'/>
<arg name='input' type='xmlParserInputBufferPtr' info=''/> <arg name='input' type='xmlParserInputBufferPtr' info='the input to use for reading the data'/>
<arg name='enc' type='xmlCharEncoding' info=''/> <arg name='enc' type='xmlCharEncoding' info='an optional encoding information'/>
<arg name='sax' type='xmlSAXHandlerPtr' info=''/> <arg name='sax' type='xmlSAXHandlerPtr' info='a SAX handler for the resulting events'/>
<arg name='user_data' type='void *' info=''/> <arg name='user_data' type='void *' info='the context to provide to the SAX handler.'/>
</function> </function>
<functype name='xmlSchemaValidityErrorFunc' file='xmlschemas' module='xmlschemas'> <functype name='xmlSchemaValidityErrorFunc' file='xmlschemas' module='xmlschemas'>
<cond>defined(LIBXML_SCHEMAS_ENABLED)</cond> <cond>defined(LIBXML_SCHEMAS_ENABLED)</cond>
<info></info> <info>Signature of an error callback from an XSD validation</info>
<return type='void'/> <return type='void'/>
<arg name='ctx' type='void *' info=''/> <arg name='ctx' type='void *' info='the validation context'/>
<arg name='msg' type='const char *' info=''/> <arg name='msg' type='const char *' info='the message'/>
<arg name='...' type='...' info=''/> <arg name='...' type='...' info='extra arguments'/>
</functype> </functype>
<functype name='xmlSchemaValidityWarningFunc' file='xmlschemas' module='xmlschemas'> <functype name='xmlSchemaValidityWarningFunc' file='xmlschemas' module='xmlschemas'>
<cond>defined(LIBXML_SCHEMAS_ENABLED)</cond> <cond>defined(LIBXML_SCHEMAS_ENABLED)</cond>
<info></info> <info>Signature of a warning callback from an XSD validation</info>
<return type='void'/> <return type='void'/>
<arg name='ctx' type='void *' info=''/> <arg name='ctx' type='void *' info='the validation context'/>
<arg name='msg' type='const char *' info=''/> <arg name='msg' type='const char *' info='the message'/>
<arg name='...' type='...' info=''/> <arg name='...' type='...' info='extra arguments'/>
</functype> </functype>
<function name='xmlSchemaValueAppend' file='xmlschemastypes' module='xmlschemastypes'> <function name='xmlSchemaValueAppend' file='xmlschemastypes' module='xmlschemastypes'>
<cond>defined(LIBXML_SCHEMAS_ENABLED)</cond> <cond>defined(LIBXML_SCHEMAS_ENABLED)</cond>
@@ -13843,19 +13850,19 @@ Could we use @subtypes for this?'/>
</function> </function>
<functype name='xmlSchematronValidityErrorFunc' file='schematron' module='schematron'> <functype name='xmlSchematronValidityErrorFunc' file='schematron' module='schematron'>
<cond>defined(LIBXML_SCHEMATRON_ENABLED)</cond> <cond>defined(LIBXML_SCHEMATRON_ENABLED)</cond>
<info></info> <info>Signature of an error callback from a Schematron validation</info>
<return type='void'/> <return type='void'/>
<arg name='ctx' type='void *' info=''/> <arg name='ctx' type='void *' info='the validation context'/>
<arg name='msg' type='const char *' info=''/> <arg name='msg' type='const char *' info='the message'/>
<arg name='...' type='...' info=''/> <arg name='...' type='...' info='extra arguments'/>
</functype> </functype>
<functype name='xmlSchematronValidityWarningFunc' file='schematron' module='schematron'> <functype name='xmlSchematronValidityWarningFunc' file='schematron' module='schematron'>
<cond>defined(LIBXML_SCHEMATRON_ENABLED)</cond> <cond>defined(LIBXML_SCHEMATRON_ENABLED)</cond>
<info></info> <info>Signature of a warning callback from a Schematron validation</info>
<return type='void'/> <return type='void'/>
<arg name='ctx' type='void *' info=''/> <arg name='ctx' type='void *' info='the validation context'/>
<arg name='msg' type='const char *' info=''/> <arg name='msg' type='const char *' info='the message'/>
<arg name='...' type='...' info=''/> <arg name='...' type='...' info='extra arguments'/>
</functype> </functype>
<function name='xmlSearchNs' file='tree' module='tree'> <function name='xmlSearchNs' file='tree' module='tree'>
<info>Search a Ns registered under a given name space for a document. recurse on the parents until it finds the defined namespace or return NULL otherwise. @nameSpace can be NULL, this is a search for the default namespace. We don&apos;t allow to cross entities boundaries. If you don&apos;t declare the namespace within those you will be in troubles !!! A warning is generated to cover this case.</info> <info>Search a Ns registered under a given name space for a document. recurse on the parents until it finds the defined namespace or return NULL otherwise. @nameSpace can be NULL, this is a search for the default namespace. We don&apos;t allow to cross entities boundaries. If you don&apos;t declare the namespace within those you will be in troubles !!! A warning is generated to cover this case.</info>
@@ -14486,12 +14493,12 @@ Could we use @subtypes for this?'/>
</function> </function>
<functype name='xmlTextReaderErrorFunc' file='xmlreader' module='xmlreader'> <functype name='xmlTextReaderErrorFunc' file='xmlreader' module='xmlreader'>
<cond>defined(LIBXML_READER_ENABLED)</cond> <cond>defined(LIBXML_READER_ENABLED)</cond>
<info></info> <info>Signature of an error callback from a reader parser</info>
<return type='void'/> <return type='void'/>
<arg name='arg' type='void *' info=''/> <arg name='arg' type='void *' info='the user argument'/>
<arg name='msg' type='const char *' info=''/> <arg name='msg' type='const char *' info='the message'/>
<arg name='severity' type='xmlParserSeverities' info=''/> <arg name='severity' type='xmlParserSeverities' info='the severity of the error'/>
<arg name='locator' type='xmlTextReaderLocatorPtr' info=''/> <arg name='locator' type='xmlTextReaderLocatorPtr' info='a locator indicating where the error occured'/>
</functype> </functype>
<function name='xmlTextReaderExpand' file='xmlreader' module='xmlreader'> <function name='xmlTextReaderExpand' file='xmlreader' module='xmlreader'>
<cond>defined(LIBXML_READER_ENABLED)</cond> <cond>defined(LIBXML_READER_ENABLED)</cond>

View File

@@ -2741,6 +2741,7 @@
<reference name='xmlSchemaValType' href='html/libxml-schemasInternals.html#xmlSchemaValType'/> <reference name='xmlSchemaValType' href='html/libxml-schemasInternals.html#xmlSchemaValType'/>
<reference name='xmlSchemaValidCtxt' href='html/libxml-xmlschemas.html#xmlSchemaValidCtxt'/> <reference name='xmlSchemaValidCtxt' href='html/libxml-xmlschemas.html#xmlSchemaValidCtxt'/>
<reference name='xmlSchemaValidCtxtGetOptions' href='html/libxml-xmlschemas.html#xmlSchemaValidCtxtGetOptions'/> <reference name='xmlSchemaValidCtxtGetOptions' href='html/libxml-xmlschemas.html#xmlSchemaValidCtxtGetOptions'/>
<reference name='xmlSchemaValidCtxtGetParserCtxt' href='html/libxml-xmlschemas.html#xmlSchemaValidCtxtGetParserCtxt'/>
<reference name='xmlSchemaValidCtxtPtr' href='html/libxml-xmlschemas.html#xmlSchemaValidCtxtPtr'/> <reference name='xmlSchemaValidCtxtPtr' href='html/libxml-xmlschemas.html#xmlSchemaValidCtxtPtr'/>
<reference name='xmlSchemaValidError' href='html/libxml-xmlschemas.html#xmlSchemaValidError'/> <reference name='xmlSchemaValidError' href='html/libxml-xmlschemas.html#xmlSchemaValidError'/>
<reference name='xmlSchemaValidOption' href='html/libxml-xmlschemas.html#xmlSchemaValidOption'/> <reference name='xmlSchemaValidOption' href='html/libxml-xmlschemas.html#xmlSchemaValidOption'/>
@@ -6294,6 +6295,7 @@
<ref name='xmlSchemaValType'/> <ref name='xmlSchemaValType'/>
<ref name='xmlSchemaValidCtxt'/> <ref name='xmlSchemaValidCtxt'/>
<ref name='xmlSchemaValidCtxtGetOptions'/> <ref name='xmlSchemaValidCtxtGetOptions'/>
<ref name='xmlSchemaValidCtxtGetParserCtxt'/>
<ref name='xmlSchemaValidCtxtPtr'/> <ref name='xmlSchemaValidCtxtPtr'/>
<ref name='xmlSchemaValidError'/> <ref name='xmlSchemaValidError'/>
<ref name='xmlSchemaValidOption'/> <ref name='xmlSchemaValidOption'/>
@@ -7612,6 +7614,7 @@
<ref name='xmlCreatePushParserCtxt'/> <ref name='xmlCreatePushParserCtxt'/>
<ref name='xmlCreateURLParserCtxt'/> <ref name='xmlCreateURLParserCtxt'/>
<ref name='xmlNewParserCtxt'/> <ref name='xmlNewParserCtxt'/>
<ref name='xmlSchemaValidCtxtGetParserCtxt'/>
</type> </type>
<type name='xmlParserErrors'> <type name='xmlParserErrors'>
<ref name='xmlParseInNodeContext'/> <ref name='xmlParseInNodeContext'/>
@@ -10070,6 +10073,7 @@
<ref name='xmlSchemaSetValidOptions'/> <ref name='xmlSchemaSetValidOptions'/>
<ref name='xmlSchemaSetValidStructuredErrors'/> <ref name='xmlSchemaSetValidStructuredErrors'/>
<ref name='xmlSchemaValidCtxtGetOptions'/> <ref name='xmlSchemaValidCtxtGetOptions'/>
<ref name='xmlSchemaValidCtxtGetParserCtxt'/>
<ref name='xmlSchemaValidateDoc'/> <ref name='xmlSchemaValidateDoc'/>
<ref name='xmlSchemaValidateFile'/> <ref name='xmlSchemaValidateFile'/>
<ref name='xmlSchemaValidateOneElement'/> <ref name='xmlSchemaValidateOneElement'/>
@@ -13419,6 +13423,7 @@
<ref name='xmlSchemaSetValidStructuredErrors'/> <ref name='xmlSchemaSetValidStructuredErrors'/>
<ref name='xmlSchemaValidCtxt'/> <ref name='xmlSchemaValidCtxt'/>
<ref name='xmlSchemaValidCtxtGetOptions'/> <ref name='xmlSchemaValidCtxtGetOptions'/>
<ref name='xmlSchemaValidCtxtGetParserCtxt'/>
<ref name='xmlSchemaValidCtxtPtr'/> <ref name='xmlSchemaValidCtxtPtr'/>
<ref name='xmlSchemaValidError'/> <ref name='xmlSchemaValidError'/>
<ref name='xmlSchemaValidOption'/> <ref name='xmlSchemaValidOption'/>
@@ -14485,6 +14490,7 @@
<word name='C14N'> <word name='C14N'>
<ref name='xmlC14NDocSaveTo'/> <ref name='xmlC14NDocSaveTo'/>
<ref name='xmlC14NExecute'/> <ref name='xmlC14NExecute'/>
<ref name='xmlC14NIsVisibleCallback'/>
</word> </word>
<word name='CATALOG'> <word name='CATALOG'>
<ref name='xmlLoadACatalog'/> <ref name='xmlLoadACatalog'/>
@@ -14594,6 +14600,7 @@
<ref name='xmlOutputOpenCallback'/> <ref name='xmlOutputOpenCallback'/>
<ref name='xmlOutputWriteCallback'/> <ref name='xmlOutputWriteCallback'/>
<ref name='xmlParserInputDeallocate'/> <ref name='xmlParserInputDeallocate'/>
<ref name='xmlRegExecCallbacks'/>
<ref name='xmlSAX2ExternalSubset'/> <ref name='xmlSAX2ExternalSubset'/>
<ref name='xmlSAX2InternalSubset'/> <ref name='xmlSAX2InternalSubset'/>
<ref name='xmlValidityErrorFunc'/> <ref name='xmlValidityErrorFunc'/>
@@ -16751,6 +16758,9 @@
<word name='Please'> <word name='Please'>
<ref name='xmlNormalizeWindowsPath'/> <ref name='xmlNormalizeWindowsPath'/>
</word> </word>
<word name='Plug'>
<ref name='xmlSchemaSAXPlug'/>
</word>
<word name='Pointer'> <word name='Pointer'>
<ref name='xmlCheckUTF8'/> <ref name='xmlCheckUTF8'/>
</word> </word>
@@ -17125,6 +17135,8 @@
<ref name='xmlRelaxNGSetValidErrors'/> <ref name='xmlRelaxNGSetValidErrors'/>
<ref name='xmlRelaxNGSetValidStructuredErrors'/> <ref name='xmlRelaxNGSetValidStructuredErrors'/>
<ref name='xmlRelaxNGValidateDoc'/> <ref name='xmlRelaxNGValidateDoc'/>
<ref name='xmlRelaxNGValidityErrorFunc'/>
<ref name='xmlRelaxNGValidityWarningFunc'/>
</word> </word>
<word name='RelaxNG'> <word name='RelaxNG'>
<ref name='_xmlSchemaElement'/> <ref name='_xmlSchemaElement'/>
@@ -17257,6 +17269,7 @@
<ref name='xmlSAX2InitDocbDefaultSAXHandler'/> <ref name='xmlSAX2InitDocbDefaultSAXHandler'/>
<ref name='xmlSAX2InitHtmlDefaultSAXHandler'/> <ref name='xmlSAX2InitHtmlDefaultSAXHandler'/>
<ref name='xmlSAX2StartElementNs'/> <ref name='xmlSAX2StartElementNs'/>
<ref name='xmlSchemaValidateStream'/>
</word> </word>
<word name='SAX::substituteEntities'> <word name='SAX::substituteEntities'>
<ref name='xmlSubstituteEntitiesDefault'/> <ref name='xmlSubstituteEntitiesDefault'/>
@@ -17354,12 +17367,15 @@
<ref name='xmlSchemaNewDocParserCtxt'/> <ref name='xmlSchemaNewDocParserCtxt'/>
<ref name='xmlSchemaNewMemParserCtxt'/> <ref name='xmlSchemaNewMemParserCtxt'/>
<ref name='xmlSchemaNewParserCtxt'/> <ref name='xmlSchemaNewParserCtxt'/>
<ref name='xmlSchemaNewValidCtxt'/>
</word> </word>
<word name='Schematron'> <word name='Schematron'>
<ref name='LIBXML_SCHEMATRON_ENABLED'/> <ref name='LIBXML_SCHEMATRON_ENABLED'/>
<ref name='xmlSchematronFree'/> <ref name='xmlSchematronFree'/>
<ref name='xmlSchematronParse'/> <ref name='xmlSchematronParse'/>
<ref name='xmlSchematronSetValidStructuredErrors'/> <ref name='xmlSchematronSetValidStructuredErrors'/>
<ref name='xmlSchematronValidityErrorFunc'/>
<ref name='xmlSchematronValidityWarningFunc'/>
</word> </word>
<word name='Schematrons'> <word name='Schematrons'>
<ref name='xmlSchematronNewDocParserCtxt'/> <ref name='xmlSchematronNewDocParserCtxt'/>
@@ -17431,6 +17447,7 @@
<word name='Sets'> <word name='Sets'>
<ref name='htmlSetMetaEncoding'/> <ref name='htmlSetMetaEncoding'/>
<ref name='xmlBufferSetAllocationScheme'/> <ref name='xmlBufferSetAllocationScheme'/>
<ref name='xmlSchemaSetValidOptions'/>
<ref name='xmlXPathDifference'/> <ref name='xmlXPathDifference'/>
<ref name='xmlXPathDistinct'/> <ref name='xmlXPathDistinct'/>
<ref name='xmlXPathDistinctSorted'/> <ref name='xmlXPathDistinctSorted'/>
@@ -17480,12 +17497,24 @@
<ref name='xmlShellPwd'/> <ref name='xmlShellPwd'/>
</word> </word>
<word name='Signature'> <word name='Signature'>
<ref name='xmlC14NIsVisibleCallback'/>
<ref name='xmlDeregisterNodeFunc'/>
<ref name='xmlFreeFunc'/> <ref name='xmlFreeFunc'/>
<ref name='xmlGenericErrorFunc'/> <ref name='xmlGenericErrorFunc'/>
<ref name='xmlMallocFunc'/> <ref name='xmlMallocFunc'/>
<ref name='xmlOutputBufferCreateFilenameFunc'/>
<ref name='xmlParserInputBufferCreateFilenameFunc'/>
<ref name='xmlReallocFunc'/> <ref name='xmlReallocFunc'/>
<ref name='xmlRegisterNodeFunc'/>
<ref name='xmlRelaxNGValidityErrorFunc'/>
<ref name='xmlRelaxNGValidityWarningFunc'/>
<ref name='xmlSchemaValidityErrorFunc'/>
<ref name='xmlSchemaValidityWarningFunc'/>
<ref name='xmlSchematronValidityErrorFunc'/>
<ref name='xmlSchematronValidityWarningFunc'/>
<ref name='xmlStrdupFunc'/> <ref name='xmlStrdupFunc'/>
<ref name='xmlStructuredErrorFunc'/> <ref name='xmlStructuredErrorFunc'/>
<ref name='xmlTextReaderErrorFunc'/>
</word> </word>
<word name='Similarly'> <word name='Similarly'>
<ref name='xmlParseEntityRef'/> <ref name='xmlParseEntityRef'/>
@@ -17914,6 +17943,9 @@
<word name='Unlinks'> <word name='Unlinks'>
<ref name='xmlDOMWrapRemoveNode'/> <ref name='xmlDOMWrapRemoveNode'/>
</word> </word>
<word name='Unplug'>
<ref name='xmlSchemaSAXUnplug'/>
</word>
<word name='Unregisters'> <word name='Unregisters'>
<ref name='xmlCleanupEncodingAliases'/> <ref name='xmlCleanupEncodingAliases'/>
<ref name='xmlDelEncodingAlias'/> <ref name='xmlDelEncodingAlias'/>
@@ -17988,6 +18020,9 @@
<ref name='XML_SCHEMAS_ANY_LAX'/> <ref name='XML_SCHEMAS_ANY_LAX'/>
<ref name='xmlRelaxNGValidateDoc'/> <ref name='xmlRelaxNGValidateDoc'/>
<ref name='xmlRelaxNGValidateFullElement'/> <ref name='xmlRelaxNGValidateFullElement'/>
<ref name='xmlSchemaValidateDoc'/>
<ref name='xmlSchemaValidateOneElement'/>
<ref name='xmlSchemaValidateStream'/>
<ref name='xmlSchematronValidateDoc'/> <ref name='xmlSchematronValidateDoc'/>
<ref name='xmlShellValidate'/> <ref name='xmlShellValidate'/>
<ref name='xmlValidateAttributeValue'/> <ref name='xmlValidateAttributeValue'/>
@@ -18174,6 +18209,9 @@
<ref name='xmlValidateOneNamespace'/> <ref name='xmlValidateOneNamespace'/>
<ref name='xmlValidateRoot'/> <ref name='xmlValidateRoot'/>
</word> </word>
<word name='XML-Schema'>
<ref name='xmlSchemaGetValidErrors'/>
</word>
<word name='XMLDecl'> <word name='XMLDecl'>
<ref name='xmlParseXMLDecl'/> <ref name='xmlParseXMLDecl'/>
</word> </word>
@@ -18297,6 +18335,8 @@
</word> </word>
<word name='XSD'> <word name='XSD'>
<ref name='xmlAutomataNewNegTrans'/> <ref name='xmlAutomataNewNegTrans'/>
<ref name='xmlSchemaValidityErrorFunc'/>
<ref name='xmlSchemaValidityWarningFunc'/>
<ref name='xmlTextReaderSchemaValidate'/> <ref name='xmlTextReaderSchemaValidate'/>
<ref name='xmlTextReaderSchemaValidateCtxt'/> <ref name='xmlTextReaderSchemaValidateCtxt'/>
<ref name='xmlTextReaderSetSchema'/> <ref name='xmlTextReaderSetSchema'/>
@@ -18452,6 +18492,7 @@
<ref name='xmlMemSetup'/> <ref name='xmlMemSetup'/>
<ref name='xmlNewMutex'/> <ref name='xmlNewMutex'/>
<ref name='xmlNewRMutex'/> <ref name='xmlNewRMutex'/>
<ref name='xmlSchemaValidCtxtGetParserCtxt'/>
</word> </word>
<word name='accessed'> <word name='accessed'>
<ref name='xmlTextReaderCurrentDoc'/> <ref name='xmlTextReaderCurrentDoc'/>
@@ -18769,6 +18810,7 @@
<ref name='xmlKeepBlanksDefault'/> <ref name='xmlKeepBlanksDefault'/>
<ref name='xmlNewDocNode'/> <ref name='xmlNewDocNode'/>
<ref name='xmlNewDocNodeEatName'/> <ref name='xmlNewDocNodeEatName'/>
<ref name='xmlSchemaValidCtxtGetParserCtxt'/>
<ref name='xmlSearchNs'/> <ref name='xmlSearchNs'/>
<ref name='xmlShell'/> <ref name='xmlShell'/>
<ref name='xmlValidateNCName'/> <ref name='xmlValidateNCName'/>
@@ -19243,6 +19285,10 @@
<ref name='xmlNewStringInputStream'/> <ref name='xmlNewStringInputStream'/>
<ref name='xmlRelaxNGNewValidCtxt'/> <ref name='xmlRelaxNGNewValidCtxt'/>
<ref name='xmlSchemaNewStringValue'/> <ref name='xmlSchemaNewStringValue'/>
<ref name='xmlSchemaNewValidCtxt'/>
<ref name='xmlSchemaSAXPlug'/>
<ref name='xmlSchemaSAXUnplug'/>
<ref name='xmlSchemaValidateStream'/>
<ref name='xmlSchematronNewValidCtxt'/> <ref name='xmlSchematronNewValidCtxt'/>
<ref name='xmlSetCompressMode'/> <ref name='xmlSetCompressMode'/>
<ref name='xmlSetDocCompressMode'/> <ref name='xmlSetDocCompressMode'/>
@@ -19439,6 +19485,7 @@
<word name='branch'> <word name='branch'>
<ref name='xmlDOMWrapCloneNode'/> <ref name='xmlDOMWrapCloneNode'/>
<ref name='xmlDOMWrapRemoveNode'/> <ref name='xmlDOMWrapRemoveNode'/>
<ref name='xmlSchemaValidateOneElement'/>
</word> </word>
<word name='break'> <word name='break'>
<ref name='_xmlError'/> <ref name='_xmlError'/>
@@ -19584,6 +19631,7 @@
</word> </word>
<word name='calls'> <word name='calls'>
<ref name='xlinkNodeDetectFunc'/> <ref name='xlinkNodeDetectFunc'/>
<ref name='xmlSchemaSAXPlug'/>
<ref name='xmlXPathAxisFunc'/> <ref name='xmlXPathAxisFunc'/>
</word> </word>
<word name='came'> <word name='came'>
@@ -20638,6 +20686,8 @@
<ref name='xmlGetDocEntity'/> <ref name='xmlGetDocEntity'/>
<ref name='xmlGetDtdEntity'/> <ref name='xmlGetDtdEntity'/>
<ref name='xmlGetParameterEntity'/> <ref name='xmlGetParameterEntity'/>
<ref name='xmlOutputBufferCreateFilenameFunc'/>
<ref name='xmlParserInputBufferCreateFilenameFunc'/>
<ref name='xmlSetProp'/> <ref name='xmlSetProp'/>
<ref name='xmlXPathTranslateFunction'/> <ref name='xmlXPathTranslateFunction'/>
</word> </word>
@@ -20757,6 +20807,9 @@
<word name='cur'> <word name='cur'>
<ref name='xmlXPathAxisFunc'/> <ref name='xmlXPathAxisFunc'/>
</word> </word>
<word name='curent'>
<ref name='xmlC14NIsVisibleCallback'/>
</word>
<word name='currently'> <word name='currently'>
<ref name='XML_SCHEMAS_INCLUDING_CONVERT_NS'/> <ref name='XML_SCHEMAS_INCLUDING_CONVERT_NS'/>
<ref name='xmlGcMemGet'/> <ref name='xmlGcMemGet'/>
@@ -20764,6 +20817,7 @@
<ref name='xmlMemGet'/> <ref name='xmlMemGet'/>
<ref name='xmlMemUsed'/> <ref name='xmlMemUsed'/>
<ref name='xmlOutputBufferCreateFilename'/> <ref name='xmlOutputBufferCreateFilename'/>
<ref name='xmlSchemaValidateFile'/>
<ref name='xmlXPathContextSetCache'/> <ref name='xmlXPathContextSetCache'/>
</word> </word>
<word name='custom'> <word name='custom'>
@@ -21062,6 +21116,7 @@
</word> </word>
<word name='deregistration'> <word name='deregistration'>
<ref name='xmlDeregisterNodeDefault'/> <ref name='xmlDeregisterNodeDefault'/>
<ref name='xmlDeregisterNodeFunc'/>
</word> </word>
<word name='derivation'> <word name='derivation'>
<ref name='XML_SCHEMAS_TYPE_DERIVATION_METHOD_EXTENSION'/> <ref name='XML_SCHEMAS_TYPE_DERIVATION_METHOD_EXTENSION'/>
@@ -21210,6 +21265,7 @@
<ref name='xmlSAX2EndElementNs'/> <ref name='xmlSAX2EndElementNs'/>
<ref name='xmlSAX2Reference'/> <ref name='xmlSAX2Reference'/>
<ref name='xmlSAX2StartElementNs'/> <ref name='xmlSAX2StartElementNs'/>
<ref name='xmlSchemaIsValid'/>
</word> </word>
<word name='detection'> <word name='detection'>
<ref name='docbCreatePushParserCtxt'/> <ref name='docbCreatePushParserCtxt'/>
@@ -21369,6 +21425,9 @@
<word name='discard'> <word name='discard'>
<ref name='xmlParserInputRead'/> <ref name='xmlParserInputRead'/>
</word> </word>
<word name='discarded'>
<ref name='xmlDeregisterNodeFunc'/>
</word>
<word name='discarding'> <word name='discarding'>
<ref name='xmlParseAttValue'/> <ref name='xmlParseAttValue'/>
<ref name='xmlValidCtxtNormalizeAttributeValue'/> <ref name='xmlValidCtxtNormalizeAttributeValue'/>
@@ -21461,6 +21520,11 @@
<ref name='xmlXPathTrailing'/> <ref name='xmlXPathTrailing'/>
<ref name='xmlXPathTrailingSorted'/> <ref name='xmlXPathTrailingSorted'/>
</word> </word>
<word name='doing'>
<ref name='xmlOutputBufferCreateFilenameFunc'/>
<ref name='xmlParserInputBufferCreateFilenameFunc'/>
<ref name='xmlRegExecCallbacks'/>
</word>
<word name='don'> <word name='don'>
<ref name='XML_SCHEMAS_ANY_LAX'/> <ref name='XML_SCHEMAS_ANY_LAX'/>
<ref name='xlinkIsLink'/> <ref name='xlinkIsLink'/>
@@ -21567,7 +21631,9 @@
</word> </word>
<word name='during'> <word name='during'>
<ref name='xmlSAXDefaultVersion'/> <ref name='xmlSAXDefaultVersion'/>
<ref name='xmlSchemaIsValid'/>
<ref name='xmlSchemaNewDocParserCtxt'/> <ref name='xmlSchemaNewDocParserCtxt'/>
<ref name='xmlSchemaSetValidOptions'/>
<ref name='xmlSchematronNewDocParserCtxt'/> <ref name='xmlSchematronNewDocParserCtxt'/>
</word> </word>
<word name='dynamic'> <word name='dynamic'>
@@ -22005,8 +22071,14 @@
<ref name='xmlTextWriterFullEndElement'/> <ref name='xmlTextWriterFullEndElement'/>
<ref name='xmlXPathRoundFunction'/> <ref name='xmlXPathRoundFunction'/>
</word> </word>
<word name='event'>
<ref name='xmlSchemaSAXPlug'/>
<ref name='xmlSchemaSAXUnplug'/>
<ref name='xmlSchemaValidateStream'/>
</word>
<word name='events'> <word name='events'>
<ref name='htmlSAXParseDoc'/> <ref name='htmlSAXParseDoc'/>
<ref name='xmlSchemaValidateStream'/>
</word> </word>
<word name='ever'> <word name='ever'>
<ref name='xmlExpCtxtNbCons'/> <ref name='xmlExpCtxtNbCons'/>
@@ -22274,6 +22346,7 @@
<word name='far'> <word name='far'>
<ref name='_xmlParserCtxt'/> <ref name='_xmlParserCtxt'/>
<ref name='fatalErrorSAXFunc'/> <ref name='fatalErrorSAXFunc'/>
<ref name='xmlSchemaIsValid'/>
</word> </word>
<word name='fashion'> <word name='fashion'>
<ref name='xmlNewRMutex'/> <ref name='xmlNewRMutex'/>
@@ -22478,6 +22551,9 @@
</word> </word>
<word name='flow'> <word name='flow'>
<ref name='xmlScanName'/> <ref name='xmlScanName'/>
<ref name='xmlSchemaSAXPlug'/>
<ref name='xmlSchemaSAXUnplug'/>
<ref name='xmlSchemaValidateStream'/>
</word> </word>
<word name='flushed'> <word name='flushed'>
<ref name='xmlTextWriterEndDocument'/> <ref name='xmlTextWriterEndDocument'/>
@@ -22596,6 +22672,9 @@
<ref name='xmlParseCtxtExternalEntity'/> <ref name='xmlParseCtxtExternalEntity'/>
<ref name='xmlParseExternalEntity'/> <ref name='xmlParseExternalEntity'/>
</word> </word>
<word name='forward'>
<ref name='xmlSchemaValidateStream'/>
</word>
<word name='fptr'> <word name='fptr'>
<ref name='XML_CAST_FPTR'/> <ref name='XML_CAST_FPTR'/>
</word> </word>
@@ -22707,8 +22786,11 @@
<ref name='xmlRelaxNGSetParserStructuredErrors'/> <ref name='xmlRelaxNGSetParserStructuredErrors'/>
<ref name='xmlRelaxNGSetValidErrors'/> <ref name='xmlRelaxNGSetValidErrors'/>
<ref name='xmlRelaxNGSetValidStructuredErrors'/> <ref name='xmlRelaxNGSetValidStructuredErrors'/>
<ref name='xmlSchemaGetValidErrors'/>
<ref name='xmlSchemaSetParserErrors'/> <ref name='xmlSchemaSetParserErrors'/>
<ref name='xmlSchemaSetParserStructuredErrors'/> <ref name='xmlSchemaSetParserStructuredErrors'/>
<ref name='xmlSchemaSetValidErrors'/>
<ref name='xmlSchemaSetValidStructuredErrors'/>
<ref name='xmlSchematronSetValidStructuredErrors'/> <ref name='xmlSchematronSetValidStructuredErrors'/>
<ref name='xmlShellCmd'/> <ref name='xmlShellCmd'/>
<ref name='xmlSwitchEncoding'/> <ref name='xmlSwitchEncoding'/>
@@ -22726,6 +22808,7 @@
</word> </word>
<word name='future'> <word name='future'>
<ref name='_xmlDOMWrapCtxt'/> <ref name='_xmlDOMWrapCtxt'/>
<ref name='xmlSchemaValidateFile'/>
</word> </word>
</letter> </letter>
</chunk> </chunk>
@@ -23335,6 +23418,7 @@
<ref name='xmlC14NDocDumpMemory'/> <ref name='xmlC14NDocDumpMemory'/>
<ref name='xmlC14NDocSave'/> <ref name='xmlC14NDocSave'/>
<ref name='xmlC14NDocSaveTo'/> <ref name='xmlC14NDocSaveTo'/>
<ref name='xmlC14NIsVisibleCallback'/>
<ref name='xmlDocDumpMemory'/> <ref name='xmlDocDumpMemory'/>
<ref name='xmlFreeDoc'/> <ref name='xmlFreeDoc'/>
<ref name='xmlNanoHTTPContentLength'/> <ref name='xmlNanoHTTPContentLength'/>
@@ -23461,6 +23545,7 @@
<ref name='xmlParseCharData'/> <ref name='xmlParseCharData'/>
<ref name='xmlParserFindNodeInfoIndex'/> <ref name='xmlParserFindNodeInfoIndex'/>
<ref name='xmlShellCmd'/> <ref name='xmlShellCmd'/>
<ref name='xmlTextReaderErrorFunc'/>
<ref name='xmlTextReaderNormalization'/> <ref name='xmlTextReaderNormalization'/>
<ref name='xmlXPathAxisFunc'/> <ref name='xmlXPathAxisFunc'/>
</word> </word>
@@ -23536,6 +23621,7 @@
<ref name='xmlNewTextReader'/> <ref name='xmlNewTextReader'/>
<ref name='xmlRelaxNGGetParserErrors'/> <ref name='xmlRelaxNGGetParserErrors'/>
<ref name='xmlSchemaGetParserErrors'/> <ref name='xmlSchemaGetParserErrors'/>
<ref name='xmlSchemaValidateStream'/>
<ref name='xmlTextReaderByteConsumed'/> <ref name='xmlTextReaderByteConsumed'/>
<ref name='xmlXPathOrderDocElems'/> <ref name='xmlXPathOrderDocElems'/>
</word> </word>
@@ -23562,6 +23648,8 @@
<ref name='xmlRelaxParserSetFlag'/> <ref name='xmlRelaxParserSetFlag'/>
<ref name='xmlSAX2EndElementNs'/> <ref name='xmlSAX2EndElementNs'/>
<ref name='xmlSAX2StartElementNs'/> <ref name='xmlSAX2StartElementNs'/>
<ref name='xmlSchemaGetValidErrors'/>
<ref name='xmlSchemaSetValidErrors'/>
<ref name='xmlShellDir'/> <ref name='xmlShellDir'/>
<ref name='xmlXIncludeProcessNode'/> <ref name='xmlXIncludeProcessNode'/>
</word> </word>
@@ -23789,6 +23877,7 @@
<ref name='xmlRelaxNGNewDocParserCtxt'/> <ref name='xmlRelaxNGNewDocParserCtxt'/>
<ref name='xmlRemoveID'/> <ref name='xmlRemoveID'/>
<ref name='xmlRemoveRef'/> <ref name='xmlRemoveRef'/>
<ref name='xmlSchemaValidateFile'/>
<ref name='xmlXPathContextSetCache'/> <ref name='xmlXPathContextSetCache'/>
</word> </word>
<word name='interned'> <word name='interned'>
@@ -24018,6 +24107,8 @@
<ref name='xmlRootNode'/> <ref name='xmlRootNode'/>
<ref name='xmlSaveFileTo'/> <ref name='xmlSaveFileTo'/>
<ref name='xmlSaveFormatFileTo'/> <ref name='xmlSaveFormatFileTo'/>
<ref name='xmlSchemaSAXPlug'/>
<ref name='xmlSchemaSAXUnplug'/>
</word> </word>
<word name='leading'> <word name='leading'>
<ref name='xmlParseAttValue'/> <ref name='xmlParseAttValue'/>
@@ -24314,6 +24405,7 @@
<ref name='xmlCanonicPath'/> <ref name='xmlCanonicPath'/>
<ref name='xmlPathToURI'/> <ref name='xmlPathToURI'/>
<ref name='xmlSAX2SetDocumentLocator'/> <ref name='xmlSAX2SetDocumentLocator'/>
<ref name='xmlTextReaderErrorFunc'/>
<ref name='xmlTextReaderLocatorBaseURI'/> <ref name='xmlTextReaderLocatorBaseURI'/>
<ref name='xmlTextReaderLocatorLineNumber'/> <ref name='xmlTextReaderLocatorLineNumber'/>
</word> </word>
@@ -24419,6 +24511,7 @@
<word name='maintained'> <word name='maintained'>
<ref name='xmlRemoveID'/> <ref name='xmlRemoveID'/>
<ref name='xmlRemoveRef'/> <ref name='xmlRemoveRef'/>
<ref name='xmlSchemaSAXPlug'/>
</word> </word>
<word name='major'> <word name='major'>
<ref name='xmlDecodeEntities'/> <ref name='xmlDecodeEntities'/>
@@ -24643,22 +24736,6 @@
<ref name='xmlAddPrevSibling'/> <ref name='xmlAddPrevSibling'/>
<ref name='xmlAddSibling'/> <ref name='xmlAddSibling'/>
</word> </word>
<word name='message'>
<ref name='_xmlError'/>
<ref name='errorSAXFunc'/>
<ref name='fatalErrorSAXFunc'/>
<ref name='warningSAXFunc'/>
<ref name='xmlGenericErrorFunc'/>
<ref name='xmlParserError'/>
<ref name='xmlParserValidityError'/>
<ref name='xmlParserValidityWarning'/>
<ref name='xmlParserWarning'/>
<ref name='xmlStrPrintf'/>
<ref name='xmlStrVPrintf'/>
<ref name='xmlValidityErrorFunc'/>
<ref name='xmlValidityWarningFunc'/>
<ref name='xmlXPatherror'/>
</word>
<word name='messages'> <word name='messages'>
<ref name='errorSAXFunc'/> <ref name='errorSAXFunc'/>
<ref name='fatalErrorSAXFunc'/> <ref name='fatalErrorSAXFunc'/>
@@ -24676,6 +24753,8 @@
<ref name='_xmlBuffer'/> <ref name='_xmlBuffer'/>
<ref name='xmlNanoHTTPMethod'/> <ref name='xmlNanoHTTPMethod'/>
<ref name='xmlNanoHTTPMethodRedir'/> <ref name='xmlNanoHTTPMethodRedir'/>
<ref name='xmlOutputBufferCreateFilenameFunc'/>
<ref name='xmlParserInputBufferCreateFilenameFunc'/>
<ref name='xmlRegisterHTTPPostCallbacks'/> <ref name='xmlRegisterHTTPPostCallbacks'/>
<ref name='xmlSetBufferAllocationScheme'/> <ref name='xmlSetBufferAllocationScheme'/>
<ref name='xmlTextReaderClose'/> <ref name='xmlTextReaderClose'/>
@@ -24992,6 +25071,7 @@
<ref name='xmlParseElementChildrenContentDecl'/> <ref name='xmlParseElementChildrenContentDecl'/>
<ref name='xmlParseElementMixedContentDecl'/> <ref name='xmlParseElementMixedContentDecl'/>
<ref name='xmlReconciliateNs'/> <ref name='xmlReconciliateNs'/>
<ref name='xmlSchemaSAXPlug'/>
<ref name='xmlSetBufferAllocationScheme'/> <ref name='xmlSetBufferAllocationScheme'/>
<ref name='xmlShellPwd'/> <ref name='xmlShellPwd'/>
<ref name='xmlStrncat'/> <ref name='xmlStrncat'/>
@@ -25348,6 +25428,7 @@
<ref name='xmlHashCreateDict'/> <ref name='xmlHashCreateDict'/>
<ref name='xmlListRemoveFirst'/> <ref name='xmlListRemoveFirst'/>
<ref name='xmlListRemoveLast'/> <ref name='xmlListRemoveLast'/>
<ref name='xmlTextReaderErrorFunc'/>
</word> </word>
<word name='occurences'> <word name='occurences'>
<ref name='xmlAutomataNewCountTrans'/> <ref name='xmlAutomataNewCountTrans'/>
@@ -25572,6 +25653,7 @@
<ref name='xmlDOMWrapCloneNode'/> <ref name='xmlDOMWrapCloneNode'/>
<ref name='xmlDOMWrapReconcileNamespaces'/> <ref name='xmlDOMWrapReconcileNamespaces'/>
<ref name='xmlGetLineNo'/> <ref name='xmlGetLineNo'/>
<ref name='xmlSchemaValidCtxtGetOptions'/>
</word> </word>
<word name='options'> <word name='options'>
<ref name='htmlCtxtUseOptions'/> <ref name='htmlCtxtUseOptions'/>
@@ -25582,6 +25664,9 @@
<ref name='xmlSaveToFd'/> <ref name='xmlSaveToFd'/>
<ref name='xmlSaveToFilename'/> <ref name='xmlSaveToFilename'/>
<ref name='xmlSaveToIO'/> <ref name='xmlSaveToIO'/>
<ref name='xmlSchemaSetValidOptions'/>
<ref name='xmlSchemaValidCtxtGetOptions'/>
<ref name='xmlSchemaValidateFile'/>
<ref name='xmlTextReaderSchemaValidateCtxt'/> <ref name='xmlTextReaderSchemaValidateCtxt'/>
<ref name='xmlTextReaderSetup'/> <ref name='xmlTextReaderSetup'/>
<ref name='xmlXPathContextSetCache'/> <ref name='xmlXPathContextSetCache'/>
@@ -25625,6 +25710,8 @@
<ref name='xmlListMerge'/> <ref name='xmlListMerge'/>
<ref name='xmlParseEntityValue'/> <ref name='xmlParseEntityValue'/>
<ref name='xmlParseURIRaw'/> <ref name='xmlParseURIRaw'/>
<ref name='xmlSchemaSAXPlug'/>
<ref name='xmlSchemaSAXUnplug'/>
<ref name='xmlShellSave'/> <ref name='xmlShellSave'/>
<ref name='xmlStrcat'/> <ref name='xmlStrcat'/>
<ref name='xmlStrncat'/> <ref name='xmlStrncat'/>
@@ -25962,6 +26049,8 @@
<ref name='xmlReconciliateNs'/> <ref name='xmlReconciliateNs'/>
<ref name='xmlRegExecErrInfo'/> <ref name='xmlRegExecErrInfo'/>
<ref name='xmlRegExecNextValues'/> <ref name='xmlRegExecNextValues'/>
<ref name='xmlSchemaSAXPlug'/>
<ref name='xmlSchemaSAXUnplug'/>
<ref name='xmlValidGetValidElements'/> <ref name='xmlValidGetValidElements'/>
</word> </word>
<word name='points'> <word name='points'>
@@ -26003,37 +26092,6 @@
<word name='positions'> <word name='positions'>
<ref name='xmlUTF8Strsub'/> <ref name='xmlUTF8Strsub'/>
</word> </word>
<word name='positive'>
<ref name='UTF8ToHtml'/>
<ref name='UTF8Toisolat1'/>
<ref name='docbEncodeEntities'/>
<ref name='htmlEncodeEntities'/>
<ref name='isolat1ToUTF8'/>
<ref name='xmlBufferAdd'/>
<ref name='xmlBufferAddHead'/>
<ref name='xmlBufferCCat'/>
<ref name='xmlBufferCat'/>
<ref name='xmlCharEncodingInputFunc'/>
<ref name='xmlCharEncodingOutputFunc'/>
<ref name='xmlRelaxNGValidateDoc'/>
<ref name='xmlSchemaCheckFacet'/>
<ref name='xmlSchemaValPredefTypeNode'/>
<ref name='xmlSchemaValPredefTypeNodeNoNorm'/>
<ref name='xmlSchemaValidateFacet'/>
<ref name='xmlSchemaValidateFacetWhtsp'/>
<ref name='xmlSchemaValidateLengthFacet'/>
<ref name='xmlSchemaValidateLengthFacetWhtsp'/>
<ref name='xmlSchemaValidateListSimpleTypeFacet'/>
<ref name='xmlSchemaValidatePredefinedType'/>
<ref name='xmlTextReaderPreservePattern'/>
<ref name='xmlValidateNCName'/>
<ref name='xmlValidateNMToken'/>
<ref name='xmlValidateName'/>
<ref name='xmlValidateQName'/>
<ref name='xmlXPathBooleanFunction'/>
<ref name='xmlXPathFloorFunction'/>
<ref name='xmlXPathStringFunction'/>
</word>
<word name='possible'> <word name='possible'>
<ref name='xmlCopyNodeList'/> <ref name='xmlCopyNodeList'/>
<ref name='xmlCreateEntityParserCtxt'/> <ref name='xmlCreateEntityParserCtxt'/>
@@ -26111,6 +26169,7 @@
<ref name='xmlPatternStreamable'/> <ref name='xmlPatternStreamable'/>
<ref name='xmlRegNewExecCtxt'/> <ref name='xmlRegNewExecCtxt'/>
<ref name='xmlRelaxNGNewValidCtxt'/> <ref name='xmlRelaxNGNewValidCtxt'/>
<ref name='xmlSchemaNewValidCtxt'/>
<ref name='xmlSchematronNewValidCtxt'/> <ref name='xmlSchematronNewValidCtxt'/>
<ref name='xmlTextReaderRelaxNGSetSchema'/> <ref name='xmlTextReaderRelaxNGSetSchema'/>
<ref name='xmlTextReaderSetSchema'/> <ref name='xmlTextReaderSetSchema'/>
@@ -26455,6 +26514,7 @@
<ref name='xmlOutputMatchCallback'/> <ref name='xmlOutputMatchCallback'/>
<ref name='xmlSaveFormatFile'/> <ref name='xmlSaveFormatFile'/>
<ref name='xmlSaveFormatFileEnc'/> <ref name='xmlSaveFormatFileEnc'/>
<ref name='xmlSchemaValidateStream'/>
<ref name='xmlUTF8Strloc'/> <ref name='xmlUTF8Strloc'/>
<ref name='xmlUTF8Strpos'/> <ref name='xmlUTF8Strpos'/>
</word> </word>
@@ -26663,6 +26723,7 @@
<ref name='xmlTextReaderGetRemainder'/> <ref name='xmlTextReaderGetRemainder'/>
</word> </word>
<word name='reading'> <word name='reading'>
<ref name='xmlSchemaValidateStream'/>
<ref name='xmlShell'/> <ref name='xmlShell'/>
</word> </word>
<word name='ready'> <word name='ready'>
@@ -26936,9 +26997,11 @@
<ref name='xmlOutputBufferCreateFilenameDefault'/> <ref name='xmlOutputBufferCreateFilenameDefault'/>
<ref name='xmlParserInputBufferCreateFilenameDefault'/> <ref name='xmlParserInputBufferCreateFilenameDefault'/>
<ref name='xmlRegisterNodeDefault'/> <ref name='xmlRegisterNodeDefault'/>
<ref name='xmlRegisterNodeFunc'/>
</word> </word>
<word name='regular'> <word name='regular'>
<ref name='LIBXML_REGEXP_ENABLED'/> <ref name='LIBXML_REGEXP_ENABLED'/>
<ref name='xmlRegExecCallbacks'/>
<ref name='xmlRegFreeExecCtxt'/> <ref name='xmlRegFreeExecCtxt'/>
<ref name='xmlRegNewExecCtxt'/> <ref name='xmlRegNewExecCtxt'/>
<ref name='xmlRegexpCompile'/> <ref name='xmlRegexpCompile'/>
@@ -27087,6 +27150,7 @@
<ref name='xmlHashUpdateEntry2'/> <ref name='xmlHashUpdateEntry2'/>
<ref name='xmlHashUpdateEntry3'/> <ref name='xmlHashUpdateEntry3'/>
<ref name='xmlNewTextChild'/> <ref name='xmlNewTextChild'/>
<ref name='xmlSchemaSAXPlug'/>
<ref name='xmlXPathTranslateFunction'/> <ref name='xmlXPathTranslateFunction'/>
</word> </word>
<word name='replacement'> <word name='replacement'>
@@ -27160,6 +27224,7 @@
<ref name='xmlHasFeature'/> <ref name='xmlHasFeature'/>
<ref name='xmlIsID'/> <ref name='xmlIsID'/>
<ref name='xmlMallocFunc'/> <ref name='xmlMallocFunc'/>
<ref name='xmlParserInputBufferCreateFilenameFunc'/>
<ref name='xmlReallocFunc'/> <ref name='xmlReallocFunc'/>
</word> </word>
<word name='requests'> <word name='requests'>
@@ -27247,6 +27312,7 @@
<ref name='xmlRelaxNGFreeParserCtxt'/> <ref name='xmlRelaxNGFreeParserCtxt'/>
<ref name='xmlRelaxNGFreeValidCtxt'/> <ref name='xmlRelaxNGFreeValidCtxt'/>
<ref name='xmlSchemaFreeParserCtxt'/> <ref name='xmlSchemaFreeParserCtxt'/>
<ref name='xmlSchemaFreeValidCtxt'/>
<ref name='xmlSchematronFreeParserCtxt'/> <ref name='xmlSchematronFreeParserCtxt'/>
<ref name='xmlSchematronFreeValidCtxt'/> <ref name='xmlSchematronFreeValidCtxt'/>
<ref name='xmlTextReaderClose'/> <ref name='xmlTextReaderClose'/>
@@ -27273,6 +27339,7 @@
<ref name='xmlPathToURI'/> <ref name='xmlPathToURI'/>
</word> </word>
<word name='restored'> <word name='restored'>
<ref name='xmlSchemaSAXUnplug'/>
<ref name='xmlTextReaderSetErrorHandler'/> <ref name='xmlTextReaderSetErrorHandler'/>
<ref name='xmlTextReaderSetStructuredErrorHandler'/> <ref name='xmlTextReaderSetStructuredErrorHandler'/>
</word> </word>
@@ -27560,8 +27627,11 @@
<ref name='xmlSchemaGetFacetValueAsULong'/> <ref name='xmlSchemaGetFacetValueAsULong'/>
<ref name='xmlSchemaGetValType'/> <ref name='xmlSchemaGetValType'/>
<ref name='xmlSchemaNewMemParserCtxt'/> <ref name='xmlSchemaNewMemParserCtxt'/>
<ref name='xmlSchemaValidateDoc'/>
<ref name='xmlSchemaValidateFacet'/> <ref name='xmlSchemaValidateFacet'/>
<ref name='xmlSchemaValidateFacetWhtsp'/> <ref name='xmlSchemaValidateFacetWhtsp'/>
<ref name='xmlSchemaValidateFile'/>
<ref name='xmlSchemaValidateStream'/>
<ref name='xmlSchematronNewMemParserCtxt'/> <ref name='xmlSchematronNewMemParserCtxt'/>
<ref name='xmlTextReaderSchemaValidate'/> <ref name='xmlTextReaderSchemaValidate'/>
<ref name='xmlTextReaderSchemaValidateCtxt'/> <ref name='xmlTextReaderSchemaValidateCtxt'/>
@@ -27769,6 +27839,9 @@
<word name='setups'> <word name='setups'>
<ref name='xmlParseEncodingDecl'/> <ref name='xmlParseEncodingDecl'/>
</word> </word>
<word name='severity'>
<ref name='xmlTextReaderErrorFunc'/>
</word>
<word name='sgmlsource'> <word name='sgmlsource'>
<ref name='getSystemId'/> <ref name='getSystemId'/>
<ref name='xmlSAX2GetSystemId'/> <ref name='xmlSAX2GetSystemId'/>
@@ -28030,6 +28103,7 @@
<ref name='xmlCopyError'/> <ref name='xmlCopyError'/>
<ref name='xmlCtxtReadIO'/> <ref name='xmlCtxtReadIO'/>
<ref name='xmlNewTextReader'/> <ref name='xmlNewTextReader'/>
<ref name='xmlParserInputBufferCreateFilenameFunc'/>
<ref name='xmlReadIO'/> <ref name='xmlReadIO'/>
<ref name='xmlReaderForIO'/> <ref name='xmlReaderForIO'/>
<ref name='xmlReaderNewIO'/> <ref name='xmlReaderNewIO'/>
@@ -28220,6 +28294,7 @@
<ref name='xmlNewCharRef'/> <ref name='xmlNewCharRef'/>
<ref name='xmlNewTextWriterTree'/> <ref name='xmlNewTextWriterTree'/>
<ref name='xmlSaveTree'/> <ref name='xmlSaveTree'/>
<ref name='xmlSchemaValidateOneElement'/>
<ref name='xmlXPathOrderDocElems'/> <ref name='xmlXPathOrderDocElems'/>
<ref name='xmlXPathSubstringFunction'/> <ref name='xmlXPathSubstringFunction'/>
<ref name='xmlXPtrNewCollapsedRange'/> <ref name='xmlXPtrNewCollapsedRange'/>
@@ -28364,6 +28439,7 @@
</word> </word>
<word name='streamable'> <word name='streamable'>
<ref name='xmlPatternStreamable'/> <ref name='xmlPatternStreamable'/>
<ref name='xmlSchemaValidateFile'/>
</word> </word>
<word name='streaming'> <word name='streaming'>
<ref name='xmlPatternGetStreamCtxt'/> <ref name='xmlPatternGetStreamCtxt'/>
@@ -28443,6 +28519,7 @@
<word name='structured'> <word name='structured'>
<ref name='xmlRelaxNGSetValidStructuredErrors'/> <ref name='xmlRelaxNGSetValidStructuredErrors'/>
<ref name='xmlSchemaSetParserStructuredErrors'/> <ref name='xmlSchemaSetParserStructuredErrors'/>
<ref name='xmlSchemaSetValidStructuredErrors'/>
<ref name='xmlSchematronSetValidStructuredErrors'/> <ref name='xmlSchematronSetValidStructuredErrors'/>
<ref name='xmlSetStructuredErrorFunc'/> <ref name='xmlSetStructuredErrorFunc'/>
</word> </word>
@@ -28571,6 +28648,7 @@
<ref name='xmlReconciliateNs'/> <ref name='xmlReconciliateNs'/>
<ref name='xmlRelaxNGValidateFullElement'/> <ref name='xmlRelaxNGValidateFullElement'/>
<ref name='xmlSaveTree'/> <ref name='xmlSaveTree'/>
<ref name='xmlSchemaValidateOneElement'/>
<ref name='xmlShellDu'/> <ref name='xmlShellDu'/>
<ref name='xmlShellWrite'/> <ref name='xmlShellWrite'/>
<ref name='xmlTextReaderExpand'/> <ref name='xmlTextReaderExpand'/>
@@ -28661,6 +28739,8 @@
</word> </word>
<word name='suitable'> <word name='suitable'>
<ref name='xmlNewIOInputStream'/> <ref name='xmlNewIOInputStream'/>
<ref name='xmlOutputBufferCreateFilenameFunc'/>
<ref name='xmlParserInputBufferCreateFilenameFunc'/>
<ref name='xmlRegexpCompile'/> <ref name='xmlRegexpCompile'/>
</word> </word>
<word name='sum'> <word name='sum'>
@@ -28990,6 +29070,7 @@
<ref name='xmlMutexLock'/> <ref name='xmlMutexLock'/>
<ref name='xmlMutexUnlock'/> <ref name='xmlMutexUnlock'/>
<ref name='xmlNewMutex'/> <ref name='xmlNewMutex'/>
<ref name='xmlRegExecCallbacks'/>
<ref name='xmlRegExecPushString'/> <ref name='xmlRegExecPushString'/>
<ref name='xmlRegExecPushString2'/> <ref name='xmlRegExecPushString2'/>
</word> </word>
@@ -29419,6 +29500,9 @@
<ref name='xmlParserHandleReference'/> <ref name='xmlParserHandleReference'/>
<ref name='xmlSAX2UnparsedEntityDecl'/> <ref name='xmlSAX2UnparsedEntityDecl'/>
</word> </word>
<word name='unplug'>
<ref name='xmlSchemaSAXPlug'/>
</word>
<word name='unpredictable'> <word name='unpredictable'>
<ref name='UTF8ToHtml'/> <ref name='UTF8ToHtml'/>
<ref name='UTF8Toisolat1'/> <ref name='UTF8Toisolat1'/>
@@ -29468,6 +29552,7 @@
<ref name='_xmlXPathContext'/> <ref name='_xmlXPathContext'/>
<ref name='xmlDOMWrapReconcileNamespaces'/> <ref name='xmlDOMWrapReconcileNamespaces'/>
<ref name='xmlDOMWrapRemoveNode'/> <ref name='xmlDOMWrapRemoveNode'/>
<ref name='xmlSchemaValidateFile'/>
<ref name='xmlShellBase'/> <ref name='xmlShellBase'/>
<ref name='xmlShellCat'/> <ref name='xmlShellCat'/>
<ref name='xmlShellDir'/> <ref name='xmlShellDir'/>
@@ -29658,6 +29743,7 @@
</word> </word>
<word name='visible'> <word name='visible'>
<ref name='xmlC14NExecute'/> <ref name='xmlC14NExecute'/>
<ref name='xmlC14NIsVisibleCallback'/>
</word> </word>
<word name='void'> <word name='void'>
<ref name='XML_CAST_FPTR'/> <ref name='XML_CAST_FPTR'/>
@@ -29702,9 +29788,14 @@
<ref name='xmlRelaxNGGetValidErrors'/> <ref name='xmlRelaxNGGetValidErrors'/>
<ref name='xmlRelaxNGSetParserErrors'/> <ref name='xmlRelaxNGSetParserErrors'/>
<ref name='xmlRelaxNGSetValidErrors'/> <ref name='xmlRelaxNGSetValidErrors'/>
<ref name='xmlRelaxNGValidityWarningFunc'/>
<ref name='xmlSAX2InitDefaultSAXHandler'/> <ref name='xmlSAX2InitDefaultSAXHandler'/>
<ref name='xmlSchemaGetParserErrors'/> <ref name='xmlSchemaGetParserErrors'/>
<ref name='xmlSchemaGetValidErrors'/>
<ref name='xmlSchemaSetParserErrors'/> <ref name='xmlSchemaSetParserErrors'/>
<ref name='xmlSchemaSetValidErrors'/>
<ref name='xmlSchemaValidityWarningFunc'/>
<ref name='xmlSchematronValidityWarningFunc'/>
<ref name='xmlSearchNs'/> <ref name='xmlSearchNs'/>
<ref name='xmlTextReaderSetErrorHandler'/> <ref name='xmlTextReaderSetErrorHandler'/>
<ref name='xmlTextReaderSetStructuredErrorHandler'/> <ref name='xmlTextReaderSetStructuredErrorHandler'/>
@@ -29773,6 +29864,7 @@
<ref name='xmlCheckLanguageID'/> <ref name='xmlCheckLanguageID'/>
<ref name='xmlKeepBlanksDefault'/> <ref name='xmlKeepBlanksDefault'/>
<ref name='xmlMemShow'/> <ref name='xmlMemShow'/>
<ref name='xmlSchemaIsValid'/>
<ref name='xmlXIncludeProcess'/> <ref name='xmlXIncludeProcess'/>
<ref name='xmlXIncludeProcessFlags'/> <ref name='xmlXIncludeProcessFlags'/>
<ref name='xmlXIncludeProcessFlagsData'/> <ref name='xmlXIncludeProcessFlagsData'/>
@@ -29807,6 +29899,7 @@
<ref name='xmlNewNs'/> <ref name='xmlNewNs'/>
<ref name='xmlParseMarkupDecl'/> <ref name='xmlParseMarkupDecl'/>
<ref name='xmlParseSDDecl'/> <ref name='xmlParseSDDecl'/>
<ref name='xmlTextReaderErrorFunc'/>
</word> </word>
<word name='while'> <word name='while'>
<ref name='xmlInitCharEncodingHandlers'/> <ref name='xmlInitCharEncodingHandlers'/>
@@ -29984,6 +30077,7 @@
<ref name='xmlIOFTPRead'/> <ref name='xmlIOFTPRead'/>
<ref name='xmlIOHTTPRead'/> <ref name='xmlIOHTTPRead'/>
<ref name='xmlNewCharEncodingHandler'/> <ref name='xmlNewCharEncodingHandler'/>
<ref name='xmlOutputBufferCreateFilenameFunc'/>
<ref name='xmlOutputBufferCreateIO'/> <ref name='xmlOutputBufferCreateIO'/>
<ref name='xmlOutputWriteCallback'/> <ref name='xmlOutputWriteCallback'/>
<ref name='xmlSaveToIO'/> <ref name='xmlSaveToIO'/>
@@ -30593,6 +30687,7 @@
</word> </word>
<word name='xmlOutputBufferPtr'> <word name='xmlOutputBufferPtr'>
<ref name='xmlNewTextWriter'/> <ref name='xmlNewTextWriter'/>
<ref name='xmlOutputBufferCreateFilenameFunc'/>
</word> </word>
<word name='xmlOutputCloseCallback'> <word name='xmlOutputCloseCallback'>
<ref name='xmlRegisterOutputCallbacks'/> <ref name='xmlRegisterOutputCallbacks'/>
@@ -30655,6 +30750,7 @@
</word> </word>
<word name='xmlParserInputBufferPtr'> <word name='xmlParserInputBufferPtr'>
<ref name='xmlNewTextReader'/> <ref name='xmlNewTextReader'/>
<ref name='xmlParserInputBufferCreateFilenameFunc'/>
<ref name='xmlTextReaderGetRemainder'/> <ref name='xmlTextReaderGetRemainder'/>
<ref name='xmlTextReaderSetup'/> <ref name='xmlTextReaderSetup'/>
</word> </word>
@@ -30817,6 +30913,9 @@
<word name='xmlSAX2UnparsedEntityDecl'> <word name='xmlSAX2UnparsedEntityDecl'>
<ref name='unparsedEntityDecl'/> <ref name='unparsedEntityDecl'/>
</word> </word>
<word name='xmlSAXHandlerPtr'>
<ref name='xmlSchemaSAXPlug'/>
</word>
<word name='xmlSAXVersion'> <word name='xmlSAXVersion'>
<ref name='xmlSAXDefaultVersion'/> <ref name='xmlSAXDefaultVersion'/>
</word> </word>
@@ -30826,9 +30925,15 @@
<ref name='xmlSaveToFilename'/> <ref name='xmlSaveToFilename'/>
<ref name='xmlSaveToIO'/> <ref name='xmlSaveToIO'/>
</word> </word>
<word name='xmlSchemaSAXPlug'>
<ref name='xmlSchemaSAXUnplug'/>
</word>
<word name='xmlSchemaValType'> <word name='xmlSchemaValType'>
<ref name='xmlSchemaGetValType'/> <ref name='xmlSchemaGetValType'/>
</word> </word>
<word name='xmlSchemaValidOption'>
<ref name='xmlSchemaSetValidOptions'/>
</word>
<word name='xmlSchematronValidOptions'> <word name='xmlSchematronValidOptions'>
<ref name='xmlSchematronNewValidCtxt'/> <ref name='xmlSchematronNewValidCtxt'/>
</word> </word>

View File

@@ -9841,6 +9841,18 @@ extern __typeof (xmlSchemaValidCtxtGetOptions) xmlSchemaValidCtxtGetOptions__int
#endif #endif
#endif #endif
#if defined(LIBXML_SCHEMAS_ENABLED)
#ifdef bottom_xmlschemas
#undef xmlSchemaValidCtxtGetParserCtxt
extern __typeof (xmlSchemaValidCtxtGetParserCtxt) xmlSchemaValidCtxtGetParserCtxt __attribute((alias("xmlSchemaValidCtxtGetParserCtxt__internal_alias")));
#else
#ifndef xmlSchemaValidCtxtGetParserCtxt
extern __typeof (xmlSchemaValidCtxtGetParserCtxt) xmlSchemaValidCtxtGetParserCtxt__internal_alias __attribute((visibility("hidden")));
#define xmlSchemaValidCtxtGetParserCtxt xmlSchemaValidCtxtGetParserCtxt__internal_alias
#endif
#endif
#endif
#if defined(LIBXML_SCHEMAS_ENABLED) #if defined(LIBXML_SCHEMAS_ENABLED)
#ifdef bottom_xmlschemas #ifdef bottom_xmlschemas
#undef xmlSchemaValidateDoc #undef xmlSchemaValidateDoc

View File

@@ -82,6 +82,16 @@ XMLPUBFUN int XMLCALL
/** /**
* This is the core C14N function * This is the core C14N function
*/ */
/**
* xmlC14NIsVisibleCallback:
* @user_data: user data
* @node: the curent node
* @parent: the parent node
*
* Signature for a C14N callback on visible nodes
*
* Returns 1 if the node should be included
*/
typedef int (*xmlC14NIsVisibleCallback) (void* user_data, typedef int (*xmlC14NIsVisibleCallback) (void* user_data,
xmlNodePtr node, xmlNodePtr node,
xmlNodePtr parent); xmlNodePtr parent);

View File

@@ -28,8 +28,32 @@ extern "C" {
XMLPUBFUN void XMLCALL xmlInitGlobals(void); XMLPUBFUN void XMLCALL xmlInitGlobals(void);
XMLPUBFUN void XMLCALL xmlCleanupGlobals(void); XMLPUBFUN void XMLCALL xmlCleanupGlobals(void);
/**
* xmlParserInputBufferCreateFilenameFunc:
* @URI: the URI to read from
* @enc: the requested source encoding
*
* Signature for the function doing the lookup for a suitable input method
* corresponding to an URI.
*
* Returns the new xmlParserInputBufferPtr in case of success or NULL if no
* method was found.
*/
typedef xmlParserInputBufferPtr (*xmlParserInputBufferCreateFilenameFunc) (const char *URI, xmlCharEncoding enc); typedef xmlParserInputBufferPtr (*xmlParserInputBufferCreateFilenameFunc) (const char *URI, xmlCharEncoding enc);
/**
* xmlOutputBufferCreateFilenameFunc:
* @URI: the URI to write to
* @enc: the requested target encoding
*
* Signature for the function doing the lookup for a suitable output method
* corresponding to an URI.
*
* Returns the new xmlOutputBufferPtr in case of success or NULL if no
* method was found.
*/
typedef xmlOutputBufferPtr (*xmlOutputBufferCreateFilenameFunc) (const char *URI, xmlCharEncodingHandlerPtr encoder, int compression); typedef xmlOutputBufferPtr (*xmlOutputBufferCreateFilenameFunc) (const char *URI, xmlCharEncodingHandlerPtr encoder, int compression);
XMLPUBFUN xmlParserInputBufferCreateFilenameFunc XMLPUBFUN xmlParserInputBufferCreateFilenameFunc
XMLCALL xmlParserInputBufferCreateFilenameDefault (xmlParserInputBufferCreateFilenameFunc func); XMLCALL xmlParserInputBufferCreateFilenameDefault (xmlParserInputBufferCreateFilenameFunc func);
XMLPUBFUN xmlOutputBufferCreateFilenameFunc XMLPUBFUN xmlOutputBufferCreateFilenameFunc
@@ -73,7 +97,19 @@ XMLCALL xmlOutputBufferCreateFilenameDefault (xmlOutputBufferCreateFilenameFunc
#undef xmlParserInputBufferCreateFilenameValue #undef xmlParserInputBufferCreateFilenameValue
#undef xmlOutputBufferCreateFilenameValue #undef xmlOutputBufferCreateFilenameValue
/**
* xmlRegisterNodeFunc:
* @node: the current node
*
* Signature for the registration callback of a created node
*/
typedef void (*xmlRegisterNodeFunc) (xmlNodePtr node); typedef void (*xmlRegisterNodeFunc) (xmlNodePtr node);
/**
* xmlDeregisterNodeFunc:
* @node: the current node
*
* Signature for the deregistration callback of a discarded node
*/
typedef void (*xmlDeregisterNodeFunc) (xmlNodePtr node); typedef void (*xmlDeregisterNodeFunc) (xmlNodePtr node);
typedef struct _xmlGlobalState xmlGlobalState; typedef struct _xmlGlobalState xmlGlobalState;
@@ -114,8 +150,8 @@ struct _xmlGlobalState
int xmlIndentTreeOutput; int xmlIndentTreeOutput;
const char *xmlTreeIndentString; const char *xmlTreeIndentString;
xmlRegisterNodeFunc xmlRegisterNodeDefaultValue; xmlRegisterNodeFunc xmlRegisterNodeDefaultValue;
xmlDeregisterNodeFunc xmlDeregisterNodeDefaultValue; xmlDeregisterNodeFunc xmlDeregisterNodeDefaultValue;
xmlMallocFunc xmlMallocAtomic; xmlMallocFunc xmlMallocAtomic;
xmlError xmlLastError; xmlError xmlLastError;

View File

@@ -25,11 +25,28 @@ typedef xmlRelaxNG *xmlRelaxNGPtr;
/** /**
* A schemas validation context * xmlRelaxNGValidityErrorFunc:
* @ctx: the validation context
* @msg: the message
* @...: extra arguments
*
* Signature of an error callback from a Relax-NG validation
*/ */
typedef void (XMLCDECL *xmlRelaxNGValidityErrorFunc) (void *ctx, const char *msg, ...); typedef void (XMLCDECL *xmlRelaxNGValidityErrorFunc) (void *ctx, const char *msg, ...);
/**
* xmlRelaxNGValidityWarningFunc:
* @ctx: the validation context
* @msg: the message
* @...: extra arguments
*
* Signature of a warning callback from a Relax-NG validation
*/
typedef void (XMLCDECL *xmlRelaxNGValidityWarningFunc) (void *ctx, const char *msg, ...); typedef void (XMLCDECL *xmlRelaxNGValidityWarningFunc) (void *ctx, const char *msg, ...);
/**
* A schemas validation context
*/
typedef struct _xmlRelaxNGParserCtxt xmlRelaxNGParserCtxt; typedef struct _xmlRelaxNGParserCtxt xmlRelaxNGParserCtxt;
typedef xmlRelaxNGParserCtxt *xmlRelaxNGParserCtxtPtr; typedef xmlRelaxNGParserCtxt *xmlRelaxNGParserCtxtPtr;

View File

@@ -38,11 +38,28 @@ typedef struct _xmlSchematron xmlSchematron;
typedef xmlSchematron *xmlSchematronPtr; typedef xmlSchematron *xmlSchematronPtr;
/** /**
* A schemas validation context * xmlSchematronValidityErrorFunc:
* @ctx: the validation context
* @msg: the message
* @...: extra arguments
*
* Signature of an error callback from a Schematron validation
*/ */
typedef void (*xmlSchematronValidityErrorFunc) (void *ctx, const char *msg, ...); typedef void (*xmlSchematronValidityErrorFunc) (void *ctx, const char *msg, ...);
/**
* xmlSchematronValidityWarningFunc:
* @ctx: the validation context
* @msg: the message
* @...: extra arguments
*
* Signature of a warning callback from a Schematron validation
*/
typedef void (*xmlSchematronValidityWarningFunc) (void *ctx, const char *msg, ...); typedef void (*xmlSchematronValidityWarningFunc) (void *ctx, const char *msg, ...);
/**
* A schemas validation context
*/
typedef struct _xmlSchematronParserCtxt xmlSchematronParserCtxt; typedef struct _xmlSchematronParserCtxt xmlSchematronParserCtxt;
typedef xmlSchematronParserCtxt *xmlSchematronParserCtxtPtr; typedef xmlSchematronParserCtxt *xmlSchematronParserCtxtPtr;

View File

@@ -179,7 +179,7 @@ XMLPUBFUN const xmlChar * XMLCALL
xmlTextReaderConstXmlLang (xmlTextReaderPtr reader); xmlTextReaderConstXmlLang (xmlTextReaderPtr reader);
XMLPUBFUN const xmlChar * XMLCALL XMLPUBFUN const xmlChar * XMLCALL
xmlTextReaderConstString (xmlTextReaderPtr reader, xmlTextReaderConstString (xmlTextReaderPtr reader,
const xmlChar *str); const xmlChar *str);
XMLPUBFUN const xmlChar * XMLCALL XMLPUBFUN const xmlChar * XMLCALL
xmlTextReaderConstValue (xmlTextReaderPtr reader); xmlTextReaderConstValue (xmlTextReaderPtr reader);
@@ -267,7 +267,7 @@ XMLPUBFUN xmlNodePtr XMLCALL
#ifdef LIBXML_PATTERN_ENABLED #ifdef LIBXML_PATTERN_ENABLED
XMLPUBFUN int XMLCALL XMLPUBFUN int XMLCALL
xmlTextReaderPreservePattern(xmlTextReaderPtr reader, xmlTextReaderPreservePattern(xmlTextReaderPtr reader,
const xmlChar *pattern, const xmlChar *pattern,
const xmlChar **namespaces); const xmlChar **namespaces);
#endif /* LIBXML_PATTERN_ENABLED */ #endif /* LIBXML_PATTERN_ENABLED */
XMLPUBFUN xmlDocPtr XMLCALL XMLPUBFUN xmlDocPtr XMLCALL
@@ -289,14 +289,14 @@ XMLPUBFUN int XMLCALL
xmlRelaxNGPtr schema); xmlRelaxNGPtr schema);
XMLPUBFUN int XMLCALL XMLPUBFUN int XMLCALL
xmlTextReaderSchemaValidate (xmlTextReaderPtr reader, xmlTextReaderSchemaValidate (xmlTextReaderPtr reader,
const char *xsd); const char *xsd);
XMLPUBFUN int XMLCALL XMLPUBFUN int XMLCALL
xmlTextReaderSchemaValidateCtxt(xmlTextReaderPtr reader, xmlTextReaderSchemaValidateCtxt(xmlTextReaderPtr reader,
xmlSchemaValidCtxtPtr ctxt, xmlSchemaValidCtxtPtr ctxt,
int options); int options);
XMLPUBFUN int XMLCALL XMLPUBFUN int XMLCALL
xmlTextReaderSetSchema (xmlTextReaderPtr reader, xmlTextReaderSetSchema (xmlTextReaderPtr reader,
xmlSchemaPtr schema); xmlSchemaPtr schema);
#endif #endif
XMLPUBFUN const xmlChar * XMLCALL XMLPUBFUN const xmlChar * XMLCALL
xmlTextReaderConstXmlVersion(xmlTextReaderPtr reader); xmlTextReaderConstXmlVersion(xmlTextReaderPtr reader);
@@ -382,7 +382,17 @@ XMLPUBFUN int XMLCALL
* Error handling extensions * Error handling extensions
*/ */
typedef void * xmlTextReaderLocatorPtr; typedef void * xmlTextReaderLocatorPtr;
typedef void (XMLCALL *xmlTextReaderErrorFunc) (void *arg,
/**
* xmlTextReaderErrorFunc:
* @arg: the user argument
* @msg: the message
* @severity: the severity of the error
* @locator: a locator indicating where the error occured
*
* Signature of an error callback from a reader parser
*/
typedef void (XMLCALL *xmlTextReaderErrorFunc)(void *arg,
const char *msg, const char *msg,
xmlParserSeverities severity, xmlParserSeverities severity,
xmlTextReaderLocatorPtr locator); xmlTextReaderLocatorPtr locator);

View File

@@ -55,12 +55,18 @@ XMLPUBFUN int XMLCALL
xmlRegexpExec (xmlRegexpPtr comp, xmlRegexpExec (xmlRegexpPtr comp,
const xmlChar *value); const xmlChar *value);
XMLPUBFUN void XMLCALL XMLPUBFUN void XMLCALL
xmlRegexpPrint (FILE *output, xmlRegexpPrint (FILE *output,
xmlRegexpPtr regexp); xmlRegexpPtr regexp);
XMLPUBFUN int XMLCALL XMLPUBFUN int XMLCALL
xmlRegexpIsDeterminist(xmlRegexpPtr comp); xmlRegexpIsDeterminist(xmlRegexpPtr comp);
/* /**
* xmlRegExecCallbacks:
* @exec: the regular expression context
* @token: the current token string
* @transdata: transition data
* @inputdata: input data
*
* Callback function when doing a transition in the automata * Callback function when doing a transition in the automata
*/ */
typedef void (*xmlRegExecCallbacks) (xmlRegExecCtxtPtr exec, typedef void (*xmlRegExecCallbacks) (xmlRegExecCtxtPtr exec,
@@ -72,13 +78,13 @@ typedef void (*xmlRegExecCallbacks) (xmlRegExecCtxtPtr exec,
* The progressive API * The progressive API
*/ */
XMLPUBFUN xmlRegExecCtxtPtr XMLCALL XMLPUBFUN xmlRegExecCtxtPtr XMLCALL
xmlRegNewExecCtxt (xmlRegexpPtr comp, xmlRegNewExecCtxt (xmlRegexpPtr comp,
xmlRegExecCallbacks callback, xmlRegExecCallbacks callback,
void *data); void *data);
XMLPUBFUN void XMLCALL XMLPUBFUN void XMLCALL
xmlRegFreeExecCtxt (xmlRegExecCtxtPtr exec); xmlRegFreeExecCtxt (xmlRegExecCtxtPtr exec);
XMLPUBFUN int XMLCALL XMLPUBFUN int XMLCALL
xmlRegExecPushString(xmlRegExecCtxtPtr exec, xmlRegExecPushString(xmlRegExecCtxtPtr exec,
const xmlChar *value, const xmlChar *value,
void *data); void *data);
XMLPUBFUN int XMLCALL XMLPUBFUN int XMLCALL
@@ -89,15 +95,15 @@ XMLPUBFUN int XMLCALL
XMLPUBFUN int XMLCALL XMLPUBFUN int XMLCALL
xmlRegExecNextValues(xmlRegExecCtxtPtr exec, xmlRegExecNextValues(xmlRegExecCtxtPtr exec,
int *nbval, int *nbval,
int *nbneg, int *nbneg,
xmlChar **values, xmlChar **values,
int *terminal); int *terminal);
XMLPUBFUN int XMLCALL XMLPUBFUN int XMLCALL
xmlRegExecErrInfo (xmlRegExecCtxtPtr exec, xmlRegExecErrInfo (xmlRegExecCtxtPtr exec,
const xmlChar **string, const xmlChar **string,
int *nbval, int *nbval,
int *nbneg, int *nbneg,
xmlChar **values, xmlChar **values,
int *terminal); int *terminal);
#ifdef LIBXML_EXPR_ENABLED #ifdef LIBXML_EXPR_ENABLED

View File

@@ -85,11 +85,28 @@ typedef struct _xmlSchema xmlSchema;
typedef xmlSchema *xmlSchemaPtr; typedef xmlSchema *xmlSchemaPtr;
/** /**
* A schemas validation context * xmlSchemaValidityErrorFunc:
* @ctx: the validation context
* @msg: the message
* @...: extra arguments
*
* Signature of an error callback from an XSD validation
*/ */
typedef void (XMLCDECL *xmlSchemaValidityErrorFunc) (void *ctx, const char *msg, ...); typedef void (XMLCDECL *xmlSchemaValidityErrorFunc) (void *ctx, const char *msg, ...);
/**
* xmlSchemaValidityWarningFunc:
* @ctx: the validation context
* @msg: the message
* @...: extra arguments
*
* Signature of a warning callback from an XSD validation
*/
typedef void (XMLCDECL *xmlSchemaValidityWarningFunc) (void *ctx, const char *msg, ...); typedef void (XMLCDECL *xmlSchemaValidityWarningFunc) (void *ctx, const char *msg, ...);
/**
* A schemas validation context
*/
typedef struct _xmlSchemaParserCtxt xmlSchemaParserCtxt; typedef struct _xmlSchemaParserCtxt xmlSchemaParserCtxt;
typedef xmlSchemaParserCtxt *xmlSchemaParserCtxtPtr; typedef xmlSchemaParserCtxt *xmlSchemaParserCtxtPtr;
@@ -178,8 +195,11 @@ XMLPUBFUN int XMLCALL
const char * filename, const char * filename,
int options); int options);
XMLPUBFUN xmlParserCtxtPtr XMLCALL
xmlSchemaValidCtxtGetParserCtxt(xmlSchemaValidCtxtPtr ctxt);
/* /*
* Interface to insert Schemas SAX velidation in a SAX stream * Interface to insert Schemas SAX validation in a SAX stream
*/ */
typedef struct _xmlSchemaSAXPlug xmlSchemaSAXPlugStruct; typedef struct _xmlSchemaSAXPlug xmlSchemaSAXPlugStruct;
typedef xmlSchemaSAXPlugStruct *xmlSchemaSAXPlugPtr; typedef xmlSchemaSAXPlugStruct *xmlSchemaSAXPlugPtr;

View File

@@ -1140,6 +1140,7 @@ Class SchemaValidCtxt(SchemaValidCtxtCore)
schemaIsValid() schemaIsValid()
schemaSetValidOptions() schemaSetValidOptions()
schemaValidCtxtGetOptions() schemaValidCtxtGetOptions()
schemaValidCtxtGetParserCtxt()
schemaValidateDoc() schemaValidateDoc()
schemaValidateFile() schemaValidateFile()
schemaValidateOneElement() schemaValidateOneElement()

View File

@@ -34115,6 +34115,40 @@ test_xmlSchemaValidCtxtGetOptions(void) {
} }
static int
test_xmlSchemaValidCtxtGetParserCtxt(void) {
int test_ret = 0;
#if defined(LIBXML_SCHEMAS_ENABLED)
int mem_base;
xmlParserCtxtPtr ret_val;
xmlSchemaValidCtxtPtr ctxt; /* */
int n_ctxt;
for (n_ctxt = 0;n_ctxt < gen_nb_xmlSchemaValidCtxtPtr;n_ctxt++) {
mem_base = xmlMemBlocks();
ctxt = gen_xmlSchemaValidCtxtPtr(n_ctxt, 0);
ret_val = xmlSchemaValidCtxtGetParserCtxt(ctxt);
desret_xmlParserCtxtPtr(ret_val);
call_tests++;
des_xmlSchemaValidCtxtPtr(n_ctxt, ctxt, 0);
xmlResetLastError();
if (mem_base != xmlMemBlocks()) {
printf("Leak of %d blocks found in xmlSchemaValidCtxtGetParserCtxt",
xmlMemBlocks() - mem_base);
test_ret++;
printf(" %d", n_ctxt);
printf("\n");
}
}
function_tests++;
#endif
return(test_ret);
}
static int static int
test_xmlSchemaValidateDoc(void) { test_xmlSchemaValidateDoc(void) {
int test_ret = 0; int test_ret = 0;
@@ -34310,7 +34344,7 @@ static int
test_xmlschemas(void) { test_xmlschemas(void) {
int test_ret = 0; int test_ret = 0;
if (quiet == 0) printf("Testing xmlschemas : 14 of 24 functions ...\n"); if (quiet == 0) printf("Testing xmlschemas : 15 of 25 functions ...\n");
test_ret += test_xmlSchemaDump(); test_ret += test_xmlSchemaDump();
test_ret += test_xmlSchemaGetParserErrors(); test_ret += test_xmlSchemaGetParserErrors();
test_ret += test_xmlSchemaGetValidErrors(); test_ret += test_xmlSchemaGetValidErrors();
@@ -34328,6 +34362,7 @@ test_xmlschemas(void) {
test_ret += test_xmlSchemaSetValidOptions(); test_ret += test_xmlSchemaSetValidOptions();
test_ret += test_xmlSchemaSetValidStructuredErrors(); test_ret += test_xmlSchemaSetValidStructuredErrors();
test_ret += test_xmlSchemaValidCtxtGetOptions(); test_ret += test_xmlSchemaValidCtxtGetOptions();
test_ret += test_xmlSchemaValidCtxtGetParserCtxt();
test_ret += test_xmlSchemaValidateDoc(); test_ret += test_xmlSchemaValidateDoc();
test_ret += test_xmlSchemaValidateFile(); test_ret += test_xmlSchemaValidateFile();
test_ret += test_xmlSchemaValidateOneElement(); test_ret += test_xmlSchemaValidateOneElement();

View File

@@ -1732,6 +1732,9 @@ xmlSchemaValPredefTypeNodeNoNorm
xmlSchemaValidCtxtGetOptions xmlSchemaValidCtxtGetOptions
#endif #endif
#ifdef LIBXML_SCHEMAS_ENABLED #ifdef LIBXML_SCHEMAS_ENABLED
xmlSchemaValidCtxtGetParserCtxt
#endif
#ifdef LIBXML_SCHEMAS_ENABLED
xmlSchemaValidateDoc xmlSchemaValidateDoc
#endif #endif
#ifdef LIBXML_SCHEMAS_ENABLED #ifdef LIBXML_SCHEMAS_ENABLED

View File

@@ -22979,7 +22979,7 @@ create_key:
ntItem->keys = *keySeq; ntItem->keys = *keySeq;
*keySeq = NULL; *keySeq = NULL;
#if 0 #if 0
if (xmlSchemaIDCAppendNodeTableItem(bind, ntItem) == -1) { if (xmlSchemaIDCAppendNodeTableItem(bind, ntItem) == -1)
#endif #endif
if (xmlSchemaItemListAdd(targets, ntItem) == -1) { if (xmlSchemaItemListAdd(targets, ntItem) == -1) {
if (idc->type == XML_SCHEMA_TYPE_IDC_KEYREF) { if (idc->type == XML_SCHEMA_TYPE_IDC_KEYREF) {
@@ -27622,7 +27622,7 @@ xmlSchemaSetValidStructuredErrors(xmlSchemaValidCtxtPtr ctxt,
/** /**
* xmlSchemaGetValidErrors: * xmlSchemaGetValidErrors:
* @ctxt: a XML-Schema validation context * @ctxt: a XML-Schema validation context
* @err: the error function result * @err: the error function result
* @warn: the warning function result * @warn: the warning function result
* @ctx: the functions context result * @ctx: the functions context result
@@ -27683,7 +27683,7 @@ xmlSchemaSetValidOptions(xmlSchemaValidCtxtPtr ctxt,
/** /**
* xmlSchemaValidCtxtGetOptions: * xmlSchemaValidCtxtGetOptions:
* @ctxt: a schema validation context * @ctxt: a schema validation context
* *
* Get the validation context options. * Get the validation context options.
* *
@@ -28668,6 +28668,23 @@ xmlSchemaValidateFile(xmlSchemaValidCtxtPtr ctxt,
return (ret); return (ret);
} }
/**
* xmlSchemaValidCtxtGetParserCtxt:
* @ctxt: a schema validation context
*
* allow access to the parser context of the schema validation context
*
* Returns the parser context of the schema validation context or NULL
* in case of error.
*/
xmlParserCtxtPtr
xmlSchemaValidCtxtGetParserCtxt(xmlSchemaValidCtxtPtr ctxt)
{
if (ctxt == NULL)
return(NULL);
return (ctxt->parserCtxt);
}
#define bottom_xmlschemas #define bottom_xmlschemas
#include "elfgcchack.h" #include "elfgcchack.h"
#endif /* LIBXML_SCHEMAS_ENABLED */ #endif /* LIBXML_SCHEMAS_ENABLED */