updated the docs and prepared a new release 2.6.4 Daniel * configure.in NEWS doc/*: updated the docs and prepared a new release 2.6.4 Daniel
diff --git a/ChangeLog b/ChangeLog index 1f5fcb3..b117430 100644 --- a/ChangeLog +++ b/ChangeLog
@@ -1,3 +1,8 @@ +Wed Dec 24 12:54:25 CET 2003 Daniel Veillard <daniel@veillard.com> + + * configure.in NEWS doc/*: updated the docs and prepared a new + release 2.6.4 + Wed Dec 24 12:07:52 CET 2003 Daniel Veillard <daniel@veillard.com> * legacy.c: remove deprecated warning on startElement()
diff --git a/NEWS b/NEWS index 4ad0f86..eeded5c 100644 --- a/NEWS +++ b/NEWS
@@ -15,10 +15,24 @@ Schemas +2.6.4: Dec 24 2003: + - Windows build fixes (Igor Zlatkovic) + - Some serious XInclude problems reported by Oleg Paraschenko and + - Unix and Makefile packaging fixes (me, William Brack, + - Documentation improvements (John Fleck, William Brack), example fix + (Lucas Brasilino) + - bugfixes: xmlTextReaderExpand() with xmlReaderWalker, XPath handling of + NULL strings (William Brack) , API building reader or parser from + filedescriptor should not close it, changed XPath sorting to be stable + again (William Brack), xmlGetNodePath() generating '(null)' (William + Brack), DTD validation and namespace bug (William Brack), XML Schemas + double inclusion behaviour + + 2.6.3: Dec 10 2003: - documentation updates and cleanup (DV, William Brack, John Fleck) - added a repository of examples, examples from Aleksey Sanin, Dodji - Seketeli, Alfred Mickautsch + Seketeli, Alfred Mickautsch - Windows updates: Mark Vakoc, Igor Zlatkovic, Eric Zurcher, Mingw (Kenneth Haley) - Unicode range checking (William Brack) @@ -35,7 +49,7 @@ namespace change. - XML Schemas improvements: include (Robert Stepanek), import and namespace handling, fixed the regression tests troubles, added examples - based on Eric van der Vlist book, regexp fixes + based on Eric van der Vlist book, regexp fixes - preliminary pattern support for streaming (needed for schemas constraints), added xmlTextReaderPreservePattern() to collect subdocument when streaming.
diff --git a/configure.in b/configure.in index 2b22956..392c597 100644 --- a/configure.in +++ b/configure.in
@@ -6,7 +6,7 @@ LIBXML_MAJOR_VERSION=2 LIBXML_MINOR_VERSION=6 -LIBXML_MICRO_VERSION=3 +LIBXML_MICRO_VERSION=4 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
diff --git a/doc/APIchunk10.html b/doc/APIchunk10.html index 48e2d4f..cb6c270 100644 --- a/doc/APIchunk10.html +++ b/doc/APIchunk10.html
@@ -234,6 +234,7 @@ </dd><dt>checking</dt><dd><a href="html/libxml-xlink.html#xlinkIsLink">xlinkIsLink</a><br /> <a href="html/libxml-tree.html#xmlBufferWriteQuotedString">xmlBufferWriteQuotedString</a><br /> <a href="html/libxml-uri.html#xmlBuildURI">xmlBuildURI</a><br /> +<a href="html/libxml-xmlmemory.html#xmlMemFree">xmlMemFree</a><br /> <a href="html/libxml-encoding.html#xmlUTF8Strlen">xmlUTF8Strlen</a><br /> </dd><dt>checkings</dt><dd><a href="html/libxml-valid.html#xmlValidateOneElement">xmlValidateOneElement</a><br /> </dd><dt>checks</dt><dd><a href="html/libxml-HTMLparser.html#htmlAutoCloseTag">htmlAutoCloseTag</a><br /> @@ -333,7 +334,11 @@ <a href="html/libxml-xmlreader.html#xmlReaderForIO">xmlReaderForIO</a><br /> <a href="html/libxml-xmlreader.html#xmlReaderNewIO">xmlReaderNewIO</a><br /> <a href="html/libxml-xmlreader.html#xmlTextReaderClose">xmlTextReaderClose</a><br /> -</dd><dt>closed</dt><dd><a href="html/libxml-xmlwriter.html#xmlTextWriterEndDocument">xmlTextWriterEndDocument</a><br /> +</dd><dt>closed</dt><dd><a href="html/libxml-parser.html#xmlCtxtReadFd">xmlCtxtReadFd</a><br /> +<a href="html/libxml-parser.html#xmlReadFd">xmlReadFd</a><br /> +<a href="html/libxml-xmlreader.html#xmlReaderForFd">xmlReaderForFd</a><br /> +<a href="html/libxml-xmlreader.html#xmlReaderNewFd">xmlReaderNewFd</a><br /> +<a href="html/libxml-xmlwriter.html#xmlTextWriterEndDocument">xmlTextWriterEndDocument</a><br /> </dd><dt>closes</dt><dd><a href="html/libxml-nanohttp.html#xmlNanoHTTPClose">xmlNanoHTTPClose</a><br /> <a href="html/libxml-nanohttp.html#xmlNanoHTTPSave">xmlNanoHTTPSave</a><br /> </dd><dt>closest</dt><dd><a href="html/libxml-xpathInternals.html#xmlXPathCeilingFunction">xmlXPathCeilingFunction</a><br />
diff --git a/doc/APIchunk12.html b/doc/APIchunk12.html index 21f7efd..1da73a4 100644 --- a/doc/APIchunk12.html +++ b/doc/APIchunk12.html
@@ -222,7 +222,11 @@ <a href="html/libxml-list.html#xmlListDataCompare">xmlListDataCompare</a><br /> </dd><dt>equivalent</dt><dd><a href="html/libxml-xmlmemory.html#xmlMallocAtomicLoc">xmlMallocAtomicLoc</a><br /> <a href="html/libxml-xmlmemory.html#xmlMallocLoc">xmlMallocLoc</a><br /> +<a href="html/libxml-xmlmemory.html#xmlMemFree">xmlMemFree</a><br /> +<a href="html/libxml-xmlmemory.html#xmlMemMalloc">xmlMemMalloc</a><br /> +<a href="html/libxml-xmlmemory.html#xmlMemRealloc">xmlMemRealloc</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-tree.html#xmlNodeListGetRawString">xmlNodeListGetRawString</a><br /> <a href="html/libxml-tree.html#xmlNodeListGetString">xmlNodeListGetString</a><br /> <a href="html/libxml-xmlmemory.html#xmlReallocLoc">xmlReallocLoc</a><br />
diff --git a/doc/APIchunk15.html b/doc/APIchunk15.html index 64df767..784dc8f 100644 --- a/doc/APIchunk15.html +++ b/doc/APIchunk15.html
@@ -228,7 +228,10 @@ <a href="html/libxml-parser.html#xmlInitNodeInfoSeq">xmlInitNodeInfoSeq</a><br /> <a href="html/libxml-xmlmemory.html#xmlMallocAtomicLoc">xmlMallocAtomicLoc</a><br /> <a href="html/libxml-xmlmemory.html#xmlMallocLoc">xmlMallocLoc</a><br /> +<a href="html/libxml-xmlmemory.html#xmlMemMalloc">xmlMemMalloc</a><br /> +<a href="html/libxml-xmlmemory.html#xmlMemRealloc">xmlMemRealloc</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-nanoftp.html#xmlNanoFTPList">xmlNanoFTPList</a><br /> <a href="html/libxml-parser.html#xmlParserAddNodeInfo">xmlParserAddNodeInfo</a><br /> <a href="html/libxml-parser.html#xmlParserFindNodeInfo">xmlParserFindNodeInfo</a><br /> @@ -282,11 +285,15 @@ <a href="html/libxml-parserInternals.html#xmlEntityReferenceFunc">xmlEntityReferenceFunc</a><br /> <a href="html/libxml-tree.html#xmlNodeGetSpacePreserve">xmlNodeGetSpacePreserve</a><br /> <a href="html/libxml-xpathInternals.html#xmlXPathNextAttribute">xmlXPathNextAttribute</a><br /> +</dd><dt>inherits</dt><dd><a href="html/libxml-tree.html#xmlNewChild">xmlNewChild</a><br /> +<a href="html/libxml-tree.html#xmlNewTextChild">xmlNewTextChild</a><br /> </dd><dt>initial</dt><dd><a href="html/libxml-tree.html#_xmlDoc">_xmlDoc</a><br /> <a href="html/libxml-xmlautomata.html#xmlAutomataGetInitState">xmlAutomataGetInitState</a><br /> <a href="html/libxml-tree.html#xmlBufferCreateSize">xmlBufferCreateSize</a><br /> <a href="html/libxml-parser.html#xmlInitNodeInfoSeq">xmlInitNodeInfoSeq</a><br /> +<a href="html/libxml-xmlmemory.html#xmlMemRealloc">xmlMemRealloc</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-xmlmemory.html#xmlReallocLoc">xmlReallocLoc</a><br /> <a href="html/libxml-debugXML.html#xmlShell">xmlShell</a><br /> <a href="html/libxml-xpathInternals.html#xmlXPathNodeSetAdd">xmlXPathNodeSetAdd</a><br /> @@ -366,27 +373,6 @@ <a href="html/libxml-tree.html#xmlNewPI">xmlNewPI</a><br /> <a href="html/libxml-SAX2.html#xmlSAX2ProcessingInstruction">xmlSAX2ProcessingInstruction</a><br /> </dd><dt>insufficient</dt><dd><a href="html/libxml-uri.html#xmlCanonicPath">xmlCanonicPath</a><br /> -</dd><dt>int</dt><dd><a href="html/libxml-parser.html#_xmlParserCtxt">_xmlParserCtxt</a><br /> -<a href="">c</a><br /> -<a href="html/libxml-SAX.html#getColumnNumber">getColumnNumber</a><br /> -<a href="html/libxml-SAX.html#getLineNumber">getLineNumber</a><br /> -<a href="html/libxml-HTMLparser.html#htmlHandleOmittedElem">htmlHandleOmittedElem</a><br /> -<a href="html/libxml-HTMLparser.html#htmlParseCharRef">htmlParseCharRef</a><br /> -<a href="html/libxml-parserInternals.html#xmlIsLetter">xmlIsLetter</a><br /> -<a href="html/libxml-parser.html#xmlKeepBlanksDefault">xmlKeepBlanksDefault</a><br /> -<a href="html/libxml-parser.html#xmlLineNumbersDefault">xmlLineNumbersDefault</a><br /> -<a href="html/libxml-xmlmemory.html#xmlMallocAtomicLoc">xmlMallocAtomicLoc</a><br /> -<a href="html/libxml-xmlmemory.html#xmlMallocLoc">xmlMallocLoc</a><br /> -<a href="html/libxml-xmlmemory.html#xmlMemUsed">xmlMemUsed</a><br /> -<a href="html/libxml-parserInternals.html#xmlParseCharData">xmlParseCharData</a><br /> -<a href="html/libxml-parserInternals.html#xmlParseCharRef">xmlParseCharRef</a><br /> -<a href="html/libxml-parser.html#xmlPedanticParserDefault">xmlPedanticParserDefault</a><br /> -<a href="html/libxml-xmlmemory.html#xmlReallocLoc">xmlReallocLoc</a><br /> -<a href="html/libxml-SAX2.html#xmlSAX2GetColumnNumber">xmlSAX2GetColumnNumber</a><br /> -<a href="html/libxml-SAX2.html#xmlSAX2GetLineNumber">xmlSAX2GetLineNumber</a><br /> -<a href="html/libxml-debugXML.html#xmlShellCmd">xmlShellCmd</a><br /> -<a href="html/libxml-tree.html#xmlSplitQName3">xmlSplitQName3</a><br /> -<a href="html/libxml-parser.html#xmlSubstituteEntitiesDefault">xmlSubstituteEntitiesDefault</a><br /> </dd><dt>integer</dt><dd><a href="html/libxml-parser.html#xmlStrcasecmp">xmlStrcasecmp</a><br /> <a href="html/libxml-parser.html#xmlStrcmp">xmlStrcmp</a><br /> <a href="html/libxml-parser.html#xmlStrncasecmp">xmlStrncasecmp</a><br />
diff --git a/doc/APIchunk16.html b/doc/APIchunk16.html index fc61d02..6f94f87 100644 --- a/doc/APIchunk16.html +++ b/doc/APIchunk16.html
@@ -92,6 +92,8 @@ <a href="html/libxml-encoding.html#xmlCharEncodingOutputFunc">xmlCharEncodingOutputFunc</a><br /> <a href="html/libxml-xmlmemory.html#xmlMallocAtomicLoc">xmlMallocAtomicLoc</a><br /> <a href="html/libxml-xmlmemory.html#xmlMallocLoc">xmlMallocLoc</a><br /> +<a href="html/libxml-xmlmemory.html#xmlMemMalloc">xmlMemMalloc</a><br /> +<a href="html/libxml-xmlmemory.html#xmlMemRealloc">xmlMemRealloc</a><br /> <a href="html/libxml-xmlmemory.html#xmlReallocLoc">xmlReallocLoc</a><br /> </dd><dt>lang</dt><dd><a href="html/libxml-tree.html#xmlNodeGetLang">xmlNodeGetLang</a><br /> <a href="html/libxml-xpathInternals.html#xmlXPathLangFunction">xmlXPathLangFunction</a><br /> @@ -337,7 +339,10 @@ <a href="html/libxml-threads.html#xmlUnlockLibrary">xmlUnlockLibrary</a><br /> </dd><dt>logging</dt><dd><a href="html/libxml-xmlmemory.html#xmlMallocAtomicLoc">xmlMallocAtomicLoc</a><br /> <a href="html/libxml-xmlmemory.html#xmlMallocLoc">xmlMallocLoc</a><br /> +<a href="html/libxml-xmlmemory.html#xmlMemMalloc">xmlMemMalloc</a><br /> +<a href="html/libxml-xmlmemory.html#xmlMemRealloc">xmlMemRealloc</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-xmlmemory.html#xmlReallocLoc">xmlReallocLoc</a><br /> </dd><dt>long</dt><dd><a href="html/libxml-parserInternals.html#IS_BASECHAR">IS_BASECHAR</a><br /> <a href="html/libxml-parserInternals.html#IS_COMBINING">IS_COMBINING</a><br />
diff --git a/doc/APIchunk17.html b/doc/APIchunk17.html index 919e2a4..d587e73 100644 --- a/doc/APIchunk17.html +++ b/doc/APIchunk17.html
@@ -60,6 +60,7 @@ <a href="html/libxml-xmlmemory.html#xmlMallocFunc">xmlMallocFunc</a><br /> <a href="html/libxml-xmlmemory.html#xmlMallocLoc">xmlMallocLoc</a><br /> <a href="html/libxml-xmlmemory.html#xmlMemGet">xmlMemGet</a><br /> +<a href="html/libxml-xmlmemory.html#xmlMemMalloc">xmlMemMalloc</a><br /> <a href="html/libxml-xmlmemory.html#xmlMemSetup">xmlMemSetup</a><br /> </dd><dt>mallocAtomicFunc</dt><dd><a href="html/libxml-xmlmemory.html#xmlGcMemGet">xmlGcMemGet</a><br /> <a href="html/libxml-xmlmemory.html#xmlGcMemSetup">xmlGcMemSetup</a><br />
diff --git a/doc/APIchunk19.html b/doc/APIchunk19.html index 0766df8..6c295b3 100644 --- a/doc/APIchunk19.html +++ b/doc/APIchunk19.html
@@ -60,6 +60,7 @@ </dd><dt>occurences</dt><dd><a href="html/libxml-xmlautomata.html#xmlAutomataNewCountTrans">xmlAutomataNewCountTrans</a><br /> <a href="html/libxml-xmlautomata.html#xmlAutomataNewOnceTrans">xmlAutomataNewOnceTrans</a><br /> </dd><dt>occurred</dt><dd><a href="html/libxml-xmlmemory.html#xmlMemStrdupLoc">xmlMemStrdupLoc</a><br /> +<a href="html/libxml-xmlmemory.html#xmlMemoryStrdup">xmlMemoryStrdup</a><br /> </dd><dt>occurrence</dt><dd><a href="html/libxml-parser.html#xmlStrcasestr">xmlStrcasestr</a><br /> <a href="html/libxml-parser.html#xmlStrchr">xmlStrchr</a><br /> <a href="html/libxml-parser.html#xmlStrstr">xmlStrstr</a><br />
diff --git a/doc/APIchunk20.html b/doc/APIchunk20.html index d7718bb..18ecb35 100644 --- a/doc/APIchunk20.html +++ b/doc/APIchunk20.html
@@ -195,7 +195,8 @@ <a href="html/libxml-xpathInternals.html#xmlXPathBooleanFunction">xmlXPathBooleanFunction</a><br /> <a href="html/libxml-xpathInternals.html#xmlXPathFloorFunction">xmlXPathFloorFunction</a><br /> <a href="html/libxml-xpathInternals.html#xmlXPathStringFunction">xmlXPathStringFunction</a><br /> -</dd><dt>possible</dt><dd><a href="html/libxml-parserInternals.html#xmlCreateEntityParserCtxt">xmlCreateEntityParserCtxt</a><br /> +</dd><dt>possible</dt><dd><a href="html/libxml-schemasInternals.html#_xmlSchemaType">_xmlSchemaType</a><br /> +<a href="html/libxml-parserInternals.html#xmlCreateEntityParserCtxt">xmlCreateEntityParserCtxt</a><br /> <a href="html/libxml-parserInternals.html#xmlParseDefaultDecl">xmlParseDefaultDecl</a><br /> <a href="html/libxml-parserInternals.html#xmlParseExternalID">xmlParseExternalID</a><br /> <a href="html/libxml-tree.html#xmlReconciliateNs">xmlReconciliateNs</a><br />
diff --git a/doc/APIchunk21.html b/doc/APIchunk21.html index af8576f..cc05376 100644 --- a/doc/APIchunk21.html +++ b/doc/APIchunk21.html
@@ -107,7 +107,9 @@ </dd><dt>reached</dt><dd><a href="html/libxml-xmlregexp.html#xmlRegExecPushString">xmlRegExecPushString</a><br /> <a href="html/libxml-xmlregexp.html#xmlRegExecPushString2">xmlRegExecPushString2</a><br /> </dd><dt>readable</dt><dd><a href="html/libxml-parser.html#xmlStrEqual">xmlStrEqual</a><br /> -</dd><dt>reader</dt><dd><a href="html/libxml-xmlreader.html#xmlFreeTextReader">xmlFreeTextReader</a><br /> +</dd><dt>reader</dt><dd><a href="html/libxml-parser.html#xmlCtxtReadFd">xmlCtxtReadFd</a><br /> +<a href="html/libxml-xmlreader.html#xmlFreeTextReader">xmlFreeTextReader</a><br /> +<a href="html/libxml-parser.html#xmlReadFd">xmlReadFd</a><br /> <a href="html/libxml-xmlreader.html#xmlReaderForDoc">xmlReaderForDoc</a><br /> <a href="html/libxml-xmlreader.html#xmlReaderForFd">xmlReaderForFd</a><br /> <a href="html/libxml-xmlreader.html#xmlReaderForFile">xmlReaderForFile</a><br /> @@ -139,6 +141,7 @@ <a href="html/libxml-xmlmemory.html#xmlGcMemGet">xmlGcMemGet</a><br /> <a href="html/libxml-xmlmemory.html#xmlGcMemSetup">xmlGcMemSetup</a><br /> <a href="html/libxml-xmlmemory.html#xmlMemGet">xmlMemGet</a><br /> +<a href="html/libxml-xmlmemory.html#xmlMemRealloc">xmlMemRealloc</a><br /> <a href="html/libxml-xmlmemory.html#xmlMemSetup">xmlMemSetup</a><br /> <a href="html/libxml-xmlmemory.html#xmlReallocFunc">xmlReallocFunc</a><br /> <a href="html/libxml-xmlmemory.html#xmlReallocLoc">xmlReallocLoc</a><br /> @@ -222,6 +225,7 @@ <a href="html/libxml-parserInternals.html#xmlParseAttValue">xmlParseAttValue</a><br /> </dd><dt>redeclared</dt><dd><a href="html/libxml-tree.html#xmlReconciliateNs">xmlReconciliateNs</a><br /> </dd><dt>redefinition</dt><dd><a href="html/libxml-parserInternals.html#xmlErrMemory">xmlErrMemory</a><br /> +</dd><dt>redefinitions</dt><dd><a href="html/libxml-schemasInternals.html#_xmlSchemaType">_xmlSchemaType</a><br /> </dd><dt>redir</dt><dd><a href="html/libxml-nanohttp.html#xmlNanoHTTPMethodRedir">xmlNanoHTTPMethodRedir</a><br /> </dd><dt>redirected</dt><dd><a href="html/libxml-nanohttp.html#xmlNanoHTTPMethodRedir">xmlNanoHTTPMethodRedir</a><br /> <a href="html/libxml-nanohttp.html#xmlNanoHTTPOpenRedir">xmlNanoHTTPOpenRedir</a><br /> @@ -429,9 +433,13 @@ </dd><dt>reserved</dt><dd><a href="html/libxml-tree.html#xmlNewTextChild">xmlNewTextChild</a><br /> <a href="html/libxml-uri.html#xmlURIEscapeStr">xmlURIEscapeStr</a><br /> </dd><dt>reset</dt><dd><a href="html/libxml-xmlerror.html#initGenericErrorDefaultFunc">initGenericErrorDefaultFunc</a><br /> +<a href="html/libxml-parser.html#xmlCtxtReadFd">xmlCtxtReadFd</a><br /> <a href="html/libxml-tree.html#xmlNodeSetBase">xmlNodeSetBase</a><br /> <a href="html/libxml-tree.html#xmlNodeSetName">xmlNodeSetName</a><br /> <a href="html/libxml-tree.html#xmlNodeSetSpacePreserve">xmlNodeSetSpacePreserve</a><br /> +<a href="html/libxml-parser.html#xmlReadFd">xmlReadFd</a><br /> +<a href="html/libxml-xmlreader.html#xmlReaderForFd">xmlReaderForFd</a><br /> +<a href="html/libxml-xmlreader.html#xmlReaderNewFd">xmlReaderNewFd</a><br /> <a href="html/libxml-xmlerror.html#xmlSetGenericErrorFunc">xmlSetGenericErrorFunc</a><br /> <a href="html/libxml-tree.html#xmlSetNsProp">xmlSetNsProp</a><br /> <a href="html/libxml-tree.html#xmlSetProp">xmlSetProp</a><br />
diff --git a/doc/APIchunk22.html b/doc/APIchunk22.html index 0285b35..fff1484 100644 --- a/doc/APIchunk22.html +++ b/doc/APIchunk22.html
@@ -442,6 +442,8 @@ </dd><dt>specify</dt><dd><a href="html/libxml-xmlreader.html#xmlTextReaderLookupNamespace">xmlTextReaderLookupNamespace</a><br /> </dd><dt>specifying</dt><dd><a href="html/libxml-xmlmemory.html#xmlMallocAtomicLoc">xmlMallocAtomicLoc</a><br /> <a href="html/libxml-xmlmemory.html#xmlMallocLoc">xmlMallocLoc</a><br /> +<a href="html/libxml-xmlmemory.html#xmlMemMalloc">xmlMemMalloc</a><br /> +<a href="html/libxml-xmlmemory.html#xmlMemRealloc">xmlMemRealloc</a><br /> <a href="html/libxml-xmlmemory.html#xmlReallocLoc">xmlReallocLoc</a><br /> </dd><dt>speed</dt><dd><a href="html/libxml-xpath.html#xmlXPathOrderDocElems">xmlXPathOrderDocElems</a><br /> </dd><dt>speedup</dt><dd><a href="html/libxml-xmlreader.html#xmlTextReaderConstString">xmlTextReaderConstString</a><br /> @@ -568,6 +570,7 @@ <a href="html/libxml-xmlmemory.html#xmlMemGet">xmlMemGet</a><br /> <a href="html/libxml-xmlmemory.html#xmlMemSetup">xmlMemSetup</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-parser.html#xmlStrdup">xmlStrdup</a><br /> <a href="html/libxml-xmlmemory.html#xmlStrdupFunc">xmlStrdupFunc</a><br /> </dd><dt>stream</dt><dd><a href="html/libxml-parser.html#_xmlParserCtxt">_xmlParserCtxt</a><br />
diff --git a/doc/APIchunk4.html b/doc/APIchunk4.html index 828aa17..2b0672b 100644 --- a/doc/APIchunk4.html +++ b/doc/APIchunk4.html
@@ -179,8 +179,12 @@ </dd><dt>NOTATION</dt><dd><a href="html/libxml-parserInternals.html#xmlParseEnumeratedType">xmlParseEnumeratedType</a><br /> <a href="html/libxml-parserInternals.html#xmlParseNotationType">xmlParseNotationType</a><br /> <a href="html/libxml-valid.html#xmlValidateDtdFinal">xmlValidateDtdFinal</a><br /> -</dd><dt>NOTE</dt><dd><a href="html/libxml-parserInternals.html#xmlParseExternalID">xmlParseExternalID</a><br /> +</dd><dt>NOTE</dt><dd><a href="html/libxml-parser.html#xmlCtxtReadFd">xmlCtxtReadFd</a><br /> +<a href="html/libxml-parserInternals.html#xmlParseExternalID">xmlParseExternalID</a><br /> <a href="html/libxml-parserInternals.html#xmlParseNotationDecl">xmlParseNotationDecl</a><br /> +<a href="html/libxml-parser.html#xmlReadFd">xmlReadFd</a><br /> +<a href="html/libxml-xmlreader.html#xmlReaderForFd">xmlReaderForFd</a><br /> +<a href="html/libxml-xmlreader.html#xmlReaderNewFd">xmlReaderNewFd</a><br /> </dd><dt>NOTE:</dt><dd><a href="html/libxml-parser.html#_xmlParserInput">_xmlParserInput</a><br /> <a href="html/libxml-HTMLtree.html#htmlSetMetaEncoding">htmlSetMetaEncoding</a><br /> <a href="html/libxml-parserInternals.html#xmlCheckLanguageID">xmlCheckLanguageID</a><br />
diff --git a/doc/APIchunk8.html b/doc/APIchunk8.html index f132e03..854a05a 100644 --- a/doc/APIchunk8.html +++ b/doc/APIchunk8.html
@@ -403,6 +403,8 @@ <a href="html/libxml-tree.html#xmlBuildQName">xmlBuildQName</a><br /> <a href="html/libxml-xmlmemory.html#xmlMallocAtomicLoc">xmlMallocAtomicLoc</a><br /> <a href="html/libxml-xmlmemory.html#xmlMallocLoc">xmlMallocLoc</a><br /> +<a href="html/libxml-xmlmemory.html#xmlMemMalloc">xmlMemMalloc</a><br /> +<a href="html/libxml-xmlmemory.html#xmlMemRealloc">xmlMemRealloc</a><br /> <a href="html/libxml-threads.html#xmlNewMutex">xmlNewMutex</a><br /> <a href="html/libxml-threads.html#xmlNewRMutex">xmlNewRMutex</a><br /> <a href="html/libxml-xmlmemory.html#xmlReallocLoc">xmlReallocLoc</a><br /> @@ -411,7 +413,10 @@ <a href="html/libxml-tree.html#xmlGetBufferAllocationScheme">xmlGetBufferAllocationScheme</a><br /> <a href="html/libxml-xmlmemory.html#xmlMallocAtomicLoc">xmlMallocAtomicLoc</a><br /> <a href="html/libxml-xmlmemory.html#xmlMallocLoc">xmlMallocLoc</a><br /> +<a href="html/libxml-xmlmemory.html#xmlMemMalloc">xmlMemMalloc</a><br /> +<a href="html/libxml-xmlmemory.html#xmlMemRealloc">xmlMemRealloc</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-uri.html#xmlNormalizeURIPath">xmlNormalizeURIPath</a><br /> <a href="html/libxml-xmlmemory.html#xmlReallocLoc">xmlReallocLoc</a><br /> <a href="html/libxml-tree.html#xmlSetBufferAllocationScheme">xmlSetBufferAllocationScheme</a><br /> @@ -593,6 +598,8 @@ </dd><dt>area</dt><dd><a href="html/libxml-tree.html#xmlBufferCreateStatic">xmlBufferCreateStatic</a><br /> <a href="html/libxml-xmlmemory.html#xmlMallocAtomicLoc">xmlMallocAtomicLoc</a><br /> <a href="html/libxml-xmlmemory.html#xmlMallocLoc">xmlMallocLoc</a><br /> +<a href="html/libxml-xmlmemory.html#xmlMemMalloc">xmlMemMalloc</a><br /> +<a href="html/libxml-xmlmemory.html#xmlMemRealloc">xmlMemRealloc</a><br /> <a href="html/libxml-xmlIO.html#xmlParserInputBufferCreateMem">xmlParserInputBufferCreateMem</a><br /> <a href="html/libxml-xmlIO.html#xmlParserInputBufferCreateStatic">xmlParserInputBufferCreateStatic</a><br /> <a href="html/libxml-xmlmemory.html#xmlReallocLoc">xmlReallocLoc</a><br />
diff --git a/doc/APIchunk9.html b/doc/APIchunk9.html index 8cb407c..eb26519 100644 --- a/doc/APIchunk9.html +++ b/doc/APIchunk9.html
@@ -269,6 +269,8 @@ <a href="html/libxml-encoding.html#xmlCharEncOutFunc">xmlCharEncOutFunc</a><br /> <a href="html/libxml-xmlmemory.html#xmlMallocAtomicLoc">xmlMallocAtomicLoc</a><br /> <a href="html/libxml-xmlmemory.html#xmlMallocLoc">xmlMallocLoc</a><br /> +<a href="html/libxml-xmlmemory.html#xmlMemMalloc">xmlMemMalloc</a><br /> +<a href="html/libxml-xmlmemory.html#xmlMemRealloc">xmlMemRealloc</a><br /> <a href="html/libxml-nanoftp.html#xmlNanoFTPRead">xmlNanoFTPRead</a><br /> <a href="html/libxml-nanohttp.html#xmlNanoHTTPRead">xmlNanoHTTPRead</a><br /> <a href="html/libxml-xmlIO.html#xmlOutputBufferClose">xmlOutputBufferClose</a><br />
diff --git a/doc/APIconstructors.html b/doc/APIconstructors.html index dbfe0f6..ac23e72 100644 --- a/doc/APIconstructors.html +++ b/doc/APIconstructors.html
@@ -17,7 +17,6 @@ <a href="html/libxml-HTMLtree.html#htmlGetMetaEncoding">htmlGetMetaEncoding</a><br /> <a href="html/libxml-xmlreader.html#xmlTextReaderConstLocalName">xmlTextReaderConstLocalName</a><br /> <a href="html/libxml-parserInternals.html#xmlParseName">xmlParseName</a><br /> -<a href="html/libxml-SAX.html#getSystemId">getSystemId</a><br /> <a href="html/libxml-parserInternals.html#namePop">namePop</a><br /> <a href="html/libxml-parser.html#xmlStrcasestr">xmlStrcasestr</a><br /> <a href="html/libxml-dict.html#xmlDictLookup">xmlDictLookup</a><br /> @@ -27,6 +26,7 @@ <a href="html/libxml-parserInternals.html#xmlParseEncodingDecl">xmlParseEncodingDecl</a><br /> <a href="html/libxml-tree.html#xmlBufferContent">xmlBufferContent</a><br /> <a href="html/libxml-xmlreader.html#xmlTextReaderConstString">xmlTextReaderConstString</a><br /> +<a href="html/libxml-SAX.html#getSystemId">getSystemId</a><br /> <a href="html/libxml-catalog.html#xmlCatalogGetSystem">xmlCatalogGetSystem</a><br /> <a href="html/libxml-SAX2.html#xmlSAX2GetPublicId">xmlSAX2GetPublicId</a><br /> <a href="html/libxml-xmlreader.html#xmlTextReaderConstName">xmlTextReaderConstName</a><br /> @@ -56,6 +56,7 @@ <a href="html/libxml-xpathInternals.html#xmlXPathPopNumber">xmlXPathPopNumber</a><br /> <a href="html/libxml-xpath.html#xmlXPathCastBooleanToNumber">xmlXPathCastBooleanToNumber</a><br /> </p><h2>Type htmlDocPtr:</h2><p><a href="html/libxml-HTMLparser.html#htmlParseDoc">htmlParseDoc</a><br /> +<a href="html/libxml-HTMLparser.html#htmlReadIO">htmlReadIO</a><br /> <a href="html/libxml-HTMLparser.html#htmlCtxtReadFile">htmlCtxtReadFile</a><br /> <a href="html/libxml-HTMLparser.html#htmlSAXParseDoc">htmlSAXParseDoc</a><br /> <a href="html/libxml-HTMLparser.html#htmlCtxtReadFd">htmlCtxtReadFd</a><br /> @@ -69,7 +70,6 @@ <a href="html/libxml-HTMLparser.html#htmlParseFile">htmlParseFile</a><br /> <a href="html/libxml-HTMLparser.html#htmlReadDoc">htmlReadDoc</a><br /> <a href="html/libxml-HTMLtree.html#htmlNewDoc">htmlNewDoc</a><br /> -<a href="html/libxml-HTMLparser.html#htmlReadIO">htmlReadIO</a><br /> <a href="html/libxml-HTMLparser.html#htmlReadFd">htmlReadFd</a><br /> </p><h2>Type htmlParserCtxtPtr:</h2><p><a href="html/libxml-HTMLparser.html#htmlCreatePushParserCtxt">htmlCreatePushParserCtxt</a><br /> <a href="html/libxml-parserInternals.html#htmlCreateFileParserCtxt">htmlCreateFileParserCtxt</a><br /> @@ -156,11 +156,11 @@ <a href="html/libxml-parserInternals.html#xmlScanName">xmlScanName</a><br /> <a href="html/libxml-valid.html#xmlValidCtxtNormalizeAttributeValue">xmlValidCtxtNormalizeAttributeValue</a><br /> <a href="html/libxml-tree.html#xmlGetNoNsProp">xmlGetNoNsProp</a><br /> +<a href="html/libxml-parser.html#xmlStrcat">xmlStrcat</a><br /> <a href="html/libxml-xmlreader.html#xmlTextReaderReadOuterXml">xmlTextReaderReadOuterXml</a><br /> <a href="html/libxml-tree.html#xmlNodeListGetRawString">xmlNodeListGetRawString</a><br /> <a href="html/libxml-xmlreader.html#xmlTextReaderNamespaceUri">xmlTextReaderNamespaceUri</a><br /> <a href="html/libxml-catalog.html#xmlCatalogResolvePublic">xmlCatalogResolvePublic</a><br /> -<a href="html/libxml-parser.html#xmlStrcat">xmlStrcat</a><br /> <a href="html/libxml-xpathInternals.html#xmlXPathPopString">xmlXPathPopString</a><br /> <a href="html/libxml-xmlreader.html#xmlTextReaderReadString">xmlTextReaderReadString</a><br /> <a href="html/libxml-catalog.html#xmlCatalogResolveSystem">xmlCatalogResolveSystem</a><br /> @@ -269,10 +269,10 @@ <a href="html/libxml-parser.html#xmlParseFile">xmlParseFile</a><br /> <a href="html/libxml-xmlreader.html#xmlTextReaderCurrentDoc">xmlTextReaderCurrentDoc</a><br /> <a href="html/libxml-tree.html#xmlNewDoc">xmlNewDoc</a><br /> -</p><h2>Type xmlDtdPtr:</h2><p><a href="html/libxml-tree.html#xmlCopyDtd">xmlCopyDtd</a><br /> +</p><h2>Type xmlDtdPtr:</h2><p><a href="html/libxml-parser.html#xmlIOParseDTD">xmlIOParseDTD</a><br /> +<a href="html/libxml-tree.html#xmlCopyDtd">xmlCopyDtd</a><br /> <a href="html/libxml-tree.html#xmlGetIntSubset">xmlGetIntSubset</a><br /> <a href="html/libxml-tree.html#xmlCreateIntSubset">xmlCreateIntSubset</a><br /> -<a href="html/libxml-parser.html#xmlIOParseDTD">xmlIOParseDTD</a><br /> <a href="html/libxml-parser.html#xmlSAXParseDTD">xmlSAXParseDTD</a><br /> <a href="html/libxml-parser.html#xmlParseDTD">xmlParseDTD</a><br /> <a href="html/libxml-tree.html#xmlNewDtd">xmlNewDtd</a><br />
diff --git a/doc/encoding.html b/doc/encoding.html index ad57821..85af4a3 100644 --- a/doc/encoding.html +++ b/doc/encoding.html
@@ -15,8 +15,8 @@ <li><a href="encoding.html#Default">Default supported encodings</a></li> <li><a href="encoding.html#extend">How to extend the existing support</a></li> -</ol><h3><a name="What" id="What">What does internationalization support mean ?</a></h3><p>If you are not really familiar with Internationalization (usual shortcut is -I18N) , Unicode, characters and glyphs, I suggest you read a <a href="http://www.tbray.org/ongoing/When/200x/2003/04/06/Unicode">presentation</a> +</ol><h3><a name="What" id="What">What does internationalization support mean ?</a></h3><p>If you are not really familiar with Internationalization (usual shortcut +is I18N) , Unicode, characters and glyphs, I suggest you read a <a href="http://www.tbray.org/ongoing/When/200x/2003/04/06/Unicode">presentation</a> by Tim Bray on Unicode and why you should care about it.</p><p>XML was designed from the start to allow the support of any character set by using Unicode. Any conformant XML parser has to support the UTF-8 and UTF-16 default encodings which can both express the full unicode ranges. UTF8
diff --git a/doc/html/libxml-parser.html b/doc/html/libxml-parser.html index 22d54ab..f91e5ea 100644 --- a/doc/html/libxml-parser.html +++ b/doc/html/libxml-parser.html
@@ -390,21 +390,21 @@ </pre><p>Create a parser context for using the XML parser in push mode. If @buffer and @size are non-NULL, the data is used to detect the encoding. The remaining <a href="libxml-SAX.html#characters">characters</a> will be parsed so they don't need to be fed in again through xmlParseChunk. To allow content encoding detection, @size should be >= 4 The value of @filename is used for fetching external entities and error/warning reports.</p> <div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>sax</tt></i>:</span></td><td>a SAX handler</td></tr><tr><td><span class="term"><i><tt>user_data</tt></i>:</span></td><td>The user data returned on SAX callbacks</td></tr><tr><td><span class="term"><i><tt>chunk</tt></i>:</span></td><td>a pointer to an array of chars</td></tr><tr><td><span class="term"><i><tt>size</tt></i>:</span></td><td>number of chars in the array</td></tr><tr><td><span class="term"><i><tt>filename</tt></i>:</span></td><td>an optional file name or URI</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the new parser context or NULL</td></tr></tbody></table></div><h3><a name="xmlCtxtReadDoc" id="xmlCtxtReadDoc"></a>Function: xmlCtxtReadDoc</h3><pre class="programlisting"><a href="libxml-tree.html#xmlDocPtr">xmlDocPtr</a> xmlCtxtReadDoc (<a href="libxml-tree.html#xmlParserCtxtPtr">xmlParserCtxtPtr</a> ctxt, <br /> const <a href="libxml-tree.html#xmlChar">xmlChar</a> * cur, <br /> const char * URL, <br /> const char * encoding, <br /> int options)<br /> </pre><p>parse an XML in-memory document and build a tree. This reuses the existing @ctxt parser context</p> -<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>an XML parser context</td></tr><tr><td><span class="term"><i><tt>cur</tt></i>:</span></td><td>a pointer to a zero terminated string</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 xmlParserOption(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="xmlCtxtReadFd" id="xmlCtxtReadFd"></a>Function: xmlCtxtReadFd</h3><pre class="programlisting"><a href="libxml-tree.html#xmlDocPtr">xmlDocPtr</a> xmlCtxtReadFd (<a href="libxml-tree.html#xmlParserCtxtPtr">xmlParserCtxtPtr</a> ctxt, <br /> int fd, <br /> const char * URL, <br /> const char * encoding, <br /> int options)<br /> -</pre><p>parse an XML from a file descriptor and build a tree. This reuses the existing @ctxt parser context</p> -<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>an XML parser context</td></tr><tr><td><span class="term"><i><tt>fd</tt></i>:</span></td><td>an open file descriptor</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 xmlParserOption(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="xmlCtxtReadFile" id="xmlCtxtReadFile"></a>Function: xmlCtxtReadFile</h3><pre class="programlisting"><a href="libxml-tree.html#xmlDocPtr">xmlDocPtr</a> xmlCtxtReadFile (<a href="libxml-tree.html#xmlParserCtxtPtr">xmlParserCtxtPtr</a> ctxt, <br /> const char * filename, <br /> const char * encoding, <br /> int options)<br /> +<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>an XML parser context</td></tr><tr><td><span class="term"><i><tt>cur</tt></i>:</span></td><td>a pointer to a zero terminated string</td></tr><tr><td><span class="term"><i><tt>URL</tt></i>:</span></td><td>the base URL to use for the document</td></tr><tr><td><span class="term"><i><tt>encoding</tt></i>:</span></td><td>the document encoding, or NULL</td></tr><tr><td><span class="term"><i><tt>options</tt></i>:</span></td><td>a combination of <a href="libxml-parser.html#xmlParserOption">xmlParserOption</a></td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the resulting document tree</td></tr></tbody></table></div><h3><a name="xmlCtxtReadFd" id="xmlCtxtReadFd"></a>Function: xmlCtxtReadFd</h3><pre class="programlisting"><a href="libxml-tree.html#xmlDocPtr">xmlDocPtr</a> xmlCtxtReadFd (<a href="libxml-tree.html#xmlParserCtxtPtr">xmlParserCtxtPtr</a> ctxt, <br /> int fd, <br /> const char * URL, <br /> const char * encoding, <br /> int options)<br /> +</pre><p>parse an XML from a file descriptor and build a tree. This reuses the existing @ctxt parser context NOTE that the file descriptor will not be closed when the reader is closed or reset.</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 XML parser context</td></tr><tr><td><span class="term"><i><tt>fd</tt></i>:</span></td><td>an open file descriptor</td></tr><tr><td><span class="term"><i><tt>URL</tt></i>:</span></td><td>the base URL to use for the document</td></tr><tr><td><span class="term"><i><tt>encoding</tt></i>:</span></td><td>the document encoding, or NULL</td></tr><tr><td><span class="term"><i><tt>options</tt></i>:</span></td><td>a combination of <a href="libxml-parser.html#xmlParserOption">xmlParserOption</a></td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the resulting document tree</td></tr></tbody></table></div><h3><a name="xmlCtxtReadFile" id="xmlCtxtReadFile"></a>Function: xmlCtxtReadFile</h3><pre class="programlisting"><a href="libxml-tree.html#xmlDocPtr">xmlDocPtr</a> xmlCtxtReadFile (<a href="libxml-tree.html#xmlParserCtxtPtr">xmlParserCtxtPtr</a> ctxt, <br /> const char * filename, <br /> const char * encoding, <br /> int options)<br /> </pre><p>parse an XML file from the filesystem or the network. This reuses the existing @ctxt parser context</p> -<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>an XML parser context</td></tr><tr><td><span class="term"><i><tt>filename</tt></i>:</span></td><td>a file or URL</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 xmlParserOption(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="xmlCtxtReadIO" id="xmlCtxtReadIO"></a>Function: xmlCtxtReadIO</h3><pre class="programlisting"><a href="libxml-tree.html#xmlDocPtr">xmlDocPtr</a> xmlCtxtReadIO (<a href="libxml-tree.html#xmlParserCtxtPtr">xmlParserCtxtPtr</a> ctxt, <br /> <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)<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 XML parser context</td></tr><tr><td><span class="term"><i><tt>filename</tt></i>:</span></td><td>a file or URL</td></tr><tr><td><span class="term"><i><tt>encoding</tt></i>:</span></td><td>the document encoding, or NULL</td></tr><tr><td><span class="term"><i><tt>options</tt></i>:</span></td><td>a combination of <a href="libxml-parser.html#xmlParserOption">xmlParserOption</a></td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the resulting document tree</td></tr></tbody></table></div><h3><a name="xmlCtxtReadIO" id="xmlCtxtReadIO"></a>Function: xmlCtxtReadIO</h3><pre class="programlisting"><a href="libxml-tree.html#xmlDocPtr">xmlDocPtr</a> xmlCtxtReadIO (<a href="libxml-tree.html#xmlParserCtxtPtr">xmlParserCtxtPtr</a> ctxt, <br /> <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)<br /> </pre><p>parse an XML document from I/O functions and source and build a tree. This reuses the existing @ctxt parser context</p> -<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>an XML parser context</td></tr><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 xmlParserOption(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="xmlCtxtReadMemory" id="xmlCtxtReadMemory"></a>Function: xmlCtxtReadMemory</h3><pre class="programlisting"><a href="libxml-tree.html#xmlDocPtr">xmlDocPtr</a> xmlCtxtReadMemory (<a href="libxml-tree.html#xmlParserCtxtPtr">xmlParserCtxtPtr</a> ctxt, <br /> const char * buffer, <br /> int size, <br /> const char * URL, <br /> const char * encoding, <br /> int options)<br /> +<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>an XML parser context</td></tr><tr><td><span class="term"><i><tt>ioread</tt></i>:</span></td><td>an I/O read function</td></tr><tr><td><span class="term"><i><tt>ioclose</tt></i>:</span></td><td>an I/O close function</td></tr><tr><td><span class="term"><i><tt>ioctx</tt></i>:</span></td><td>an I/O handler</td></tr><tr><td><span class="term"><i><tt>URL</tt></i>:</span></td><td>the base URL to use for the document</td></tr><tr><td><span class="term"><i><tt>encoding</tt></i>:</span></td><td>the document encoding, or NULL</td></tr><tr><td><span class="term"><i><tt>options</tt></i>:</span></td><td>a combination of <a href="libxml-parser.html#xmlParserOption">xmlParserOption</a></td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the resulting document tree</td></tr></tbody></table></div><h3><a name="xmlCtxtReadMemory" id="xmlCtxtReadMemory"></a>Function: xmlCtxtReadMemory</h3><pre class="programlisting"><a href="libxml-tree.html#xmlDocPtr">xmlDocPtr</a> xmlCtxtReadMemory (<a href="libxml-tree.html#xmlParserCtxtPtr">xmlParserCtxtPtr</a> ctxt, <br /> 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. This reuses the existing @ctxt parser context</p> -<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>an XML parser context</td></tr><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 xmlParserOption(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="xmlCtxtReset" id="xmlCtxtReset"></a>Function: xmlCtxtReset</h3><pre class="programlisting">void xmlCtxtReset (<a href="libxml-tree.html#xmlParserCtxtPtr">xmlParserCtxtPtr</a> ctxt)<br /> +<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>an XML parser context</td></tr><tr><td><span class="term"><i><tt>buffer</tt></i>:</span></td><td>a pointer to a char array</td></tr><tr><td><span class="term"><i><tt>size</tt></i>:</span></td><td>the size of the array</td></tr><tr><td><span class="term"><i><tt>URL</tt></i>:</span></td><td>the base URL to use for the document</td></tr><tr><td><span class="term"><i><tt>encoding</tt></i>:</span></td><td>the document encoding, or NULL</td></tr><tr><td><span class="term"><i><tt>options</tt></i>:</span></td><td>a combination of <a href="libxml-parser.html#xmlParserOption">xmlParserOption</a></td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the resulting document tree</td></tr></tbody></table></div><h3><a name="xmlCtxtReset" id="xmlCtxtReset"></a>Function: xmlCtxtReset</h3><pre class="programlisting">void xmlCtxtReset (<a href="libxml-tree.html#xmlParserCtxtPtr">xmlParserCtxtPtr</a> ctxt)<br /> </pre><p>Reset a parser context</p> <div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>an XML parser context</td></tr></tbody></table></div><h3><a name="xmlCtxtResetPush" id="xmlCtxtResetPush"></a>Function: xmlCtxtResetPush</h3><pre class="programlisting">int xmlCtxtResetPush (<a href="libxml-tree.html#xmlParserCtxtPtr">xmlParserCtxtPtr</a> ctxt, <br /> const char * chunk, <br /> int size, <br /> const char * filename, <br /> const char * encoding)<br /> </pre><p>Reset a push parser context</p> <div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>an XML parser context</td></tr><tr><td><span class="term"><i><tt>chunk</tt></i>:</span></td><td>a pointer to an array of chars</td></tr><tr><td><span class="term"><i><tt>size</tt></i>:</span></td><td>number of chars in the array</td></tr><tr><td><span class="term"><i><tt>filename</tt></i>:</span></td><td>an optional file name or URI</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>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="xmlCtxtUseOptions" id="xmlCtxtUseOptions"></a>Function: xmlCtxtUseOptions</h3><pre class="programlisting">int xmlCtxtUseOptions (<a href="libxml-tree.html#xmlParserCtxtPtr">xmlParserCtxtPtr</a> ctxt, <br /> int options)<br /> </pre><p>Applies the options to the parser context</p> -<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>an XML parser context</td></tr><tr><td><span class="term"><i><tt>options</tt></i>:</span></td><td>a combination of xmlParserOption(s)</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>0 in case of success, the set of unknown or unimplemented options in case of error.</td></tr></tbody></table></div><h3><a name="xmlExternalEntityLoader" id="xmlExternalEntityLoader"></a>Function type: xmlExternalEntityLoader</h3><pre class="programlisting">Function type: xmlExternalEntityLoader +<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>an XML parser context</td></tr><tr><td><span class="term"><i><tt>options</tt></i>:</span></td><td>a combination of <a href="libxml-parser.html#xmlParserOption">xmlParserOption</a></td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>0 in case of success, the set of unknown or unimplemented options in case of error.</td></tr></tbody></table></div><h3><a name="xmlExternalEntityLoader" id="xmlExternalEntityLoader"></a>Function type: xmlExternalEntityLoader</h3><pre class="programlisting">Function type: xmlExternalEntityLoader <a href="libxml-tree.html#xmlParserInputPtr">xmlParserInputPtr</a> xmlExternalEntityLoader (const char * URL, <br /> const char * ID, <br /> <a href="libxml-tree.html#xmlParserCtxtPtr">xmlParserCtxtPtr</a> context) </pre><p>External entity loaders types.</p><div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>URL</tt></i>:</span></td><td>The System ID of the resource requested</td></tr><tr><td><span class="term"><i><tt>ID</tt></i>:</span></td><td>The Public ID of the resource requested</td></tr><tr><td><span class="term"><i><tt>context</tt></i>:</span></td><td>the XML parser context</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the entity input parser.</td></tr></tbody></table></div><br /> <h3><a name="xmlFreeParserCtxt" id="xmlFreeParserCtxt"></a>Function: xmlFreeParserCtxt</h3><pre class="programlisting">void xmlFreeParserCtxt (<a href="libxml-tree.html#xmlParserCtxtPtr">xmlParserCtxtPtr</a> ctxt)<br /> @@ -474,15 +474,15 @@ </pre><p>Set and return the previous value for enabling pedantic warnings.</p> <div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>val</tt></i>:</span></td><td>int 0 or 1</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the last value for 0 for no substitution, 1 for substitution.</td></tr></tbody></table></div><h3><a name="xmlReadDoc" id="xmlReadDoc"></a>Function: xmlReadDoc</h3><pre class="programlisting"><a href="libxml-tree.html#xmlDocPtr">xmlDocPtr</a> xmlReadDoc (const <a href="libxml-tree.html#xmlChar">xmlChar</a> * cur, <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>cur</tt></i>:</span></td><td>a pointer to a zero terminated string</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 xmlParserOption(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="xmlReadFd" id="xmlReadFd"></a>Function: xmlReadFd</h3><pre class="programlisting"><a href="libxml-tree.html#xmlDocPtr">xmlDocPtr</a> xmlReadFd (int fd, <br /> const char * URL, <br /> const char * encoding, <br /> int options)<br /> -</pre><p>parse an XML from a file descriptor and build a tree.</p> -<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>fd</tt></i>:</span></td><td>an open file descriptor</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 xmlParserOption(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="xmlReadFile" id="xmlReadFile"></a>Function: xmlReadFile</h3><pre class="programlisting"><a href="libxml-tree.html#xmlDocPtr">xmlDocPtr</a> xmlReadFile (const char * filename, <br /> const char * encoding, <br /> int options)<br /> +<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 a zero terminated string</td></tr><tr><td><span class="term"><i><tt>URL</tt></i>:</span></td><td>the base URL to use for the document</td></tr><tr><td><span class="term"><i><tt>encoding</tt></i>:</span></td><td>the document encoding, or NULL</td></tr><tr><td><span class="term"><i><tt>options</tt></i>:</span></td><td>a combination of <a href="libxml-parser.html#xmlParserOption">xmlParserOption</a></td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the resulting document tree</td></tr></tbody></table></div><h3><a name="xmlReadFd" id="xmlReadFd"></a>Function: xmlReadFd</h3><pre class="programlisting"><a href="libxml-tree.html#xmlDocPtr">xmlDocPtr</a> xmlReadFd (int fd, <br /> const char * URL, <br /> const char * encoding, <br /> int options)<br /> +</pre><p>parse an XML from a file descriptor and build a tree. NOTE that the file descriptor will not be closed when the reader is closed or reset.</p> +<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>fd</tt></i>:</span></td><td>an open file descriptor</td></tr><tr><td><span class="term"><i><tt>URL</tt></i>:</span></td><td>the base URL to use for the document</td></tr><tr><td><span class="term"><i><tt>encoding</tt></i>:</span></td><td>the document encoding, or NULL</td></tr><tr><td><span class="term"><i><tt>options</tt></i>:</span></td><td>a combination of <a href="libxml-parser.html#xmlParserOption">xmlParserOption</a></td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the resulting document tree</td></tr></tbody></table></div><h3><a name="xmlReadFile" id="xmlReadFile"></a>Function: xmlReadFile</h3><pre class="programlisting"><a href="libxml-tree.html#xmlDocPtr">xmlDocPtr</a> xmlReadFile (const char * filename, <br /> const char * encoding, <br /> int options)<br /> </pre><p>parse an XML file from the filesystem or the network.</p> -<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>filename</tt></i>:</span></td><td>a file or URL</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 xmlParserOption(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="xmlReadIO" id="xmlReadIO"></a>Function: xmlReadIO</h3><pre class="programlisting"><a href="libxml-tree.html#xmlDocPtr">xmlDocPtr</a> xmlReadIO (<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)<br /> +<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>filename</tt></i>:</span></td><td>a file or URL</td></tr><tr><td><span class="term"><i><tt>encoding</tt></i>:</span></td><td>the document encoding, or NULL</td></tr><tr><td><span class="term"><i><tt>options</tt></i>:</span></td><td>a combination of <a href="libxml-parser.html#xmlParserOption">xmlParserOption</a></td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the resulting document tree</td></tr></tbody></table></div><h3><a name="xmlReadIO" id="xmlReadIO"></a>Function: xmlReadIO</h3><pre class="programlisting"><a href="libxml-tree.html#xmlDocPtr">xmlDocPtr</a> xmlReadIO (<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)<br /> </pre><p>parse an XML document from I/O functions and source and build a tree.</p> -<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>ioread</tt></i>:</span></td><td>an I/O read function</td></tr><tr><td><span class="term"><i><tt>ioclose</tt></i>:</span></td><td>an I/O close function</td></tr><tr><td><span class="term"><i><tt>ioctx</tt></i>:</span></td><td>an I/O handler</td></tr><tr><td><span class="term"><i><tt>URL</tt></i>:</span></td><td>the base URL to use for the document</td></tr><tr><td><span class="term"><i><tt>encoding</tt></i>:</span></td><td>the document encoding, or NULL</td></tr><tr><td><span class="term"><i><tt>options</tt></i>:</span></td><td>a combination of xmlParserOption(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="xmlReadMemory" id="xmlReadMemory"></a>Function: xmlReadMemory</h3><pre class="programlisting"><a href="libxml-tree.html#xmlDocPtr">xmlDocPtr</a> xmlReadMemory (const char * buffer, <br /> int size, <br /> const char * URL, <br /> const char * encoding, <br /> int options)<br /> +<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>ioread</tt></i>:</span></td><td>an I/O read function</td></tr><tr><td><span class="term"><i><tt>ioclose</tt></i>:</span></td><td>an I/O close function</td></tr><tr><td><span class="term"><i><tt>ioctx</tt></i>:</span></td><td>an I/O handler</td></tr><tr><td><span class="term"><i><tt>URL</tt></i>:</span></td><td>the base URL to use for the document</td></tr><tr><td><span class="term"><i><tt>encoding</tt></i>:</span></td><td>the document encoding, or NULL</td></tr><tr><td><span class="term"><i><tt>options</tt></i>:</span></td><td>a combination of <a href="libxml-parser.html#xmlParserOption">xmlParserOption</a></td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the resulting document tree</td></tr></tbody></table></div><h3><a name="xmlReadMemory" id="xmlReadMemory"></a>Function: xmlReadMemory</h3><pre class="programlisting"><a href="libxml-tree.html#xmlDocPtr">xmlDocPtr</a> xmlReadMemory (const char * buffer, <br /> int size, <br /> const char * URL, <br /> const char * encoding, <br /> int options)<br /> </pre><p>parse an XML in-memory document and build a tree.</p> -<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>buffer</tt></i>:</span></td><td>a pointer to a char array</td></tr><tr><td><span class="term"><i><tt>size</tt></i>:</span></td><td>the size of the array</td></tr><tr><td><span class="term"><i><tt>URL</tt></i>:</span></td><td>the base URL to use for the document</td></tr><tr><td><span class="term"><i><tt>encoding</tt></i>:</span></td><td>the document encoding, or NULL</td></tr><tr><td><span class="term"><i><tt>options</tt></i>:</span></td><td>a combination of xmlParserOption(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="xmlRecoverDoc" id="xmlRecoverDoc"></a>Function: xmlRecoverDoc</h3><pre class="programlisting"><a href="libxml-tree.html#xmlDocPtr">xmlDocPtr</a> xmlRecoverDoc (<a href="libxml-tree.html#xmlChar">xmlChar</a> * cur)<br /> +<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>buffer</tt></i>:</span></td><td>a pointer to a char array</td></tr><tr><td><span class="term"><i><tt>size</tt></i>:</span></td><td>the size of the array</td></tr><tr><td><span class="term"><i><tt>URL</tt></i>:</span></td><td>the base URL to use for the document</td></tr><tr><td><span class="term"><i><tt>encoding</tt></i>:</span></td><td>the document encoding, or NULL</td></tr><tr><td><span class="term"><i><tt>options</tt></i>:</span></td><td>a combination of <a href="libxml-parser.html#xmlParserOption">xmlParserOption</a></td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the resulting document tree</td></tr></tbody></table></div><h3><a name="xmlRecoverDoc" id="xmlRecoverDoc"></a>Function: xmlRecoverDoc</h3><pre class="programlisting"><a href="libxml-tree.html#xmlDocPtr">xmlDocPtr</a> xmlRecoverDoc (<a href="libxml-tree.html#xmlChar">xmlChar</a> * cur)<br /> </pre><p>parse an XML in-memory document and build a tree. In the case the document is not Well Formed, a tree is built anyway</p> <div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>cur</tt></i>:</span></td><td>a pointer to an array of <a href="libxml-tree.html#xmlChar">xmlChar</a></td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the resulting document tree</td></tr></tbody></table></div><h3><a name="xmlRecoverFile" id="xmlRecoverFile"></a>Function: xmlRecoverFile</h3><pre class="programlisting"><a href="libxml-tree.html#xmlDocPtr">xmlDocPtr</a> xmlRecoverFile (const char * filename)<br /> </pre><p>parse an XML file and build a tree. Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time. In the case the document is not Well Formed, a tree is built anyway</p>
diff --git a/doc/html/libxml-parserInternals.html b/doc/html/libxml-parserInternals.html index c722d96..44e363b 100644 --- a/doc/html/libxml-parserInternals.html +++ b/doc/html/libxml-parserInternals.html
@@ -160,7 +160,7 @@ </pre><p>Create a parser context for an XML in-memory document.</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>Returns</tt></i>:</span></td><td>the new parser context or NULL</td></tr></tbody></table></div><h3><a name="xmlCreateURLParserCtxt" id="xmlCreateURLParserCtxt"></a>Function: xmlCreateURLParserCtxt</h3><pre class="programlisting"><a href="libxml-tree.html#xmlParserCtxtPtr">xmlParserCtxtPtr</a> xmlCreateURLParserCtxt (const char * filename, <br /> int options)<br /> </pre><p>Create a parser context for a file or URL content. Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time and for file accesses</p> -<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>filename</tt></i>:</span></td><td>the filename or URL</td></tr><tr><td><span class="term"><i><tt>options</tt></i>:</span></td><td>a combination of xmlParserOption(s)</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the new parser context or NULL</td></tr></tbody></table></div><h3><a name="xmlCurrentChar" id="xmlCurrentChar"></a>Function: xmlCurrentChar</h3><pre class="programlisting">int xmlCurrentChar (<a href="libxml-tree.html#xmlParserCtxtPtr">xmlParserCtxtPtr</a> ctxt, <br /> int * len)<br /> +<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>filename</tt></i>:</span></td><td>the filename or URL</td></tr><tr><td><span class="term"><i><tt>options</tt></i>:</span></td><td>a combination of <a href="libxml-parser.html#xmlParserOption">xmlParserOption</a></td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the new parser context or NULL</td></tr></tbody></table></div><h3><a name="xmlCurrentChar" id="xmlCurrentChar"></a>Function: xmlCurrentChar</h3><pre class="programlisting">int xmlCurrentChar (<a href="libxml-tree.html#xmlParserCtxtPtr">xmlParserCtxtPtr</a> ctxt, <br /> int * len)<br /> </pre><p>The current char value, if using UTF-8 this may actually span multiple bytes in the input buffer. Implement the end of line normalization: 2.11 End-of-Line Handling Wherever an external parsed entity or the literal entity value of an internal parsed entity contains either the literal two-character sequence "#xD#xA" or a standalone literal #xD, an XML processor must pass to the application the single character #xA. This behavior can conveniently be produced by normalizing all line breaks to #xA on input, before parsing.)</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 XML parser context</td></tr><tr><td><span class="term"><i><tt>len</tt></i>:</span></td><td>pointer to the length of the char read</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the current char value and its length</td></tr></tbody></table></div><h3><a name="xmlDecodeEntities" id="xmlDecodeEntities"></a>Function: xmlDecodeEntities</h3><pre class="programlisting"><a href="libxml-tree.html#xmlChar">xmlChar</a> * xmlDecodeEntities (<a href="libxml-tree.html#xmlParserCtxtPtr">xmlParserCtxtPtr</a> ctxt, <br /> int len, <br /> int what, <br /> <a href="libxml-tree.html#xmlChar">xmlChar</a> end, <br /> <a href="libxml-tree.html#xmlChar">xmlChar</a> end2, <br /> <a href="libxml-tree.html#xmlChar">xmlChar</a> end3)<br /> </pre><p>This function is deprecated, we now always process entities content through <a href="libxml-parserInternals.html#xmlStringDecodeEntities">xmlStringDecodeEntities</a> TODO: remove it in next major release. [67] Reference ::= EntityRef | CharRef [69] PEReference ::= '%' Name ';'</p>
diff --git a/doc/html/libxml-schemasInternals.html b/doc/html/libxml-schemasInternals.html index f8b7bc0..1096495 100644 --- a/doc/html/libxml-schemasInternals.html +++ b/doc/html/libxml-schemasInternals.html
@@ -149,6 +149,7 @@ const <a href="libxml-tree.html#xmlChar">xmlChar</a> * baseNs <a href="libxml-schemasInternals.html#xmlSchemaTypePtr">xmlSchemaTypePtr</a> baseType <a href="libxml-schemasInternals.html#xmlSchemaFacetPtr">xmlSchemaFacetPtr</a> facets + struct _xmlSchemaType * redef : possible redefinitions for the type }</pre><h3>Enum <a name="xmlSchemaTypeType" id="xmlSchemaTypeType">xmlSchemaTypeType</a></h3><pre class="programlisting">Enum xmlSchemaTypeType { <a name="XML_SCHEMA_TYPE_BASIC" id="XML_SCHEMA_TYPE_BASIC">XML_SCHEMA_TYPE_BASIC</a> = 1 <a name="XML_SCHEMA_TYPE_ANY" id="XML_SCHEMA_TYPE_ANY">XML_SCHEMA_TYPE_ANY</a> = 2
diff --git a/doc/html/libxml-tree.html b/doc/html/libxml-tree.html index a6bf587..48ce853 100644 --- a/doc/html/libxml-tree.html +++ b/doc/html/libxml-tree.html
@@ -729,7 +729,7 @@ <div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>doc</tt></i>:</span></td><td>the document</td></tr><tr><td><span class="term"><i><tt>content</tt></i>:</span></td><td>the CDATA block content content</td></tr><tr><td><span class="term"><i><tt>len</tt></i>:</span></td><td>the length of the block</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>a pointer to the new node object.</td></tr></tbody></table></div><h3><a name="xmlNewCharRef" id="xmlNewCharRef"></a>Function: xmlNewCharRef</h3><pre class="programlisting"><a href="libxml-tree.html#xmlNodePtr">xmlNodePtr</a> xmlNewCharRef (<a href="libxml-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br /> const <a href="libxml-tree.html#xmlChar">xmlChar</a> * name)<br /> </pre><p>Creation of a new character <a href="libxml-SAX.html#reference">reference</a> node.</p> <div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>doc</tt></i>:</span></td><td>the document</td></tr><tr><td><span class="term"><i><tt>name</tt></i>:</span></td><td>the char ref string, starting with # or "&# ... ;"</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>a pointer to the new node object.</td></tr></tbody></table></div><h3><a name="xmlNewChild" id="xmlNewChild"></a>Function: xmlNewChild</h3><pre class="programlisting"><a href="libxml-tree.html#xmlNodePtr">xmlNodePtr</a> xmlNewChild (<a href="libxml-tree.html#xmlNodePtr">xmlNodePtr</a> parent, <br /> <a href="libxml-tree.html#xmlNsPtr">xmlNsPtr</a> ns, <br /> const <a href="libxml-tree.html#xmlChar">xmlChar</a> * name, <br /> const <a href="libxml-tree.html#xmlChar">xmlChar</a> * content)<br /> -</pre><p>Creation of a new child element, added at the end of @parent children list. @ns and @content parameters are optional (NULL). If @content is non NULL, a child list containing the TEXTs and ENTITY_REFs node will be created. NOTE: @content is supposed to be a piece of XML CDATA, so it allows entity references. XML special chars must be escaped first by using xmlEncodeEntitiesReentrant(), or xmlNewTextChild() should be used.</p> +</pre><p>Creation of a new child element, added at the end of @parent children list. @ns and @content parameters are optional (NULL). If @ns is NULL, the newly created element inherits the namespace of @parent. If @content is non NULL, a child list containing the TEXTs and ENTITY_REFs node will be created. NOTE: @content is supposed to be a piece of XML CDATA, so it allows entity references. XML special chars must be escaped first by using xmlEncodeEntitiesReentrant(), or xmlNewTextChild() should be used.</p> <div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>parent</tt></i>:</span></td><td>the parent node</td></tr><tr><td><span class="term"><i><tt>ns</tt></i>:</span></td><td>a namespace if any</td></tr><tr><td><span class="term"><i><tt>name</tt></i>:</span></td><td>the name of the child</td></tr><tr><td><span class="term"><i><tt>content</tt></i>:</span></td><td>the XML content of the child if any.</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>a pointer to the new node object.</td></tr></tbody></table></div><h3><a name="xmlNewComment" id="xmlNewComment"></a>Function: xmlNewComment</h3><pre class="programlisting"><a href="libxml-tree.html#xmlNodePtr">xmlNodePtr</a> xmlNewComment (const <a href="libxml-tree.html#xmlChar">xmlChar</a> * content)<br /> </pre><p>Creation of a new node containing a comment.</p> <div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>content</tt></i>:</span></td><td>the <a href="libxml-SAX.html#comment">comment</a> content</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>a pointer to the new node object.</td></tr></tbody></table></div><h3><a name="xmlNewDoc" id="xmlNewDoc"></a>Function: xmlNewDoc</h3><pre class="programlisting"><a href="libxml-tree.html#xmlDocPtr">xmlDocPtr</a> xmlNewDoc (const <a href="libxml-tree.html#xmlChar">xmlChar</a> * version)<br /> @@ -773,7 +773,7 @@ <div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>doc</tt></i>:</span></td><td>the document</td></tr><tr><td><span class="term"><i><tt>name</tt></i>:</span></td><td>the <a href="libxml-SAX.html#reference">reference</a> name, or the <a href="libxml-SAX.html#reference">reference</a> string with & and ;</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>a pointer to the new node object.</td></tr></tbody></table></div><h3><a name="xmlNewText" id="xmlNewText"></a>Function: xmlNewText</h3><pre class="programlisting"><a href="libxml-tree.html#xmlNodePtr">xmlNodePtr</a> xmlNewText (const <a href="libxml-tree.html#xmlChar">xmlChar</a> * content)<br /> </pre><p>Creation of a new text node.</p> <div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>content</tt></i>:</span></td><td>the text content</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>a pointer to the new node object.</td></tr></tbody></table></div><h3><a name="xmlNewTextChild" id="xmlNewTextChild"></a>Function: xmlNewTextChild</h3><pre class="programlisting"><a href="libxml-tree.html#xmlNodePtr">xmlNodePtr</a> xmlNewTextChild (<a href="libxml-tree.html#xmlNodePtr">xmlNodePtr</a> parent, <br /> <a href="libxml-tree.html#xmlNsPtr">xmlNsPtr</a> ns, <br /> const <a href="libxml-tree.html#xmlChar">xmlChar</a> * name, <br /> const <a href="libxml-tree.html#xmlChar">xmlChar</a> * content)<br /> -</pre><p>Creation of a new child element, added at the end of @parent children list. @ns and @content parameters are optional (NULL). If @content is non NULL, a child TEXT node will be created containing the string @content. NOTE: Use xmlNewChild() if @content will contain entities that need to be preserved. Use this function, xmlNewTextChild(), if you need to ensure that reserved XML chars that might appear in @content, such as the ampersand, greater-than or less-than signs, are automatically replaced by their XML escaped entity representations.</p> +</pre><p>Creation of a new child element, added at the end of @parent children list. @ns and @content parameters are optional (NULL). If @ns is NULL, the newly created element inherits the namespace of @parent. If @content is non NULL, a child TEXT node will be created containing the string @content. NOTE: Use xmlNewChild() if @content will contain entities that need to be preserved. Use this function, xmlNewTextChild(), if you need to ensure that reserved XML chars that might appear in @content, such as the ampersand, greater-than or less-than signs, are automatically replaced by their XML escaped entity representations.</p> <div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>parent</tt></i>:</span></td><td>the parent node</td></tr><tr><td><span class="term"><i><tt>ns</tt></i>:</span></td><td>a namespace if any</td></tr><tr><td><span class="term"><i><tt>name</tt></i>:</span></td><td>the name of the child</td></tr><tr><td><span class="term"><i><tt>content</tt></i>:</span></td><td>the text content of the child if any.</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>a pointer to the new node object.</td></tr></tbody></table></div><h3><a name="xmlNewTextLen" id="xmlNewTextLen"></a>Function: xmlNewTextLen</h3><pre class="programlisting"><a href="libxml-tree.html#xmlNodePtr">xmlNodePtr</a> xmlNewTextLen (const <a href="libxml-tree.html#xmlChar">xmlChar</a> * content, <br /> int len)<br /> </pre><p>Creation of a new text node with an extra parameter for the content's length</p> <div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>content</tt></i>:</span></td><td>the text content</td></tr><tr><td><span class="term"><i><tt>len</tt></i>:</span></td><td>the text len.</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>a pointer to the new node object.</td></tr></tbody></table></div><h3><a name="xmlNodeAddContent" id="xmlNodeAddContent"></a>Function: xmlNodeAddContent</h3><pre class="programlisting">void xmlNodeAddContent (<a href="libxml-tree.html#xmlNodePtr">xmlNodePtr</a> cur, <br /> const <a href="libxml-tree.html#xmlChar">xmlChar</a> * content)<br />
diff --git a/doc/html/libxml-xmlmemory.html b/doc/html/libxml-xmlmemory.html index 2f8462f..746188b 100644 --- a/doc/html/libxml-xmlmemory.html +++ b/doc/html/libxml-xmlmemory.html
@@ -68,14 +68,14 @@ <div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>size</tt></i>:</span></td><td>an int specifying the size in byte to allocate.</td></tr><tr><td><span class="term"><i><tt>file</tt></i>:</span></td><td>the file name or NULL</td></tr><tr><td><span class="term"><i><tt>line</tt></i>:</span></td><td>the line number</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>a pointer to the allocated area or NULL in case of lack of memory.</td></tr></tbody></table></div><h3><a name="xmlMemDisplay" id="xmlMemDisplay"></a>Function: xmlMemDisplay</h3><pre class="programlisting">void xmlMemDisplay (FILE * fp)<br /> </pre><p>show in-extenso the memory blocks allocated</p> <div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>fp</tt></i>:</span></td><td>a FILE descriptor used as the output file, if NULL, the result is written to the file .memorylist</td></tr></tbody></table></div><h3><a name="xmlMemFree" id="xmlMemFree"></a>Function: xmlMemFree</h3><pre class="programlisting">void xmlMemFree (void * ptr)<br /> -</pre><p></p> -<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>ptr</tt></i>:</span></td><td></td></tr></tbody></table></div><h3><a name="xmlMemGet" id="xmlMemGet"></a>Function: xmlMemGet</h3><pre class="programlisting">int xmlMemGet (<a href="libxml-xmlmemory.html#xmlFreeFunc">xmlFreeFunc</a> * freeFunc, <br /> <a href="libxml-xmlmemory.html#xmlMallocFunc">xmlMallocFunc</a> * mallocFunc, <br /> <a href="libxml-xmlmemory.html#xmlReallocFunc">xmlReallocFunc</a> * reallocFunc, <br /> <a href="libxml-xmlmemory.html#xmlStrdupFunc">xmlStrdupFunc</a> * strdupFunc)<br /> +</pre><p>a free() equivalent, with error checking.</p> +<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>ptr</tt></i>:</span></td><td>the memory block pointer</td></tr></tbody></table></div><h3><a name="xmlMemGet" id="xmlMemGet"></a>Function: xmlMemGet</h3><pre class="programlisting">int xmlMemGet (<a href="libxml-xmlmemory.html#xmlFreeFunc">xmlFreeFunc</a> * freeFunc, <br /> <a href="libxml-xmlmemory.html#xmlMallocFunc">xmlMallocFunc</a> * mallocFunc, <br /> <a href="libxml-xmlmemory.html#xmlReallocFunc">xmlReallocFunc</a> * reallocFunc, <br /> <a href="libxml-xmlmemory.html#xmlStrdupFunc">xmlStrdupFunc</a> * strdupFunc)<br /> </pre><p>Provides the memory access functions set currently in use</p> <div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>freeFunc</tt></i>:</span></td><td>place to save the free() function in use</td></tr><tr><td><span class="term"><i><tt>mallocFunc</tt></i>:</span></td><td>place to save the malloc() function in use</td></tr><tr><td><span class="term"><i><tt>reallocFunc</tt></i>:</span></td><td>place to save the realloc() function in use</td></tr><tr><td><span class="term"><i><tt>strdupFunc</tt></i>:</span></td><td>place to save the strdup() function in use</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>0 on success</td></tr></tbody></table></div><h3><a name="xmlMemMalloc" id="xmlMemMalloc"></a>Function: xmlMemMalloc</h3><pre class="programlisting">void * xmlMemMalloc (size_t size)<br /> -</pre><p></p> -<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>size</tt></i>:</span></td><td></td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td></td></tr></tbody></table></div><h3><a name="xmlMemRealloc" id="xmlMemRealloc"></a>Function: xmlMemRealloc</h3><pre class="programlisting">void * xmlMemRealloc (void * ptr, <br /> size_t size)<br /> -</pre><p></p> -<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>ptr</tt></i>:</span></td><td></td></tr><tr><td><span class="term"><i><tt>size</tt></i>:</span></td><td></td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td></td></tr></tbody></table></div><h3><a name="xmlMemSetup" id="xmlMemSetup"></a>Function: xmlMemSetup</h3><pre class="programlisting">int xmlMemSetup (<a href="libxml-xmlmemory.html#xmlFreeFunc">xmlFreeFunc</a> freeFunc, <br /> <a href="libxml-xmlmemory.html#xmlMallocFunc">xmlMallocFunc</a> mallocFunc, <br /> <a href="libxml-xmlmemory.html#xmlReallocFunc">xmlReallocFunc</a> reallocFunc, <br /> <a href="libxml-xmlmemory.html#xmlStrdupFunc">xmlStrdupFunc</a> strdupFunc)<br /> +</pre><p>a malloc() equivalent, with logging of the allocation info.</p> +<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>size</tt></i>:</span></td><td>an int specifying the size in byte to allocate.</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>a pointer to the allocated area or NULL in case of lack of memory.</td></tr></tbody></table></div><h3><a name="xmlMemRealloc" id="xmlMemRealloc"></a>Function: xmlMemRealloc</h3><pre class="programlisting">void * xmlMemRealloc (void * ptr, <br /> size_t size)<br /> +</pre><p>a realloc() equivalent, with logging of the allocation info.</p> +<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>ptr</tt></i>:</span></td><td>the initial memory block pointer</td></tr><tr><td><span class="term"><i><tt>size</tt></i>:</span></td><td>an int specifying the size in byte to allocate.</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>a pointer to the allocated area or NULL in case of lack of memory.</td></tr></tbody></table></div><h3><a name="xmlMemSetup" id="xmlMemSetup"></a>Function: xmlMemSetup</h3><pre class="programlisting">int xmlMemSetup (<a href="libxml-xmlmemory.html#xmlFreeFunc">xmlFreeFunc</a> freeFunc, <br /> <a href="libxml-xmlmemory.html#xmlMallocFunc">xmlMallocFunc</a> mallocFunc, <br /> <a href="libxml-xmlmemory.html#xmlReallocFunc">xmlReallocFunc</a> reallocFunc, <br /> <a href="libxml-xmlmemory.html#xmlStrdupFunc">xmlStrdupFunc</a> strdupFunc)<br /> </pre><p>Override the default memory access functions with a new set This has to be called before any other libxml routines ! Should this be blocked if there was already some allocations done ?</p> <div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>freeFunc</tt></i>:</span></td><td>the free() function to use</td></tr><tr><td><span class="term"><i><tt>mallocFunc</tt></i>:</span></td><td>the malloc() function to use</td></tr><tr><td><span class="term"><i><tt>reallocFunc</tt></i>:</span></td><td>the realloc() function to use</td></tr><tr><td><span class="term"><i><tt>strdupFunc</tt></i>:</span></td><td>the strdup() function to use</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>0 on success</td></tr></tbody></table></div><h3><a name="xmlMemShow" id="xmlMemShow"></a>Function: xmlMemShow</h3><pre class="programlisting">void xmlMemShow (FILE * fp, <br /> int nr)<br /> </pre><p>show a show display of the memory allocated, and dump the @nr last allocated areas which were not freed</p> @@ -86,8 +86,8 @@ <div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>an int representing the amount of memory allocated.</td></tr></tbody></table></div><h3><a name="xmlMemoryDump" id="xmlMemoryDump"></a>Function: xmlMemoryDump</h3><pre class="programlisting">void xmlMemoryDump (void)<br /> </pre><p>Dump in-extenso the memory blocks allocated to the file .memorylist</p> <h3><a name="xmlMemoryStrdup" id="xmlMemoryStrdup"></a>Function: xmlMemoryStrdup</h3><pre class="programlisting">char * xmlMemoryStrdup (const char * str)<br /> -</pre><p></p> -<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>str</tt></i>:</span></td><td></td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td></td></tr></tbody></table></div><h3><a name="xmlReallocFunc" id="xmlReallocFunc"></a>Function type: xmlReallocFunc</h3><pre class="programlisting">Function type: xmlReallocFunc +</pre><p>a strdup() equivalent, with logging of the allocation info.</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 initial string pointer</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>a pointer to the new string or NULL if allocation error occurred.</td></tr></tbody></table></div><h3><a name="xmlReallocFunc" id="xmlReallocFunc"></a>Function type: xmlReallocFunc</h3><pre class="programlisting">Function type: xmlReallocFunc void * xmlReallocFunc (void * mem, <br /> size_t size) </pre><p>Signature for a realloc() implementation.</p><div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>mem</tt></i>:</span></td><td>an already allocated block of memory</td></tr><tr><td><span class="term"><i><tt>size</tt></i>:</span></td><td>the new size requested in bytes</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>a pointer to the newly reallocated block or NULL in case of error.</td></tr></tbody></table></div><br /> <h3><a name="xmlReallocLoc" id="xmlReallocLoc"></a>Function: xmlReallocLoc</h3><pre class="programlisting">void * xmlReallocLoc (void * ptr, <br /> size_t size, <br /> const char * file, <br /> int line)<br />
diff --git a/doc/html/libxml-xmlreader.html b/doc/html/libxml-xmlreader.html index 936150d..e0c83b7 100644 --- a/doc/html/libxml-xmlreader.html +++ b/doc/html/libxml-xmlreader.html
@@ -135,26 +135,26 @@ <div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>input</tt></i>:</span></td><td>the <a href="libxml-tree.html#xmlParserInputBufferPtr">xmlParserInputBufferPtr</a> used to read data</td></tr><tr><td><span class="term"><i><tt>URI</tt></i>:</span></td><td>the URI information for the source if available</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the new <a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> or NULL in case of error</td></tr></tbody></table></div><h3><a name="xmlNewTextReaderFilename" id="xmlNewTextReaderFilename"></a>Function: xmlNewTextReaderFilename</h3><pre class="programlisting"><a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> xmlNewTextReaderFilename (const char * URI)<br /> </pre><p>Create an <a href="libxml-xmlreader.html#xmlTextReader">xmlTextReader</a> structure fed with the resource at @URI</p> <div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>URI</tt></i>:</span></td><td>the URI of the resource to process</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the new <a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> or NULL in case of error</td></tr></tbody></table></div><h3><a name="xmlReaderForDoc" id="xmlReaderForDoc"></a>Function: xmlReaderForDoc</h3><pre class="programlisting"><a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> xmlReaderForDoc (const <a href="libxml-tree.html#xmlChar">xmlChar</a> * cur, <br /> const char * URL, <br /> const char * encoding, <br /> int options)<br /> -</pre><p>Create an xmltextReader for an XML in-memory document. The parsing flags @options are a combination of xmlParserOption(s).</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 a zero terminated string</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 xmlParserOption(s)</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the new reader or NULL in case of error.</td></tr></tbody></table></div><h3><a name="xmlReaderForFd" id="xmlReaderForFd"></a>Function: xmlReaderForFd</h3><pre class="programlisting"><a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> xmlReaderForFd (int fd, <br /> const char * URL, <br /> const char * encoding, <br /> int options)<br /> -</pre><p>Create an xmltextReader for an XML from a file descriptor. The parsing flags @options are a combination of xmlParserOption(s).</p> -<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>fd</tt></i>:</span></td><td>an open file descriptor</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 xmlParserOption(s)</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the new reader or NULL in case of error.</td></tr></tbody></table></div><h3><a name="xmlReaderForFile" id="xmlReaderForFile"></a>Function: xmlReaderForFile</h3><pre class="programlisting"><a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> xmlReaderForFile (const char * filename, <br /> const char * encoding, <br /> int options)<br /> -</pre><p>parse an XML file from the filesystem or the network. The parsing flags @options are a combination of xmlParserOption(s).</p> -<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>filename</tt></i>:</span></td><td>a file or URL</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 xmlParserOption(s)</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the new reader or NULL in case of error.</td></tr></tbody></table></div><h3><a name="xmlReaderForIO" id="xmlReaderForIO"></a>Function: xmlReaderForIO</h3><pre class="programlisting"><a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> xmlReaderForIO (<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)<br /> -</pre><p>Create an xmltextReader for an XML document from I/O functions and source. The parsing flags @options are a combination of xmlParserOption(s).</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 xmlParserOption(s)</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the new reader or NULL in case of error.</td></tr></tbody></table></div><h3><a name="xmlReaderForMemory" id="xmlReaderForMemory"></a>Function: xmlReaderForMemory</h3><pre class="programlisting"><a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> xmlReaderForMemory (const char * buffer, <br /> int size, <br /> const char * URL, <br /> const char * encoding, <br /> int options)<br /> -</pre><p>Create an xmltextReader for an XML in-memory document. The parsing flags @options are a combination of xmlParserOption(s).</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 xmlParserOption(s)</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the new reader or NULL in case of error.</td></tr></tbody></table></div><h3><a name="xmlReaderNewDoc" id="xmlReaderNewDoc"></a>Function: xmlReaderNewDoc</h3><pre class="programlisting">int xmlReaderNewDoc (<a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> reader, <br /> const <a href="libxml-tree.html#xmlChar">xmlChar</a> * cur, <br /> const char * URL, <br /> const char * encoding, <br /> int options)<br /> -</pre><p>Setup an xmltextReader to parse an XML in-memory document. The parsing flags @options are a combination of xmlParserOption(s). This reuses the existing @reader xmlTextReader.</p> -<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>reader</tt></i>:</span></td><td>an XML reader</td></tr><tr><td><span class="term"><i><tt>cur</tt></i>:</span></td><td>a pointer to a zero terminated string</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 xmlParserOption(s)</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="xmlReaderNewFd" id="xmlReaderNewFd"></a>Function: xmlReaderNewFd</h3><pre class="programlisting">int xmlReaderNewFd (<a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> reader, <br /> int fd, <br /> const char * URL, <br /> const char * encoding, <br /> int options)<br /> -</pre><p>Setup an xmltextReader to parse an XML from a file descriptor. The parsing flags @options are a combination of xmlParserOption(s). This reuses the existing @reader xmlTextReader.</p> -<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>reader</tt></i>:</span></td><td>an XML reader</td></tr><tr><td><span class="term"><i><tt>fd</tt></i>:</span></td><td>an open file descriptor</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 xmlParserOption(s)</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="xmlReaderNewFile" id="xmlReaderNewFile"></a>Function: xmlReaderNewFile</h3><pre class="programlisting">int xmlReaderNewFile (<a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> reader, <br /> const char * filename, <br /> const char * encoding, <br /> int options)<br /> -</pre><p>parse an XML file from the filesystem or the network. The parsing flags @options are a combination of xmlParserOption(s). This reuses the existing @reader xmlTextReader.</p> -<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>reader</tt></i>:</span></td><td>an XML reader</td></tr><tr><td><span class="term"><i><tt>filename</tt></i>:</span></td><td>a file or URL</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 xmlParserOption(s)</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="xmlReaderNewIO" id="xmlReaderNewIO"></a>Function: xmlReaderNewIO</h3><pre class="programlisting">int xmlReaderNewIO (<a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> reader, <br /> <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)<br /> -</pre><p>Setup an xmltextReader to parse an XML document from I/O functions and source. The parsing flags @options are a combination of xmlParserOption(s). This reuses the existing @reader xmlTextReader.</p> -<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>reader</tt></i>:</span></td><td>an XML reader</td></tr><tr><td><span class="term"><i><tt>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 xmlParserOption(s)</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="xmlReaderNewMemory" id="xmlReaderNewMemory"></a>Function: xmlReaderNewMemory</h3><pre class="programlisting">int xmlReaderNewMemory (<a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> reader, <br /> const char * buffer, <br /> int size, <br /> const char * URL, <br /> const char * encoding, <br /> int options)<br /> -</pre><p>Setup an xmltextReader to parse an XML in-memory document. The parsing flags @options are a combination of xmlParserOption(s). This reuses the existing @reader xmlTextReader.</p> -<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>reader</tt></i>:</span></td><td>an XML reader</td></tr><tr><td><span class="term"><i><tt>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 xmlParserOption(s)</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="xmlReaderNewWalker" id="xmlReaderNewWalker"></a>Function: xmlReaderNewWalker</h3><pre class="programlisting">int xmlReaderNewWalker (<a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> reader, <br /> <a href="libxml-tree.html#xmlDocPtr">xmlDocPtr</a> doc)<br /> +</pre><p>Create an xmltextReader for an XML in-memory document. The parsing flags @options are a combination of xmlParserOption.</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 a zero terminated string</td></tr><tr><td><span class="term"><i><tt>URL</tt></i>:</span></td><td>the base URL to use for the document</td></tr><tr><td><span class="term"><i><tt>encoding</tt></i>:</span></td><td>the document encoding, or NULL</td></tr><tr><td><span class="term"><i><tt>options</tt></i>:</span></td><td>a combination of <a href="libxml-parser.html#xmlParserOption">xmlParserOption</a></td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the new reader or NULL in case of error.</td></tr></tbody></table></div><h3><a name="xmlReaderForFd" id="xmlReaderForFd"></a>Function: xmlReaderForFd</h3><pre class="programlisting"><a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> xmlReaderForFd (int fd, <br /> const char * URL, <br /> const char * encoding, <br /> int options)<br /> +</pre><p>Create an xmltextReader for an XML from a file descriptor. The parsing flags @options are a combination of xmlParserOption. NOTE that the file descriptor will not be closed when the reader is closed or reset.</p> +<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>fd</tt></i>:</span></td><td>an open file descriptor</td></tr><tr><td><span class="term"><i><tt>URL</tt></i>:</span></td><td>the base URL to use for the document</td></tr><tr><td><span class="term"><i><tt>encoding</tt></i>:</span></td><td>the document encoding, or NULL</td></tr><tr><td><span class="term"><i><tt>options</tt></i>:</span></td><td>a combination of <a href="libxml-parser.html#xmlParserOption">xmlParserOption</a></td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the new reader or NULL in case of error.</td></tr></tbody></table></div><h3><a name="xmlReaderForFile" id="xmlReaderForFile"></a>Function: xmlReaderForFile</h3><pre class="programlisting"><a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> xmlReaderForFile (const char * filename, <br /> const char * encoding, <br /> int options)<br /> +</pre><p>parse an XML file from the filesystem or the network. The parsing flags @options are a combination of xmlParserOption.</p> +<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>filename</tt></i>:</span></td><td>a file or URL</td></tr><tr><td><span class="term"><i><tt>encoding</tt></i>:</span></td><td>the document encoding, or NULL</td></tr><tr><td><span class="term"><i><tt>options</tt></i>:</span></td><td>a combination of <a href="libxml-parser.html#xmlParserOption">xmlParserOption</a></td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the new reader or NULL in case of error.</td></tr></tbody></table></div><h3><a name="xmlReaderForIO" id="xmlReaderForIO"></a>Function: xmlReaderForIO</h3><pre class="programlisting"><a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> xmlReaderForIO (<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)<br /> +</pre><p>Create an xmltextReader for an XML document from I/O functions and source. The parsing flags @options are a combination of xmlParserOption.</p> +<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>ioread</tt></i>:</span></td><td>an I/O read function</td></tr><tr><td><span class="term"><i><tt>ioclose</tt></i>:</span></td><td>an I/O close function</td></tr><tr><td><span class="term"><i><tt>ioctx</tt></i>:</span></td><td>an I/O handler</td></tr><tr><td><span class="term"><i><tt>URL</tt></i>:</span></td><td>the base URL to use for the document</td></tr><tr><td><span class="term"><i><tt>encoding</tt></i>:</span></td><td>the document encoding, or NULL</td></tr><tr><td><span class="term"><i><tt>options</tt></i>:</span></td><td>a combination of <a href="libxml-parser.html#xmlParserOption">xmlParserOption</a></td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the new reader or NULL in case of error.</td></tr></tbody></table></div><h3><a name="xmlReaderForMemory" id="xmlReaderForMemory"></a>Function: xmlReaderForMemory</h3><pre class="programlisting"><a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> xmlReaderForMemory (const char * buffer, <br /> int size, <br /> const char * URL, <br /> const char * encoding, <br /> int options)<br /> +</pre><p>Create an xmltextReader for an XML in-memory document. The parsing flags @options are a combination of xmlParserOption.</p> +<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>buffer</tt></i>:</span></td><td>a pointer to a char array</td></tr><tr><td><span class="term"><i><tt>size</tt></i>:</span></td><td>the size of the array</td></tr><tr><td><span class="term"><i><tt>URL</tt></i>:</span></td><td>the base URL to use for the document</td></tr><tr><td><span class="term"><i><tt>encoding</tt></i>:</span></td><td>the document encoding, or NULL</td></tr><tr><td><span class="term"><i><tt>options</tt></i>:</span></td><td>a combination of <a href="libxml-parser.html#xmlParserOption">xmlParserOption</a></td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the new reader or NULL in case of error.</td></tr></tbody></table></div><h3><a name="xmlReaderNewDoc" id="xmlReaderNewDoc"></a>Function: xmlReaderNewDoc</h3><pre class="programlisting">int xmlReaderNewDoc (<a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> reader, <br /> const <a href="libxml-tree.html#xmlChar">xmlChar</a> * cur, <br /> const char * URL, <br /> const char * encoding, <br /> int options)<br /> +</pre><p>Setup an xmltextReader to parse an XML in-memory document. The parsing flags @options are a combination of xmlParserOption. This reuses the existing @reader xmlTextReader.</p> +<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>reader</tt></i>:</span></td><td>an XML reader</td></tr><tr><td><span class="term"><i><tt>cur</tt></i>:</span></td><td>a pointer to a zero terminated string</td></tr><tr><td><span class="term"><i><tt>URL</tt></i>:</span></td><td>the base URL to use for the document</td></tr><tr><td><span class="term"><i><tt>encoding</tt></i>:</span></td><td>the document encoding, or NULL</td></tr><tr><td><span class="term"><i><tt>options</tt></i>:</span></td><td>a combination of <a href="libxml-parser.html#xmlParserOption">xmlParserOption</a></td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>0 in case of success and -1 in case of error</td></tr></tbody></table></div><h3><a name="xmlReaderNewFd" id="xmlReaderNewFd"></a>Function: xmlReaderNewFd</h3><pre class="programlisting">int xmlReaderNewFd (<a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> reader, <br /> int fd, <br /> const char * URL, <br /> const char * encoding, <br /> int options)<br /> +</pre><p>Setup an xmltextReader to parse an XML from a file descriptor. NOTE that the file descriptor will not be closed when the reader is closed or reset. The parsing flags @options are a combination of xmlParserOption. This reuses the existing @reader xmlTextReader.</p> +<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>reader</tt></i>:</span></td><td>an XML reader</td></tr><tr><td><span class="term"><i><tt>fd</tt></i>:</span></td><td>an open file descriptor</td></tr><tr><td><span class="term"><i><tt>URL</tt></i>:</span></td><td>the base URL to use for the document</td></tr><tr><td><span class="term"><i><tt>encoding</tt></i>:</span></td><td>the document encoding, or NULL</td></tr><tr><td><span class="term"><i><tt>options</tt></i>:</span></td><td>a combination of <a href="libxml-parser.html#xmlParserOption">xmlParserOption</a></td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>0 in case of success and -1 in case of error</td></tr></tbody></table></div><h3><a name="xmlReaderNewFile" id="xmlReaderNewFile"></a>Function: xmlReaderNewFile</h3><pre class="programlisting">int xmlReaderNewFile (<a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> reader, <br /> const char * filename, <br /> const char * encoding, <br /> int options)<br /> +</pre><p>parse an XML file from the filesystem or the network. The parsing flags @options are a combination of xmlParserOption. This reuses the existing @reader xmlTextReader.</p> +<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>reader</tt></i>:</span></td><td>an XML reader</td></tr><tr><td><span class="term"><i><tt>filename</tt></i>:</span></td><td>a file or URL</td></tr><tr><td><span class="term"><i><tt>encoding</tt></i>:</span></td><td>the document encoding, or NULL</td></tr><tr><td><span class="term"><i><tt>options</tt></i>:</span></td><td>a combination of <a href="libxml-parser.html#xmlParserOption">xmlParserOption</a></td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>0 in case of success and -1 in case of error</td></tr></tbody></table></div><h3><a name="xmlReaderNewIO" id="xmlReaderNewIO"></a>Function: xmlReaderNewIO</h3><pre class="programlisting">int xmlReaderNewIO (<a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> reader, <br /> <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)<br /> +</pre><p>Setup an xmltextReader to parse an XML document from I/O functions and source. The parsing flags @options are a combination of xmlParserOption. This reuses the existing @reader xmlTextReader.</p> +<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>reader</tt></i>:</span></td><td>an XML reader</td></tr><tr><td><span class="term"><i><tt>ioread</tt></i>:</span></td><td>an I/O read function</td></tr><tr><td><span class="term"><i><tt>ioclose</tt></i>:</span></td><td>an I/O close function</td></tr><tr><td><span class="term"><i><tt>ioctx</tt></i>:</span></td><td>an I/O handler</td></tr><tr><td><span class="term"><i><tt>URL</tt></i>:</span></td><td>the base URL to use for the document</td></tr><tr><td><span class="term"><i><tt>encoding</tt></i>:</span></td><td>the document encoding, or NULL</td></tr><tr><td><span class="term"><i><tt>options</tt></i>:</span></td><td>a combination of <a href="libxml-parser.html#xmlParserOption">xmlParserOption</a></td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>0 in case of success and -1 in case of error</td></tr></tbody></table></div><h3><a name="xmlReaderNewMemory" id="xmlReaderNewMemory"></a>Function: xmlReaderNewMemory</h3><pre class="programlisting">int xmlReaderNewMemory (<a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> reader, <br /> const char * buffer, <br /> int size, <br /> const char * URL, <br /> const char * encoding, <br /> int options)<br /> +</pre><p>Setup an xmltextReader to parse an XML in-memory document. The parsing flags @options are a combination of xmlParserOption. This reuses the existing @reader xmlTextReader.</p> +<div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>reader</tt></i>:</span></td><td>an XML reader</td></tr><tr><td><span class="term"><i><tt>buffer</tt></i>:</span></td><td>a pointer to a char array</td></tr><tr><td><span class="term"><i><tt>size</tt></i>:</span></td><td>the size of the array</td></tr><tr><td><span class="term"><i><tt>URL</tt></i>:</span></td><td>the base URL to use for the document</td></tr><tr><td><span class="term"><i><tt>encoding</tt></i>:</span></td><td>the document encoding, or NULL</td></tr><tr><td><span class="term"><i><tt>options</tt></i>:</span></td><td>a combination of <a href="libxml-parser.html#xmlParserOption">xmlParserOption</a></td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>0 in case of success and -1 in case of error</td></tr></tbody></table></div><h3><a name="xmlReaderNewWalker" id="xmlReaderNewWalker"></a>Function: xmlReaderNewWalker</h3><pre class="programlisting">int xmlReaderNewWalker (<a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> reader, <br /> <a href="libxml-tree.html#xmlDocPtr">xmlDocPtr</a> doc)<br /> </pre><p>Setup an xmltextReader to parse a preparsed XML document. This reuses the existing @reader xmlTextReader.</p> <div class="variablelist"><table border="0"><col align="left" /><tbody><tr><td><span class="term"><i><tt>reader</tt></i>:</span></td><td>an XML reader</td></tr><tr><td><span class="term"><i><tt>doc</tt></i>:</span></td><td>a preparsed document</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="xmlReaderWalker" id="xmlReaderWalker"></a>Function: xmlReaderWalker</h3><pre class="programlisting"><a href="libxml-xmlreader.html#xmlTextReaderPtr">xmlTextReaderPtr</a> xmlReaderWalker (<a href="libxml-tree.html#xmlDocPtr">xmlDocPtr</a> doc)<br /> </pre><p>Create an xmltextReader for a preparsed document.</p>
diff --git a/doc/libxml2-api.xml b/doc/libxml2-api.xml index 21d297d..8778806 100644 --- a/doc/libxml2-api.xml +++ b/doc/libxml2-api.xml
@@ -5194,6 +5194,7 @@ <field name='baseNs' type='const xmlChar *' info=''/> <field name='baseType' type='xmlSchemaTypePtr' info=''/> <field name='facets' type='xmlSchemaFacetPtr' info=''/> + <field name='redef' type='struct _xmlSchemaType *' info=' possible redefinitions for the type'/> </struct> <typedef name='xmlSchemaTypePtr' file='schemasInternals' type='xmlSchemaType *'/> <typedef name='xmlSchemaTypeType' file='schemasInternals' type='enum'/> @@ -7302,7 +7303,7 @@ <info>Create a parser context for a file or URL content. Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time and for file accesses</info> <return type='xmlParserCtxtPtr' info='the new parser context or NULL'/> <arg name='filename' type='const char *' info='the filename or URL'/> - <arg name='options' type='int' info='a combination of xmlParserOption(s)'/> + <arg name='options' type='int' info='a combination of xmlParserOption'/> </function> <function name='xmlCtxtGetLastError' file='xmlerror'> <info>Get the last parsing error registered.</info> @@ -7316,16 +7317,16 @@ <arg name='cur' type='const xmlChar *' info='a pointer to a zero terminated string'/> <arg name='URL' type='const char *' info='the base URL to use for the document'/> <arg name='encoding' type='const char *' info='the document encoding, or NULL'/> - <arg name='options' type='int' info='a combination of xmlParserOption(s)'/> + <arg name='options' type='int' info='a combination of xmlParserOption'/> </function> <function name='xmlCtxtReadFd' file='parser'> - <info>parse an XML from a file descriptor and build a tree. This reuses the existing @ctxt parser context</info> + <info>parse an XML from a file descriptor and build a tree. This reuses the existing @ctxt parser context NOTE that the file descriptor will not be closed when the reader is closed or reset.</info> <return type='xmlDocPtr' info='the resulting document tree'/> <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context'/> <arg name='fd' type='int' info='an open file descriptor'/> <arg name='URL' type='const char *' info='the base URL to use for the document'/> <arg name='encoding' type='const char *' info='the document encoding, or NULL'/> - <arg name='options' type='int' info='a combination of xmlParserOption(s)'/> + <arg name='options' type='int' info='a combination of xmlParserOption'/> </function> <function name='xmlCtxtReadFile' file='parser'> <info>parse an XML file from the filesystem or the network. This reuses the existing @ctxt parser context</info> @@ -7333,7 +7334,7 @@ <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context'/> <arg name='filename' type='const char *' info='a file or URL'/> <arg name='encoding' type='const char *' info='the document encoding, or NULL'/> - <arg name='options' type='int' info='a combination of xmlParserOption(s)'/> + <arg name='options' type='int' info='a combination of xmlParserOption'/> </function> <function name='xmlCtxtReadIO' file='parser'> <info>parse an XML document from I/O functions and source and build a tree. This reuses the existing @ctxt parser context</info> @@ -7344,7 +7345,7 @@ <arg name='ioctx' type='void *' info='an I/O handler'/> <arg name='URL' type='const char *' info='the base URL to use for the document'/> <arg name='encoding' type='const char *' info='the document encoding, or NULL'/> - <arg name='options' type='int' info='a combination of xmlParserOption(s)'/> + <arg name='options' type='int' info='a combination of xmlParserOption'/> </function> <function name='xmlCtxtReadMemory' file='parser'> <info>parse an XML in-memory document and build a tree. This reuses the existing @ctxt parser context</info> @@ -7354,7 +7355,7 @@ <arg name='size' type='int' info='the size of the array'/> <arg name='URL' type='const char *' info='the base URL to use for the document'/> <arg name='encoding' type='const char *' info='the document encoding, or NULL'/> - <arg name='options' type='int' info='a combination of xmlParserOption(s)'/> + <arg name='options' type='int' info='a combination of xmlParserOption'/> </function> <function name='xmlCtxtReset' file='parser'> <info>Reset a parser context</info> @@ -7379,7 +7380,7 @@ <info>Applies the options to the parser context</info> <return type='int' info='0 in case of success, the set of unknown or unimplemented options in case of error.'/> <arg name='ctxt' type='xmlParserCtxtPtr' info='an XML parser context'/> - <arg name='options' type='int' info='a combination of xmlParserOption(s)'/> + <arg name='options' type='int' info='a combination of xmlParserOption'/> </function> <function name='xmlCurrentChar' file='parserInternals'> <info>The current char value, if using UTF-8 this may actually span multiple bytes in the input buffer. Implement the end of line normalization: 2.11 End-of-Line Handling Wherever an external parsed entity or the literal entity value of an internal parsed entity contains either the literal two-character sequence "#xD#xA" or a standalone literal #xD, an XML processor must pass to the application the single character #xA. This behavior can conveniently be produced by normalizing all line breaks to #xA on input, before parsing.)</info> @@ -8729,9 +8730,9 @@ <arg name='fp' type='FILE *' info='a FILE descriptor used as the output file, if NULL, the result is written to the file .memorylist'/> </function> <function name='xmlMemFree' file='xmlmemory'> - <info></info> + <info>a free() equivalent, with error checking.</info> <return type='void'/> - <arg name='ptr' type='void *' info=''/> + <arg name='ptr' type='void *' info='the memory block pointer'/> </function> <function name='xmlMemGet' file='xmlmemory'> <info>Provides the memory access functions set currently in use</info> @@ -8742,15 +8743,15 @@ <arg name='strdupFunc' type='xmlStrdupFunc *' info='place to save the strdup() function in use'/> </function> <function name='xmlMemMalloc' file='xmlmemory'> - <info></info> - <return type='void *' info=''/> - <arg name='size' type='size_t' info=''/> + <info>a malloc() equivalent, with logging of the allocation info.</info> + <return type='void *' info='a pointer to the allocated area or NULL in case of lack of memory.'/> + <arg name='size' type='size_t' info='an int specifying the size in byte to allocate.'/> </function> <function name='xmlMemRealloc' file='xmlmemory'> - <info></info> - <return type='void *' info=''/> - <arg name='ptr' type='void *' info=''/> - <arg name='size' type='size_t' info=''/> + <info>a realloc() equivalent, with logging of the allocation info.</info> + <return type='void *' info='a pointer to the allocated area or NULL in case of lack of memory.'/> + <arg name='ptr' type='void *' info='the initial memory block pointer'/> + <arg name='size' type='size_t' info='an int specifying the size in byte to allocate.'/> </function> <function name='xmlMemSetup' file='xmlmemory'> <info>Override the default memory access functions with a new set This has to be called before any other libxml routines ! Should this be blocked if there was already some allocations done ?</info> @@ -8782,9 +8783,9 @@ <return type='void'/> </function> <function name='xmlMemoryStrdup' file='xmlmemory'> - <info></info> - <return type='char *' info=''/> - <arg name='str' type='const char *' info=''/> + <info>a strdup() equivalent, with logging of the allocation info.</info> + <return type='char *' info='a pointer to the new string or NULL if allocation error occurred.'/> + <arg name='str' type='const char *' info='the initial string pointer'/> </function> <function name='xmlMutexLock' file='threads'> <info>xmlMutexLock() is used to lock a libxml2 token.</info> @@ -9064,7 +9065,7 @@ <arg name='name' type='const xmlChar *' info='the char ref string, starting with # or "&# ... ;"'/> </function> <function name='xmlNewChild' file='tree'> - <info>Creation of a new child element, added at the end of @parent children list. @ns and @content parameters are optional (NULL). If @content is non NULL, a child list containing the TEXTs and ENTITY_REFs node will be created. NOTE: @content is supposed to be a piece of XML CDATA, so it allows entity references. XML special chars must be escaped first by using xmlEncodeEntitiesReentrant(), or xmlNewTextChild() should be used.</info> + <info>Creation of a new child element, added at the end of @parent children list. @ns and @content parameters are optional (NULL). If @ns is NULL, the newly created element inherits the namespace of @parent. If @content is non NULL, a child list containing the TEXTs and ENTITY_REFs node will be created. NOTE: @content is supposed to be a piece of XML CDATA, so it allows entity references. XML special chars must be escaped first by using xmlEncodeEntitiesReentrant(), or xmlNewTextChild() should be used.</info> <return type='xmlNodePtr' info='a pointer to the new node object.'/> <arg name='parent' type='xmlNodePtr' info='the parent node'/> <arg name='ns' type='xmlNsPtr' info='a namespace if any'/> @@ -9259,7 +9260,7 @@ <arg name='content' type='const xmlChar *' info='the text content'/> </function> <function name='xmlNewTextChild' file='tree'> - <info>Creation of a new child element, added at the end of @parent children list. @ns and @content parameters are optional (NULL). If @content is non NULL, a child TEXT node will be created containing the string @content. NOTE: Use xmlNewChild() if @content will contain entities that need to be preserved. Use this function, xmlNewTextChild(), if you need to ensure that reserved XML chars that might appear in @content, such as the ampersand, greater-than or less-than signs, are automatically replaced by their XML escaped entity representations.</info> + <info>Creation of a new child element, added at the end of @parent children list. @ns and @content parameters are optional (NULL). If @ns is NULL, the newly created element inherits the namespace of @parent. If @content is non NULL, a child TEXT node will be created containing the string @content. NOTE: Use xmlNewChild() if @content will contain entities that need to be preserved. Use this function, xmlNewTextChild(), if you need to ensure that reserved XML chars that might appear in @content, such as the ampersand, greater-than or less-than signs, are automatically replaced by their XML escaped entity representations.</info> <return type='xmlNodePtr' info='a pointer to the new node object.'/> <arg name='parent' type='xmlNodePtr' info='the parent node'/> <arg name='ns' type='xmlNsPtr' info='a namespace if any'/> @@ -10086,22 +10087,22 @@ <arg name='cur' type='const xmlChar *' info='a pointer to a zero terminated string'/> <arg name='URL' type='const char *' info='the base URL to use for the document'/> <arg name='encoding' type='const char *' info='the document encoding, or NULL'/> - <arg name='options' type='int' info='a combination of xmlParserOption(s)'/> + <arg name='options' type='int' info='a combination of xmlParserOption'/> </function> <function name='xmlReadFd' file='parser'> - <info>parse an XML from a file descriptor and build a tree.</info> + <info>parse an XML from a file descriptor and build a tree. NOTE that the file descriptor will not be closed when the reader is closed or reset.</info> <return type='xmlDocPtr' info='the resulting document tree'/> <arg name='fd' type='int' info='an open file descriptor'/> <arg name='URL' type='const char *' info='the base URL to use for the document'/> <arg name='encoding' type='const char *' info='the document encoding, or NULL'/> - <arg name='options' type='int' info='a combination of xmlParserOption(s)'/> + <arg name='options' type='int' info='a combination of xmlParserOption'/> </function> <function name='xmlReadFile' file='parser'> <info>parse an XML file from the filesystem or the network.</info> <return type='xmlDocPtr' info='the resulting document tree'/> <arg name='filename' type='const char *' info='a file or URL'/> <arg name='encoding' type='const char *' info='the document encoding, or NULL'/> - <arg name='options' type='int' info='a combination of xmlParserOption(s)'/> + <arg name='options' type='int' info='a combination of xmlParserOption'/> </function> <function name='xmlReadIO' file='parser'> <info>parse an XML document from I/O functions and source and build a tree.</info> @@ -10111,7 +10112,7 @@ <arg name='ioctx' type='void *' info='an I/O handler'/> <arg name='URL' type='const char *' info='the base URL to use for the document'/> <arg name='encoding' type='const char *' info='the document encoding, or NULL'/> - <arg name='options' type='int' info='a combination of xmlParserOption(s)'/> + <arg name='options' type='int' info='a combination of xmlParserOption'/> </function> <function name='xmlReadMemory' file='parser'> <info>parse an XML in-memory document and build a tree.</info> @@ -10120,78 +10121,78 @@ <arg name='size' type='int' info='the size of the array'/> <arg name='URL' type='const char *' info='the base URL to use for the document'/> <arg name='encoding' type='const char *' info='the document encoding, or NULL'/> - <arg name='options' type='int' info='a combination of xmlParserOption(s)'/> + <arg name='options' type='int' info='a combination of xmlParserOption'/> </function> <function name='xmlReaderForDoc' file='xmlreader'> - <info>Create an xmltextReader for an XML in-memory document. The parsing flags @options are a combination of xmlParserOption(s).</info> + <info>Create an xmltextReader for an XML in-memory document. The parsing flags @options are a combination of xmlParserOption.</info> <return type='xmlTextReaderPtr' info='the new reader or NULL in case of error.'/> <arg name='cur' type='const xmlChar *' info='a pointer to a zero terminated string'/> <arg name='URL' type='const char *' info='the base URL to use for the document'/> <arg name='encoding' type='const char *' info='the document encoding, or NULL'/> - <arg name='options' type='int' info='a combination of xmlParserOption(s)'/> + <arg name='options' type='int' info='a combination of xmlParserOption'/> </function> <function name='xmlReaderForFd' file='xmlreader'> - <info>Create an xmltextReader for an XML from a file descriptor. The parsing flags @options are a combination of xmlParserOption(s).</info> + <info>Create an xmltextReader for an XML from a file descriptor. The parsing flags @options are a combination of xmlParserOption. NOTE that the file descriptor will not be closed when the reader is closed or reset.</info> <return type='xmlTextReaderPtr' info='the new reader or NULL in case of error.'/> <arg name='fd' type='int' info='an open file descriptor'/> <arg name='URL' type='const char *' info='the base URL to use for the document'/> <arg name='encoding' type='const char *' info='the document encoding, or NULL'/> - <arg name='options' type='int' info='a combination of xmlParserOption(s)'/> + <arg name='options' type='int' info='a combination of xmlParserOption'/> </function> <function name='xmlReaderForFile' file='xmlreader'> - <info>parse an XML file from the filesystem or the network. The parsing flags @options are a combination of xmlParserOption(s).</info> + <info>parse an XML file from the filesystem or the network. The parsing flags @options are a combination of xmlParserOption.</info> <return type='xmlTextReaderPtr' info='the new reader or NULL in case of error.'/> <arg name='filename' type='const char *' info='a file or URL'/> <arg name='encoding' type='const char *' info='the document encoding, or NULL'/> - <arg name='options' type='int' info='a combination of xmlParserOption(s)'/> + <arg name='options' type='int' info='a combination of xmlParserOption'/> </function> <function name='xmlReaderForIO' file='xmlreader'> - <info>Create an xmltextReader for an XML document from I/O functions and source. The parsing flags @options are a combination of xmlParserOption(s).</info> + <info>Create an xmltextReader for an XML document from I/O functions and source. The parsing flags @options are a combination of xmlParserOption.</info> <return type='xmlTextReaderPtr' info='the new reader or NULL in case of error.'/> <arg name='ioread' type='xmlInputReadCallback' info='an I/O read function'/> <arg name='ioclose' type='xmlInputCloseCallback' info='an I/O close function'/> <arg name='ioctx' type='void *' info='an I/O handler'/> <arg name='URL' type='const char *' info='the base URL to use for the document'/> <arg name='encoding' type='const char *' info='the document encoding, or NULL'/> - <arg name='options' type='int' info='a combination of xmlParserOption(s)'/> + <arg name='options' type='int' info='a combination of xmlParserOption'/> </function> <function name='xmlReaderForMemory' file='xmlreader'> - <info>Create an xmltextReader for an XML in-memory document. The parsing flags @options are a combination of xmlParserOption(s).</info> + <info>Create an xmltextReader for an XML in-memory document. The parsing flags @options are a combination of xmlParserOption.</info> <return type='xmlTextReaderPtr' info='the new reader or NULL in case of error.'/> <arg name='buffer' type='const char *' info='a pointer to a char array'/> <arg name='size' type='int' info='the size of the array'/> <arg name='URL' type='const char *' info='the base URL to use for the document'/> <arg name='encoding' type='const char *' info='the document encoding, or NULL'/> - <arg name='options' type='int' info='a combination of xmlParserOption(s)'/> + <arg name='options' type='int' info='a combination of xmlParserOption'/> </function> <function name='xmlReaderNewDoc' file='xmlreader'> - <info>Setup an xmltextReader to parse an XML in-memory document. The parsing flags @options are a combination of xmlParserOption(s). This reuses the existing @reader xmlTextReader.</info> + <info>Setup an xmltextReader to parse an XML in-memory document. The parsing flags @options are a combination of xmlParserOption. This reuses the existing @reader xmlTextReader.</info> <return type='int' info='0 in case of success and -1 in case of error'/> <arg name='reader' type='xmlTextReaderPtr' info='an XML reader'/> <arg name='cur' type='const xmlChar *' info='a pointer to a zero terminated string'/> <arg name='URL' type='const char *' info='the base URL to use for the document'/> <arg name='encoding' type='const char *' info='the document encoding, or NULL'/> - <arg name='options' type='int' info='a combination of xmlParserOption(s)'/> + <arg name='options' type='int' info='a combination of xmlParserOption'/> </function> <function name='xmlReaderNewFd' file='xmlreader'> - <info>Setup an xmltextReader to parse an XML from a file descriptor. The parsing flags @options are a combination of xmlParserOption(s). This reuses the existing @reader xmlTextReader.</info> + <info>Setup an xmltextReader to parse an XML from a file descriptor. NOTE that the file descriptor will not be closed when the reader is closed or reset. The parsing flags @options are a combination of xmlParserOption. This reuses the existing @reader xmlTextReader.</info> <return type='int' info='0 in case of success and -1 in case of error'/> <arg name='reader' type='xmlTextReaderPtr' info='an XML reader'/> <arg name='fd' type='int' info='an open file descriptor'/> <arg name='URL' type='const char *' info='the base URL to use for the document'/> <arg name='encoding' type='const char *' info='the document encoding, or NULL'/> - <arg name='options' type='int' info='a combination of xmlParserOption(s)'/> + <arg name='options' type='int' info='a combination of xmlParserOption'/> </function> <function name='xmlReaderNewFile' file='xmlreader'> - <info>parse an XML file from the filesystem or the network. The parsing flags @options are a combination of xmlParserOption(s). This reuses the existing @reader xmlTextReader.</info> + <info>parse an XML file from the filesystem or the network. The parsing flags @options are a combination of xmlParserOption. This reuses the existing @reader xmlTextReader.</info> <return type='int' info='0 in case of success and -1 in case of error'/> <arg name='reader' type='xmlTextReaderPtr' info='an XML reader'/> <arg name='filename' type='const char *' info='a file or URL'/> <arg name='encoding' type='const char *' info='the document encoding, or NULL'/> - <arg name='options' type='int' info='a combination of xmlParserOption(s)'/> + <arg name='options' type='int' info='a combination of xmlParserOption'/> </function> <function name='xmlReaderNewIO' file='xmlreader'> - <info>Setup an xmltextReader to parse an XML document from I/O functions and source. The parsing flags @options are a combination of xmlParserOption(s). This reuses the existing @reader xmlTextReader.</info> + <info>Setup an xmltextReader to parse an XML document from I/O functions and source. The parsing flags @options are a combination of xmlParserOption. This reuses the existing @reader xmlTextReader.</info> <return type='int' info='0 in case of success and -1 in case of error'/> <arg name='reader' type='xmlTextReaderPtr' info='an XML reader'/> <arg name='ioread' type='xmlInputReadCallback' info='an I/O read function'/> @@ -10199,17 +10200,17 @@ <arg name='ioctx' type='void *' info='an I/O handler'/> <arg name='URL' type='const char *' info='the base URL to use for the document'/> <arg name='encoding' type='const char *' info='the document encoding, or NULL'/> - <arg name='options' type='int' info='a combination of xmlParserOption(s)'/> + <arg name='options' type='int' info='a combination of xmlParserOption'/> </function> <function name='xmlReaderNewMemory' file='xmlreader'> - <info>Setup an xmltextReader to parse an XML in-memory document. The parsing flags @options are a combination of xmlParserOption(s). This reuses the existing @reader xmlTextReader.</info> + <info>Setup an xmltextReader to parse an XML in-memory document. The parsing flags @options are a combination of xmlParserOption. This reuses the existing @reader xmlTextReader.</info> <return type='int' info='0 in case of success and -1 in case of error'/> <arg name='reader' type='xmlTextReaderPtr' info='an XML reader'/> <arg name='buffer' type='const char *' info='a pointer to a char array'/> <arg name='size' type='int' info='the size of the array'/> <arg name='URL' type='const char *' info='the base URL to use for the document'/> <arg name='encoding' type='const char *' info='the document encoding, or NULL'/> - <arg name='options' type='int' info='a combination of xmlParserOption(s)'/> + <arg name='options' type='int' info='a combination of xmlParserOption'/> </function> <function name='xmlReaderNewWalker' file='xmlreader'> <info>Setup an xmltextReader to parse a preparsed XML document. This reuses the existing @reader xmlTextReader.</info>
diff --git a/doc/libxml2-refs.xml b/doc/libxml2-refs.xml index 4ec48fa..b4e5eef 100644 --- a/doc/libxml2-refs.xml +++ b/doc/libxml2-refs.xml
@@ -5734,7 +5734,6 @@ <ref name='htmlGetMetaEncoding'/> <ref name='xmlTextReaderConstLocalName'/> <ref name='xmlParseName'/> - <ref name='getSystemId'/> <ref name='namePop'/> <ref name='xmlStrcasestr'/> <ref name='xmlDictLookup'/> @@ -5744,6 +5743,7 @@ <ref name='xmlParseEncodingDecl'/> <ref name='xmlBufferContent'/> <ref name='xmlTextReaderConstString'/> + <ref name='getSystemId'/> <ref name='xmlCatalogGetSystem'/> <ref name='xmlSAX2GetPublicId'/> <ref name='xmlTextReaderConstName'/> @@ -5783,6 +5783,7 @@ </type> <type name='htmlDocPtr'> <ref name='htmlParseDoc'/> + <ref name='htmlReadIO'/> <ref name='htmlCtxtReadFile'/> <ref name='htmlSAXParseDoc'/> <ref name='htmlCtxtReadFd'/> @@ -5796,7 +5797,6 @@ <ref name='htmlParseFile'/> <ref name='htmlReadDoc'/> <ref name='htmlNewDoc'/> - <ref name='htmlReadIO'/> <ref name='htmlReadFd'/> </type> <type name='htmlParserCtxtPtr'> @@ -5923,11 +5923,11 @@ <ref name='xmlScanName'/> <ref name='xmlValidCtxtNormalizeAttributeValue'/> <ref name='xmlGetNoNsProp'/> + <ref name='xmlStrcat'/> <ref name='xmlTextReaderReadOuterXml'/> <ref name='xmlNodeListGetRawString'/> <ref name='xmlTextReaderNamespaceUri'/> <ref name='xmlCatalogResolvePublic'/> - <ref name='xmlStrcat'/> <ref name='xmlXPathPopString'/> <ref name='xmlTextReaderReadString'/> <ref name='xmlCatalogResolveSystem'/> @@ -6048,10 +6048,10 @@ <ref name='xmlNewDoc'/> </type> <type name='xmlDtdPtr'> + <ref name='xmlIOParseDTD'/> <ref name='xmlCopyDtd'/> <ref name='xmlGetIntSubset'/> <ref name='xmlCreateIntSubset'/> - <ref name='xmlIOParseDTD'/> <ref name='xmlSAXParseDTD'/> <ref name='xmlParseDTD'/> <ref name='xmlNewDtd'/> @@ -14134,8 +14134,12 @@ <ref name='xmlValidateDtdFinal'/> </word> <word name='NOTE'> + <ref name='xmlCtxtReadFd'/> <ref name='xmlParseExternalID'/> <ref name='xmlParseNotationDecl'/> + <ref name='xmlReadFd'/> + <ref name='xmlReaderForFd'/> + <ref name='xmlReaderNewFd'/> </word> <word name='NOTE:'> <ref name='_xmlParserInput'/> @@ -16263,6 +16267,8 @@ <ref name='xmlBuildQName'/> <ref name='xmlMallocAtomicLoc'/> <ref name='xmlMallocLoc'/> + <ref name='xmlMemMalloc'/> + <ref name='xmlMemRealloc'/> <ref name='xmlNewMutex'/> <ref name='xmlNewRMutex'/> <ref name='xmlReallocLoc'/> @@ -16273,7 +16279,10 @@ <ref name='xmlGetBufferAllocationScheme'/> <ref name='xmlMallocAtomicLoc'/> <ref name='xmlMallocLoc'/> + <ref name='xmlMemMalloc'/> + <ref name='xmlMemRealloc'/> <ref name='xmlMemStrdupLoc'/> + <ref name='xmlMemoryStrdup'/> <ref name='xmlNormalizeURIPath'/> <ref name='xmlReallocLoc'/> <ref name='xmlSetBufferAllocationScheme'/> @@ -16545,6 +16554,8 @@ <ref name='xmlBufferCreateStatic'/> <ref name='xmlMallocAtomicLoc'/> <ref name='xmlMallocLoc'/> + <ref name='xmlMemMalloc'/> + <ref name='xmlMemRealloc'/> <ref name='xmlParserInputBufferCreateMem'/> <ref name='xmlParserInputBufferCreateStatic'/> <ref name='xmlReallocLoc'/> @@ -16979,6 +16990,8 @@ <ref name='xmlCharEncOutFunc'/> <ref name='xmlMallocAtomicLoc'/> <ref name='xmlMallocLoc'/> + <ref name='xmlMemMalloc'/> + <ref name='xmlMemRealloc'/> <ref name='xmlNanoFTPRead'/> <ref name='xmlNanoHTTPRead'/> <ref name='xmlOutputBufferClose'/> @@ -17268,6 +17281,7 @@ <ref name='xlinkIsLink'/> <ref name='xmlBufferWriteQuotedString'/> <ref name='xmlBuildURI'/> + <ref name='xmlMemFree'/> <ref name='xmlUTF8Strlen'/> </word> <word name='checkings'> @@ -17403,6 +17417,10 @@ <ref name='xmlTextReaderClose'/> </word> <word name='closed'> + <ref name='xmlCtxtReadFd'/> + <ref name='xmlReadFd'/> + <ref name='xmlReaderForFd'/> + <ref name='xmlReaderNewFd'/> <ref name='xmlTextWriterEndDocument'/> </word> <word name='closes'> @@ -19084,7 +19102,11 @@ <word name='equivalent'> <ref name='xmlMallocAtomicLoc'/> <ref name='xmlMallocLoc'/> + <ref name='xmlMemFree'/> + <ref name='xmlMemMalloc'/> + <ref name='xmlMemRealloc'/> <ref name='xmlMemStrdupLoc'/> + <ref name='xmlMemoryStrdup'/> <ref name='xmlNodeListGetRawString'/> <ref name='xmlNodeListGetString'/> <ref name='xmlReallocLoc'/> @@ -20515,7 +20537,10 @@ <ref name='xmlInitNodeInfoSeq'/> <ref name='xmlMallocAtomicLoc'/> <ref name='xmlMallocLoc'/> + <ref name='xmlMemMalloc'/> + <ref name='xmlMemRealloc'/> <ref name='xmlMemStrdupLoc'/> + <ref name='xmlMemoryStrdup'/> <ref name='xmlNanoFTPList'/> <ref name='xmlParserAddNodeInfo'/> <ref name='xmlParserFindNodeInfo'/> @@ -20580,12 +20605,18 @@ <ref name='xmlNodeGetSpacePreserve'/> <ref name='xmlXPathNextAttribute'/> </word> + <word name='inherits'> + <ref name='xmlNewChild'/> + <ref name='xmlNewTextChild'/> + </word> <word name='initial'> <ref name='_xmlDoc'/> <ref name='xmlAutomataGetInitState'/> <ref name='xmlBufferCreateSize'/> <ref name='xmlInitNodeInfoSeq'/> + <ref name='xmlMemRealloc'/> <ref name='xmlMemStrdupLoc'/> + <ref name='xmlMemoryStrdup'/> <ref name='xmlReallocLoc'/> <ref name='xmlShell'/> <ref name='xmlXPathNodeSetAdd'/> @@ -20704,29 +20735,6 @@ <word name='insufficient'> <ref name='xmlCanonicPath'/> </word> - <word name='int'> - <ref name='_xmlParserCtxt'/> - <ref name='c'/> - <ref name='getColumnNumber'/> - <ref name='getLineNumber'/> - <ref name='htmlHandleOmittedElem'/> - <ref name='htmlParseCharRef'/> - <ref name='xmlIsLetter'/> - <ref name='xmlKeepBlanksDefault'/> - <ref name='xmlLineNumbersDefault'/> - <ref name='xmlMallocAtomicLoc'/> - <ref name='xmlMallocLoc'/> - <ref name='xmlMemUsed'/> - <ref name='xmlParseCharData'/> - <ref name='xmlParseCharRef'/> - <ref name='xmlPedanticParserDefault'/> - <ref name='xmlReallocLoc'/> - <ref name='xmlSAX2GetColumnNumber'/> - <ref name='xmlSAX2GetLineNumber'/> - <ref name='xmlShellCmd'/> - <ref name='xmlSplitQName3'/> - <ref name='xmlSubstituteEntitiesDefault'/> - </word> <word name='integer'> <ref name='xmlStrcasecmp'/> <ref name='xmlStrcmp'/> @@ -20962,6 +20970,8 @@ <ref name='xmlCharEncodingOutputFunc'/> <ref name='xmlMallocAtomicLoc'/> <ref name='xmlMallocLoc'/> + <ref name='xmlMemMalloc'/> + <ref name='xmlMemRealloc'/> <ref name='xmlReallocLoc'/> </word> <word name='lang'> @@ -21309,7 +21319,10 @@ <word name='logging'> <ref name='xmlMallocAtomicLoc'/> <ref name='xmlMallocLoc'/> + <ref name='xmlMemMalloc'/> + <ref name='xmlMemRealloc'/> <ref name='xmlMemStrdupLoc'/> + <ref name='xmlMemoryStrdup'/> <ref name='xmlReallocLoc'/> </word> <word name='long'> @@ -21408,6 +21421,7 @@ <ref name='xmlMallocFunc'/> <ref name='xmlMallocLoc'/> <ref name='xmlMemGet'/> + <ref name='xmlMemMalloc'/> <ref name='xmlMemSetup'/> </word> <word name='mallocAtomicFunc'> @@ -22167,6 +22181,7 @@ </word> <word name='occurred'> <ref name='xmlMemStrdupLoc'/> + <ref name='xmlMemoryStrdup'/> </word> <word name='occurrence'> <ref name='xmlStrcasestr'/> @@ -22767,6 +22782,7 @@ <ref name='xmlXPathStringFunction'/> </word> <word name='possible'> + <ref name='_xmlSchemaType'/> <ref name='xmlCreateEntityParserCtxt'/> <ref name='xmlParseDefaultDecl'/> <ref name='xmlParseExternalID'/> @@ -23313,7 +23329,9 @@ <ref name='xmlStrEqual'/> </word> <word name='reader'> + <ref name='xmlCtxtReadFd'/> <ref name='xmlFreeTextReader'/> + <ref name='xmlReadFd'/> <ref name='xmlReaderForDoc'/> <ref name='xmlReaderForFd'/> <ref name='xmlReaderForFile'/> @@ -23351,6 +23369,7 @@ <ref name='xmlGcMemGet'/> <ref name='xmlGcMemSetup'/> <ref name='xmlMemGet'/> + <ref name='xmlMemRealloc'/> <ref name='xmlMemSetup'/> <ref name='xmlReallocFunc'/> <ref name='xmlReallocLoc'/> @@ -23473,6 +23492,9 @@ <word name='redefinition'> <ref name='xmlErrMemory'/> </word> + <word name='redefinitions'> + <ref name='_xmlSchemaType'/> + </word> <word name='redir'> <ref name='xmlNanoHTTPMethodRedir'/> </word> @@ -23793,9 +23815,13 @@ </word> <word name='reset'> <ref name='initGenericErrorDefaultFunc'/> + <ref name='xmlCtxtReadFd'/> <ref name='xmlNodeSetBase'/> <ref name='xmlNodeSetName'/> <ref name='xmlNodeSetSpacePreserve'/> + <ref name='xmlReadFd'/> + <ref name='xmlReaderForFd'/> + <ref name='xmlReaderNewFd'/> <ref name='xmlSetGenericErrorFunc'/> <ref name='xmlSetNsProp'/> <ref name='xmlSetProp'/> @@ -24582,6 +24608,8 @@ <word name='specifying'> <ref name='xmlMallocAtomicLoc'/> <ref name='xmlMallocLoc'/> + <ref name='xmlMemMalloc'/> + <ref name='xmlMemRealloc'/> <ref name='xmlReallocLoc'/> </word> <word name='speed'> @@ -24786,6 +24814,7 @@ <ref name='xmlMemGet'/> <ref name='xmlMemSetup'/> <ref name='xmlMemStrdupLoc'/> + <ref name='xmlMemoryStrdup'/> <ref name='xmlStrdup'/> <ref name='xmlStrdupFunc'/> </word>
diff --git a/doc/libxml2.xsa b/doc/libxml2.xsa index 07e4b67..bcc2f4b 100644 --- a/doc/libxml2.xsa +++ b/doc/libxml2.xsa
@@ -8,33 +8,20 @@ </vendor> <product id="libxml2"> <name>libxml2</name> - <version>2.6.3</version> - <last-release> Dec 10 2003</last-release> + <version>2.6.4</version> + <last-release> Dec 24 2003</last-release> <info-url>http://xmlsoft.org/</info-url> - <changes> - documentation updates and cleanup (DV, William Brack, John Fleck) - - added a repository of examples, examples from Aleksey Sanin, Dodji - Seketeli, Alfred Mickautsch - - Windows updates: Mark Vakoc, Igor Zlatkovic, Eric Zurcher, Mingw - (Kenneth Haley) - - Unicode range checking (William Brack) - - code cleanup (William Brack) - - Python bindings: doc (John Fleck), bug fixes - - UTF-16 cleanup and BOM issues (William Brack) - - bug fixes: ID and xmlReader validation, XPath (William Brack), - xmlWriter (Alfred Mickautsch), hash.h inclusion problem, HTML parser - (James Bursa), attribute defaulting and validation, some serialization - cleanups, XML_GET_LINE macro, memory debug when using threads (William - Brack), serialization of attributes and entities content, xmlWriter - (Daniel Schulman) - - XInclude bugfix, new APIs and update to the last version including the - namespace change. - - XML Schemas improvements: include (Robert Stepanek), import and - namespace handling, fixed the regression tests troubles, added examples - based on Eric van der Vlist book, regexp fixes - - preliminary pattern support for streaming (needed for schemas - constraints), added xmlTextReaderPreservePattern() to collect subdocument - when streaming. - - various fixes in the structured error handling + <changes> - Windows build fixes (Igor Zlatkovic) + - Some serious XInclude problems reported by Oleg Paraschenko and + - Unix and Makefile packaging fixes (me, William Brack, + - Documentation improvements (John Fleck, William Brack), example fix + (Lucas Brasilino) + - bugfixes: xmlTextReaderExpand() with xmlReaderWalker, XPath handling of + NULL strings (William Brack) , API building reader or parser from + filedescriptor should not close it, changed XPath sorting to be stable + again (William Brack), xmlGetNodePath() generating '(null)' (William + Brack), DTD validation and namespace bug (William Brack), XML Schemas + double inclusion behaviour </changes> </product>
diff --git a/doc/news.html b/doc/news.html index cd71924..73fb70c 100644 --- a/doc/news.html +++ b/doc/news.html
@@ -12,9 +12,20 @@ to test those</p><ul><li>More testing on RelaxNG</li> <li>Finishing up <a href="http://www.w3.org/TR/xmlschema-1/">XML Schemas</a></li> +</ul><h3>2.6.4: Dec 24 2003</h3><ul><li>Windows build fixes (Igor Zlatkovic)</li> + <li>Some serious XInclude problems reported by Oleg Paraschenko and </li> + <li>Unix and Makefile packaging fixes (me, William Brack, </li> + <li>Documentation improvements (John Fleck, William Brack), example fix + (Lucas Brasilino)</li> + <li>bugfixes: xmlTextReaderExpand() with xmlReaderWalker, XPath handling of + NULL strings (William Brack) , API building reader or parser from + filedescriptor should not close it, changed XPath sorting to be stable + again (William Brack), xmlGetNodePath() generating '(null)' (William + Brack), DTD validation and namespace bug (William Brack), XML Schemas + double inclusion behaviour</li> </ul><h3>2.6.3: Dec 10 2003</h3><ul><li>documentation updates and cleanup (DV, William Brack, John Fleck)</li> <li>added a repository of examples, examples from Aleksey Sanin, Dodji - Seketeli, Alfred Mickautsch </li> + Seketeli, Alfred Mickautsch</li> <li>Windows updates: Mark Vakoc, Igor Zlatkovic, Eric Zurcher, Mingw (Kenneth Haley)</li> <li>Unicode range checking (William Brack)</li> @@ -31,7 +42,7 @@ namespace change.</li> <li>XML Schemas improvements: include (Robert Stepanek), import and namespace handling, fixed the regression tests troubles, added examples - based on Eric van der Vlist book, regexp fixes </li> + based on Eric van der Vlist book, regexp fixes</li> <li>preliminary pattern support for streaming (needed for schemas constraints), added xmlTextReaderPreservePattern() to collect subdocument when streaming.</li>
diff --git a/doc/xml.html b/doc/xml.html index adb945b..9fba28d 100644 --- a/doc/xml.html +++ b/doc/xml.html
@@ -662,11 +662,26 @@ Schemas</a></li> </ul> +<h3>2.6.4: Dec 24 2003</h3> +<ul> + <li>Windows build fixes (Igor Zlatkovic)</li> + <li>Some serious XInclude problems reported by Oleg Paraschenko and </li> + <li>Unix and Makefile packaging fixes (me, William Brack, </li> + <li>Documentation improvements (John Fleck, William Brack), example fix + (Lucas Brasilino)</li> + <li>bugfixes: xmlTextReaderExpand() with xmlReaderWalker, XPath handling of + NULL strings (William Brack) , API building reader or parser from + filedescriptor should not close it, changed XPath sorting to be stable + again (William Brack), xmlGetNodePath() generating '(null)' (William + Brack), DTD validation and namespace bug (William Brack), XML Schemas + double inclusion behaviour</li> +</ul> + <h3>2.6.3: Dec 10 2003</h3> <ul> <li>documentation updates and cleanup (DV, William Brack, John Fleck)</li> <li>added a repository of examples, examples from Aleksey Sanin, Dodji - Seketeli, Alfred Mickautsch </li> + Seketeli, Alfred Mickautsch</li> <li>Windows updates: Mark Vakoc, Igor Zlatkovic, Eric Zurcher, Mingw (Kenneth Haley)</li> <li>Unicode range checking (William Brack)</li> @@ -683,7 +698,7 @@ namespace change.</li> <li>XML Schemas improvements: include (Robert Stepanek), import and namespace handling, fixed the regression tests troubles, added examples - based on Eric van der Vlist book, regexp fixes </li> + based on Eric van der Vlist book, regexp fixes</li> <li>preliminary pattern support for streaming (needed for schemas constraints), added xmlTextReaderPreservePattern() to collect subdocument when streaming.</li> @@ -2748,8 +2763,8 @@ <h3><a name="What">What does internationalization support mean ?</a></h3> -<p>If you are not really familiar with Internationalization (usual shortcut is -I18N) , Unicode, characters and glyphs, I suggest you read a <a +<p>If you are not really familiar with Internationalization (usual shortcut +is I18N) , Unicode, characters and glyphs, I suggest you read a <a href="http://www.tbray.org/ongoing/When/200x/2003/04/06/Unicode">presentation</a> by Tim Bray on Unicode and why you should care about it.</p>