mirror of
https://gitlab.gnome.org/GNOME/libxml2
synced 2025-03-28 21:33:13 +00:00
Release of libxml2-2.9.5
* configure.ac, doc/xslt.html: updated for the release * doc/*, python/setup.py, testapi.c: regenerated
This commit is contained in:
parent
69936b129f
commit
2960178fe8
@ -9,7 +9,7 @@ AC_CANONICAL_HOST
|
||||
|
||||
LIBXML_MAJOR_VERSION=2
|
||||
LIBXML_MINOR_VERSION=9
|
||||
LIBXML_MICRO_VERSION=4
|
||||
LIBXML_MICRO_VERSION=5
|
||||
LIBXML_MICRO_VERSION_SUFFIX=
|
||||
LIBXML_VERSION=$LIBXML_MAJOR_VERSION.$LIBXML_MINOR_VERSION.$LIBXML_MICRO_VERSION$LIBXML_MICRO_VERSION_SUFFIX
|
||||
LIBXML_VERSION_INFO=`expr $LIBXML_MAJOR_VERSION + $LIBXML_MINOR_VERSION`:$LIBXML_MICRO_VERSION:$LIBXML_MINOR_VERSION
|
||||
|
@ -104,6 +104,7 @@ A:link, A:visited, A:active { text-decoration: underline }
|
||||
<a href="html/libxml-globals.html#xmlCleanupGlobals">xmlCleanupGlobals</a><br />
|
||||
<a href="html/libxml-globals.html#xmlInitGlobals">xmlInitGlobals</a><br />
|
||||
</dd><dt>AegeanNumbers</dt><dd><a href="html/libxml-xmlunicode.html#xmlUCSIsAegeanNumbers">xmlUCSIsAegeanNumbers</a><br />
|
||||
</dd><dt>Alias</dt><dd><a href="html/libxml-xpath.html#xmlXPathEvalExpression">xmlXPathEvalExpression</a><br />
|
||||
</dd><dt>All</dt><dd><a href="html/libxml-schemasInternals.html#_xmlSchema">_xmlSchema</a><br />
|
||||
<a href="html/libxml-schemasInternals.html#_xmlSchemaType">_xmlSchemaType</a><br />
|
||||
<a href="html/libxml-nanoftp.html#xmlNanoFTPGet">xmlNanoFTPGet</a><br />
|
||||
@ -242,6 +243,7 @@ A:link, A:visited, A:active { text-decoration: underline }
|
||||
</dd><dt>Bopomofo</dt><dd><a href="html/libxml-xmlunicode.html#xmlUCSIsBopomofo">xmlUCSIsBopomofo</a><br />
|
||||
</dd><dt>BopomofoExtended</dt><dd><a href="html/libxml-xmlunicode.html#xmlUCSIsBopomofoExtended">xmlUCSIsBopomofoExtended</a><br />
|
||||
</dd><dt>Both</dt><dd><a href="html/libxml-parserInternals.html#XML_SUBSTITUTE_BOTH">XML_SUBSTITUTE_BOTH</a><br />
|
||||
<a href="html/libxml-tree.html#xmlSplitQName2">xmlSplitQName2</a><br />
|
||||
<a href="html/libxml-pattern.html#xmlStreamPush">xmlStreamPush</a><br />
|
||||
<a href="html/libxml-pattern.html#xmlStreamPushAttr">xmlStreamPushAttr</a><br />
|
||||
<a href="html/libxml-pattern.html#xmlStreamPushNode">xmlStreamPushNode</a><br />
|
||||
|
@ -517,6 +517,7 @@ A:link, A:visited, A:active { text-decoration: underline }
|
||||
<a href="html/libxml-tree.html#xmlNodeListGetRawString">xmlNodeListGetRawString</a><br />
|
||||
<a href="html/libxml-pattern.html#xmlPatternMatch">xmlPatternMatch</a><br />
|
||||
<a href="html/libxml-tree.html#xmlRemoveProp">xmlRemoveProp</a><br />
|
||||
<a href="html/libxml-tree.html#xmlSplitQName2">xmlSplitQName2</a><br />
|
||||
<a href="html/libxml-xmlstring.html#xmlUTF8Strlen">xmlUTF8Strlen</a><br />
|
||||
<a href="html/libxml-valid.html#xmlValidateRoot">xmlValidateRoot</a><br />
|
||||
<a href="html/libxml-xpathInternals.html#xmlXPathLeading">xmlXPathLeading</a><br />
|
||||
|
@ -322,7 +322,6 @@ A:link, A:visited, A:active { text-decoration: underline }
|
||||
<a href="html/libxml-tree.html#xmlNodeGetBase">xmlNodeGetBase</a><br />
|
||||
<a href="html/libxml-parser.html#xmlParseBalancedChunkMemoryRecover">xmlParseBalancedChunkMemoryRecover</a><br />
|
||||
<a href="html/libxml-xmlwriter.html#xmlTextWriterFullEndElement">xmlTextWriterFullEndElement</a><br />
|
||||
<a href="html/libxml-xpathInternals.html#xmlXPathRoundFunction">xmlXPathRoundFunction</a><br />
|
||||
</dd><dt>event</dt><dd><a href="html/libxml-xmlschemas.html#xmlSchemaSAXPlug">xmlSchemaSAXPlug</a><br />
|
||||
<a href="html/libxml-xmlschemas.html#xmlSchemaSAXUnplug">xmlSchemaSAXUnplug</a><br />
|
||||
<a href="html/libxml-xmlschemas.html#xmlSchemaValidateStream">xmlSchemaValidateStream</a><br />
|
||||
|
@ -42,7 +42,6 @@ A:link, A:visited, A:active { text-decoration: underline }
|
||||
</dd><dt>gMonthDay</dt><dd><a href="html/libxml-xmlschemastypes.html#xmlSchemaGetCanonValue">xmlSchemaGetCanonValue</a><br />
|
||||
</dd><dt>gYear</dt><dd><a href="html/libxml-xmlschemastypes.html#xmlSchemaGetCanonValue">xmlSchemaGetCanonValue</a><br />
|
||||
</dd><dt>gYearMonth</dt><dd><a href="html/libxml-xmlschemastypes.html#xmlSchemaGetCanonValue">xmlSchemaGetCanonValue</a><br />
|
||||
</dd><dt>garanteed</dt><dd><a href="html/libxml-xmlstring.html#xmlUTF8Strsize">xmlUTF8Strsize</a><br />
|
||||
</dd><dt>garbage</dt><dd><a href="html/libxml-xmlmemory.html#xmlGcMemGet">xmlGcMemGet</a><br />
|
||||
<a href="html/libxml-xmlmemory.html#xmlGcMemSetup">xmlGcMemSetup</a><br />
|
||||
</dd><dt>gcc</dt><dd><a href="html/libxml-hash.html#XML_CAST_FPTR">XML_CAST_FPTR</a><br />
|
||||
@ -183,6 +182,7 @@ A:link, A:visited, A:active { text-decoration: underline }
|
||||
<a href="html/libxml-xmlmodule.html#xmlModuleSymbol">xmlModuleSymbol</a><br />
|
||||
</dd><dt>guaranteed</dt><dd><a href="html/libxml-xmlmodule.html#xmlModuleOpen">xmlModuleOpen</a><br />
|
||||
<a href="html/libxml-xmlmodule.html#xmlModuleSymbol">xmlModuleSymbol</a><br />
|
||||
<a href="html/libxml-xmlstring.html#xmlUTF8Strsize">xmlUTF8Strsize</a><br />
|
||||
</dd><dt>guess</dt><dd><a href="html/libxml-parser.html#xmlCleanupParser">xmlCleanupParser</a><br />
|
||||
<a href="html/libxml-threads.html#xmlCleanupThreads">xmlCleanupThreads</a><br />
|
||||
</dd></dl><h2>Letter h:</h2><dl><dt>had</dt><dd><a href="html/libxml-tree.html#xmlNewGlobalNs">xmlNewGlobalNs</a><br />
|
||||
@ -194,6 +194,7 @@ A:link, A:visited, A:active { text-decoration: underline }
|
||||
<a href="html/libxml-parserInternals.html#xmlParseElementContentDecl">xmlParseElementContentDecl</a><br />
|
||||
<a href="html/libxml-parserInternals.html#xmlParsePEReference">xmlParsePEReference</a><br />
|
||||
<a href="html/libxml-parserInternals.html#xmlParserHandlePEReference">xmlParserHandlePEReference</a><br />
|
||||
<a href="html/libxml-xpointer.html#xmlXPtrRangeToFunction">xmlXPtrRangeToFunction</a><br />
|
||||
</dd><dt>handlers</dt><dd><a href="html/libxml-xlink.html#xlinkSetDefaultHandler">xlinkSetDefaultHandler</a><br />
|
||||
<a href="html/libxml-encoding.html#xmlCleanupCharEncodingHandlers">xmlCleanupCharEncodingHandlers</a><br />
|
||||
<a href="html/libxml-xmlIO.html#xmlRegisterDefaultInputCallbacks">xmlRegisterDefaultInputCallbacks</a><br />
|
||||
|
@ -267,6 +267,7 @@ A:link, A:visited, A:active { text-decoration: underline }
|
||||
<a href="html/libxml-xmlregexp.html#xmlExpParse">xmlExpParse</a><br />
|
||||
</dd><dt>infinity</dt><dd><a href="html/libxml-xpathInternals.html#xmlXPathCeilingFunction">xmlXPathCeilingFunction</a><br />
|
||||
<a href="html/libxml-xpathInternals.html#xmlXPathFloorFunction">xmlXPathFloorFunction</a><br />
|
||||
<a href="html/libxml-xpathInternals.html#xmlXPathRoundFunction">xmlXPathRoundFunction</a><br />
|
||||
<a href="html/libxml-xpathInternals.html#xmlXPathStringFunction">xmlXPathStringFunction</a><br />
|
||||
</dd><dt>info</dt><dd><a href="html/libxml-parser.html#_xmlParserCtxt">_xmlParserCtxt</a><br />
|
||||
<a href="html/libxml-encoding.html#xmlCharEncodingOutputFunc">xmlCharEncodingOutputFunc</a><br />
|
||||
|
@ -366,6 +366,7 @@ A:link, A:visited, A:active { text-decoration: underline }
|
||||
<a href="html/libxml-parser.html#xmlSetFeature">xmlSetFeature</a><br />
|
||||
<a href="html/libxml-xmlstring.html#xmlUTF8Strloc">xmlUTF8Strloc</a><br />
|
||||
<a href="html/libxml-xpointer.html#xmlXPtrLocationSetAdd">xmlXPtrLocationSetAdd</a><br />
|
||||
<a href="html/libxml-xpointer.html#xmlXPtrRangeToFunction">xmlXPtrRangeToFunction</a><br />
|
||||
</dd><dt>locations</dt><dd><a href="html/libxml-xpointer.html#_xmlLocationSet">_xmlLocationSet</a><br />
|
||||
</dd><dt>locator</dt><dd><a href="html/libxml-SAX.html#setDocumentLocator">setDocumentLocator</a><br />
|
||||
<a href="html/libxml-parser.html#setDocumentLocatorSAXFunc">setDocumentLocatorSAXFunc</a><br />
|
||||
|
@ -327,7 +327,6 @@ A:link, A:visited, A:active { text-decoration: underline }
|
||||
</dd><dt>Ethiopic</dt><dd><a href="html/libxml-xmlunicode.html#xmlUCSIsEthiopic">xmlUCSIsEthiopic</a><br />
|
||||
</dd><dt>Evaluate</dt><dd><a href="html/libxml-xpath.html#xmlXPathCompiledEval">xmlXPathCompiledEval</a><br />
|
||||
<a href="html/libxml-xpath.html#xmlXPathEval">xmlXPathEval</a><br />
|
||||
<a href="html/libxml-xpath.html#xmlXPathEvalExpression">xmlXPathEvalExpression</a><br />
|
||||
<a href="html/libxml-xpath.html#xmlXPathEvalPredicate">xmlXPathEvalPredicate</a><br />
|
||||
<a href="html/libxml-xpathInternals.html#xmlXPathEvaluatePredicateResult">xmlXPathEvaluatePredicateResult</a><br />
|
||||
<a href="html/libxml-xpath.html#xmlXPathNodeEval">xmlXPathNodeEval</a><br />
|
||||
|
@ -105,7 +105,6 @@ A:link, A:visited, A:active { text-decoration: underline }
|
||||
<a href="html/libxml-xmlschemas.html#xmlSchemaSAXPlug">xmlSchemaSAXPlug</a><br />
|
||||
<a href="html/libxml-tree.html#xmlSetBufferAllocationScheme">xmlSetBufferAllocationScheme</a><br />
|
||||
<a href="html/libxml-debugXML.html#xmlShellPwd">xmlShellPwd</a><br />
|
||||
<a href="html/libxml-xmlstring.html#xmlStrncat">xmlStrncat</a><br />
|
||||
<a href="html/libxml-xmlreader.html#xmlTextReaderCurrentDoc">xmlTextReaderCurrentDoc</a><br />
|
||||
<a href="html/libxml-valid.html#xmlValidCtxtNormalizeAttributeValue">xmlValidCtxtNormalizeAttributeValue</a><br />
|
||||
<a href="html/libxml-valid.html#xmlValidNormalizeAttributeValue">xmlValidNormalizeAttributeValue</a><br />
|
||||
@ -195,6 +194,7 @@ A:link, A:visited, A:active { text-decoration: underline }
|
||||
<a href="html/libxml-xmlregexp.html#xmlRegExecPushString2">xmlRegExecPushString2</a><br />
|
||||
</dd><dt>non-negative</dt><dd><a href="html/libxml-c14n.html#xmlC14NDocSaveTo">xmlC14NDocSaveTo</a><br />
|
||||
<a href="html/libxml-c14n.html#xmlC14NExecute">xmlC14NExecute</a><br />
|
||||
<a href="html/libxml-xmlreader.html#xmlTextReaderPreservePattern">xmlTextReaderPreservePattern</a><br />
|
||||
</dd><dt>non-normative</dt><dd><a href="html/libxml-encoding.html#xmlDetectCharEncoding">xmlDetectCharEncoding</a><br />
|
||||
</dd><dt>non-null</dt><dd><a href="html/libxml-debugXML.html#xmlShellPrintNode">xmlShellPrintNode</a><br />
|
||||
</dd><dt>non-recursive</dt><dd><a href="html/libxml-parser.html#_xmlParserCtxt">_xmlParserCtxt</a><br />
|
||||
|
@ -59,7 +59,11 @@ A:link, A:visited, A:active { text-decoration: underline }
|
||||
</dd><dt>occur</dt><dd><a href="html/libxml-schemasInternals.html#XML_SCHEMAS_TYPE_VARIETY_ABSENT">XML_SCHEMAS_TYPE_VARIETY_ABSENT</a><br />
|
||||
<a href="html/libxml-parserInternals.html#xmlParseComment">xmlParseComment</a><br />
|
||||
<a href="html/libxml-parserInternals.html#xmlParseMarkupDecl">xmlParseMarkupDecl</a><br />
|
||||
</dd><dt>occured</dt><dd><a href="html/libxml-xmlerror.html#xmlCtxtGetLastError">xmlCtxtGetLastError</a><br />
|
||||
</dd><dt>occurences</dt><dd><a href="html/libxml-xmlautomata.html#xmlAutomataNewCountTrans">xmlAutomataNewCountTrans</a><br />
|
||||
<a href="html/libxml-xmlautomata.html#xmlAutomataNewCountTrans2">xmlAutomataNewCountTrans2</a><br />
|
||||
<a href="html/libxml-xmlautomata.html#xmlAutomataNewOnceTrans">xmlAutomataNewOnceTrans</a><br />
|
||||
<a href="html/libxml-xmlautomata.html#xmlAutomataNewOnceTrans2">xmlAutomataNewOnceTrans2</a><br />
|
||||
</dd><dt>occurred</dt><dd><a href="html/libxml-xmlerror.html#xmlCtxtGetLastError">xmlCtxtGetLastError</a><br />
|
||||
<a href="html/libxml-dict.html#xmlDictCreate">xmlDictCreate</a><br />
|
||||
<a href="html/libxml-dict.html#xmlDictCreateSub">xmlDictCreateSub</a><br />
|
||||
<a href="html/libxml-xmlerror.html#xmlGetLastError">xmlGetLastError</a><br />
|
||||
@ -67,13 +71,9 @@ A:link, A:visited, A:active { text-decoration: underline }
|
||||
<a href="html/libxml-hash.html#xmlHashCreateDict">xmlHashCreateDict</a><br />
|
||||
<a href="html/libxml-list.html#xmlListRemoveFirst">xmlListRemoveFirst</a><br />
|
||||
<a href="html/libxml-list.html#xmlListRemoveLast">xmlListRemoveLast</a><br />
|
||||
<a href="html/libxml-xmlreader.html#xmlTextReaderErrorFunc">xmlTextReaderErrorFunc</a><br />
|
||||
</dd><dt>occurences</dt><dd><a href="html/libxml-xmlautomata.html#xmlAutomataNewCountTrans">xmlAutomataNewCountTrans</a><br />
|
||||
<a href="html/libxml-xmlautomata.html#xmlAutomataNewCountTrans2">xmlAutomataNewCountTrans2</a><br />
|
||||
<a href="html/libxml-xmlautomata.html#xmlAutomataNewOnceTrans">xmlAutomataNewOnceTrans</a><br />
|
||||
<a href="html/libxml-xmlautomata.html#xmlAutomataNewOnceTrans2">xmlAutomataNewOnceTrans2</a><br />
|
||||
</dd><dt>occurred</dt><dd><a href="html/libxml-xmlmemory.html#xmlMemStrdupLoc">xmlMemStrdupLoc</a><br />
|
||||
<a href="html/libxml-xmlmemory.html#xmlMemStrdupLoc">xmlMemStrdupLoc</a><br />
|
||||
<a href="html/libxml-xmlmemory.html#xmlMemoryStrdup">xmlMemoryStrdup</a><br />
|
||||
<a href="html/libxml-xmlreader.html#xmlTextReaderErrorFunc">xmlTextReaderErrorFunc</a><br />
|
||||
</dd><dt>occurrence</dt><dd><a href="html/libxml-xmlstring.html#xmlStrcasestr">xmlStrcasestr</a><br />
|
||||
<a href="html/libxml-xmlstring.html#xmlStrchr">xmlStrchr</a><br />
|
||||
<a href="html/libxml-xmlstring.html#xmlStrstr">xmlStrstr</a><br />
|
||||
|
@ -124,6 +124,7 @@ A:link, A:visited, A:active { text-decoration: underline }
|
||||
<a href="html/libxml-debugXML.html#xmlShell">xmlShell</a><br />
|
||||
</dd><dt>ready</dt><dd><a href="html/libxml-parserInternals.html#INPUT_CHUNK">INPUT_CHUNK</a><br />
|
||||
<a href="html/libxml-xmlautomata.html#xmlAutomataCompile">xmlAutomataCompile</a><br />
|
||||
</dd><dt>real</dt><dd><a href="html/libxml-xpointer.html#xmlXPtrRangeToFunction">xmlXPtrRangeToFunction</a><br />
|
||||
</dd><dt>realloc</dt><dd><a href="html/libxml-tree.html#_xmlBuffer">_xmlBuffer</a><br />
|
||||
<a href="html/libxml-xmlmemory.html#xmlGcMemGet">xmlGcMemGet</a><br />
|
||||
<a href="html/libxml-xmlmemory.html#xmlGcMemSetup">xmlGcMemSetup</a><br />
|
||||
@ -133,6 +134,7 @@ A:link, A:visited, A:active { text-decoration: underline }
|
||||
<a href="html/libxml-xmlmemory.html#xmlReallocFunc">xmlReallocFunc</a><br />
|
||||
<a href="html/libxml-xmlmemory.html#xmlReallocLoc">xmlReallocLoc</a><br />
|
||||
</dd><dt>reallocated</dt><dd><a href="html/libxml-xmlmemory.html#xmlReallocFunc">xmlReallocFunc</a><br />
|
||||
<a href="html/libxml-xmlstring.html#xmlStrcat">xmlStrcat</a><br />
|
||||
<a href="html/libxml-xmlstring.html#xmlStrncat">xmlStrncat</a><br />
|
||||
</dd><dt>really</dt><dd><a href="html/libxml-HTMLtree.html#HTML_COMMENT_NODE">HTML_COMMENT_NODE</a><br />
|
||||
<a href="html/libxml-HTMLtree.html#HTML_ENTITY_REF_NODE">HTML_ENTITY_REF_NODE</a><br />
|
||||
|
@ -548,6 +548,7 @@ A:link, A:visited, A:active { text-decoration: underline }
|
||||
<a href="html/libxml-tree.html#xmlNodeSetContent">xmlNodeSetContent</a><br />
|
||||
<a href="html/libxml-tree.html#xmlNodeSetContentLen">xmlNodeSetContentLen</a><br />
|
||||
<a href="html/libxml-xmlwriter.html#xmlTextWriterWriteRawLen">xmlTextWriterWriteRawLen</a><br />
|
||||
<a href="html/libxml-xpointer.html#xmlXPtrRangeToFunction">xmlXPtrRangeToFunction</a><br />
|
||||
</dd><dt>specialized</dt><dd><a href="html/libxml-tree.html#_xmlDOMWrapCtxt">_xmlDOMWrapCtxt</a><br />
|
||||
<a href="html/libxml-xmlmemory.html#xmlGcMemGet">xmlGcMemGet</a><br />
|
||||
<a href="html/libxml-xmlmemory.html#xmlGcMemSetup">xmlGcMemSetup</a><br />
|
||||
@ -667,6 +668,7 @@ A:link, A:visited, A:active { text-decoration: underline }
|
||||
<a href="html/libxml-valid.html#xmlValidNormalizeAttributeValue">xmlValidNormalizeAttributeValue</a><br />
|
||||
<a href="html/libxml-valid.html#xmlValidateDocumentFinal">xmlValidateDocumentFinal</a><br />
|
||||
<a href="html/libxml-valid.html#xmlValidateDtdFinal">xmlValidateDtdFinal</a><br />
|
||||
<a href="html/libxml-xpointer.html#xmlXPtrRangeToFunction">xmlXPtrRangeToFunction</a><br />
|
||||
</dd><dt>steps</dt><dd><a href="html/libxml-uri.html#xmlNormalizeURIPath">xmlNormalizeURIPath</a><br />
|
||||
<a href="html/libxml-valid.html#xmlValidateDocumentFinal">xmlValidateDocumentFinal</a><br />
|
||||
</dd><dt>still</dt><dd><a href="html/libxml-parserInternals.html#xmlCheckLanguageID">xmlCheckLanguageID</a><br />
|
||||
|
@ -480,6 +480,7 @@ A:link, A:visited, A:active { text-decoration: underline }
|
||||
<a href="html/libxml-xpath.html#xmlXPathNewContext">xmlXPathNewContext</a><br />
|
||||
<a href="html/libxml-xpointer.html#xmlXPtrNewContext">xmlXPtrNewContext</a><br />
|
||||
</dd><dt>xmlXPathError</dt><dd><a href="">err</a><br />
|
||||
</dd><dt>xmlXPathEval</dt><dd><a href="html/libxml-xpath.html#xmlXPathEvalExpression">xmlXPathEvalExpression</a><br />
|
||||
</dd><dt>xmlXPathEvalPredicate</dt><dd><a href="html/libxml-xpointer.html#xmlXPtrEvalRangePredicate">xmlXPtrEvalRangePredicate</a><br />
|
||||
</dd><dt>xmlXPathFreeObject</dt><dd><a href="html/libxml-xpath.html#xmlXPathFreeNodeSetList">xmlXPathFreeNodeSetList</a><br />
|
||||
</dd><dt>xmlXPathFunction</dt><dd><a href="html/libxml-xpathInternals.html#xmlXPathFunctionLookup">xmlXPathFunctionLookup</a><br />
|
||||
@ -531,6 +532,7 @@ A:link, A:visited, A:active { text-decoration: underline }
|
||||
<a href="html/libxml-xmlreader.html#xmlReaderWalker">xmlReaderWalker</a><br />
|
||||
</dd><dt>xpath</dt><dd><a href="html/libxml-debugXML.html#xmlShellPrintXPathError">xmlShellPrintXPathError</a><br />
|
||||
<a href="html/libxml-debugXML.html#xmlShellPrintXPathResult">xmlShellPrintXPathResult</a><br />
|
||||
<a href="html/libxml-xpointer.html#xmlXPtrRangeToFunction">xmlXPtrRangeToFunction</a><br />
|
||||
</dd><dt>xpointer</dt><dd><a href="html/libxml-xinclude.html#XINCLUDE_PARSE_XPOINTER">XINCLUDE_PARSE_XPOINTER</a><br />
|
||||
</dd></dl><h2 align="center"><a href="APIchunk0.html">A-B</a>
|
||||
<a href="APIchunk1.html">C-C</a>
|
||||
|
@ -56,6 +56,7 @@ A:link, A:visited, A:active { text-decoration: underline }
|
||||
<a href="html/libxml-schemasInternals.html#_xmlSchemaElement">_xmlSchemaElement</a><br />
|
||||
<a href="html/libxml-schemasInternals.html#_xmlSchemaFacet">_xmlSchemaFacet</a><br />
|
||||
<a href="html/libxml-schemasInternals.html#_xmlSchemaType">_xmlSchemaType</a><br />
|
||||
<a href="html/libxml-xpointer.html#xmlXPtrRangeToFunction">xmlXPtrRangeToFunction</a><br />
|
||||
</dd><dt>Obtain</dt><dd><a href="html/libxml-xmlreader.html#xmlTextReaderLocatorBaseURI">xmlTextReaderLocatorBaseURI</a><br />
|
||||
<a href="html/libxml-xmlreader.html#xmlTextReaderLocatorLineNumber">xmlTextReaderLocatorLineNumber</a><br />
|
||||
</dd><dt>Ogham</dt><dd><a href="html/libxml-xmlunicode.html#xmlUCSIsOgham">xmlUCSIsOgham</a><br />
|
||||
@ -72,7 +73,8 @@ A:link, A:visited, A:active { text-decoration: underline }
|
||||
</dd><dt>Oriya</dt><dd><a href="html/libxml-xmlunicode.html#xmlUCSIsOriya">xmlUCSIsOriya</a><br />
|
||||
</dd><dt>Osmanya</dt><dd><a href="html/libxml-xmlunicode.html#xmlUCSIsOsmanya">xmlUCSIsOsmanya</a><br />
|
||||
</dd><dt>Other</dt><dd><a href="html/libxml-xpath.html#xmlXPathContextSetCache">xmlXPathContextSetCache</a><br />
|
||||
</dd><dt>Otherwise</dt><dd><a href="html/libxml-pattern.html#xmlStreamPush">xmlStreamPush</a><br />
|
||||
</dd><dt>Otherwise</dt><dd><a href="html/libxml-tree.html#xmlSplitQName2">xmlSplitQName2</a><br />
|
||||
<a href="html/libxml-pattern.html#xmlStreamPush">xmlStreamPush</a><br />
|
||||
<a href="html/libxml-pattern.html#xmlStreamPushAttr">xmlStreamPushAttr</a><br />
|
||||
</dd><dt>Output</dt><dd><a href="html/libxml-xmlIO.html#xmlOutputCloseCallback">xmlOutputCloseCallback</a><br />
|
||||
<a href="html/libxml-xmlIO.html#xmlOutputMatchCallback">xmlOutputMatchCallback</a><br />
|
||||
|
@ -147,7 +147,9 @@ A:link, A:visited, A:active { text-decoration: underline }
|
||||
<a href="html/libxml-HTMLparser.html#htmlIsScriptAttribute">htmlIsScriptAttribute</a><br />
|
||||
<a href="html/libxml-HTMLtree.html#htmlNewDoc">htmlNewDoc</a><br />
|
||||
<a href="html/libxml-HTMLtree.html#htmlNewDocNoDtD">htmlNewDocNoDtD</a><br />
|
||||
<a href="html/libxml-HTMLparser.html#htmlParseDoc">htmlParseDoc</a><br />
|
||||
<a href="html/libxml-HTMLparser.html#htmlReadDoc">htmlReadDoc</a><br />
|
||||
<a href="html/libxml-HTMLparser.html#htmlSAXParseDoc">htmlSAXParseDoc</a><br />
|
||||
<a href="html/libxml-HTMLtree.html#htmlSetMetaEncoding">htmlSetMetaEncoding</a><br />
|
||||
<a href="html/libxml-HTMLparser.html#htmlTagLookup">htmlTagLookup</a><br />
|
||||
<a href="html/libxml-SAX.html#ignorableWhitespace">ignorableWhitespace</a><br />
|
||||
@ -1039,8 +1041,6 @@ A:link, A:visited, A:active { text-decoration: underline }
|
||||
<a href="html/libxml-DOCBparser.html#docbSAXParseDoc">docbSAXParseDoc</a><br />
|
||||
<a href="html/libxml-SAX.html#entityDecl">entityDecl</a><br />
|
||||
<a href="html/libxml-parser.html#entityDeclSAXFunc">entityDeclSAXFunc</a><br />
|
||||
<a href="html/libxml-HTMLparser.html#htmlParseDoc">htmlParseDoc</a><br />
|
||||
<a href="html/libxml-HTMLparser.html#htmlSAXParseDoc">htmlSAXParseDoc</a><br />
|
||||
<a href="html/libxml-tree.html#xmlBuildQName">xmlBuildQName</a><br />
|
||||
<a href="html/libxml-parserInternals.html#xmlCopyChar">xmlCopyChar</a><br />
|
||||
<a href="html/libxml-parserInternals.html#xmlCopyCharMultiByte">xmlCopyCharMultiByte</a><br />
|
||||
|
@ -13,7 +13,7 @@ use the <a href="http://bugzilla.gnome.org/buglist.cgi?product=libxml2">Gnome
|
||||
bug tracking database</a> (make sure to use the "libxml2" module name). I
|
||||
look at reports there regularly and it's good to have a reminder when a bug
|
||||
is still open. Be sure to specify that the bug is for the package libxml2.</p><p>For small problems you can try to get help on IRC, the #xml channel on
|
||||
irc.gnome.org (port 6667) usually have a few person subscribed which may help
|
||||
irc.gnome.org (port 6667) usually has a few people subscribed which may help
|
||||
(but there is no guarantee and if a real issue is raised it should go on the
|
||||
mailing-list for archival).</p><p>There is also a mailing-list <a href="mailto:xml@gnome.org">xml@gnome.org</a> for libxml, with an <a href="http://mail.gnome.org/archives/xml/">on-line archive</a> (<a href="http://xmlsoft.org/messages">old</a>). To subscribe to this list,
|
||||
please visit the <a href="http://mail.gnome.org/mailman/listinfo/xml">associated Web</a> page and
|
||||
|
@ -96,9 +96,9 @@ void <a href="#htmlFreeParserCtxt">htmlFreeParserCtxt</a> (<a href="libxml2-HTM
|
||||
<a href="libxml2-HTMLparser.html#htmlDocPtr">htmlDocPtr</a> <a href="#htmlCtxtReadFile">htmlCtxtReadFile</a> (<a href="libxml2-HTMLparser.html#htmlParserCtxtPtr">htmlParserCtxtPtr</a> ctxt, <br/> const char * filename, <br/> const char * encoding, <br/> int options);
|
||||
int <a href="#htmlParseDocument">htmlParseDocument</a> (<a href="libxml2-HTMLparser.html#htmlParserCtxtPtr">htmlParserCtxtPtr</a> ctxt);
|
||||
<a href="libxml2-HTMLparser.html#htmlParserCtxtPtr">htmlParserCtxtPtr</a> <a href="#htmlNewParserCtxt">htmlNewParserCtxt</a> (void);
|
||||
<a href="libxml2-HTMLparser.html#htmlDocPtr">htmlDocPtr</a> <a href="#htmlSAXParseDoc">htmlSAXParseDoc</a> (<a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * cur, <br/> const char * encoding, <br/> <a href="libxml2-HTMLparser.html#htmlSAXHandlerPtr">htmlSAXHandlerPtr</a> sax, <br/> void * userData);
|
||||
<a href="libxml2-HTMLparser.html#htmlDocPtr">htmlDocPtr</a> <a href="#htmlSAXParseDoc">htmlSAXParseDoc</a> (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * cur, <br/> const char * encoding, <br/> <a href="libxml2-HTMLparser.html#htmlSAXHandlerPtr">htmlSAXHandlerPtr</a> sax, <br/> void * userData);
|
||||
int <a href="#htmlCtxtUseOptions">htmlCtxtUseOptions</a> (<a href="libxml2-HTMLparser.html#htmlParserCtxtPtr">htmlParserCtxtPtr</a> ctxt, <br/> int options);
|
||||
<a href="libxml2-HTMLparser.html#htmlDocPtr">htmlDocPtr</a> <a href="#htmlParseDoc">htmlParseDoc</a> (<a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * cur, <br/> const char * encoding);
|
||||
<a href="libxml2-HTMLparser.html#htmlDocPtr">htmlDocPtr</a> <a href="#htmlParseDoc">htmlParseDoc</a> (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * cur, <br/> const char * encoding);
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
@ -315,7 +315,7 @@ int <a href="#htmlCtxtUseOptions">htmlCtxtUseOptions</a> (<a href="libxml2-HTML
|
||||
</pre><p>Parse a Chunk of 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>an HTML parser context</td></tr><tr><td><span class="term"><i><tt>chunk</tt></i>:</span></td><td>an char array</td></tr><tr><td><span class="term"><i><tt>size</tt></i>:</span></td><td>the size in byte of the chunk</td></tr><tr><td><span class="term"><i><tt>terminate</tt></i>:</span></td><td>last chunk indicator</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>zero if no error, the <a href="libxml2-xmlerror.html#xmlParserErrors">xmlParserErrors</a> otherwise.</td></tr></tbody></table></div></div>
|
||||
<hr/>
|
||||
<div class="refsect2" lang="en"><h3><a name="htmlParseDoc"/>htmlParseDoc ()</h3><pre class="programlisting"><a href="libxml2-HTMLparser.html#htmlDocPtr">htmlDocPtr</a> htmlParseDoc (<a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * cur, <br/> const char * encoding)<br/>
|
||||
<div class="refsect2" lang="en"><h3><a name="htmlParseDoc"/>htmlParseDoc ()</h3><pre class="programlisting"><a href="libxml2-HTMLparser.html#htmlDocPtr">htmlDocPtr</a> htmlParseDoc (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * cur, <br/> const char * encoding)<br/>
|
||||
</pre><p>parse an HTML in-memory document and build a tree.</p>
|
||||
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>cur</tt></i>:</span></td><td>a pointer to an array of <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a></td></tr><tr><td><span class="term"><i><tt>encoding</tt></i>:</span></td><td>a free form C string describing the HTML document encoding, or NULL</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the resulting document tree</td></tr></tbody></table></div></div>
|
||||
<hr/>
|
||||
@ -355,7 +355,7 @@ int <a href="#htmlCtxtUseOptions">htmlCtxtUseOptions</a> (<a href="libxml2-HTML
|
||||
</pre><p>parse an XML in-memory document and build a tree.</p>
|
||||
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>buffer</tt></i>:</span></td><td>a pointer to a char array</td></tr><tr><td><span class="term"><i><tt>size</tt></i>:</span></td><td>the size of the array</td></tr><tr><td><span class="term"><i><tt>URL</tt></i>:</span></td><td>the base URL to use for the document</td></tr><tr><td><span class="term"><i><tt>encoding</tt></i>:</span></td><td>the document encoding, or NULL</td></tr><tr><td><span class="term"><i><tt>options</tt></i>:</span></td><td>a combination of htmlParserOption(s)</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the resulting document tree</td></tr></tbody></table></div></div>
|
||||
<hr/>
|
||||
<div class="refsect2" lang="en"><h3><a name="htmlSAXParseDoc"/>htmlSAXParseDoc ()</h3><pre class="programlisting"><a href="libxml2-HTMLparser.html#htmlDocPtr">htmlDocPtr</a> htmlSAXParseDoc (<a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * cur, <br/> const char * encoding, <br/> <a href="libxml2-HTMLparser.html#htmlSAXHandlerPtr">htmlSAXHandlerPtr</a> sax, <br/> void * userData)<br/>
|
||||
<div class="refsect2" lang="en"><h3><a name="htmlSAXParseDoc"/>htmlSAXParseDoc ()</h3><pre class="programlisting"><a href="libxml2-HTMLparser.html#htmlDocPtr">htmlDocPtr</a> htmlSAXParseDoc (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * cur, <br/> const char * encoding, <br/> <a href="libxml2-HTMLparser.html#htmlSAXHandlerPtr">htmlSAXHandlerPtr</a> sax, <br/> void * userData)<br/>
|
||||
</pre><p>Parse an HTML in-memory document. If sax is not NULL, use the SAX callbacks to handle parse events. If sax is NULL, fallback to the default DOM behavior and return a tree.</p>
|
||||
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>cur</tt></i>:</span></td><td>a pointer to an array of <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a></td></tr><tr><td><span class="term"><i><tt>encoding</tt></i>:</span></td><td>a free form C string describing the HTML document encoding, or NULL</td></tr><tr><td><span class="term"><i><tt>sax</tt></i>:</span></td><td>the SAX handler block</td></tr><tr><td><span class="term"><i><tt>userData</tt></i>:</span></td><td>if using SAX, this pointer will be provided on callbacks.</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the resulting document tree unless SAX is NULL or the document is not well formed.</td></tr></tbody></table></div></div>
|
||||
<hr/>
|
||||
|
@ -82,11 +82,11 @@ The content of this structure is not made public by the API.
|
||||
<hr/>
|
||||
<div class="refsect2" lang="en"><h3><a name="xmlDictCreate"/>xmlDictCreate ()</h3><pre class="programlisting"><a href="libxml2-dict.html#xmlDictPtr">xmlDictPtr</a> xmlDictCreate (void)<br/>
|
||||
</pre><p>Create a new dictionary</p>
|
||||
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the newly created dictionary, or NULL if an error occured.</td></tr></tbody></table></div></div>
|
||||
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the newly created dictionary, or NULL if an error occurred.</td></tr></tbody></table></div></div>
|
||||
<hr/>
|
||||
<div class="refsect2" lang="en"><h3><a name="xmlDictCreateSub"/>xmlDictCreateSub ()</h3><pre class="programlisting"><a href="libxml2-dict.html#xmlDictPtr">xmlDictPtr</a> xmlDictCreateSub (<a href="libxml2-dict.html#xmlDictPtr">xmlDictPtr</a> sub)<br/>
|
||||
</pre><p>Create a new dictionary, inheriting strings from the read-only dictionary @sub. On lookup, strings are first searched in the new dictionary, then in @sub, and if not found are created in the new dictionary.</p>
|
||||
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>sub</tt></i>:</span></td><td>an existing dictionary</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the newly created dictionary, or NULL if an error occured.</td></tr></tbody></table></div></div>
|
||||
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>sub</tt></i>:</span></td><td>an existing dictionary</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the newly created dictionary, or NULL if an error occurred.</td></tr></tbody></table></div></div>
|
||||
<hr/>
|
||||
<div class="refsect2" lang="en"><h3><a name="xmlDictExists"/>xmlDictExists ()</h3><pre class="programlisting">const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * xmlDictExists (<a href="libxml2-dict.html#xmlDictPtr">xmlDictPtr</a> dict, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br/> int len)<br/>
|
||||
</pre><p>Check if the @name exists in the dictionary @dict.</p>
|
||||
|
@ -130,11 +130,11 @@ The content of this structure is not made public by the API.
|
||||
<hr/>
|
||||
<div class="refsect2" lang="en"><h3><a name="xmlHashCreate"/>xmlHashCreate ()</h3><pre class="programlisting"><a href="libxml2-hash.html#xmlHashTablePtr">xmlHashTablePtr</a> xmlHashCreate (int size)<br/>
|
||||
</pre><p>Create a new xmlHashTablePtr.</p>
|
||||
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>size</tt></i>:</span></td><td>the size of the hash table</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the newly created object, or NULL if an error occured.</td></tr></tbody></table></div></div>
|
||||
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>size</tt></i>:</span></td><td>the size of the hash table</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the newly created object, or NULL if an error occurred.</td></tr></tbody></table></div></div>
|
||||
<hr/>
|
||||
<div class="refsect2" lang="en"><h3><a name="xmlHashCreateDict"/>xmlHashCreateDict ()</h3><pre class="programlisting"><a href="libxml2-hash.html#xmlHashTablePtr">xmlHashTablePtr</a> xmlHashCreateDict (int size, <br/> <a href="libxml2-dict.html#xmlDictPtr">xmlDictPtr</a> dict)<br/>
|
||||
</pre><p>Create a new <a href="libxml2-hash.html#xmlHashTablePtr">xmlHashTablePtr</a> which will use @dict as the internal dictionary</p>
|
||||
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>size</tt></i>:</span></td><td>the size of the hash table</td></tr><tr><td><span class="term"><i><tt>dict</tt></i>:</span></td><td>a dictionary to use for the hash</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the newly created object, or NULL if an error occured.</td></tr></tbody></table></div></div>
|
||||
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>size</tt></i>:</span></td><td>the size of the hash table</td></tr><tr><td><span class="term"><i><tt>dict</tt></i>:</span></td><td>a dictionary to use for the hash</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the newly created object, or NULL if an error occurred.</td></tr></tbody></table></div></div>
|
||||
<hr/>
|
||||
<div class="refsect2" lang="en"><h3><a name="xmlHashFree"/>xmlHashFree ()</h3><pre class="programlisting">void xmlHashFree (<a href="libxml2-hash.html#xmlHashTablePtr">xmlHashTablePtr</a> table, <br/> <a href="libxml2-hash.html#xmlHashDeallocator">xmlHashDeallocator</a> f)<br/>
|
||||
</pre><p>Free the hash @table and its contents. The userdata is deallocated with @f if provided.</p>
|
||||
|
@ -186,11 +186,11 @@ The content of this structure is not made public by the API.
|
||||
<hr/>
|
||||
<div class="refsect2" lang="en"><h3><a name="xmlListRemoveFirst"/>xmlListRemoveFirst ()</h3><pre class="programlisting">int xmlListRemoveFirst (<a href="libxml2-list.html#xmlListPtr">xmlListPtr</a> l, <br/> void * data)<br/>
|
||||
</pre><p>Remove the first instance associated to data in the list</p>
|
||||
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>l</tt></i>:</span></td><td>a list</td></tr><tr><td><span class="term"><i><tt>data</tt></i>:</span></td><td>list data</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>1 if a deallocation occured, or 0 if not found</td></tr></tbody></table></div></div>
|
||||
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>l</tt></i>:</span></td><td>a list</td></tr><tr><td><span class="term"><i><tt>data</tt></i>:</span></td><td>list data</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>1 if a deallocation occurred, or 0 if not found</td></tr></tbody></table></div></div>
|
||||
<hr/>
|
||||
<div class="refsect2" lang="en"><h3><a name="xmlListRemoveLast"/>xmlListRemoveLast ()</h3><pre class="programlisting">int xmlListRemoveLast (<a href="libxml2-list.html#xmlListPtr">xmlListPtr</a> l, <br/> void * data)<br/>
|
||||
</pre><p>Remove the last instance associated to data in the list</p>
|
||||
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>l</tt></i>:</span></td><td>a list</td></tr><tr><td><span class="term"><i><tt>data</tt></i>:</span></td><td>list data</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>1 if a deallocation occured, or 0 if not found</td></tr></tbody></table></div></div>
|
||||
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>l</tt></i>:</span></td><td>a list</td></tr><tr><td><span class="term"><i><tt>data</tt></i>:</span></td><td>list data</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>1 if a deallocation occurred, or 0 if not found</td></tr></tbody></table></div></div>
|
||||
<hr/>
|
||||
<div class="refsect2" lang="en"><h3><a name="xmlListReverse"/>xmlListReverse ()</h3><pre class="programlisting">void xmlListReverse (<a href="libxml2-list.html#xmlListPtr">xmlListPtr</a> l)<br/>
|
||||
</pre><p>Reverse the order of the elements in the list</p>
|
||||
|
@ -39,7 +39,7 @@
|
||||
<span class="refentrytitle">schemasInternals</span>
|
||||
</h2>
|
||||
<p>schemasInternals - internal interfaces for XML Schemas</p>
|
||||
<p>internal interfaces for the XML Schemas handling and schema validity checking The Schemas development is a Work In Progress. Some of those interfaces are not garanteed to be API or ABI stable ! </p>
|
||||
<p>internal interfaces for the XML Schemas handling and schema validity checking The Schemas development is a Work In Progress. Some of those interfaces are not guaranteed to be API or ABI stable ! </p>
|
||||
<p>Author(s): Daniel Veillard </p>
|
||||
<div class="refsynopsisdiv">
|
||||
<h2>Synopsis</h2>
|
||||
|
@ -1542,7 +1542,7 @@ The content of this structure is not made public by the API.
|
||||
<hr/>
|
||||
<div class="refsect2" lang="en"><h3><a name="xmlSplitQName2"/>xmlSplitQName2 ()</h3><pre class="programlisting"><a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * xmlSplitQName2 (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br/> <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> ** prefix)<br/>
|
||||
</pre><p>parse an XML qualified name string [NS 5] QName ::= (Prefix ':')? LocalPart [NS 6] Prefix ::= NCName [NS 7] LocalPart ::= NCName</p>
|
||||
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>name</tt></i>:</span></td><td>the full QName</td></tr><tr><td><span class="term"><i><tt>prefix</tt></i>:</span></td><td>a <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> **</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>NULL if not a QName, otherwise the local part, and prefix is updated to get the Prefix if any.</td></tr></tbody></table></div></div>
|
||||
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>name</tt></i>:</span></td><td>the full QName</td></tr><tr><td><span class="term"><i><tt>prefix</tt></i>:</span></td><td>a <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> **</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>NULL if the name doesn't have a prefix. Otherwise, returns the local part, and prefix is updated to get the Prefix. Both the return value and the prefix must be freed by the caller.</td></tr></tbody></table></div></div>
|
||||
<hr/>
|
||||
<div class="refsect2" lang="en"><h3><a name="xmlSplitQName3"/>xmlSplitQName3 ()</h3><pre class="programlisting">const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * xmlSplitQName3 (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br/> int * len)<br/>
|
||||
</pre><p>parse an XML qualified name string,i</p>
|
||||
|
@ -897,7 +897,7 @@ void <a href="#xmlResetError">xmlResetError</a> (<a href="libxml2-xmlerror.htm
|
||||
<hr/>
|
||||
<div class="refsect2" lang="en"><h3><a name="xmlCtxtGetLastError"/>xmlCtxtGetLastError ()</h3><pre class="programlisting"><a href="libxml2-xmlerror.html#xmlErrorPtr">xmlErrorPtr</a> xmlCtxtGetLastError (void * ctx)<br/>
|
||||
</pre><p>Get the last parsing error registered.</p>
|
||||
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctx</tt></i>:</span></td><td>an XML parser context</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>NULL if no error occured or a pointer to the error</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>an XML parser context</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>NULL if no error occurred or a pointer to the error</td></tr></tbody></table></div></div>
|
||||
<hr/>
|
||||
<div class="refsect2" lang="en"><h3><a name="xmlCtxtResetLastError"/>xmlCtxtResetLastError ()</h3><pre class="programlisting">void xmlCtxtResetLastError (void * ctx)<br/>
|
||||
</pre><p>Cleanup the last global error registered. For parsing error this does not change the well-formedness result.</p>
|
||||
@ -905,7 +905,7 @@ void <a href="#xmlResetError">xmlResetError</a> (<a href="libxml2-xmlerror.htm
|
||||
<hr/>
|
||||
<div class="refsect2" lang="en"><h3><a name="xmlGetLastError"/>xmlGetLastError ()</h3><pre class="programlisting"><a href="libxml2-xmlerror.html#xmlErrorPtr">xmlErrorPtr</a> xmlGetLastError (void)<br/>
|
||||
</pre><p>Get the last global error registered. This is per thread if compiled with thread support.</p>
|
||||
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>NULL if no error occured or a pointer to the error</td></tr></tbody></table></div></div>
|
||||
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>NULL if no error occurred or a pointer to the error</td></tr></tbody></table></div></div>
|
||||
<hr/>
|
||||
<div class="refsect2" lang="en"><h3><a name="xmlParserError"/>xmlParserError ()</h3><pre class="programlisting">void xmlParserError (void * ctx, <br/> const char * msg, <br/> ... ...)<br/>
|
||||
</pre><p>Display and format an error messages, gives file, line, position and extra parameters.</p>
|
||||
|
@ -213,7 +213,7 @@ The content of this structure is not made public by the API.
|
||||
<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/>
|
||||
</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>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>
|
||||
<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 occurred</td></tr></tbody></table></div></div>
|
||||
<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/>
|
||||
</pre><p>Deallocate all the resources associated to the reader</p>
|
||||
@ -477,7 +477,7 @@ The content of this structure is not made public by the API.
|
||||
<hr/>
|
||||
<div class="refsect2" lang="en"><h3><a name="xmlTextReaderPreservePattern"/>xmlTextReaderPreservePattern ()</h3><pre class="programlisting">int xmlTextReaderPreservePattern (<a href="libxml2-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> reader, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * pattern, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> ** namespaces)<br/>
|
||||
</pre><p>This tells the XML Reader to preserve all nodes matched by the pattern. The caller must also use xmlTextReaderCurrentDoc() to keep an handle on the resulting document once parsing has finished</p>
|
||||
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>reader</tt></i>:</span></td><td>the <a href="libxml2-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> used</td></tr><tr><td><span class="term"><i><tt>pattern</tt></i>:</span></td><td>an XPath subset pattern</td></tr><tr><td><span class="term"><i><tt>namespaces</tt></i>:</span></td><td>the prefix definitions, array of [URI, prefix] or NULL</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>a positive number in case of success and -1 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>reader</tt></i>:</span></td><td>the <a href="libxml2-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> used</td></tr><tr><td><span class="term"><i><tt>pattern</tt></i>:</span></td><td>an XPath subset pattern</td></tr><tr><td><span class="term"><i><tt>namespaces</tt></i>:</span></td><td>the prefix definitions, array of [URI, prefix] or NULL</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>a non-negative number in case of success and -1 in case of error</td></tr></tbody></table></div></div>
|
||||
<hr/>
|
||||
<div class="refsect2" lang="en"><h3><a name="xmlTextReaderQuoteChar"/>xmlTextReaderQuoteChar ()</h3><pre class="programlisting">int xmlTextReaderQuoteChar (<a href="libxml2-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> reader)<br/>
|
||||
</pre><p>The quotation mark character used to enclose the value of an attribute.</p>
|
||||
|
@ -133,7 +133,7 @@ int <a href="#xmlUTF8Strloc">xmlUTF8Strloc</a> (const <a href="libxml2-xmlstri
|
||||
<hr/>
|
||||
<div class="refsect2" lang="en"><h3><a name="xmlStrcat"/>xmlStrcat ()</h3><pre class="programlisting"><a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * xmlStrcat (<a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * cur, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * add)<br/>
|
||||
</pre><p>a strcat for array of xmlChar's. Since they are supposed to be encoded in UTF-8 or an encoding with 8bit based chars, we assume a termination mark of '0'.</p>
|
||||
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>cur</tt></i>:</span></td><td>the original <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * array</td></tr><tr><td><span class="term"><i><tt>add</tt></i>:</span></td><td>the <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * array added</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>a new <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * containing the concatenated string.</td></tr></tbody></table></div></div>
|
||||
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>cur</tt></i>:</span></td><td>the original <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * array</td></tr><tr><td><span class="term"><i><tt>add</tt></i>:</span></td><td>the <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * array added</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>a new <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * containing the concatenated string. The original @cur is reallocated and should not be freed.</td></tr></tbody></table></div></div>
|
||||
<hr/>
|
||||
<div class="refsect2" lang="en"><h3><a name="xmlStrchr"/>xmlStrchr ()</h3><pre class="programlisting">const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * xmlStrchr (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * str, <br/> <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> val)<br/>
|
||||
</pre><p>a strchr for xmlChar's</p>
|
||||
@ -157,7 +157,7 @@ int <a href="#xmlUTF8Strloc">xmlUTF8Strloc</a> (const <a href="libxml2-xmlstri
|
||||
<hr/>
|
||||
<div class="refsect2" lang="en"><h3><a name="xmlStrncat"/>xmlStrncat ()</h3><pre class="programlisting"><a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * xmlStrncat (<a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * cur, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * add, <br/> int len)<br/>
|
||||
</pre><p>a strncat for array of xmlChar's, it will extend @cur with the len first bytes of @add. Note that if @len < 0 then this is an API error and NULL will be returned.</p>
|
||||
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>cur</tt></i>:</span></td><td>the original <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * array</td></tr><tr><td><span class="term"><i><tt>add</tt></i>:</span></td><td>the <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * array added</td></tr><tr><td><span class="term"><i><tt>len</tt></i>:</span></td><td>the length of @add</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>a new <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> *, the original @cur is reallocated if needed and should not be freed</td></tr></tbody></table></div></div>
|
||||
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>cur</tt></i>:</span></td><td>the original <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * array</td></tr><tr><td><span class="term"><i><tt>add</tt></i>:</span></td><td>the <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * array added</td></tr><tr><td><span class="term"><i><tt>len</tt></i>:</span></td><td>the length of @add</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>a new <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> *, the original @cur is reallocated and should not be freed.</td></tr></tbody></table></div></div>
|
||||
<hr/>
|
||||
<div class="refsect2" lang="en"><h3><a name="xmlStrncatNew"/>xmlStrncatNew ()</h3><pre class="programlisting"><a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * xmlStrncatNew (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * str1, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * str2, <br/> int len)<br/>
|
||||
</pre><p>same as xmlStrncat, but creates a new string. The original two strings are not freed. If @len is < 0 then the length will be calculated automatically.</p>
|
||||
@ -204,7 +204,7 @@ int <a href="#xmlUTF8Strloc">xmlUTF8Strloc</a> (const <a href="libxml2-xmlstri
|
||||
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>utf</tt></i>:</span></td><td>the input UTF8 *</td></tr><tr><td><span class="term"><i><tt>pos</tt></i>:</span></td><td>the position of the desired UTF8 char (in chars)</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>a pointer to the UTF8 character or NULL</td></tr></tbody></table></div></div>
|
||||
<hr/>
|
||||
<div class="refsect2" lang="en"><h3><a name="xmlUTF8Strsize"/>xmlUTF8Strsize ()</h3><pre class="programlisting">int xmlUTF8Strsize (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * utf, <br/> int len)<br/>
|
||||
</pre><p>storage size of an UTF8 string the behaviour is not garanteed if the input string is not UTF-8</p>
|
||||
</pre><p>storage size of an UTF8 string the behaviour is not guaranteed if the input string is not UTF-8</p>
|
||||
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>utf</tt></i>:</span></td><td>a sequence of UTF-8 encoded bytes</td></tr><tr><td><span class="term"><i><tt>len</tt></i>:</span></td><td>the number of <a href="libxml2-SAX.html#characters">characters</a> in the array</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the storage size of the first 'len' <a href="libxml2-SAX.html#characters">characters</a> of ARRAY</td></tr></tbody></table></div></div>
|
||||
<hr/>
|
||||
<div class="refsect2" lang="en"><h3><a name="xmlUTF8Strsub"/>xmlUTF8Strsub ()</h3><pre class="programlisting"><a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * xmlUTF8Strsub (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * utf, <br/> int start, <br/> int len)<br/>
|
||||
|
@ -473,7 +473,7 @@ 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>str</tt></i>:</span></td><td>the XPath expression</td></tr><tr><td><span class="term"><i><tt>ctx</tt></i>:</span></td><td>the XPath context</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the <a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> resulting from the evaluation or NULL. the caller has to free the object.</td></tr></tbody></table></div></div>
|
||||
<hr/>
|
||||
<div class="refsect2" lang="en"><h3><a name="xmlXPathEvalExpression"/>xmlXPathEvalExpression ()</h3><pre class="programlisting"><a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> xmlXPathEvalExpression (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * str, <br/> <a href="libxml2-xpath.html#xmlXPathContextPtr">xmlXPathContextPtr</a> ctxt)<br/>
|
||||
</pre><p>Evaluate the XPath expression in the given context.</p>
|
||||
</pre><p>Alias for xmlXPathEval().</p>
|
||||
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>str</tt></i>:</span></td><td>the XPath expression</td></tr><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>the XPath context</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the <a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> resulting from the evaluation or NULL. the caller has to free the object.</td></tr></tbody></table></div></div>
|
||||
<hr/>
|
||||
<div class="refsect2" lang="en"><h3><a name="xmlXPathEvalPredicate"/>xmlXPathEvalPredicate ()</h3><pre class="programlisting">int xmlXPathEvalPredicate (<a href="libxml2-xpath.html#xmlXPathContextPtr">xmlXPathContextPtr</a> ctxt, <br/> <a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> res)<br/>
|
||||
|
@ -694,7 +694,7 @@ void <a href="#xmlXPathDebugDumpObject">xmlXPathDebugDumpObject</a> (FILE * out
|
||||
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>the XPath Parser context</td></tr></tbody></table></div></div>
|
||||
<hr/>
|
||||
<div class="refsect2" lang="en"><h3><a name="xmlXPathRoundFunction"/>xmlXPathRoundFunction ()</h3><pre class="programlisting">void xmlXPathRoundFunction (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br/> int nargs)<br/>
|
||||
</pre><p>Implement the round() XPath function number round(number) The round function returns the number that is closest to the argument and that is an integer. If there are two such numbers, then the one that is even is returned.</p>
|
||||
</pre><p>Implement the round() XPath function number round(number) The round function returns the number that is closest to the argument and that is an integer. If there are two such numbers, then the one that is closest to positive infinity is returned.</p>
|
||||
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>the XPath Parser context</td></tr><tr><td><span class="term"><i><tt>nargs</tt></i>:</span></td><td>the number of arguments</td></tr></tbody></table></div></div>
|
||||
<hr/>
|
||||
<div class="refsect2" lang="en"><h3><a name="xmlXPathStartsWithFunction"/>xmlXPathStartsWithFunction ()</h3><pre class="programlisting">void xmlXPathStartsWithFunction (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br/> int nargs)<br/>
|
||||
|
@ -158,7 +158,7 @@ void <a href="#xmlXPtrEvalRangePredicate">xmlXPtrEvalRangePredicate</a> (<a href
|
||||
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>start</tt></i>:</span></td><td>the starting point</td></tr><tr><td><span class="term"><i><tt>end</tt></i>:</span></td><td>the ending point</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the newly created object.</td></tr></tbody></table></div></div>
|
||||
<hr/>
|
||||
<div class="refsect2" lang="en"><h3><a name="xmlXPtrRangeToFunction"/>xmlXPtrRangeToFunction ()</h3><pre class="programlisting">void xmlXPtrRangeToFunction (<a href="libxml2-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br/> int nargs)<br/>
|
||||
</pre><p>Implement the range-to() XPointer function</p>
|
||||
</pre><p>Implement the range-to() XPointer function Obsolete. range-to is not a real function but a special type of location step which is handled in xpath.c.</p>
|
||||
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>the XPointer Parser context</td></tr><tr><td><span class="term"><i><tt>nargs</tt></i>:</span></td><td>the number of args</td></tr></tbody></table></div></div>
|
||||
<hr/>
|
||||
<div class="refsect2" lang="en"><h3><a name="xmlXPtrWrapLocationSet"/>xmlXPtrWrapLocationSet ()</h3><pre class="programlisting"><a href="libxml2-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> xmlXPtrWrapLocationSet (<a href="libxml2-xpointer.html#xmlLocationSetPtr">xmlLocationSetPtr</a> val)<br/>
|
||||
|
@ -50,7 +50,7 @@ A:link, A:visited, A:active { text-decoration: underline }
|
||||
<pre class="programlisting"><a href="libxml-HTMLparser.html#htmlStatus">htmlStatus</a> <a href="#htmlNodeStatus">htmlNodeStatus</a> (const <a href="libxml-HTMLparser.html#htmlNodePtr">htmlNodePtr</a> node, <br /> int legacy)</pre>
|
||||
<pre class="programlisting">int <a href="#htmlParseCharRef">htmlParseCharRef</a> (<a href="libxml-HTMLparser.html#htmlParserCtxtPtr">htmlParserCtxtPtr</a> ctxt)</pre>
|
||||
<pre class="programlisting">int <a href="#htmlParseChunk">htmlParseChunk</a> (<a href="libxml-HTMLparser.html#htmlParserCtxtPtr">htmlParserCtxtPtr</a> ctxt, <br /> const char * chunk, <br /> int size, <br /> int terminate)</pre>
|
||||
<pre class="programlisting"><a href="libxml-HTMLparser.html#htmlDocPtr">htmlDocPtr</a> <a href="#htmlParseDoc">htmlParseDoc</a> (<a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * cur, <br /> const char * encoding)</pre>
|
||||
<pre class="programlisting"><a href="libxml-HTMLparser.html#htmlDocPtr">htmlDocPtr</a> <a href="#htmlParseDoc">htmlParseDoc</a> (const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * cur, <br /> const char * encoding)</pre>
|
||||
<pre class="programlisting">int <a href="#htmlParseDocument">htmlParseDocument</a> (<a href="libxml-HTMLparser.html#htmlParserCtxtPtr">htmlParserCtxtPtr</a> ctxt)</pre>
|
||||
<pre class="programlisting">void <a href="#htmlParseElement">htmlParseElement</a> (<a href="libxml-HTMLparser.html#htmlParserCtxtPtr">htmlParserCtxtPtr</a> ctxt)</pre>
|
||||
<pre class="programlisting">const <a href="libxml-HTMLparser.html#htmlEntityDesc">htmlEntityDesc</a> * <a href="#htmlParseEntityRef">htmlParseEntityRef</a> (<a href="libxml-HTMLparser.html#htmlParserCtxtPtr">htmlParserCtxtPtr</a> ctxt, <br /> const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> ** str)</pre>
|
||||
@ -60,7 +60,7 @@ A:link, A:visited, A:active { text-decoration: underline }
|
||||
<pre class="programlisting"><a href="libxml-HTMLparser.html#htmlDocPtr">htmlDocPtr</a> <a href="#htmlReadFile">htmlReadFile</a> (const char * filename, <br /> const char * encoding, <br /> int options)</pre>
|
||||
<pre class="programlisting"><a href="libxml-HTMLparser.html#htmlDocPtr">htmlDocPtr</a> <a href="#htmlReadIO">htmlReadIO</a> (<a href="libxml-xmlIO.html#xmlInputReadCallback">xmlInputReadCallback</a> ioread, <br /> <a href="libxml-xmlIO.html#xmlInputCloseCallback">xmlInputCloseCallback</a> ioclose, <br /> void * ioctx, <br /> const char * URL, <br /> const char * encoding, <br /> int options)</pre>
|
||||
<pre class="programlisting"><a href="libxml-HTMLparser.html#htmlDocPtr">htmlDocPtr</a> <a href="#htmlReadMemory">htmlReadMemory</a> (const char * buffer, <br /> int size, <br /> const char * URL, <br /> const char * encoding, <br /> int options)</pre>
|
||||
<pre class="programlisting"><a href="libxml-HTMLparser.html#htmlDocPtr">htmlDocPtr</a> <a href="#htmlSAXParseDoc">htmlSAXParseDoc</a> (<a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * cur, <br /> const char * encoding, <br /> <a href="libxml-HTMLparser.html#htmlSAXHandlerPtr">htmlSAXHandlerPtr</a> sax, <br /> void * userData)</pre>
|
||||
<pre class="programlisting"><a href="libxml-HTMLparser.html#htmlDocPtr">htmlDocPtr</a> <a href="#htmlSAXParseDoc">htmlSAXParseDoc</a> (const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * cur, <br /> const char * encoding, <br /> <a href="libxml-HTMLparser.html#htmlSAXHandlerPtr">htmlSAXHandlerPtr</a> sax, <br /> void * userData)</pre>
|
||||
<pre class="programlisting"><a href="libxml-HTMLparser.html#htmlDocPtr">htmlDocPtr</a> <a href="#htmlSAXParseFile">htmlSAXParseFile</a> (const char * filename, <br /> const char * encoding, <br /> <a href="libxml-HTMLparser.html#htmlSAXHandlerPtr">htmlSAXHandlerPtr</a> sax, <br /> void * userData)</pre>
|
||||
<pre class="programlisting">const <a href="libxml-HTMLparser.html#htmlElemDesc">htmlElemDesc</a> * <a href="#htmlTagLookup">htmlTagLookup</a> (const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * tag)</pre>
|
||||
<h2>Description</h2>
|
||||
@ -155,7 +155,7 @@ A:link, A:visited, A:active { text-decoration: underline }
|
||||
</pre><p>parse Reference declarations [66] CharRef ::= '&#' [0-9]+ ';' | '&#x' [0-9a-fA-F]+ ';'</p>
|
||||
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>an HTML parser context</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the value parsed (as an int)</td></tr></tbody></table></div><h3><a name="htmlParseChunk" id="htmlParseChunk"></a>Function: htmlParseChunk</h3><pre class="programlisting">int htmlParseChunk (<a href="libxml-HTMLparser.html#htmlParserCtxtPtr">htmlParserCtxtPtr</a> ctxt, <br /> const char * chunk, <br /> int size, <br /> int terminate)<br />
|
||||
</pre><p>Parse a Chunk of 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>an HTML parser context</td></tr><tr><td><span class="term"><i><tt>chunk</tt></i>:</span></td><td>an char array</td></tr><tr><td><span class="term"><i><tt>size</tt></i>:</span></td><td>the size in byte of the chunk</td></tr><tr><td><span class="term"><i><tt>terminate</tt></i>:</span></td><td>last chunk indicator</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>zero if no error, the <a href="libxml-xmlerror.html#xmlParserErrors">xmlParserErrors</a> otherwise.</td></tr></tbody></table></div><h3><a name="htmlParseDoc" id="htmlParseDoc"></a>Function: htmlParseDoc</h3><pre class="programlisting"><a href="libxml-HTMLparser.html#htmlDocPtr">htmlDocPtr</a> htmlParseDoc (<a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * cur, <br /> const char * encoding)<br />
|
||||
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>an HTML parser context</td></tr><tr><td><span class="term"><i><tt>chunk</tt></i>:</span></td><td>an char array</td></tr><tr><td><span class="term"><i><tt>size</tt></i>:</span></td><td>the size in byte of the chunk</td></tr><tr><td><span class="term"><i><tt>terminate</tt></i>:</span></td><td>last chunk indicator</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>zero if no error, the <a href="libxml-xmlerror.html#xmlParserErrors">xmlParserErrors</a> otherwise.</td></tr></tbody></table></div><h3><a name="htmlParseDoc" id="htmlParseDoc"></a>Function: htmlParseDoc</h3><pre class="programlisting"><a href="libxml-HTMLparser.html#htmlDocPtr">htmlDocPtr</a> htmlParseDoc (const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * cur, <br /> const char * encoding)<br />
|
||||
</pre><p>parse an HTML in-memory document and build a tree.</p>
|
||||
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>cur</tt></i>:</span></td><td>a pointer to an array of <a href="libxml-xmlstring.html#xmlChar">xmlChar</a></td></tr><tr><td><span class="term"><i><tt>encoding</tt></i>:</span></td><td>a free form C string describing the HTML document encoding, or NULL</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the resulting document tree</td></tr></tbody></table></div><h3><a name="htmlParseDocument" id="htmlParseDocument"></a>Function: htmlParseDocument</h3><pre class="programlisting">int htmlParseDocument (<a href="libxml-HTMLparser.html#htmlParserCtxtPtr">htmlParserCtxtPtr</a> ctxt)<br />
|
||||
</pre><p>parse an HTML document (and build a tree if using the standard SAX interface).</p>
|
||||
@ -175,7 +175,7 @@ A:link, A:visited, A:active { text-decoration: underline }
|
||||
</pre><p>parse an HTML document from I/O functions and source and build a tree.</p>
|
||||
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>ioread</tt></i>:</span></td><td>an I/O read function</td></tr><tr><td><span class="term"><i><tt>ioclose</tt></i>:</span></td><td>an I/O close function</td></tr><tr><td><span class="term"><i><tt>ioctx</tt></i>:</span></td><td>an I/O handler</td></tr><tr><td><span class="term"><i><tt>URL</tt></i>:</span></td><td>the base URL to use for the document</td></tr><tr><td><span class="term"><i><tt>encoding</tt></i>:</span></td><td>the document encoding, or NULL</td></tr><tr><td><span class="term"><i><tt>options</tt></i>:</span></td><td>a combination of htmlParserOption(s)</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the resulting document tree</td></tr></tbody></table></div><h3><a name="htmlReadMemory" id="htmlReadMemory"></a>Function: htmlReadMemory</h3><pre class="programlisting"><a href="libxml-HTMLparser.html#htmlDocPtr">htmlDocPtr</a> htmlReadMemory (const char * buffer, <br /> int size, <br /> const char * URL, <br /> const char * encoding, <br /> int options)<br />
|
||||
</pre><p>parse an XML in-memory document and build a tree.</p>
|
||||
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>buffer</tt></i>:</span></td><td>a pointer to a char array</td></tr><tr><td><span class="term"><i><tt>size</tt></i>:</span></td><td>the size of the array</td></tr><tr><td><span class="term"><i><tt>URL</tt></i>:</span></td><td>the base URL to use for the document</td></tr><tr><td><span class="term"><i><tt>encoding</tt></i>:</span></td><td>the document encoding, or NULL</td></tr><tr><td><span class="term"><i><tt>options</tt></i>:</span></td><td>a combination of htmlParserOption(s)</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the resulting document tree</td></tr></tbody></table></div><h3><a name="htmlSAXParseDoc" id="htmlSAXParseDoc"></a>Function: htmlSAXParseDoc</h3><pre class="programlisting"><a href="libxml-HTMLparser.html#htmlDocPtr">htmlDocPtr</a> htmlSAXParseDoc (<a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * cur, <br /> const char * encoding, <br /> <a href="libxml-HTMLparser.html#htmlSAXHandlerPtr">htmlSAXHandlerPtr</a> sax, <br /> void * userData)<br />
|
||||
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>buffer</tt></i>:</span></td><td>a pointer to a char array</td></tr><tr><td><span class="term"><i><tt>size</tt></i>:</span></td><td>the size of the array</td></tr><tr><td><span class="term"><i><tt>URL</tt></i>:</span></td><td>the base URL to use for the document</td></tr><tr><td><span class="term"><i><tt>encoding</tt></i>:</span></td><td>the document encoding, or NULL</td></tr><tr><td><span class="term"><i><tt>options</tt></i>:</span></td><td>a combination of htmlParserOption(s)</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the resulting document tree</td></tr></tbody></table></div><h3><a name="htmlSAXParseDoc" id="htmlSAXParseDoc"></a>Function: htmlSAXParseDoc</h3><pre class="programlisting"><a href="libxml-HTMLparser.html#htmlDocPtr">htmlDocPtr</a> htmlSAXParseDoc (const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * cur, <br /> const char * encoding, <br /> <a href="libxml-HTMLparser.html#htmlSAXHandlerPtr">htmlSAXHandlerPtr</a> sax, <br /> void * userData)<br />
|
||||
</pre><p>Parse an HTML in-memory document. If sax is not NULL, use the SAX callbacks to handle parse events. If sax is NULL, fallback to the default DOM behavior and return a tree.</p>
|
||||
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>cur</tt></i>:</span></td><td>a pointer to an array of <a href="libxml-xmlstring.html#xmlChar">xmlChar</a></td></tr><tr><td><span class="term"><i><tt>encoding</tt></i>:</span></td><td>a free form C string describing the HTML document encoding, or NULL</td></tr><tr><td><span class="term"><i><tt>sax</tt></i>:</span></td><td>the SAX handler block</td></tr><tr><td><span class="term"><i><tt>userData</tt></i>:</span></td><td>if using SAX, this pointer will be provided on callbacks.</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the resulting document tree unless SAX is NULL or the document is not well formed.</td></tr></tbody></table></div><h3><a name="htmlSAXParseFile" id="htmlSAXParseFile"></a>Function: htmlSAXParseFile</h3><pre class="programlisting"><a href="libxml-HTMLparser.html#htmlDocPtr">htmlDocPtr</a> htmlSAXParseFile (const char * filename, <br /> const char * encoding, <br /> <a href="libxml-HTMLparser.html#htmlSAXHandlerPtr">htmlSAXHandlerPtr</a> sax, <br /> void * userData)<br />
|
||||
</pre><p>parse an HTML file and build a tree. Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time. It use the given SAX function block to handle the parsing callback. If sax is NULL, fallback to the default DOM tree building routines.</p>
|
||||
|
@ -33,9 +33,9 @@ The content of this structure is not made public by the API.
|
||||
</pre><p>Free the dictionary mutex. Do not call unless sure the library is not in use anymore !</p>
|
||||
<h3><a name="xmlDictCreate" id="xmlDictCreate"></a>Function: xmlDictCreate</h3><pre class="programlisting"><a href="libxml-dict.html#xmlDictPtr">xmlDictPtr</a> xmlDictCreate (void)<br />
|
||||
</pre><p>Create a new dictionary</p>
|
||||
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the newly created dictionary, or NULL if an error occured.</td></tr></tbody></table></div><h3><a name="xmlDictCreateSub" id="xmlDictCreateSub"></a>Function: xmlDictCreateSub</h3><pre class="programlisting"><a href="libxml-dict.html#xmlDictPtr">xmlDictPtr</a> xmlDictCreateSub (<a href="libxml-dict.html#xmlDictPtr">xmlDictPtr</a> sub)<br />
|
||||
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the newly created dictionary, or NULL if an error occurred.</td></tr></tbody></table></div><h3><a name="xmlDictCreateSub" id="xmlDictCreateSub"></a>Function: xmlDictCreateSub</h3><pre class="programlisting"><a href="libxml-dict.html#xmlDictPtr">xmlDictPtr</a> xmlDictCreateSub (<a href="libxml-dict.html#xmlDictPtr">xmlDictPtr</a> sub)<br />
|
||||
</pre><p>Create a new dictionary, inheriting strings from the read-only dictionary @sub. On lookup, strings are first searched in the new dictionary, then in @sub, and if not found are created in the new dictionary.</p>
|
||||
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>sub</tt></i>:</span></td><td>an existing dictionary</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the newly created dictionary, or NULL if an error occured.</td></tr></tbody></table></div><h3><a name="xmlDictExists" id="xmlDictExists"></a>Function: xmlDictExists</h3><pre class="programlisting">const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * xmlDictExists (<a href="libxml-dict.html#xmlDictPtr">xmlDictPtr</a> dict, <br /> const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * name, <br /> int len)<br />
|
||||
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>sub</tt></i>:</span></td><td>an existing dictionary</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the newly created dictionary, or NULL if an error occurred.</td></tr></tbody></table></div><h3><a name="xmlDictExists" id="xmlDictExists"></a>Function: xmlDictExists</h3><pre class="programlisting">const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * xmlDictExists (<a href="libxml-dict.html#xmlDictPtr">xmlDictPtr</a> dict, <br /> const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * name, <br /> int len)<br />
|
||||
</pre><p>Check if the @name exists in the dictionary @dict.</p>
|
||||
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>dict</tt></i>:</span></td><td>the dictionary</td></tr><tr><td><span class="term"><i><tt>name</tt></i>:</span></td><td>the name of the userdata</td></tr><tr><td><span class="term"><i><tt>len</tt></i>:</span></td><td>the length of the name, if -1 it is recomputed</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the internal copy of the name or NULL if not found.</td></tr></tbody></table></div><h3><a name="xmlDictFree" id="xmlDictFree"></a>Function: xmlDictFree</h3><pre class="programlisting">void xmlDictFree (<a href="libxml-dict.html#xmlDictPtr">xmlDictPtr</a> dict)<br />
|
||||
</pre><p>Free the hash @dict and its contents. The userdata is deallocated with @f if provided.</p>
|
||||
|
@ -66,9 +66,9 @@ void * xmlHashCopier (void * payload, <br /> <a href="libxml-xmlstring.ht
|
||||
</pre><p>Scan the hash @table and applied @f to each value.</p>
|
||||
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>table</tt></i>:</span></td><td>the hash table</td></tr><tr><td><span class="term"><i><tt>f</tt></i>:</span></td><td>the copier function for items in the hash</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the new table or NULL in case of error.</td></tr></tbody></table></div><h3><a name="xmlHashCreate" id="xmlHashCreate"></a>Function: xmlHashCreate</h3><pre class="programlisting"><a href="libxml-hash.html#xmlHashTablePtr">xmlHashTablePtr</a> xmlHashCreate (int size)<br />
|
||||
</pre><p>Create a new xmlHashTablePtr.</p>
|
||||
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>size</tt></i>:</span></td><td>the size of the hash table</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the newly created object, or NULL if an error occured.</td></tr></tbody></table></div><h3><a name="xmlHashCreateDict" id="xmlHashCreateDict"></a>Function: xmlHashCreateDict</h3><pre class="programlisting"><a href="libxml-hash.html#xmlHashTablePtr">xmlHashTablePtr</a> xmlHashCreateDict (int size, <br /> <a href="libxml-dict.html#xmlDictPtr">xmlDictPtr</a> dict)<br />
|
||||
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>size</tt></i>:</span></td><td>the size of the hash table</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the newly created object, or NULL if an error occurred.</td></tr></tbody></table></div><h3><a name="xmlHashCreateDict" id="xmlHashCreateDict"></a>Function: xmlHashCreateDict</h3><pre class="programlisting"><a href="libxml-hash.html#xmlHashTablePtr">xmlHashTablePtr</a> xmlHashCreateDict (int size, <br /> <a href="libxml-dict.html#xmlDictPtr">xmlDictPtr</a> dict)<br />
|
||||
</pre><p>Create a new <a href="libxml-hash.html#xmlHashTablePtr">xmlHashTablePtr</a> which will use @dict as the internal dictionary</p>
|
||||
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>size</tt></i>:</span></td><td>the size of the hash table</td></tr><tr><td><span class="term"><i><tt>dict</tt></i>:</span></td><td>a dictionary to use for the hash</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the newly created object, or NULL if an error occured.</td></tr></tbody></table></div><h3><a name="xmlHashDeallocator" id="xmlHashDeallocator"></a>Function type: xmlHashDeallocator</h3><pre class="programlisting">Function type: xmlHashDeallocator
|
||||
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>size</tt></i>:</span></td><td>the size of the hash table</td></tr><tr><td><span class="term"><i><tt>dict</tt></i>:</span></td><td>a dictionary to use for the hash</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the newly created object, or NULL if an error occurred.</td></tr></tbody></table></div><h3><a name="xmlHashDeallocator" id="xmlHashDeallocator"></a>Function type: xmlHashDeallocator</h3><pre class="programlisting">Function type: xmlHashDeallocator
|
||||
void xmlHashDeallocator (void * payload, <br /> <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * name)
|
||||
</pre><p>Callback to free data from a hash.</p><div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>payload</tt></i>:</span></td><td>the data in the hash</td></tr><tr><td><span class="term"><i><tt>name</tt></i>:</span></td><td>the name associated</td></tr></tbody></table></div><br />
|
||||
<h3><a name="xmlHashFree" id="xmlHashFree"></a>Function: xmlHashFree</h3><pre class="programlisting">void xmlHashFree (<a href="libxml-hash.html#xmlHashTablePtr">xmlHashTablePtr</a> table, <br /> <a href="libxml-hash.html#xmlHashDeallocator">xmlHashDeallocator</a> f)<br />
|
||||
|
@ -98,9 +98,9 @@ void xmlListDeallocator (<a href="libxml-list.html#xmlLinkPtr">xmlLinkPtr</a> l
|
||||
</pre><p>Remove the all instance associated to data in the list</p>
|
||||
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>l</tt></i>:</span></td><td>a list</td></tr><tr><td><span class="term"><i><tt>data</tt></i>:</span></td><td>list data</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the number of deallocation, or 0 if not found</td></tr></tbody></table></div><h3><a name="xmlListRemoveFirst" id="xmlListRemoveFirst"></a>Function: xmlListRemoveFirst</h3><pre class="programlisting">int xmlListRemoveFirst (<a href="libxml-list.html#xmlListPtr">xmlListPtr</a> l, <br /> void * data)<br />
|
||||
</pre><p>Remove the first instance associated to data in the list</p>
|
||||
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>l</tt></i>:</span></td><td>a list</td></tr><tr><td><span class="term"><i><tt>data</tt></i>:</span></td><td>list data</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>1 if a deallocation occured, or 0 if not found</td></tr></tbody></table></div><h3><a name="xmlListRemoveLast" id="xmlListRemoveLast"></a>Function: xmlListRemoveLast</h3><pre class="programlisting">int xmlListRemoveLast (<a href="libxml-list.html#xmlListPtr">xmlListPtr</a> l, <br /> void * data)<br />
|
||||
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>l</tt></i>:</span></td><td>a list</td></tr><tr><td><span class="term"><i><tt>data</tt></i>:</span></td><td>list data</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>1 if a deallocation occurred, or 0 if not found</td></tr></tbody></table></div><h3><a name="xmlListRemoveLast" id="xmlListRemoveLast"></a>Function: xmlListRemoveLast</h3><pre class="programlisting">int xmlListRemoveLast (<a href="libxml-list.html#xmlListPtr">xmlListPtr</a> l, <br /> void * data)<br />
|
||||
</pre><p>Remove the last instance associated to data in the list</p>
|
||||
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>l</tt></i>:</span></td><td>a list</td></tr><tr><td><span class="term"><i><tt>data</tt></i>:</span></td><td>list data</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>1 if a deallocation occured, or 0 if not found</td></tr></tbody></table></div><h3><a name="xmlListReverse" id="xmlListReverse"></a>Function: xmlListReverse</h3><pre class="programlisting">void xmlListReverse (<a href="libxml-list.html#xmlListPtr">xmlListPtr</a> l)<br />
|
||||
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>l</tt></i>:</span></td><td>a list</td></tr><tr><td><span class="term"><i><tt>data</tt></i>:</span></td><td>list data</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>1 if a deallocation occurred, or 0 if not found</td></tr></tbody></table></div><h3><a name="xmlListReverse" id="xmlListReverse"></a>Function: xmlListReverse</h3><pre class="programlisting">void xmlListReverse (<a href="libxml-list.html#xmlListPtr">xmlListPtr</a> l)<br />
|
||||
</pre><p>Reverse the order of the elements in the list</p>
|
||||
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>l</tt></i>:</span></td><td>a list</td></tr></tbody></table></div><h3><a name="xmlListReverseSearch" id="xmlListReverseSearch"></a>Function: xmlListReverseSearch</h3><pre class="programlisting">void * xmlListReverseSearch (<a href="libxml-list.html#xmlListPtr">xmlListPtr</a> l, <br /> void * data)<br />
|
||||
</pre><p>Search the list in reverse order for an existing value of @data</p>
|
||||
|
File diff suppressed because one or more lines are too long
@ -964,7 +964,7 @@ The content of this structure is not made public by the API.
|
||||
</pre><p>update all nodes under the tree to point to the right document</p>
|
||||
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>tree</tt></i>:</span></td><td>the top element</td></tr><tr><td><span class="term"><i><tt>doc</tt></i>:</span></td><td>the document</td></tr></tbody></table></div><h3><a name="xmlSplitQName2" id="xmlSplitQName2"></a>Function: xmlSplitQName2</h3><pre class="programlisting"><a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * xmlSplitQName2 (const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * name, <br /> <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> ** prefix)<br />
|
||||
</pre><p>parse an XML qualified name string [NS 5] QName ::= (Prefix ':')? LocalPart [NS 6] Prefix ::= NCName [NS 7] LocalPart ::= NCName</p>
|
||||
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>name</tt></i>:</span></td><td>the full QName</td></tr><tr><td><span class="term"><i><tt>prefix</tt></i>:</span></td><td>a <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> **</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>NULL if not a QName, otherwise the local part, and prefix is updated to get the Prefix if any.</td></tr></tbody></table></div><h3><a name="xmlSplitQName3" id="xmlSplitQName3"></a>Function: xmlSplitQName3</h3><pre class="programlisting">const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * xmlSplitQName3 (const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * name, <br /> int * len)<br />
|
||||
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>name</tt></i>:</span></td><td>the full QName</td></tr><tr><td><span class="term"><i><tt>prefix</tt></i>:</span></td><td>a <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> **</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>NULL if the name doesn't have a prefix. Otherwise, returns the local part, and prefix is updated to get the Prefix. Both the return value and the prefix must be freed by the caller.</td></tr></tbody></table></div><h3><a name="xmlSplitQName3" id="xmlSplitQName3"></a>Function: xmlSplitQName3</h3><pre class="programlisting">const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * xmlSplitQName3 (const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * name, <br /> int * len)<br />
|
||||
</pre><p>parse an XML qualified name string,i</p>
|
||||
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>name</tt></i>:</span></td><td>the full QName</td></tr><tr><td><span class="term"><i><tt>len</tt></i>:</span></td><td>an int *</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>NULL if it is not a Qualified Name, otherwise, update len with the length in byte of the prefix and return a pointer to the start of the name without the prefix</td></tr></tbody></table></div><h3><a name="xmlStringGetNodeList" id="xmlStringGetNodeList"></a>Function: xmlStringGetNodeList</h3><pre class="programlisting"><a href="libxml-tree.html#xmlNodePtr">xmlNodePtr</a> xmlStringGetNodeList (const <a href="libxml-tree.html#xmlDoc">xmlDoc</a> * doc, <br /> const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * value)<br />
|
||||
</pre><p>Parse the value string and build the node list associated. Should produce a flat tree with only TEXTs and ENTITY_REFs.</p>
|
||||
|
@ -832,14 +832,14 @@ void <a href="#xmlStructuredErrorFunc">xmlStructuredErrorFunc</a> (void * userD
|
||||
</pre><p>Save the original error to the new place.</p>
|
||||
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>from</tt></i>:</span></td><td>a source error</td></tr><tr><td><span class="term"><i><tt>to</tt></i>:</span></td><td>a target error</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 error.</td></tr></tbody></table></div><h3><a name="xmlCtxtGetLastError" id="xmlCtxtGetLastError"></a>Function: xmlCtxtGetLastError</h3><pre class="programlisting"><a href="libxml-xmlerror.html#xmlErrorPtr">xmlErrorPtr</a> xmlCtxtGetLastError (void * ctx)<br />
|
||||
</pre><p>Get the last parsing error registered.</p>
|
||||
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>ctx</tt></i>:</span></td><td>an XML parser context</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>NULL if no error occured or a pointer to the error</td></tr></tbody></table></div><h3><a name="xmlCtxtResetLastError" id="xmlCtxtResetLastError"></a>Function: xmlCtxtResetLastError</h3><pre class="programlisting">void xmlCtxtResetLastError (void * ctx)<br />
|
||||
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>ctx</tt></i>:</span></td><td>an XML parser context</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>NULL if no error occurred or a pointer to the error</td></tr></tbody></table></div><h3><a name="xmlCtxtResetLastError" id="xmlCtxtResetLastError"></a>Function: xmlCtxtResetLastError</h3><pre class="programlisting">void xmlCtxtResetLastError (void * ctx)<br />
|
||||
</pre><p>Cleanup the last global error registered. For parsing error this does not change the well-formedness result.</p>
|
||||
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>ctx</tt></i>:</span></td><td>an XML parser context</td></tr></tbody></table></div><h3><a name="xmlGenericErrorFunc" id="xmlGenericErrorFunc"></a>Function type: xmlGenericErrorFunc</h3><pre class="programlisting">Function type: xmlGenericErrorFunc
|
||||
void xmlGenericErrorFunc (void * ctx, <br /> const char * msg, <br /> ... ...)
|
||||
</pre><p>Signature of the function to use when there is an error and no parsing or validity context available .</p><div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>ctx</tt></i>:</span></td><td>a parsing 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>the extra arguments of the varags to format the message</td></tr></tbody></table></div><br />
|
||||
<h3><a name="xmlGetLastError" id="xmlGetLastError"></a>Function: xmlGetLastError</h3><pre class="programlisting"><a href="libxml-xmlerror.html#xmlErrorPtr">xmlErrorPtr</a> xmlGetLastError (void)<br />
|
||||
</pre><p>Get the last global error registered. This is per thread if compiled with thread support.</p>
|
||||
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>NULL if no error occured or a pointer to the error</td></tr></tbody></table></div><h3><a name="xmlParserError" id="xmlParserError"></a>Function: xmlParserError</h3><pre class="programlisting">void xmlParserError (void * ctx, <br /> const char * msg, <br /> ... ...)<br />
|
||||
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>NULL if no error occurred or a pointer to the error</td></tr></tbody></table></div><h3><a name="xmlParserError" id="xmlParserError"></a>Function: xmlParserError</h3><pre class="programlisting">void xmlParserError (void * ctx, <br /> const char * msg, <br /> ... ...)<br />
|
||||
</pre><p>Display and format an error messages, gives file, line, position and extra parameters.</p>
|
||||
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>ctx</tt></i>:</span></td><td>an XML parser context</td></tr><tr><td><span class="term"><i><tt>msg</tt></i>:</span></td><td>the message to display/transmit</td></tr><tr><td><span class="term"><i><tt>...</tt></i>:</span></td><td>extra parameters for the message display</td></tr></tbody></table></div><h3><a name="xmlParserPrintFileContext" id="xmlParserPrintFileContext"></a>Function: xmlParserPrintFileContext</h3><pre class="programlisting">void xmlParserPrintFileContext (<a href="libxml-tree.html#xmlParserInputPtr">xmlParserInputPtr</a> input)<br />
|
||||
</pre><p>Displays current context within the input content for error tracking</p>
|
||||
|
@ -218,7 +218,7 @@ The content of this structure is not made public by the API.
|
||||
</pre><p>The depth of the node in the tree.</p>
|
||||
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>reader</tt></i>:</span></td><td>the <a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> used</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the depth or -1 in case of error</td></tr></tbody></table></div><h3><a name="xmlTextReaderErrorFunc" id="xmlTextReaderErrorFunc"></a>Function type: xmlTextReaderErrorFunc</h3><pre class="programlisting">Function type: xmlTextReaderErrorFunc
|
||||
void xmlTextReaderErrorFunc (void * arg, <br /> const char * msg, <br /> <a href="libxml-xmlreader.html#xmlParserSeverities">xmlParserSeverities</a> severity, <br /> <a href="libxml-xmlreader.html#xmlTextReaderLocatorPtr">xmlTextReaderLocatorPtr</a> locator)
|
||||
</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>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><br />
|
||||
</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>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 occurred</td></tr></tbody></table></div><br />
|
||||
<h3><a name="xmlTextReaderExpand" id="xmlTextReaderExpand"></a>Function: xmlTextReaderExpand</h3><pre class="programlisting"><a href="libxml-tree.html#xmlNodePtr">xmlNodePtr</a> xmlTextReaderExpand (<a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> reader)<br />
|
||||
</pre><p>Reads the contents of the current node and the full subtree. It then makes the subtree available until the next xmlTextReaderRead() call</p>
|
||||
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>reader</tt></i>:</span></td><td>the <a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> used</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>a node pointer valid until the next xmlTextReaderRead() call or NULL in case of error.</td></tr></tbody></table></div><h3><a name="xmlTextReaderGetAttribute" id="xmlTextReaderGetAttribute"></a>Function: xmlTextReaderGetAttribute</h3><pre class="programlisting"><a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * xmlTextReaderGetAttribute (<a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> reader, <br /> const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * name)<br />
|
||||
@ -287,7 +287,7 @@ void xmlTextReaderErrorFunc (void * arg, <br /> const char * msg, <br />
|
||||
</pre><p>This tells the XML Reader to preserve the current node. The caller must also use xmlTextReaderCurrentDoc() to keep an handle on the resulting document once parsing has finished</p>
|
||||
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>reader</tt></i>:</span></td><td>the <a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> used</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the <a href="libxml-tree.html#xmlNodePtr">xmlNodePtr</a> or NULL in case of error.</td></tr></tbody></table></div><h3><a name="xmlTextReaderPreservePattern" id="xmlTextReaderPreservePattern"></a>Function: xmlTextReaderPreservePattern</h3><pre class="programlisting">int xmlTextReaderPreservePattern (<a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> reader, <br /> const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * pattern, <br /> const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> ** namespaces)<br />
|
||||
</pre><p>This tells the XML Reader to preserve all nodes matched by the pattern. The caller must also use xmlTextReaderCurrentDoc() to keep an handle on the resulting document once parsing has finished</p>
|
||||
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>reader</tt></i>:</span></td><td>the <a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> used</td></tr><tr><td><span class="term"><i><tt>pattern</tt></i>:</span></td><td>an XPath subset pattern</td></tr><tr><td><span class="term"><i><tt>namespaces</tt></i>:</span></td><td>the prefix definitions, array of [URI, prefix] or NULL</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>a positive number in case of success and -1 in case of error</td></tr></tbody></table></div><h3><a name="xmlTextReaderQuoteChar" id="xmlTextReaderQuoteChar"></a>Function: xmlTextReaderQuoteChar</h3><pre class="programlisting">int xmlTextReaderQuoteChar (<a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> reader)<br />
|
||||
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>reader</tt></i>:</span></td><td>the <a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> used</td></tr><tr><td><span class="term"><i><tt>pattern</tt></i>:</span></td><td>an XPath subset pattern</td></tr><tr><td><span class="term"><i><tt>namespaces</tt></i>:</span></td><td>the prefix definitions, array of [URI, prefix] or NULL</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>a non-negative number in case of success and -1 in case of error</td></tr></tbody></table></div><h3><a name="xmlTextReaderQuoteChar" id="xmlTextReaderQuoteChar"></a>Function: xmlTextReaderQuoteChar</h3><pre class="programlisting">int xmlTextReaderQuoteChar (<a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> reader)<br />
|
||||
</pre><p>The quotation mark character used to enclose the value of an attribute.</p>
|
||||
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>reader</tt></i>:</span></td><td>the <a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> used</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>" or ' and -1 in case of error</td></tr></tbody></table></div><h3><a name="xmlTextReaderRead" id="xmlTextReaderRead"></a>Function: xmlTextReaderRead</h3><pre class="programlisting">int xmlTextReaderRead (<a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> reader)<br />
|
||||
</pre><p>Moves the position of the current instance to the next node in the stream, exposing its properties.</p>
|
||||
|
@ -67,7 +67,7 @@ A:link, A:visited, A:active { text-decoration: underline }
|
||||
</pre><p>a case-ignoring strstr for xmlChar's</p>
|
||||
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>str</tt></i>:</span></td><td>the <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * array (haystack)</td></tr><tr><td><span class="term"><i><tt>val</tt></i>:</span></td><td>the <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> to search (needle)</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * for the first occurrence or NULL.</td></tr></tbody></table></div><h3><a name="xmlStrcat" id="xmlStrcat"></a>Function: xmlStrcat</h3><pre class="programlisting"><a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * xmlStrcat (<a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * cur, <br /> const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * add)<br />
|
||||
</pre><p>a strcat for array of xmlChar's. Since they are supposed to be encoded in UTF-8 or an encoding with 8bit based chars, we assume a termination mark of '0'.</p>
|
||||
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>cur</tt></i>:</span></td><td>the original <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * array</td></tr><tr><td><span class="term"><i><tt>add</tt></i>:</span></td><td>the <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * array added</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>a new <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * containing the concatenated string.</td></tr></tbody></table></div><h3><a name="xmlStrchr" id="xmlStrchr"></a>Function: xmlStrchr</h3><pre class="programlisting">const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * xmlStrchr (const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * str, <br /> <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> val)<br />
|
||||
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>cur</tt></i>:</span></td><td>the original <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * array</td></tr><tr><td><span class="term"><i><tt>add</tt></i>:</span></td><td>the <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * array added</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>a new <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * containing the concatenated string. The original @cur is reallocated and should not be freed.</td></tr></tbody></table></div><h3><a name="xmlStrchr" id="xmlStrchr"></a>Function: xmlStrchr</h3><pre class="programlisting">const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * xmlStrchr (const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * str, <br /> <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> val)<br />
|
||||
</pre><p>a strchr for xmlChar's</p>
|
||||
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>str</tt></i>:</span></td><td>the <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * array</td></tr><tr><td><span class="term"><i><tt>val</tt></i>:</span></td><td>the <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> to search</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * for the first occurrence or NULL.</td></tr></tbody></table></div><h3><a name="xmlStrcmp" id="xmlStrcmp"></a>Function: xmlStrcmp</h3><pre class="programlisting">int xmlStrcmp (const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * str1, <br /> const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * str2)<br />
|
||||
</pre><p>a strcmp for xmlChar's</p>
|
||||
@ -79,7 +79,7 @@ A:link, A:visited, A:active { text-decoration: underline }
|
||||
</pre><p>a strncasecmp for xmlChar's</p>
|
||||
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>str1</tt></i>:</span></td><td>the first <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> *</td></tr><tr><td><span class="term"><i><tt>str2</tt></i>:</span></td><td>the second <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> *</td></tr><tr><td><span class="term"><i><tt>len</tt></i>:</span></td><td>the max comparison length</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the integer result of the comparison</td></tr></tbody></table></div><h3><a name="xmlStrncat" id="xmlStrncat"></a>Function: xmlStrncat</h3><pre class="programlisting"><a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * xmlStrncat (<a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * cur, <br /> const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * add, <br /> int len)<br />
|
||||
</pre><p>a strncat for array of xmlChar's, it will extend @cur with the len first bytes of @add. Note that if @len < 0 then this is an API error and NULL will be returned.</p>
|
||||
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>cur</tt></i>:</span></td><td>the original <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * array</td></tr><tr><td><span class="term"><i><tt>add</tt></i>:</span></td><td>the <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * array added</td></tr><tr><td><span class="term"><i><tt>len</tt></i>:</span></td><td>the length of @add</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>a new <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> *, the original @cur is reallocated if needed and should not be freed</td></tr></tbody></table></div><h3><a name="xmlStrncatNew" id="xmlStrncatNew"></a>Function: xmlStrncatNew</h3><pre class="programlisting"><a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * xmlStrncatNew (const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * str1, <br /> const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * str2, <br /> int len)<br />
|
||||
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>cur</tt></i>:</span></td><td>the original <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * array</td></tr><tr><td><span class="term"><i><tt>add</tt></i>:</span></td><td>the <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * array added</td></tr><tr><td><span class="term"><i><tt>len</tt></i>:</span></td><td>the length of @add</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>a new <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> *, the original @cur is reallocated and should not be freed.</td></tr></tbody></table></div><h3><a name="xmlStrncatNew" id="xmlStrncatNew"></a>Function: xmlStrncatNew</h3><pre class="programlisting"><a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * xmlStrncatNew (const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * str1, <br /> const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * str2, <br /> int len)<br />
|
||||
</pre><p>same as xmlStrncat, but creates a new string. The original two strings are not freed. If @len is < 0 then the length will be calculated automatically.</p>
|
||||
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>str1</tt></i>:</span></td><td>first <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> string</td></tr><tr><td><span class="term"><i><tt>str2</tt></i>:</span></td><td>second <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> string</td></tr><tr><td><span class="term"><i><tt>len</tt></i>:</span></td><td>the len of @str2 or < 0</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>a new <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * or NULL</td></tr></tbody></table></div><h3><a name="xmlStrncmp" id="xmlStrncmp"></a>Function: xmlStrncmp</h3><pre class="programlisting">int xmlStrncmp (const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * str1, <br /> const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * str2, <br /> int len)<br />
|
||||
</pre><p>a strncmp for xmlChar's</p>
|
||||
@ -102,7 +102,7 @@ A:link, A:visited, A:active { text-decoration: underline }
|
||||
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>utf</tt></i>:</span></td><td>the input UTF8 *</td></tr><tr><td><span class="term"><i><tt>len</tt></i>:</span></td><td>the len of @utf (in chars)</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>a new UTF8 * or NULL</td></tr></tbody></table></div><h3><a name="xmlUTF8Strpos" id="xmlUTF8Strpos"></a>Function: xmlUTF8Strpos</h3><pre class="programlisting">const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * xmlUTF8Strpos (const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * utf, <br /> int pos)<br />
|
||||
</pre><p>a function to provide the equivalent of fetching a character from a string array</p>
|
||||
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>utf</tt></i>:</span></td><td>the input UTF8 *</td></tr><tr><td><span class="term"><i><tt>pos</tt></i>:</span></td><td>the position of the desired UTF8 char (in chars)</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>a pointer to the UTF8 character or NULL</td></tr></tbody></table></div><h3><a name="xmlUTF8Strsize" id="xmlUTF8Strsize"></a>Function: xmlUTF8Strsize</h3><pre class="programlisting">int xmlUTF8Strsize (const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * utf, <br /> int len)<br />
|
||||
</pre><p>storage size of an UTF8 string the behaviour is not garanteed if the input string is not UTF-8</p>
|
||||
</pre><p>storage size of an UTF8 string the behaviour is not guaranteed if the input string is not UTF-8</p>
|
||||
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>utf</tt></i>:</span></td><td>a sequence of UTF-8 encoded bytes</td></tr><tr><td><span class="term"><i><tt>len</tt></i>:</span></td><td>the number of <a href="libxml-SAX.html#characters">characters</a> in the array</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the storage size of the first 'len' <a href="libxml-SAX.html#characters">characters</a> of ARRAY</td></tr></tbody></table></div><h3><a name="xmlUTF8Strsub" id="xmlUTF8Strsub"></a>Function: xmlUTF8Strsub</h3><pre class="programlisting"><a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * xmlUTF8Strsub (const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * utf, <br /> int start, <br /> int len)<br />
|
||||
</pre><p>Create a substring from a given UTF-8 string Note: positions are given in units of UTF-8 chars</p>
|
||||
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>utf</tt></i>:</span></td><td>a sequence of UTF-8 encoded bytes</td></tr><tr><td><span class="term"><i><tt>start</tt></i>:</span></td><td>relative pos of first char</td></tr><tr><td><span class="term"><i><tt>len</tt></i>:</span></td><td>total number to copy</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>a pointer to a newly created string or NULL if any problem</td></tr></tbody></table></div><p><a href="../bugs.html">Daniel Veillard</a></p></td></tr></table></td></tr></table></td></tr></table></td></tr></table></td></tr></table></body></html>
|
||||
|
@ -270,7 +270,7 @@ int xmlXPathConvertFunc (<a href="libxml-xpath.html#xmlXPathObjectPtr">xmlXPath
|
||||
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>an XPath context</td></tr><tr><td><span class="term"><i><tt>str</tt></i>:</span></td><td>the XPath expression</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the <a href="libxml-xpath.html#xmlXPathCompExprPtr">xmlXPathCompExprPtr</a> resulting from the compilation or NULL. the caller has to free the object.</td></tr></tbody></table></div><h3><a name="xmlXPathEval" id="xmlXPathEval"></a>Function: xmlXPathEval</h3><pre class="programlisting"><a href="libxml-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> xmlXPathEval (const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * str, <br /> <a href="libxml-xpath.html#xmlXPathContextPtr">xmlXPathContextPtr</a> ctx)<br />
|
||||
</pre><p>Evaluate the XPath Location Path in the given context.</p>
|
||||
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>str</tt></i>:</span></td><td>the XPath expression</td></tr><tr><td><span class="term"><i><tt>ctx</tt></i>:</span></td><td>the XPath context</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the <a href="libxml-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> resulting from the evaluation or NULL. the caller has to free the object.</td></tr></tbody></table></div><h3><a name="xmlXPathEvalExpression" id="xmlXPathEvalExpression"></a>Function: xmlXPathEvalExpression</h3><pre class="programlisting"><a href="libxml-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> xmlXPathEvalExpression (const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * str, <br /> <a href="libxml-xpath.html#xmlXPathContextPtr">xmlXPathContextPtr</a> ctxt)<br />
|
||||
</pre><p>Evaluate the XPath expression in the given context.</p>
|
||||
</pre><p>Alias for xmlXPathEval().</p>
|
||||
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>str</tt></i>:</span></td><td>the XPath expression</td></tr><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>the XPath context</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the <a href="libxml-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> resulting from the evaluation or NULL. the caller has to free the object.</td></tr></tbody></table></div><h3><a name="xmlXPathEvalFunc" id="xmlXPathEvalFunc"></a>Function type: xmlXPathEvalFunc</h3><pre class="programlisting">Function type: xmlXPathEvalFunc
|
||||
void xmlXPathEvalFunc (<a href="libxml-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br /> int nargs)
|
||||
</pre><p>An XPath evaluation function, the parameters are on the XPath context stack.</p><div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>an XPath parser context</td></tr><tr><td><span class="term"><i><tt>nargs</tt></i>:</span></td><td>the number of arguments passed to the function</td></tr></tbody></table></div><br />
|
||||
|
@ -348,7 +348,7 @@ A:link, A:visited, A:active { text-decoration: underline }
|
||||
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>the XPath context</td></tr></tbody></table></div><h3><a name="xmlXPathRoot" id="xmlXPathRoot"></a>Function: xmlXPathRoot</h3><pre class="programlisting">void xmlXPathRoot (<a href="libxml-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt)<br />
|
||||
</pre><p>Initialize the context to the root of the document</p>
|
||||
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>the XPath Parser context</td></tr></tbody></table></div><h3><a name="xmlXPathRoundFunction" id="xmlXPathRoundFunction"></a>Function: xmlXPathRoundFunction</h3><pre class="programlisting">void xmlXPathRoundFunction (<a href="libxml-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br /> int nargs)<br />
|
||||
</pre><p>Implement the round() XPath function number round(number) The round function returns the number that is closest to the argument and that is an integer. If there are two such numbers, then the one that is even is returned.</p>
|
||||
</pre><p>Implement the round() XPath function number round(number) The round function returns the number that is closest to the argument and that is an integer. If there are two such numbers, then the one that is closest to positive infinity is returned.</p>
|
||||
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>the XPath Parser context</td></tr><tr><td><span class="term"><i><tt>nargs</tt></i>:</span></td><td>the number of arguments</td></tr></tbody></table></div><h3><a name="xmlXPathStartsWithFunction" id="xmlXPathStartsWithFunction"></a>Function: xmlXPathStartsWithFunction</h3><pre class="programlisting">void xmlXPathStartsWithFunction (<a href="libxml-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br /> int nargs)<br />
|
||||
</pre><p>Implement the starts-with() XPath function boolean starts-with(string, string) The starts-with function returns true if the first argument string starts with the second argument string, and otherwise returns false.</p>
|
||||
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>the XPath Parser context</td></tr><tr><td><span class="term"><i><tt>nargs</tt></i>:</span></td><td>the number of arguments</td></tr></tbody></table></div><h3><a name="xmlXPathStringEvalNumber" id="xmlXPathStringEvalNumber"></a>Function: xmlXPathStringEvalNumber</h3><pre class="programlisting">double xmlXPathStringEvalNumber (const <a href="libxml-xmlstring.html#xmlChar">xmlChar</a> * str)<br />
|
||||
|
@ -77,7 +77,7 @@ A:link, A:visited, A:active { text-decoration: underline }
|
||||
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>start</tt></i>:</span></td><td>the starting point</td></tr><tr><td><span class="term"><i><tt>end</tt></i>:</span></td><td>the ending node</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the newly created object.</td></tr></tbody></table></div><h3><a name="xmlXPtrNewRangePoints" id="xmlXPtrNewRangePoints"></a>Function: xmlXPtrNewRangePoints</h3><pre class="programlisting"><a href="libxml-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> xmlXPtrNewRangePoints (<a href="libxml-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> start, <br /> <a href="libxml-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> end)<br />
|
||||
</pre><p>Create a new <a href="libxml-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> of type range using 2 Points</p>
|
||||
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>start</tt></i>:</span></td><td>the starting point</td></tr><tr><td><span class="term"><i><tt>end</tt></i>:</span></td><td>the ending point</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the newly created object.</td></tr></tbody></table></div><h3><a name="xmlXPtrRangeToFunction" id="xmlXPtrRangeToFunction"></a>Function: xmlXPtrRangeToFunction</h3><pre class="programlisting">void xmlXPtrRangeToFunction (<a href="libxml-xpath.html#xmlXPathParserContextPtr">xmlXPathParserContextPtr</a> ctxt, <br /> int nargs)<br />
|
||||
</pre><p>Implement the range-to() XPointer function</p>
|
||||
</pre><p>Implement the range-to() XPointer function Obsolete. range-to is not a real function but a special type of location step which is handled in xpath.c.</p>
|
||||
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>the XPointer Parser context</td></tr><tr><td><span class="term"><i><tt>nargs</tt></i>:</span></td><td>the number of args</td></tr></tbody></table></div><h3><a name="xmlXPtrWrapLocationSet" id="xmlXPtrWrapLocationSet"></a>Function: xmlXPtrWrapLocationSet</h3><pre class="programlisting"><a href="libxml-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a> xmlXPtrWrapLocationSet (<a href="libxml-xpointer.html#xmlLocationSetPtr">xmlLocationSetPtr</a> val)<br />
|
||||
</pre><p>Wrap the LocationSet @val in a new <a href="libxml-xpath.html#xmlXPathObjectPtr">xmlXPathObjectPtr</a></p>
|
||||
<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>val</tt></i>:</span></td><td>the LocationSet value</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the newly created object.</td></tr></tbody></table></div><p><a href="../bugs.html">Daniel Veillard</a></p></td></tr></table></td></tr></table></td></tr></table></td></tr></table></td></tr></table></body></html>
|
||||
|
@ -1127,7 +1127,7 @@
|
||||
</file>
|
||||
<file name='schemasInternals'>
|
||||
<summary>internal interfaces for XML Schemas</summary>
|
||||
<description>internal interfaces for the XML Schemas handling and schema validity checking The Schemas development is a Work In Progress. Some of those interfaces are not garanteed to be API or ABI stable ! </description>
|
||||
<description>internal interfaces for the XML Schemas handling and schema validity checking The Schemas development is a Work In Progress. Some of those interfaces are not guaranteed to be API or ABI stable ! </description>
|
||||
<author>Daniel Veillard </author>
|
||||
<exports symbol='XML_SCHEMAS_BLOCK_DEFAULT_RESTRICTION' type='macro'/>
|
||||
<exports symbol='XML_SCHEMAS_FINAL_DEFAULT_EXTENSION' type='macro'/>
|
||||
@ -7743,7 +7743,7 @@ Could we use @subtypes for this?'/>
|
||||
<cond>defined(LIBXML_HTML_ENABLED)</cond>
|
||||
<info>parse an HTML in-memory document and build a tree.</info>
|
||||
<return type='htmlDocPtr' info='the resulting document tree'/>
|
||||
<arg name='cur' type='xmlChar *' info='a pointer to an array of xmlChar'/>
|
||||
<arg name='cur' type='const xmlChar *' info='a pointer to an array of xmlChar'/>
|
||||
<arg name='encoding' type='const char *' info='a free form C string describing the HTML document encoding, or NULL'/>
|
||||
</function>
|
||||
<function name='htmlParseDocument' file='HTMLparser' module='HTMLparser'>
|
||||
@ -7823,7 +7823,7 @@ Could we use @subtypes for this?'/>
|
||||
<cond>defined(LIBXML_HTML_ENABLED)</cond>
|
||||
<info>Parse an HTML in-memory document. If sax is not NULL, use the SAX callbacks to handle parse events. If sax is NULL, fallback to the default DOM behavior and return a tree.</info>
|
||||
<return type='htmlDocPtr' info='the resulting document tree unless SAX is NULL or the document is not well formed.'/>
|
||||
<arg name='cur' type='xmlChar *' info='a pointer to an array of xmlChar'/>
|
||||
<arg name='cur' type='const xmlChar *' info='a pointer to an array of xmlChar'/>
|
||||
<arg name='encoding' type='const char *' info='a free form C string describing the HTML document encoding, or NULL'/>
|
||||
<arg name='sax' type='htmlSAXHandlerPtr' info='the SAX handler block'/>
|
||||
<arg name='userData' type='void *' info='if using SAX, this pointer will be provided on callbacks.'/>
|
||||
@ -9245,7 +9245,7 @@ Could we use @subtypes for this?'/>
|
||||
</function>
|
||||
<function name='xmlCtxtGetLastError' file='xmlerror' module='error'>
|
||||
<info>Get the last parsing error registered.</info>
|
||||
<return type='xmlErrorPtr' info='NULL if no error occured or a pointer to the error'/>
|
||||
<return type='xmlErrorPtr' info='NULL if no error occurred or a pointer to the error'/>
|
||||
<arg name='ctx' type='void *' info='an XML parser context'/>
|
||||
</function>
|
||||
<function name='xmlCtxtReadDoc' file='parser' module='parser'>
|
||||
@ -9504,11 +9504,11 @@ Could we use @subtypes for this?'/>
|
||||
</function>
|
||||
<function name='xmlDictCreate' file='dict' module='dict'>
|
||||
<info>Create a new dictionary</info>
|
||||
<return type='xmlDictPtr' info='the newly created dictionary, or NULL if an error occured.'/>
|
||||
<return type='xmlDictPtr' info='the newly created dictionary, or NULL if an error occurred.'/>
|
||||
</function>
|
||||
<function name='xmlDictCreateSub' file='dict' module='dict'>
|
||||
<info>Create a new dictionary, inheriting strings from the read-only dictionary @sub. On lookup, strings are first searched in the new dictionary, then in @sub, and if not found are created in the new dictionary.</info>
|
||||
<return type='xmlDictPtr' info='the newly created dictionary, or NULL if an error occured.'/>
|
||||
<return type='xmlDictPtr' info='the newly created dictionary, or NULL if an error occurred.'/>
|
||||
<arg name='sub' type='xmlDictPtr' info='an existing dictionary'/>
|
||||
</function>
|
||||
<function name='xmlDictExists' file='dict' module='dict'>
|
||||
@ -10233,7 +10233,7 @@ Could we use @subtypes for this?'/>
|
||||
</function>
|
||||
<function name='xmlGetLastError' file='xmlerror' module='error'>
|
||||
<info>Get the last global error registered. This is per thread if compiled with thread support.</info>
|
||||
<return type='xmlErrorPtr' info='NULL if no error occured or a pointer to the error'/>
|
||||
<return type='xmlErrorPtr' info='NULL if no error occurred or a pointer to the error'/>
|
||||
</function>
|
||||
<function name='xmlGetLineNo' file='tree' module='tree'>
|
||||
<info>Get line number of @node. Try to override the limitation of lines being store in 16 bits ints if XML_PARSE_BIG_LINES parser option was used</info>
|
||||
@ -10362,12 +10362,12 @@ Could we use @subtypes for this?'/>
|
||||
</function>
|
||||
<function name='xmlHashCreate' file='hash' module='hash'>
|
||||
<info>Create a new xmlHashTablePtr.</info>
|
||||
<return type='xmlHashTablePtr' info='the newly created object, or NULL if an error occured.'/>
|
||||
<return type='xmlHashTablePtr' info='the newly created object, or NULL if an error occurred.'/>
|
||||
<arg name='size' type='int' info='the size of the hash table'/>
|
||||
</function>
|
||||
<function name='xmlHashCreateDict' file='hash' module='hash'>
|
||||
<info>Create a new xmlHashTablePtr which will use @dict as the internal dictionary</info>
|
||||
<return type='xmlHashTablePtr' info='the newly created object, or NULL if an error occured.'/>
|
||||
<return type='xmlHashTablePtr' info='the newly created object, or NULL if an error occurred.'/>
|
||||
<arg name='size' type='int' info='the size of the hash table'/>
|
||||
<arg name='dict' type='xmlDictPtr' info='a dictionary to use for the hash'/>
|
||||
</function>
|
||||
@ -10877,13 +10877,13 @@ Could we use @subtypes for this?'/>
|
||||
</function>
|
||||
<function name='xmlListRemoveFirst' file='list' module='list'>
|
||||
<info>Remove the first instance associated to data in the list</info>
|
||||
<return type='int' info='1 if a deallocation occured, or 0 if not found'/>
|
||||
<return type='int' info='1 if a deallocation occurred, or 0 if not found'/>
|
||||
<arg name='l' type='xmlListPtr' info='a list'/>
|
||||
<arg name='data' type='void *' info='list data'/>
|
||||
</function>
|
||||
<function name='xmlListRemoveLast' file='list' module='list'>
|
||||
<info>Remove the last instance associated to data in the list</info>
|
||||
<return type='int' info='1 if a deallocation occured, or 0 if not found'/>
|
||||
<return type='int' info='1 if a deallocation occurred, or 0 if not found'/>
|
||||
<arg name='l' type='xmlListPtr' info='a list'/>
|
||||
<arg name='data' type='void *' info='list data'/>
|
||||
</function>
|
||||
@ -14453,7 +14453,7 @@ Could we use @subtypes for this?'/>
|
||||
</function>
|
||||
<function name='xmlSplitQName2' file='tree' module='tree'>
|
||||
<info>parse an XML qualified name string [NS 5] QName ::= (Prefix ':')? LocalPart [NS 6] Prefix ::= NCName [NS 7] LocalPart ::= NCName</info>
|
||||
<return type='xmlChar *' info='NULL if not a QName, otherwise the local part, and prefix is updated to get the Prefix if any.'/>
|
||||
<return type='xmlChar *' info='NULL if the name doesn't have a prefix. Otherwise, returns the local part, and prefix is updated to get the Prefix. Both the return value and the prefix must be freed by the caller.'/>
|
||||
<arg name='name' type='const xmlChar *' info='the full QName'/>
|
||||
<arg name='prefix' type='xmlChar **' info='a xmlChar **'/>
|
||||
</function>
|
||||
@ -14519,7 +14519,7 @@ Could we use @subtypes for this?'/>
|
||||
</function>
|
||||
<function name='xmlStrcat' file='xmlstring' module='xmlstring'>
|
||||
<info>a strcat for array of xmlChar's. Since they are supposed to be encoded in UTF-8 or an encoding with 8bit based chars, we assume a termination mark of '0'.</info>
|
||||
<return type='xmlChar *' info='a new xmlChar * containing the concatenated string.'/>
|
||||
<return type='xmlChar *' info='a new xmlChar * containing the concatenated string. The original @cur is reallocated and should not be freed.'/>
|
||||
<arg name='cur' type='xmlChar *' info='the original xmlChar * array'/>
|
||||
<arg name='add' type='const xmlChar *' info='the xmlChar * array added'/>
|
||||
</function>
|
||||
@ -14637,7 +14637,7 @@ Could we use @subtypes for this?'/>
|
||||
</function>
|
||||
<function name='xmlStrncat' file='xmlstring' module='xmlstring'>
|
||||
<info>a strncat for array of xmlChar's, it will extend @cur with the len first bytes of @add. Note that if @len < 0 then this is an API error and NULL will be returned.</info>
|
||||
<return type='xmlChar *' info='a new xmlChar *, the original @cur is reallocated if needed and should not be freed'/>
|
||||
<return type='xmlChar *' info='a new xmlChar *, the original @cur is reallocated and should not be freed.'/>
|
||||
<arg name='cur' type='xmlChar *' info='the original xmlChar * array'/>
|
||||
<arg name='add' type='const xmlChar *' info='the xmlChar * array added'/>
|
||||
<arg name='len' type='int' info='the length of @add'/>
|
||||
@ -14828,7 +14828,7 @@ Could we use @subtypes for this?'/>
|
||||
<arg name='arg' type='void *' info='the user argument'/>
|
||||
<arg name='msg' type='const char *' info='the message'/>
|
||||
<arg name='severity' type='xmlParserSeverities' info='the severity of the error'/>
|
||||
<arg name='locator' type='xmlTextReaderLocatorPtr' info='a locator indicating where the error occured'/>
|
||||
<arg name='locator' type='xmlTextReaderLocatorPtr' info='a locator indicating where the error occurred'/>
|
||||
</functype>
|
||||
<function name='xmlTextReaderExpand' file='xmlreader' module='xmlreader'>
|
||||
<cond>defined(LIBXML_READER_ENABLED)</cond>
|
||||
@ -15043,7 +15043,7 @@ Could we use @subtypes for this?'/>
|
||||
<function name='xmlTextReaderPreservePattern' file='xmlreader' module='xmlreader'>
|
||||
<cond>defined(LIBXML_READER_ENABLED) && defined(LIBXML_PATTERN_ENABLED)</cond>
|
||||
<info>This tells the XML Reader to preserve all nodes matched by the pattern. The caller must also use xmlTextReaderCurrentDoc() to keep an handle on the resulting document once parsing has finished</info>
|
||||
<return type='int' info='a positive number in case of success and -1 in case of error'/>
|
||||
<return type='int' info='a non-negative number in case of success and -1 in case of error'/>
|
||||
<arg name='reader' type='xmlTextReaderPtr' info='the xmlTextReaderPtr used'/>
|
||||
<arg name='pattern' type='const xmlChar *' info='an XPath subset pattern'/>
|
||||
<arg name='namespaces' type='const xmlChar **' info='the prefix definitions, array of [URI, prefix] or NULL'/>
|
||||
@ -16932,7 +16932,7 @@ Could we use @subtypes for this?'/>
|
||||
<arg name='pos' type='int' info='the position of the desired UTF8 char (in chars)'/>
|
||||
</function>
|
||||
<function name='xmlUTF8Strsize' file='xmlstring' module='xmlstring'>
|
||||
<info>storage size of an UTF8 string the behaviour is not garanteed if the input string is not UTF-8</info>
|
||||
<info>storage size of an UTF8 string the behaviour is not guaranteed if the input string is not UTF-8</info>
|
||||
<return type='int' info='the storage size of the first 'len' characters of ARRAY'/>
|
||||
<arg name='utf' type='const xmlChar *' info='a sequence of UTF-8 encoded bytes'/>
|
||||
<arg name='len' type='int' info='the number of characters in the array'/>
|
||||
@ -17561,7 +17561,7 @@ Could we use @subtypes for this?'/>
|
||||
</function>
|
||||
<function name='xmlXPathEvalExpression' file='xpath' module='xpath'>
|
||||
<cond>defined(LIBXML_XPATH_ENABLED)</cond>
|
||||
<info>Evaluate the XPath expression in the given context.</info>
|
||||
<info>Alias for xmlXPathEval().</info>
|
||||
<return type='xmlXPathObjectPtr' info='the xmlXPathObjectPtr resulting from the evaluation or NULL. the caller has to free the object.'/>
|
||||
<arg name='str' type='const xmlChar *' info='the XPath expression'/>
|
||||
<arg name='ctxt' type='xmlXPathContextPtr' info='the XPath context'/>
|
||||
@ -18200,7 +18200,7 @@ Could we use @subtypes for this?'/>
|
||||
</function>
|
||||
<function name='xmlXPathRoundFunction' file='xpathInternals' module='xpath'>
|
||||
<cond>defined(LIBXML_XPATH_ENABLED)</cond>
|
||||
<info>Implement the round() XPath function number round(number) The round function returns the number that is closest to the argument and that is an integer. If there are two such numbers, then the one that is even is returned.</info>
|
||||
<info>Implement the round() XPath function number round(number) The round function returns the number that is closest to the argument and that is an integer. If there are two such numbers, then the one that is closest to positive infinity is returned.</info>
|
||||
<return type='void'/>
|
||||
<arg name='ctxt' type='xmlXPathParserContextPtr' info='the XPath Parser context'/>
|
||||
<arg name='nargs' type='int' info='the number of arguments'/>
|
||||
@ -18495,7 +18495,7 @@ Could we use @subtypes for this?'/>
|
||||
</function>
|
||||
<function name='xmlXPtrRangeToFunction' file='xpointer' module='xpointer'>
|
||||
<cond>defined(LIBXML_XPTR_ENABLED)</cond>
|
||||
<info>Implement the range-to() XPointer function</info>
|
||||
<info>Implement the range-to() XPointer function Obsolete. range-to is not a real function but a special type of location step which is handled in xpath.c.</info>
|
||||
<return type='void'/>
|
||||
<arg name='ctxt' type='xmlXPathParserContextPtr' info='the XPointer Parser context'/>
|
||||
<arg name='nargs' type='int' info='the number of args'/>
|
||||
|
@ -8185,7 +8185,9 @@
|
||||
<ref name='htmlIsScriptAttribute'/>
|
||||
<ref name='htmlNewDoc'/>
|
||||
<ref name='htmlNewDocNoDtD'/>
|
||||
<ref name='htmlParseDoc'/>
|
||||
<ref name='htmlReadDoc'/>
|
||||
<ref name='htmlSAXParseDoc'/>
|
||||
<ref name='htmlSetMetaEncoding'/>
|
||||
<ref name='htmlTagLookup'/>
|
||||
<ref name='ignorableWhitespace'/>
|
||||
@ -9171,8 +9173,6 @@
|
||||
<ref name='docbSAXParseDoc'/>
|
||||
<ref name='entityDecl'/>
|
||||
<ref name='entityDeclSAXFunc'/>
|
||||
<ref name='htmlParseDoc'/>
|
||||
<ref name='htmlSAXParseDoc'/>
|
||||
<ref name='xmlBuildQName'/>
|
||||
<ref name='xmlCopyChar'/>
|
||||
<ref name='xmlCopyCharMultiByte'/>
|
||||
@ -14535,6 +14535,9 @@
|
||||
<word name='AegeanNumbers'>
|
||||
<ref name='xmlUCSIsAegeanNumbers'/>
|
||||
</word>
|
||||
<word name='Alias'>
|
||||
<ref name='xmlXPathEvalExpression'/>
|
||||
</word>
|
||||
<word name='All'>
|
||||
<ref name='_xmlSchema'/>
|
||||
<ref name='_xmlSchemaType'/>
|
||||
@ -14774,6 +14777,7 @@
|
||||
</word>
|
||||
<word name='Both'>
|
||||
<ref name='XML_SUBSTITUTE_BOTH'/>
|
||||
<ref name='xmlSplitQName2'/>
|
||||
<ref name='xmlStreamPush'/>
|
||||
<ref name='xmlStreamPushAttr'/>
|
||||
<ref name='xmlStreamPushNode'/>
|
||||
@ -15758,7 +15762,6 @@
|
||||
<word name='Evaluate'>
|
||||
<ref name='xmlXPathCompiledEval'/>
|
||||
<ref name='xmlXPathEval'/>
|
||||
<ref name='xmlXPathEvalExpression'/>
|
||||
<ref name='xmlXPathEvalPredicate'/>
|
||||
<ref name='xmlXPathEvaluatePredicateResult'/>
|
||||
<ref name='xmlXPathNodeEval'/>
|
||||
@ -16936,6 +16939,7 @@
|
||||
<ref name='_xmlSchemaElement'/>
|
||||
<ref name='_xmlSchemaFacet'/>
|
||||
<ref name='_xmlSchemaType'/>
|
||||
<ref name='xmlXPtrRangeToFunction'/>
|
||||
</word>
|
||||
<word name='Obtain'>
|
||||
<ref name='xmlTextReaderLocatorBaseURI'/>
|
||||
@ -16976,6 +16980,7 @@
|
||||
<ref name='xmlXPathContextSetCache'/>
|
||||
</word>
|
||||
<word name='Otherwise'>
|
||||
<ref name='xmlSplitQName2'/>
|
||||
<ref name='xmlStreamPush'/>
|
||||
<ref name='xmlStreamPushAttr'/>
|
||||
</word>
|
||||
@ -22023,6 +22028,7 @@
|
||||
<ref name='xmlNodeListGetRawString'/>
|
||||
<ref name='xmlPatternMatch'/>
|
||||
<ref name='xmlRemoveProp'/>
|
||||
<ref name='xmlSplitQName2'/>
|
||||
<ref name='xmlUTF8Strlen'/>
|
||||
<ref name='xmlValidateRoot'/>
|
||||
<ref name='xmlXPathLeading'/>
|
||||
@ -22607,7 +22613,6 @@
|
||||
<ref name='xmlNodeGetBase'/>
|
||||
<ref name='xmlParseBalancedChunkMemoryRecover'/>
|
||||
<ref name='xmlTextWriterFullEndElement'/>
|
||||
<ref name='xmlXPathRoundFunction'/>
|
||||
</word>
|
||||
<word name='event'>
|
||||
<ref name='xmlSchemaSAXPlug'/>
|
||||
@ -23390,9 +23395,6 @@
|
||||
<word name='gYearMonth'>
|
||||
<ref name='xmlSchemaGetCanonValue'/>
|
||||
</word>
|
||||
<word name='garanteed'>
|
||||
<ref name='xmlUTF8Strsize'/>
|
||||
</word>
|
||||
<word name='garbage'>
|
||||
<ref name='xmlGcMemGet'/>
|
||||
<ref name='xmlGcMemSetup'/>
|
||||
@ -23594,6 +23596,7 @@
|
||||
<word name='guaranteed'>
|
||||
<ref name='xmlModuleOpen'/>
|
||||
<ref name='xmlModuleSymbol'/>
|
||||
<ref name='xmlUTF8Strsize'/>
|
||||
</word>
|
||||
<word name='guess'>
|
||||
<ref name='xmlCleanupParser'/>
|
||||
@ -23615,6 +23618,7 @@
|
||||
<ref name='xmlParseElementContentDecl'/>
|
||||
<ref name='xmlParsePEReference'/>
|
||||
<ref name='xmlParserHandlePEReference'/>
|
||||
<ref name='xmlXPtrRangeToFunction'/>
|
||||
</word>
|
||||
<word name='handlers'>
|
||||
<ref name='xlinkSetDefaultHandler'/>
|
||||
@ -24191,6 +24195,7 @@
|
||||
<word name='infinity'>
|
||||
<ref name='xmlXPathCeilingFunction'/>
|
||||
<ref name='xmlXPathFloorFunction'/>
|
||||
<ref name='xmlXPathRoundFunction'/>
|
||||
<ref name='xmlXPathStringFunction'/>
|
||||
</word>
|
||||
<word name='info'>
|
||||
@ -25058,6 +25063,7 @@
|
||||
<ref name='xmlSetFeature'/>
|
||||
<ref name='xmlUTF8Strloc'/>
|
||||
<ref name='xmlXPtrLocationSetAdd'/>
|
||||
<ref name='xmlXPtrRangeToFunction'/>
|
||||
</word>
|
||||
<word name='locations'>
|
||||
<ref name='_xmlLocationSet'/>
|
||||
@ -25733,7 +25739,6 @@
|
||||
<ref name='xmlSchemaSAXPlug'/>
|
||||
<ref name='xmlSetBufferAllocationScheme'/>
|
||||
<ref name='xmlShellPwd'/>
|
||||
<ref name='xmlStrncat'/>
|
||||
<ref name='xmlTextReaderCurrentDoc'/>
|
||||
<ref name='xmlValidCtxtNormalizeAttributeValue'/>
|
||||
<ref name='xmlValidNormalizeAttributeValue'/>
|
||||
@ -25881,6 +25886,7 @@
|
||||
<word name='non-negative'>
|
||||
<ref name='xmlC14NDocSaveTo'/>
|
||||
<ref name='xmlC14NExecute'/>
|
||||
<ref name='xmlTextReaderPreservePattern'/>
|
||||
</word>
|
||||
<word name='non-normative'>
|
||||
<ref name='xmlDetectCharEncoding'/>
|
||||
@ -26088,7 +26094,13 @@
|
||||
<ref name='xmlParseComment'/>
|
||||
<ref name='xmlParseMarkupDecl'/>
|
||||
</word>
|
||||
<word name='occured'>
|
||||
<word name='occurences'>
|
||||
<ref name='xmlAutomataNewCountTrans'/>
|
||||
<ref name='xmlAutomataNewCountTrans2'/>
|
||||
<ref name='xmlAutomataNewOnceTrans'/>
|
||||
<ref name='xmlAutomataNewOnceTrans2'/>
|
||||
</word>
|
||||
<word name='occurred'>
|
||||
<ref name='xmlCtxtGetLastError'/>
|
||||
<ref name='xmlDictCreate'/>
|
||||
<ref name='xmlDictCreateSub'/>
|
||||
@ -26097,17 +26109,9 @@
|
||||
<ref name='xmlHashCreateDict'/>
|
||||
<ref name='xmlListRemoveFirst'/>
|
||||
<ref name='xmlListRemoveLast'/>
|
||||
<ref name='xmlTextReaderErrorFunc'/>
|
||||
</word>
|
||||
<word name='occurences'>
|
||||
<ref name='xmlAutomataNewCountTrans'/>
|
||||
<ref name='xmlAutomataNewCountTrans2'/>
|
||||
<ref name='xmlAutomataNewOnceTrans'/>
|
||||
<ref name='xmlAutomataNewOnceTrans2'/>
|
||||
</word>
|
||||
<word name='occurred'>
|
||||
<ref name='xmlMemStrdupLoc'/>
|
||||
<ref name='xmlMemoryStrdup'/>
|
||||
<ref name='xmlTextReaderErrorFunc'/>
|
||||
</word>
|
||||
<word name='occurrence'>
|
||||
<ref name='xmlStrcasestr'/>
|
||||
@ -27467,6 +27471,9 @@
|
||||
<ref name='INPUT_CHUNK'/>
|
||||
<ref name='xmlAutomataCompile'/>
|
||||
</word>
|
||||
<word name='real'>
|
||||
<ref name='xmlXPtrRangeToFunction'/>
|
||||
</word>
|
||||
<word name='realloc'>
|
||||
<ref name='_xmlBuffer'/>
|
||||
<ref name='xmlGcMemGet'/>
|
||||
@ -27479,6 +27486,7 @@
|
||||
</word>
|
||||
<word name='reallocated'>
|
||||
<ref name='xmlReallocFunc'/>
|
||||
<ref name='xmlStrcat'/>
|
||||
<ref name='xmlStrncat'/>
|
||||
</word>
|
||||
<word name='really'>
|
||||
@ -28968,6 +28976,7 @@
|
||||
<ref name='xmlNodeSetContent'/>
|
||||
<ref name='xmlNodeSetContentLen'/>
|
||||
<ref name='xmlTextWriterWriteRawLen'/>
|
||||
<ref name='xmlXPtrRangeToFunction'/>
|
||||
</word>
|
||||
<word name='specialized'>
|
||||
<ref name='_xmlDOMWrapCtxt'/>
|
||||
@ -29153,6 +29162,7 @@
|
||||
<ref name='xmlValidNormalizeAttributeValue'/>
|
||||
<ref name='xmlValidateDocumentFinal'/>
|
||||
<ref name='xmlValidateDtdFinal'/>
|
||||
<ref name='xmlXPtrRangeToFunction'/>
|
||||
</word>
|
||||
<word name='steps'>
|
||||
<ref name='xmlNormalizeURIPath'/>
|
||||
@ -31941,6 +31951,9 @@
|
||||
<word name='xmlXPathError'>
|
||||
<ref name='err'/>
|
||||
</word>
|
||||
<word name='xmlXPathEval'>
|
||||
<ref name='xmlXPathEvalExpression'/>
|
||||
</word>
|
||||
<word name='xmlXPathEvalPredicate'>
|
||||
<ref name='xmlXPtrEvalRangePredicate'/>
|
||||
</word>
|
||||
@ -32015,6 +32028,7 @@
|
||||
<word name='xpath'>
|
||||
<ref name='xmlShellPrintXPathError'/>
|
||||
<ref name='xmlShellPrintXPathResult'/>
|
||||
<ref name='xmlXPtrRangeToFunction'/>
|
||||
</word>
|
||||
<word name='xpointer'>
|
||||
<ref name='XINCLUDE_PARSE_XPOINTER'/>
|
||||
|
134
doc/libxml2.xsa
134
doc/libxml2.xsa
@ -8,73 +8,93 @@
|
||||
</vendor>
|
||||
<product id="libxml2">
|
||||
<name>libxml2</name>
|
||||
<version>v2.9.3</version>
|
||||
<last-release> Nov 20 2015</last-release>
|
||||
<version>2.9.4</version>
|
||||
<last-release> May 23 2016</last-release>
|
||||
<info-url>http://xmlsoft.org/</info-url>
|
||||
<changes> - Security:
|
||||
CVE-2015-8242 Buffer overead with HTML parser in push mode (Hugh Davenport),
|
||||
CVE-2015-7500 Fix memory access error due to incorrect entities boundaries (Daniel Veillard),
|
||||
CVE-2015-7499-2 Detect incoherency on GROW (Daniel Veillard),
|
||||
CVE-2015-7499-1 Add xmlHaltParser() to stop the parser (Daniel Veillard),
|
||||
CVE-2015-5312 Another entity expansion issue (David Drysdale),
|
||||
CVE-2015-7497 Avoid an heap buffer overflow in xmlDictComputeFastQKey (David Drysdale),
|
||||
CVE-2015-7498 Avoid processing entities after encoding conversion failures (Daniel Veillard),
|
||||
CVE-2015-8035 Fix XZ compression support loop (Daniel Veillard),
|
||||
CVE-2015-7942-2 Fix an error in previous Conditional section patch (Daniel Veillard),
|
||||
CVE-2015-7942 Another variation of overflow in Conditional sections (Daniel Veillard),
|
||||
CVE-2015-1819 Enforce the reader to run in constant memory (Daniel Veillard)
|
||||
CVE-2015-7941_2 Cleanup conditional section error handling (Daniel Veillard),
|
||||
CVE-2015-7941_1 Stop parsing on entities boundaries errors (Daniel Veillard),
|
||||
More format string warnings with possible format string vulnerability (David Kilzer),
|
||||
Avoid building recursive entities (Daniel Veillard),
|
||||
Heap-based buffer overread in htmlCurrentChar (Pranjal Jumde),
|
||||
Heap-based buffer-underreads due to xmlParseName (David Kilzer),
|
||||
Heap use-after-free in xmlSAX2AttributeNs (Pranjal Jumde),
|
||||
Heap use-after-free in htmlParsePubidLiteral and htmlParseSystemiteral (Pranjal Jumde),
|
||||
Fix some format string warnings with possible format string vulnerability (David Kilzer),
|
||||
Detect change of encoding when parsing HTML names (Hugh Davenport),
|
||||
Fix inappropriate fetch of entities content (Daniel Veillard),
|
||||
Bug 759398: Heap use-after-free in xmlDictComputeFastKey <https://bugzilla.gnome.org/show_bug.cgi?id=759398> (Pranjal Jumde),
|
||||
Bug 758605: Heap-based buffer overread in xmlDictAddString <https://bugzilla.gnome.org/show_bug.cgi?id=758605> (Pranjal Jumde),
|
||||
Bug 758588: Heap-based buffer overread in xmlParserPrintFileContextInternal <https://bugzilla.gnome.org/show_bug.cgi?id=758588> (David Kilzer),
|
||||
Bug 757711: heap-buffer-overflow in xmlFAParsePosCharGroup <https://bugzilla.gnome.org/show_bug.cgi?id=757711> (Pranjal Jumde),
|
||||
Add missing increments of recursion depth counter to XML parser. (Peter Simons)
|
||||
|
||||
- Documentation:
|
||||
Correct spelling of "calling" (Alex Henrie),
|
||||
Fix a small error in xmllint --format description (Fabien Degomme),
|
||||
Avoid XSS on the search of xmlsoft.org (Daniel Veillard)
|
||||
Fix typo: s{ ec -> cr }cipt (Jan Pokorný),
|
||||
Fix typos: dictio{ nn -> n }ar{y,ies} (Jan Pokorný),
|
||||
Fix typos: PATH_{ SEAPARATOR -> SEPARATOR } (Jan Pokorný),
|
||||
Correct a typo. (Shlomi Fish)
|
||||
|
||||
- Portability:
|
||||
threads: use forward declarations only for glibc (Michael Heimpold),
|
||||
Update Win32 configure.js to search for configure.ac (Daniel Veillard)
|
||||
Correct the usage of LDFLAGS (Mattias Hansson),
|
||||
Revert the use of SAVE_LDFLAGS in configure.ac (Mattias Hansson),
|
||||
libxml2 hardcodes -L/lib in zlib/lzma tests which breaks cross-compiles (Mike Frysinger),
|
||||
Fix apibuild for a recently added construct (Daniel Veillard),
|
||||
Use pkg-config to locate zlib when possible (Stewart Brodie),
|
||||
Use pkg-config to locate ICU when possible (Stewart Brodie),
|
||||
Portability to non C99 compliant compilers (Patrick Monnerat),
|
||||
dict.h: Move xmlDictPtr definition before includes to allow direct inclusion. (Patrick Monnerat),
|
||||
os400: tell about xmllint and xmlcatalog in README400. (Patrick Monnerat),
|
||||
os400: properly process SGML add in XMLCATALOG command. (Patrick Monnerat),
|
||||
os400: implement CL command XMLCATALOG. (Patrick Monnerat),
|
||||
os400: compile and install program xmlcatalog (qshell-only). (Patrick Monnerat),
|
||||
os400: expand tabs in sources, strip trailing blanks. (Patrick Monnerat),
|
||||
os400: implement CL command XMLLINT. (Patrick Monnerat),
|
||||
os400: compile and install program xmllint (qshell-only). (Patrick Monnerat),
|
||||
os400: initscript make_module(): Use options instead of positional parameters. (Patrick Monnerat),
|
||||
os400: c14n.rpgle: allow *omit for nullable reference parameters. (Patrick Monnerat),
|
||||
os400: use like() for double type. (Patrick Monnerat),
|
||||
os400: use like() for int type. (Patrick Monnerat),
|
||||
os400: use like() for unsigned int type. (Patrick Monnerat),
|
||||
os400: use like() for enum types. (Patrick Monnerat),
|
||||
Add xz to xml2-config --libs output (Baruch Siach),
|
||||
Bug 760190: configure.ac should be able to build --with-icu without icu-config tool <https://bugzilla.gnome.org/show_bug.cgi?id=760190> (David Kilzer),
|
||||
win32\VC10\config.h and VS 2015 (Bruce Dawson),
|
||||
Add configure maintainer mode (orzen)
|
||||
|
||||
- Bug Fixes:
|
||||
Bug on creating new stream from entity (Daniel Veillard),
|
||||
Fix some loop issues embedding NEXT (Daniel Veillard),
|
||||
Do not print error context when there is none (Daniel Veillard),
|
||||
Avoid extra processing of MarkupDecl when EOF (Hugh Davenport),
|
||||
Fix parsing short unclosed comment uninitialized access (Daniel Veillard),
|
||||
Add missing Null check in xmlParseExternalEntityPrivate (Gaurav Gupta),
|
||||
Fix a bug in CData error handling in the push parser (Daniel Veillard),
|
||||
Fix a bug on name parsing at the end of current input buffer (Daniel Veillard),
|
||||
Fix the spurious ID already defined error (Daniel Veillard),
|
||||
Fix previous change to node sort order (Nick Wellnhofer),
|
||||
Fix a self assignment issue raised by clang (Scott Graham),
|
||||
Fail parsing early on if encoding conversion failed (Daniel Veillard),
|
||||
Do not process encoding values if the declaration if broken (Daniel Veillard),
|
||||
Silence clang's -Wunknown-attribute (Michael Catanzaro),
|
||||
xmlMemUsed is not thread-safe (Martin von Gagern),
|
||||
Fix support for except in nameclasses (Daniel Veillard),
|
||||
Fix order of root nodes (Nick Wellnhofer),
|
||||
Allow attributes on descendant-or-self axis (Nick Wellnhofer),
|
||||
Fix the fix to Windows locking (Steve Nairn),
|
||||
Fix timsort invariant loop re: Envisage article (Christopher Swenson),
|
||||
Don't add IDs in xmlSetTreeDoc (Nick Wellnhofer),
|
||||
Account for ID attributes in xmlSetTreeDoc (Nick Wellnhofer),
|
||||
Remove various unused value assignments (Philip Withnall),
|
||||
Fix missing entities after CVE-2014-3660 fix (Daniel Veillard),
|
||||
Revert "Missing initialization for the catalog module" (Daniel Veillard)
|
||||
Avoid an out of bound access when serializing malformed strings (Daniel Veillard),
|
||||
Unsigned addition may overflow in xmlMallocAtomicLoc() (David Kilzer),
|
||||
Integer signed/unsigned type mismatch in xmlParserInputGrow() (David Kilzer),
|
||||
Bug 763071: heap-buffer-overflow in xmlStrncat <https://bugzilla.gnome.org/show_bug.cgi?id=763071> (Pranjal Jumde),
|
||||
Integer overflow parsing port number in URI (Michael Paddon),
|
||||
Fix an error with regexp on nullable counted char transition (Daniel Veillard),
|
||||
Fix memory leak with XPath namespace nodes (Nick Wellnhofer),
|
||||
Fix namespace axis traversal (Nick Wellnhofer),
|
||||
Fix null pointer deref in docs with no root element (Hugh Davenport),
|
||||
Fix XSD validation of URIs with ampersands (Alex Henrie),
|
||||
xmlschemastypes.c: accept endOfDayFrag Times set to "24:00:00" mean "end of day" and should not cause an error. (Patrick Monnerat),
|
||||
xmlcatalog: flush stdout before interactive shell input. (Patrick Monnerat),
|
||||
xmllint: flush stdout before interactive shell input. (Patrick Monnerat),
|
||||
Don't recurse into OP_VALUEs in xmlXPathOptimizeExpression (Nick Wellnhofer),
|
||||
Fix namespace::node() XPath expression (Nick Wellnhofer),
|
||||
Fix OOB write in xmlXPathEmptyNodeSet (Nick Wellnhofer),
|
||||
Fix parsing of NCNames in XPath (Nick Wellnhofer),
|
||||
Fix OOB read with invalid UTF-8 in xmlUTF8Strsize (Nick Wellnhofer),
|
||||
Do normalize string-based datatype value in RelaxNG facet checking (Audric Schiltknecht),
|
||||
Bug 760921: REGRESSION (8eb55d78): doc/examples/io1 test fails after fix for "xmlSaveUri() incorrectly recomposes URIs with rootless paths" <https://bugzilla.gnome.org/show_bug.cgi?id=760921> (David Kilzer),
|
||||
Bug 760861: REGRESSION (bf9c1dad): Missing results for test/schemas/regexp-char-ref_[01].xsd <https://bugzilla.gnome.org/show_bug.cgi?id=760861> (David Kilzer),
|
||||
error.c: *input->cur == 0 does not mean no error (Pavel Raiskup),
|
||||
Add missing RNG test files (David Kilzer),
|
||||
Bug 760183: REGRESSION (v2.9.3): XML push parser fails with bogus UTF-8 encoding error when multi-byte character in large CDATA section is split across buffer <https://bugzilla.gnome.org/show_bug.cgi?id=760183> (David Kilzer),
|
||||
Bug 758572: ASAN crash in make check <https://bugzilla.gnome.org/show_bug.cgi?id=758572> (David Kilzer),
|
||||
Bug 721158: Missing ICU string when doing --version on xmllint <https://bugzilla.gnome.org/show_bug.cgi?id=721158> (David Kilzer),
|
||||
python 3: libxml2.c wrappers create Unicode str already (Michael Stahl),
|
||||
Add autogen.sh to distrib (orzen),
|
||||
Heap-based buffer overread in xmlNextChar (Daniel Veillard)
|
||||
|
||||
- Improvements:
|
||||
Reuse xmlHaltParser() where it makes sense (Daniel Veillard),
|
||||
xmlStopParser reset errNo (Daniel Veillard),
|
||||
Reenable xz support by default (Daniel Veillard),
|
||||
Recover unescaped less-than character in HTML recovery parsing (Daniel Veillard),
|
||||
Allow HTML serializer to output HTML5 DOCTYPE (Shaun McCance),
|
||||
Regression test for bug #695699 (Nick Wellnhofer),
|
||||
Add a couple of XPath tests (Nick Wellnhofer),
|
||||
Add Python 3 rpm subpackage (Tomas Radej),
|
||||
libxml2-config.cmake.in: update include directories (Samuel Martin),
|
||||
Adding example from bugs 738805 to regression tests (Daniel Veillard)
|
||||
|
||||
- Cleanups:
|
||||
Add more debugging info to runtest (Daniel Veillard),
|
||||
Implement "runtest -u" mode (David Kilzer),
|
||||
Add a make rule to rebuild for ASAN (Daniel Veillard)
|
||||
|
||||
|
||||
</changes>
|
||||
|
126
doc/news.html
126
doc/news.html
@ -8,7 +8,131 @@ H2 {font-family: Verdana,Arial,Helvetica}
|
||||
H3 {font-family: Verdana,Arial,Helvetica}
|
||||
A:link, A:visited, A:active { text-decoration: underline }
|
||||
</style><title>Releases</title></head><body bgcolor="#8b7765" text="#000000" link="#a06060" vlink="#000000"><table border="0" width="100%" cellpadding="5" cellspacing="0" align="center"><tr><td width="120"><a href="http://swpat.ffii.org/"><img src="epatents.png" alt="Action against software patents" /></a></td><td width="180"><a href="http://www.gnome.org/"><img src="gnome2.png" alt="Gnome2 Logo" /></a><a href="http://www.w3.org/Status"><img src="w3c.png" alt="W3C Logo" /></a><a href="http://www.redhat.com/"><img src="redhat.gif" alt="Red Hat Logo" /></a><div align="left"><a href="http://xmlsoft.org/"><img src="Libxml2-Logo-180x168.gif" alt="Made with Libxml2 Logo" /></a></div></td><td><table border="0" width="90%" cellpadding="2" cellspacing="0" align="center" bgcolor="#000000"><tr><td><table width="100%" border="0" cellspacing="1" cellpadding="3" bgcolor="#fffacd"><tr><td align="center"><h1>The XML C parser and toolkit of Gnome</h1><h2>Releases</h2></td></tr></table></td></tr></table></td></tr></table><table border="0" cellpadding="4" cellspacing="0" width="100%" align="center"><tr><td bgcolor="#8b7765"><table border="0" cellspacing="0" cellpadding="2" width="100%"><tr><td valign="top" width="200" bgcolor="#8b7765"><table border="0" cellspacing="0" cellpadding="1" width="100%" bgcolor="#000000"><tr><td><table width="100%" border="0" cellspacing="1" cellpadding="3"><tr><td colspan="1" bgcolor="#eecfa1" align="center"><center><b>Main Menu</b></center></td></tr><tr><td bgcolor="#fffacd"><form action="search.php" enctype="application/x-www-form-urlencoded" method="get"><input name="query" type="text" size="20" value="" /><input name="submit" type="submit" value="Search ..." /></form><ul><li><a href="index.html">Home</a></li><li><a href="html/index.html">Reference Manual</a></li><li><a href="intro.html">Introduction</a></li><li><a href="FAQ.html">FAQ</a></li><li><a href="docs.html" style="font-weight:bold">Developer Menu</a></li><li><a href="bugs.html">Reporting bugs and getting help</a></li><li><a href="help.html">How to help</a></li><li><a href="downloads.html">Downloads</a></li><li><a href="news.html">Releases</a></li><li><a href="XMLinfo.html">XML</a></li><li><a href="XSLT.html">XSLT</a></li><li><a href="xmldtd.html">Validation & DTDs</a></li><li><a href="encoding.html">Encodings support</a></li><li><a href="catalog.html">Catalog support</a></li><li><a href="namespaces.html">Namespaces</a></li><li><a href="contribs.html">Contributions</a></li><li><a href="examples/index.html" style="font-weight:bold">Code Examples</a></li><li><a href="html/index.html" style="font-weight:bold">API Menu</a></li><li><a href="guidelines.html">XML Guidelines</a></li><li><a href="ChangeLog.html">Recent Changes</a></li></ul></td></tr></table><table width="100%" border="0" cellspacing="1" cellpadding="3"><tr><td colspan="1" bgcolor="#eecfa1" align="center"><center><b>Related links</b></center></td></tr><tr><td bgcolor="#fffacd"><ul><li><a href="http://mail.gnome.org/archives/xml/">Mail archive</a></li><li><a href="http://xmlsoft.org/XSLT/">XSLT libxslt</a></li><li><a href="http://phd.cs.unibo.it/gdome2/">DOM gdome2</a></li><li><a href="http://www.aleksey.com/xmlsec/">XML-DSig xmlsec</a></li><li><a href="ftp://xmlsoft.org/">FTP</a></li><li><a href="http://www.zlatkovic.com/projects/libxml/">Windows binaries</a></li><li><a href="http://opencsw.org/packages/libxml2">Solaris binaries</a></li><li><a href="http://www.explain.com.au/oss/libxml2xslt.html">MacOsX binaries</a></li><li><a href="http://lxml.de/">lxml Python bindings</a></li><li><a href="http://cpan.uwinnipeg.ca/dist/XML-LibXML">Perl bindings</a></li><li><a href="http://libxmlplusplus.sourceforge.net/">C++ bindings</a></li><li><a href="http://www.zend.com/php5/articles/php5-xmlphp.php#Heading4">PHP bindings</a></li><li><a href="http://sourceforge.net/projects/libxml2-pas/">Pascal bindings</a></li><li><a href="http://libxml.rubyforge.org/">Ruby bindings</a></li><li><a href="http://tclxml.sourceforge.net/">Tcl bindings</a></li><li><a href="http://bugzilla.gnome.org/buglist.cgi?product=libxml2">Bug Tracker</a></li></ul></td></tr></table></td></tr></table></td><td valign="top" bgcolor="#8b7765"><table border="0" cellspacing="0" cellpadding="1" width="100%"><tr><td><table border="0" cellspacing="0" cellpadding="1" width="100%" bgcolor="#000000"><tr><td><table border="0" cellpadding="3" cellspacing="1" width="100%"><tr><td bgcolor="#fffacd"><p>The <a href="ChangeLog.html">change log</a> describes the recents commits
|
||||
to the <a href="http://git.gnome.org/browse/libxml2/">GIT</a> code base.</p><p>Here is the list of public releases:</p><h3>2.9.4: May 23 2016</h3><ul>
|
||||
to the <a href="http://git.gnome.org/browse/libxml2/">GIT</a> code base.</p><p>Here is the list of public releases:</p><h3>v2.9.5: Sep 04 2017</h3><ul>
|
||||
|
||||
<li>Security:<br />
|
||||
Detect infinite recursion in parameter entities (Nick Wellnhofer),<br />
|
||||
Fix handling of parameter-entity references (Nick Wellnhofer),<br />
|
||||
Disallow namespace nodes in XPointer ranges (Nick Wellnhofer),<br />
|
||||
Fix XPointer paths beginning with range-to (Nick Wellnhofer)<br />
|
||||
</li>
|
||||
|
||||
<li>Documentation:<br />
|
||||
Documentation fixes (Nick Wellnhofer),<br />
|
||||
Spelling and grammar fixes (Nick Wellnhofer)<br />
|
||||
</li>
|
||||
|
||||
<li>Portability:<br />
|
||||
Adding README.zOS to list of extra files for the release (Daniel Veillard),<br />
|
||||
Description of work needed to compile on zOS (Stéphane Michaut),<br />
|
||||
Porting libxml2 on zOS encoding of code (Stéphane Michaut),<br />
|
||||
small changes for OS/400 (Patrick Monnerat),<br />
|
||||
relaxng.c, xmlschemas.c: Fix build on pre-C99 compilers (Chun-wei Fan)<br />
|
||||
</li>
|
||||
|
||||
<li>Bug Fixes:<br />
|
||||
Problem resolving relative URIs (Daniel Veillard),<br />
|
||||
Fix unwanted warnings when switching encodings (Nick Wellnhofer),<br />
|
||||
Fix signature of xmlSchemaAugmentImportedIDC (Daniel Veillard),<br />
|
||||
Heap-buffer-overflow read of size 1 in xmlFAParsePosCharGroup (David Kilzer),<br />
|
||||
Fix NULL pointer deref in xmlFAParseCharClassEsc (Nick Wellnhofer),<br />
|
||||
Fix infinite loops with push parser in recovery mode (Nick Wellnhofer),<br />
|
||||
Send xmllint usage error to stderr (Nick Wellnhofer),<br />
|
||||
Fix NULL deref in xmlParseExternalEntityPrivate (Nick Wellnhofer),<br />
|
||||
Make sure not to call IS_BLANK_CH when parsing the DTD (Nick Wellnhofer),<br />
|
||||
Fix xmlHaltParser (Nick Wellnhofer),<br />
|
||||
Fix pathological performance when outputting charrefs (Nick Wellnhofer),<br />
|
||||
Fix invalid-source-encoding warnings in testWriter.c (Nick Wellnhofer),<br />
|
||||
Fix duplicate SAX callbacks for entity content (David Kilzer),<br />
|
||||
Treat URIs with scheme as absolute in C14N (Nick Wellnhofer),<br />
|
||||
Fix copy-paste errors in error messages (Nick Wellnhofer),<br />
|
||||
Fix sanity check in htmlParseNameComplex (Nick Wellnhofer),<br />
|
||||
Fix potential infinite loop in xmlStringLenDecodeEntities (Nick Wellnhofer),<br />
|
||||
Reset parser input pointers on encoding failure (Nick Wellnhofer),<br />
|
||||
Fix memory leak in xmlParseEntityDecl error path (Nick Wellnhofer),<br />
|
||||
Fix xmlBuildRelativeURI for URIs starting with './' (Nick Wellnhofer),<br />
|
||||
Fix type confusion in xmlValidateOneNamespace (Nick Wellnhofer),<br />
|
||||
Fix memory leak in xmlStringLenGetNodeList (Nick Wellnhofer),<br />
|
||||
Fix NULL pointer deref in xmlDumpElementContent (Daniel Veillard),<br />
|
||||
Fix memory leak in xmlBufAttrSerializeTxtContent (Nick Wellnhofer),<br />
|
||||
Stop parser on unsupported encodings (Nick Wellnhofer),<br />
|
||||
Check for integer overflow in memory debug code (Nick Wellnhofer),<br />
|
||||
Fix buffer size checks in xmlSnprintfElementContent (Nick Wellnhofer),<br />
|
||||
Avoid reparsing in xmlParseStartTag2 (Nick Wellnhofer),<br />
|
||||
Fix undefined behavior in xmlRegExecPushStringInternal (Nick Wellnhofer),<br />
|
||||
Check XPath exponents for overflow (Nick Wellnhofer),<br />
|
||||
Check for overflow in xmlXPathIsPositionalPredicate (Nick Wellnhofer),<br />
|
||||
Fix spurious error message (Nick Wellnhofer),<br />
|
||||
Fix memory leak in xmlCanonicPath (Nick Wellnhofer),<br />
|
||||
Fix memory leak in xmlXPathCompareNodeSetValue (Nick Wellnhofer),<br />
|
||||
Fix memory leak in pattern error path (Nick Wellnhofer),<br />
|
||||
Fix memory leak in parser error path (Nick Wellnhofer),<br />
|
||||
Fix memory leaks in XPointer error paths (Nick Wellnhofer),<br />
|
||||
Fix memory leak in xmlXPathNodeSetMergeAndClear (Nick Wellnhofer),<br />
|
||||
Fix memory leak in XPath filter optimizations (Nick Wellnhofer),<br />
|
||||
Fix memory leaks in XPath error paths (Nick Wellnhofer),<br />
|
||||
Do not leak the new CData node if adding fails (David Tardon),<br />
|
||||
Prevent unwanted external entity reference (Neel Mehta),<br />
|
||||
Increase buffer space for port in HTTP redirect support (Daniel Veillard),<br />
|
||||
Fix more NULL pointer derefs in xpointer.c (Nick Wellnhofer),<br />
|
||||
Avoid function/data pointer conversion in xpath.c (Nick Wellnhofer),<br />
|
||||
Fix format string warnings (Nick Wellnhofer),<br />
|
||||
Disallow namespace nodes in XPointer points (Nick Wellnhofer),<br />
|
||||
Fix comparison with root node in xmlXPathCmpNodes (Nick Wellnhofer),<br />
|
||||
Fix attribute decoding during XML schema validation (Alex Henrie),<br />
|
||||
Fix NULL pointer deref in XPointer range-to (Nick Wellnhofer)<br />
|
||||
</li>
|
||||
|
||||
<li>Improvements:<br />
|
||||
Updating the spec file to reflect Fedora 24 (Daniel Veillard),<br />
|
||||
Add const in five places to move 1 KiB to .rdata (Bruce Dawson),<br />
|
||||
Fix missing part of comment for function xmlXPathEvalExpression() (Daniel Veillard),<br />
|
||||
Get rid of "blanks wrapper" for parameter entities (Nick Wellnhofer),<br />
|
||||
Simplify handling of parameter entity references (Nick Wellnhofer),<br />
|
||||
Deduplicate code in encoding.c (Nick Wellnhofer),<br />
|
||||
Make HTML parser functions take const pointers (Nick Wellnhofer),<br />
|
||||
Build test programs only when needed (Nick Wellnhofer),<br />
|
||||
Fix doc/examples/index.py (Nick Wellnhofer),<br />
|
||||
Fix compiler warnings in threads.c (Nick Wellnhofer),<br />
|
||||
Fix empty-body warning in nanohttp.c (Nick Wellnhofer),<br />
|
||||
Fix cast-align warnings (Nick Wellnhofer),<br />
|
||||
Fix unused-parameter warnings (Nick Wellnhofer),<br />
|
||||
Rework entity boundary checks (Nick Wellnhofer),<br />
|
||||
Don't switch encoding for internal parameter entities (Nick Wellnhofer),<br />
|
||||
Merge duplicate code paths handling PE references (Nick Wellnhofer),<br />
|
||||
Test SAX2 callbacks with entity substitution (Nick Wellnhofer),<br />
|
||||
Support catalog and threads tests under --without-sax1 (Nick Wellnhofer),<br />
|
||||
Misc fixes for 'make tests' (Nick Wellnhofer),<br />
|
||||
Initialize keepBlanks in HTML parser (Nick Wellnhofer),<br />
|
||||
Add test cases for bug 758518 (David Kilzer),<br />
|
||||
Fix compiler warning in htmlParseElementInternal (Nick Wellnhofer),<br />
|
||||
Remove useless check in xmlParseAttributeListDecl (Nick Wellnhofer),<br />
|
||||
Allow zero sized memory input buffers (Nick Wellnhofer),<br />
|
||||
Add TODO comment in xmlSwitchEncoding (Nick Wellnhofer),<br />
|
||||
Check for integer overflow in xmlXPathFormatNumber (Nick Wellnhofer),<br />
|
||||
Make Travis print UBSan stacktraces (Nick Wellnhofer),<br />
|
||||
Add .travis.yml (Nick Wellnhofer),<br />
|
||||
Fix expected error output in Python tests (Nick Wellnhofer),<br />
|
||||
Simplify control flow in xmlParseStartTag2 (Nick Wellnhofer),<br />
|
||||
Disable LeakSanitizer when running API tests (Nick Wellnhofer),<br />
|
||||
Avoid out-of-bound array access in API tests (Nick Wellnhofer),<br />
|
||||
Avoid spurious UBSan errors in parser.c (Nick Wellnhofer),<br />
|
||||
Parse small XPath numbers more accurately (Nick Wellnhofer),<br />
|
||||
Rework XPath rounding functions (Nick Wellnhofer),<br />
|
||||
Fix white space in test output (Nick Wellnhofer),<br />
|
||||
Fix axis traversal from attribute and namespace nodes (Nick Wellnhofer),<br />
|
||||
Check for trailing characters in XPath expressions earlier (Nick Wellnhofer),<br />
|
||||
Rework final handling of XPath results (Nick Wellnhofer),<br />
|
||||
Make xmlXPathEvalExpression call xmlXPathEval (Nick Wellnhofer),<br />
|
||||
Remove unused variables (Nick Wellnhofer),<br />
|
||||
Don't print generic error messages in XPath tests (Nick Wellnhofer)<br />
|
||||
</li>
|
||||
|
||||
<li>Cleanups:<br />
|
||||
Fix a couple of misleading indentation errors (Daniel Veillard),<br />
|
||||
Remove unnecessary calls to xmlPopInput (Nick Wellnhofer)<br />
|
||||
</li>
|
||||
</ul><h3>2.9.4: May 23 2016</h3><ul>
|
||||
<li>Security:<br />
|
||||
More format string warnings with possible format string vulnerability (David Kilzer),<br />
|
||||
Avoid building recursive entities (Daniel Veillard),<br />
|
||||
|
126
doc/xml.html
126
doc/xml.html
@ -709,6 +709,132 @@ to the <a href="http://git.gnome.org/browse/libxml2/">GIT</a> code base.</p>
|
||||
|
||||
<p>Here is the list of public releases:</p>
|
||||
|
||||
<h3>v2.9.5: Sep 04 2017</h3>
|
||||
<ul>
|
||||
|
||||
<li>Security:<br/>
|
||||
Detect infinite recursion in parameter entities (Nick Wellnhofer),<br/>
|
||||
Fix handling of parameter-entity references (Nick Wellnhofer),<br/>
|
||||
Disallow namespace nodes in XPointer ranges (Nick Wellnhofer),<br/>
|
||||
Fix XPointer paths beginning with range-to (Nick Wellnhofer)<br/>
|
||||
</li>
|
||||
|
||||
<li>Documentation:<br/>
|
||||
Documentation fixes (Nick Wellnhofer),<br/>
|
||||
Spelling and grammar fixes (Nick Wellnhofer)<br/>
|
||||
</li>
|
||||
|
||||
<li>Portability:<br/>
|
||||
Adding README.zOS to list of extra files for the release (Daniel Veillard),<br/>
|
||||
Description of work needed to compile on zOS (Stéphane Michaut),<br/>
|
||||
Porting libxml2 on zOS encoding of code (Stéphane Michaut),<br/>
|
||||
small changes for OS/400 (Patrick Monnerat),<br/>
|
||||
relaxng.c, xmlschemas.c: Fix build on pre-C99 compilers (Chun-wei Fan)<br/>
|
||||
</li>
|
||||
|
||||
<li>Bug Fixes:<br/>
|
||||
Problem resolving relative URIs (Daniel Veillard),<br/>
|
||||
Fix unwanted warnings when switching encodings (Nick Wellnhofer),<br/>
|
||||
Fix signature of xmlSchemaAugmentImportedIDC (Daniel Veillard),<br/>
|
||||
Heap-buffer-overflow read of size 1 in xmlFAParsePosCharGroup (David Kilzer),<br/>
|
||||
Fix NULL pointer deref in xmlFAParseCharClassEsc (Nick Wellnhofer),<br/>
|
||||
Fix infinite loops with push parser in recovery mode (Nick Wellnhofer),<br/>
|
||||
Send xmllint usage error to stderr (Nick Wellnhofer),<br/>
|
||||
Fix NULL deref in xmlParseExternalEntityPrivate (Nick Wellnhofer),<br/>
|
||||
Make sure not to call IS_BLANK_CH when parsing the DTD (Nick Wellnhofer),<br/>
|
||||
Fix xmlHaltParser (Nick Wellnhofer),<br/>
|
||||
Fix pathological performance when outputting charrefs (Nick Wellnhofer),<br/>
|
||||
Fix invalid-source-encoding warnings in testWriter.c (Nick Wellnhofer),<br/>
|
||||
Fix duplicate SAX callbacks for entity content (David Kilzer),<br/>
|
||||
Treat URIs with scheme as absolute in C14N (Nick Wellnhofer),<br/>
|
||||
Fix copy-paste errors in error messages (Nick Wellnhofer),<br/>
|
||||
Fix sanity check in htmlParseNameComplex (Nick Wellnhofer),<br/>
|
||||
Fix potential infinite loop in xmlStringLenDecodeEntities (Nick Wellnhofer),<br/>
|
||||
Reset parser input pointers on encoding failure (Nick Wellnhofer),<br/>
|
||||
Fix memory leak in xmlParseEntityDecl error path (Nick Wellnhofer),<br/>
|
||||
Fix xmlBuildRelativeURI for URIs starting with './' (Nick Wellnhofer),<br/>
|
||||
Fix type confusion in xmlValidateOneNamespace (Nick Wellnhofer),<br/>
|
||||
Fix memory leak in xmlStringLenGetNodeList (Nick Wellnhofer),<br/>
|
||||
Fix NULL pointer deref in xmlDumpElementContent (Daniel Veillard),<br/>
|
||||
Fix memory leak in xmlBufAttrSerializeTxtContent (Nick Wellnhofer),<br/>
|
||||
Stop parser on unsupported encodings (Nick Wellnhofer),<br/>
|
||||
Check for integer overflow in memory debug code (Nick Wellnhofer),<br/>
|
||||
Fix buffer size checks in xmlSnprintfElementContent (Nick Wellnhofer),<br/>
|
||||
Avoid reparsing in xmlParseStartTag2 (Nick Wellnhofer),<br/>
|
||||
Fix undefined behavior in xmlRegExecPushStringInternal (Nick Wellnhofer),<br/>
|
||||
Check XPath exponents for overflow (Nick Wellnhofer),<br/>
|
||||
Check for overflow in xmlXPathIsPositionalPredicate (Nick Wellnhofer),<br/>
|
||||
Fix spurious error message (Nick Wellnhofer),<br/>
|
||||
Fix memory leak in xmlCanonicPath (Nick Wellnhofer),<br/>
|
||||
Fix memory leak in xmlXPathCompareNodeSetValue (Nick Wellnhofer),<br/>
|
||||
Fix memory leak in pattern error path (Nick Wellnhofer),<br/>
|
||||
Fix memory leak in parser error path (Nick Wellnhofer),<br/>
|
||||
Fix memory leaks in XPointer error paths (Nick Wellnhofer),<br/>
|
||||
Fix memory leak in xmlXPathNodeSetMergeAndClear (Nick Wellnhofer),<br/>
|
||||
Fix memory leak in XPath filter optimizations (Nick Wellnhofer),<br/>
|
||||
Fix memory leaks in XPath error paths (Nick Wellnhofer),<br/>
|
||||
Do not leak the new CData node if adding fails (David Tardon),<br/>
|
||||
Prevent unwanted external entity reference (Neel Mehta),<br/>
|
||||
Increase buffer space for port in HTTP redirect support (Daniel Veillard),<br/>
|
||||
Fix more NULL pointer derefs in xpointer.c (Nick Wellnhofer),<br/>
|
||||
Avoid function/data pointer conversion in xpath.c (Nick Wellnhofer),<br/>
|
||||
Fix format string warnings (Nick Wellnhofer),<br/>
|
||||
Disallow namespace nodes in XPointer points (Nick Wellnhofer),<br/>
|
||||
Fix comparison with root node in xmlXPathCmpNodes (Nick Wellnhofer),<br/>
|
||||
Fix attribute decoding during XML schema validation (Alex Henrie),<br/>
|
||||
Fix NULL pointer deref in XPointer range-to (Nick Wellnhofer)<br/>
|
||||
</li>
|
||||
|
||||
<li>Improvements:<br/>
|
||||
Updating the spec file to reflect Fedora 24 (Daniel Veillard),<br/>
|
||||
Add const in five places to move 1 KiB to .rdata (Bruce Dawson),<br/>
|
||||
Fix missing part of comment for function xmlXPathEvalExpression() (Daniel Veillard),<br/>
|
||||
Get rid of "blanks wrapper" for parameter entities (Nick Wellnhofer),<br/>
|
||||
Simplify handling of parameter entity references (Nick Wellnhofer),<br/>
|
||||
Deduplicate code in encoding.c (Nick Wellnhofer),<br/>
|
||||
Make HTML parser functions take const pointers (Nick Wellnhofer),<br/>
|
||||
Build test programs only when needed (Nick Wellnhofer),<br/>
|
||||
Fix doc/examples/index.py (Nick Wellnhofer),<br/>
|
||||
Fix compiler warnings in threads.c (Nick Wellnhofer),<br/>
|
||||
Fix empty-body warning in nanohttp.c (Nick Wellnhofer),<br/>
|
||||
Fix cast-align warnings (Nick Wellnhofer),<br/>
|
||||
Fix unused-parameter warnings (Nick Wellnhofer),<br/>
|
||||
Rework entity boundary checks (Nick Wellnhofer),<br/>
|
||||
Don't switch encoding for internal parameter entities (Nick Wellnhofer),<br/>
|
||||
Merge duplicate code paths handling PE references (Nick Wellnhofer),<br/>
|
||||
Test SAX2 callbacks with entity substitution (Nick Wellnhofer),<br/>
|
||||
Support catalog and threads tests under --without-sax1 (Nick Wellnhofer),<br/>
|
||||
Misc fixes for 'make tests' (Nick Wellnhofer),<br/>
|
||||
Initialize keepBlanks in HTML parser (Nick Wellnhofer),<br/>
|
||||
Add test cases for bug 758518 (David Kilzer),<br/>
|
||||
Fix compiler warning in htmlParseElementInternal (Nick Wellnhofer),<br/>
|
||||
Remove useless check in xmlParseAttributeListDecl (Nick Wellnhofer),<br/>
|
||||
Allow zero sized memory input buffers (Nick Wellnhofer),<br/>
|
||||
Add TODO comment in xmlSwitchEncoding (Nick Wellnhofer),<br/>
|
||||
Check for integer overflow in xmlXPathFormatNumber (Nick Wellnhofer),<br/>
|
||||
Make Travis print UBSan stacktraces (Nick Wellnhofer),<br/>
|
||||
Add .travis.yml (Nick Wellnhofer),<br/>
|
||||
Fix expected error output in Python tests (Nick Wellnhofer),<br/>
|
||||
Simplify control flow in xmlParseStartTag2 (Nick Wellnhofer),<br/>
|
||||
Disable LeakSanitizer when running API tests (Nick Wellnhofer),<br/>
|
||||
Avoid out-of-bound array access in API tests (Nick Wellnhofer),<br/>
|
||||
Avoid spurious UBSan errors in parser.c (Nick Wellnhofer),<br/>
|
||||
Parse small XPath numbers more accurately (Nick Wellnhofer),<br/>
|
||||
Rework XPath rounding functions (Nick Wellnhofer),<br/>
|
||||
Fix white space in test output (Nick Wellnhofer),<br/>
|
||||
Fix axis traversal from attribute and namespace nodes (Nick Wellnhofer),<br/>
|
||||
Check for trailing characters in XPath expressions earlier (Nick Wellnhofer),<br/>
|
||||
Rework final handling of XPath results (Nick Wellnhofer),<br/>
|
||||
Make xmlXPathEvalExpression call xmlXPathEval (Nick Wellnhofer),<br/>
|
||||
Remove unused variables (Nick Wellnhofer),<br/>
|
||||
Don't print generic error messages in XPath tests (Nick Wellnhofer)<br/>
|
||||
</li>
|
||||
|
||||
<li>Cleanups:<br/>
|
||||
Fix a couple of misleading indentation errors (Daniel Veillard),<br/>
|
||||
Remove unnecessary calls to xmlPopInput (Nick Wellnhofer)<br/>
|
||||
</li>
|
||||
</ul>
|
||||
<h3>2.9.4: May 23 2016</h3>
|
||||
<ul>
|
||||
<li>Security:<br/>
|
||||
|
@ -8,7 +8,7 @@ from distutils.core import setup, Extension
|
||||
# Below ROOT, we expect to find include, include/libxml2, lib and bin.
|
||||
# On *nix, it is not needed (but should not harm),
|
||||
# on Windows, it is set by configure.js.
|
||||
ROOT = r'/usr/local'
|
||||
ROOT = r'/usr'
|
||||
|
||||
# Thread-enabled libxml2
|
||||
with_threads = 1
|
||||
@ -226,7 +226,7 @@ else:
|
||||
setup (name = "libxml2-python",
|
||||
# On *nix, the version number is created from setup.py.in
|
||||
# On windows, it is set by configure.js
|
||||
version = "2.9.4",
|
||||
version = "2.9.5",
|
||||
description = descr,
|
||||
author = "Daniel Veillard",
|
||||
author_email = "veillard@redhat.com",
|
||||
|
16
testapi.c
16
testapi.c
@ -2333,16 +2333,16 @@ test_htmlParseDoc(void) {
|
||||
char * encoding; /* a free form C string describing the HTML document encoding, or NULL */
|
||||
int n_encoding;
|
||||
|
||||
for (n_cur = 0;n_cur < gen_nb_xmlChar_ptr;n_cur++) {
|
||||
for (n_cur = 0;n_cur < gen_nb_const_xmlChar_ptr;n_cur++) {
|
||||
for (n_encoding = 0;n_encoding < gen_nb_const_char_ptr;n_encoding++) {
|
||||
mem_base = xmlMemBlocks();
|
||||
cur = gen_xmlChar_ptr(n_cur, 0);
|
||||
cur = gen_const_xmlChar_ptr(n_cur, 0);
|
||||
encoding = gen_const_char_ptr(n_encoding, 1);
|
||||
|
||||
ret_val = htmlParseDoc(cur, (const char *)encoding);
|
||||
ret_val = htmlParseDoc((const xmlChar *)cur, (const char *)encoding);
|
||||
desret_htmlDocPtr(ret_val);
|
||||
call_tests++;
|
||||
des_xmlChar_ptr(n_cur, cur, 0);
|
||||
des_const_xmlChar_ptr(n_cur, (const xmlChar *)cur, 0);
|
||||
des_const_char_ptr(n_encoding, (const char *)encoding, 1);
|
||||
xmlResetLastError();
|
||||
if (mem_base != xmlMemBlocks()) {
|
||||
@ -2685,20 +2685,20 @@ test_htmlSAXParseDoc(void) {
|
||||
void * userData; /* if using SAX, this pointer will be provided on callbacks. */
|
||||
int n_userData;
|
||||
|
||||
for (n_cur = 0;n_cur < gen_nb_xmlChar_ptr;n_cur++) {
|
||||
for (n_cur = 0;n_cur < gen_nb_const_xmlChar_ptr;n_cur++) {
|
||||
for (n_encoding = 0;n_encoding < gen_nb_const_char_ptr;n_encoding++) {
|
||||
for (n_sax = 0;n_sax < gen_nb_htmlSAXHandlerPtr;n_sax++) {
|
||||
for (n_userData = 0;n_userData < gen_nb_userdata;n_userData++) {
|
||||
mem_base = xmlMemBlocks();
|
||||
cur = gen_xmlChar_ptr(n_cur, 0);
|
||||
cur = gen_const_xmlChar_ptr(n_cur, 0);
|
||||
encoding = gen_const_char_ptr(n_encoding, 1);
|
||||
sax = gen_htmlSAXHandlerPtr(n_sax, 2);
|
||||
userData = gen_userdata(n_userData, 3);
|
||||
|
||||
ret_val = htmlSAXParseDoc(cur, (const char *)encoding, sax, userData);
|
||||
ret_val = htmlSAXParseDoc((const xmlChar *)cur, (const char *)encoding, sax, userData);
|
||||
desret_htmlDocPtr(ret_val);
|
||||
call_tests++;
|
||||
des_xmlChar_ptr(n_cur, cur, 0);
|
||||
des_const_xmlChar_ptr(n_cur, (const xmlChar *)cur, 0);
|
||||
des_const_char_ptr(n_encoding, (const char *)encoding, 1);
|
||||
des_htmlSAXHandlerPtr(n_sax, sax, 2);
|
||||
des_userdata(n_userData, userData, 3);
|
||||
|
Loading…
x
Reference in New Issue
Block a user