From 5f4b5999b4eeda2ca68e6d9f54a3c534a8474b38 Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Wed, 20 Feb 2002 10:22:49 +0000 Subject: [PATCH] preparing 2.4.16 updated and rebuilt the docs, rebuilt the API and web * configure.in include/libxml/xmlwin32version.h: preparing 2.4.16 * doc/* python/libxml2class.txt: updated and rebuilt the docs, rebuilt the API and web site * xpath.c: fixed #71978 portability bugs Daniel --- ChangeLog | 7 + configure.in | 2 +- doc/APIchunk0.html | 6 + doc/APIchunk1.html | 1 + doc/APIchunk10.html | 3 + doc/APIchunk12.html | 8 + doc/APIchunk13.html | 1 - doc/APIchunk14.html | 3 + doc/APIchunk16.html | 8 + doc/APIchunk17.html | 3 +- doc/APIchunk18.html | 5 +- doc/APIchunk19.html | 4 +- doc/APIchunk2.html | 35 +- doc/APIchunk20.html | 3 + doc/APIchunk21.html | 33 + doc/APIchunk3.html | 1 + doc/APIchunk6.html | 4 + doc/APIchunk7.html | 1 - doc/APIchunk8.html | 3 + doc/APIchunk9.html | 6 + doc/APIconstructors.html | 20 +- doc/APIfiles.html | 37 +- doc/APIfunctions.html | 184 ++- doc/APIsymbols.html | 52 +- doc/Makefile.am | 2 +- doc/html/index.sgml | 31 +- doc/html/libxml-catalog.html | 162 +-- doc/html/libxml-debugxml.html | 128 +-- doc/html/libxml-docbparser.html | 66 +- doc/html/libxml-encoding.html | 116 +- doc/html/libxml-entities.html | 143 +-- doc/html/libxml-globals.html | 131 ++- doc/html/libxml-hash.html | 140 +-- doc/html/libxml-htmlparser.html | 110 +- doc/html/libxml-htmltree.html | 80 +- doc/html/libxml-nanoftp.html | 96 +- doc/html/libxml-nanohttp.html | 56 +- doc/html/libxml-parser.html | 871 +++++++------- doc/html/libxml-parserinternals.html | 791 +++++++------ doc/html/libxml-sax.html | 192 ++-- doc/html/libxml-threads.html | 184 +-- doc/html/libxml-tree.html | 1300 ++++++++++++--------- doc/html/libxml-uri.html | 56 +- doc/html/libxml-valid.html | 497 +++++--- doc/html/libxml-xinclude.html | 12 +- doc/html/libxml-xmlerror.html | 59 +- doc/html/libxml-xmlio.html | 210 ++-- doc/html/libxml-xmlmemory.html | 172 ++- doc/html/libxml-xpath.html | 1049 ++++++++--------- doc/html/libxml-xpathinternals.html | 1594 +++++++++----------------- doc/html/libxml-xpointer.html | 96 +- doc/libxml2-api.xml | 858 +++++++------- doc/libxml2-refs.xml | 438 ++++--- doc/news.html | 6 + doc/parsedecl.py | 8 +- doc/xml.html | 8 + doc/xmlio.html | 1 + include/libxml/xmlwin32version.h | 8 +- python/libxml2class.txt | 8 +- xpath.c | 10 +- 60 files changed, 5183 insertions(+), 4936 deletions(-) diff --git a/ChangeLog b/ChangeLog index 286fabdc..4ae096b5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +Wed Feb 20 11:16:15 CET 2002 Daniel Veillard + + * configure.in include/libxml/xmlwin32version.h: preparing 2.4.16 + * doc/* python/libxml2class.txt: updated and rebuilt the docs, + rebuilt the API and web site + * xpath.c: fixed #71978 portability bugs + Tue Feb 19 22:49:36 CET 2002 Daniel Veillard * SAX.c: oops broke automatic defaulting of namespaces attributes. diff --git a/configure.in b/configure.in index 601d75c1..765f02ab 100644 --- a/configure.in +++ b/configure.in @@ -6,7 +6,7 @@ AC_CANONICAL_HOST LIBXML_MAJOR_VERSION=2 LIBXML_MINOR_VERSION=4 -LIBXML_MICRO_VERSION=15 +LIBXML_MICRO_VERSION=16 LIBXML_VERSION=$LIBXML_MAJOR_VERSION.$LIBXML_MINOR_VERSION.$LIBXML_MICRO_VERSION LIBXML_VERSION_INFO=`expr $LIBXML_MAJOR_VERSION + $LIBXML_MINOR_VERSION`:$LIBXML_MICRO_VERSION:$LIBXML_MINOR_VERSION diff --git a/doc/APIchunk0.html b/doc/APIchunk0.html index 087ce9f5..4d9542c4 100644 --- a/doc/APIchunk0.html +++ b/doc/APIchunk0.html @@ -146,6 +146,12 @@ A:link, A:visited, A:active { text-decoration: underline } xmlGetEncodingAlias xmlParseCharEncoding +
ATTRIBUTE
+
+xmlAddChild +xmlAddNextSibling +xmlAddPrevSibling +
Activated
xmlGetWarningsDefaultValue diff --git a/doc/APIchunk1.html b/doc/APIchunk1.html index 36ac0d5b..4174e140 100644 --- a/doc/APIchunk1.html +++ b/doc/APIchunk1.html @@ -264,6 +264,7 @@ A:link, A:visited, A:active { text-decoration: underline } hasInternalSubset hasInternalSubsetSAXFunc xmlShellList +xmlValidCtxtNormalizeAttributeValue xmlValidNormalizeAttributeValue xmlValidateDocumentFinal xmlValidateDtdFinal diff --git a/doc/APIchunk10.html b/doc/APIchunk10.html index 7b915403..ed36b379 100644 --- a/doc/APIchunk10.html +++ b/doc/APIchunk10.html @@ -334,6 +334,9 @@ A:link, A:visited, A:active { text-decoration: underline }
equal
+xmlAddChild +xmlAddNextSibling +xmlAddPrevSibling xmlStrEqual xmlXPathEqualValues xmlXPathEvalPredicate diff --git a/doc/APIchunk12.html b/doc/APIchunk12.html index 0e90a842..a813f01a 100644 --- a/doc/APIchunk12.html +++ b/doc/APIchunk12.html @@ -686,6 +686,7 @@ A:link, A:visited, A:active { text-decoration: underline }
inserted
+xmlAddChild xmlAddNextSibling xmlAddPrevSibling xmlAddSibling @@ -728,6 +729,9 @@ A:link, A:visited, A:active { text-decoration: underline }
instead
+xmlAddChild +xmlAddNextSibling +xmlAddPrevSibling xmlKeepBlanksDefault xmlRegisterHTTPPostCallbacks xmlSubstituteEntitiesDefault @@ -804,6 +808,9 @@ A:link, A:visited, A:active { text-decoration: underline }
attribute attributeSAXFunc +xmlAddChild +xmlAddNextSibling +xmlAddPrevSibling xmlCharEncFirstLine xmlCharEncInFunc xmlCharEncOutFunc @@ -821,6 +828,7 @@ A:link, A:visited, A:active { text-decoration: underline }
invalid
xmlReconciliateNs +xmlValidateDtdFinal
invited
diff --git a/doc/APIchunk13.html b/doc/APIchunk13.html index 209b7dc0..bb232fb4 100644 --- a/doc/APIchunk13.html +++ b/doc/APIchunk13.html @@ -132,7 +132,6 @@ A:link, A:visited, A:active { text-decoration: underline }
keep
-MEM_LIST xmlKeepBlanksDefaultValue xmlParserInputGrow xmlSubstituteEntitiesDefault diff --git a/doc/APIchunk14.html b/doc/APIchunk14.html index 297e223e..287e9f6c 100644 --- a/doc/APIchunk14.html +++ b/doc/APIchunk14.html @@ -529,6 +529,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlSetBufferAllocationScheme xmlShellPwd xmlStrncat +xmlValidCtxtNormalizeAttributeValue xmlValidNormalizeAttributeValue xmlXPathPopBoolean xmlXPathPopExternal @@ -689,6 +690,7 @@ A:link, A:visited, A:active { text-decoration: underline }
normalization
xmlNormalizeURIPath +xmlValidCtxtNormalizeAttributeValue xmlValidNormalizeAttributeValue
normalization:
@@ -701,6 +703,7 @@ A:link, A:visited, A:active { text-decoration: underline }
normalized
+xmlValidCtxtNormalizeAttributeValue xmlValidNormalizeAttributeValue xmlXPathNormalizeFunction
diff --git a/doc/APIchunk16.html b/doc/APIchunk16.html index 791a5f43..504b4c2c 100644 --- a/doc/APIchunk16.html +++ b/doc/APIchunk16.html @@ -149,6 +149,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlGetLastChild xmlNewChild xmlNewTextChild +xmlValidCtxtNormalizeAttributeValue xmlValidNormalizeAttributeValue xmlXPathNextAncestor xmlXPathNextAncestorOrSelf @@ -713,8 +714,15 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlReconciliateNs
+
properties
+
+xmlAddChild +xmlAddNextSibling +xmlAddPrevSibling +
property
+xmlAddChild xmlFreePropList xmlNewDocProp xmlNewNsProp diff --git a/doc/APIchunk17.html b/doc/APIchunk17.html index 1e4e1d74..2ebbeee3 100644 --- a/doc/APIchunk17.html +++ b/doc/APIchunk17.html @@ -451,6 +451,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlCleanupThreads xmlInitThreads xmlNanoHTTPClose +xmlValidCtxtNormalizeAttributeValue xmlValidNormalizeAttributeValue
relative
@@ -558,7 +559,6 @@ A:link, A:visited, A:active { text-decoration: underline }
reporting
INPUT_CHUNK -MEM_LIST
reports
@@ -762,6 +762,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlParseExternalEntity xmlSAXUserParseFile xmlSAXUserParseMemory +xmlValidCtxtNormalizeAttributeValue xmlValidNormalizeAttributeValue xmlXPathEvalPredicate xmlXPathEvaluatePredicateResult diff --git a/doc/APIchunk18.html b/doc/APIchunk18.html index 3e5fc5a9..d6180b7d 100644 --- a/doc/APIchunk18.html +++ b/doc/APIchunk18.html @@ -427,12 +427,12 @@ A:link, A:visited, A:active { text-decoration: underline }
sibling
+xmlAddNextSibling +xmlAddPrevSibling xmlXPathNextPrecedingSibling
siblings
-xmlAddNextSibling -xmlAddPrevSibling xmlAddSibling xmlFreeNodeList xmlFreePropList @@ -750,6 +750,7 @@ A:link, A:visited, A:active { text-decoration: underline }
step
+xmlValidCtxtNormalizeAttributeValue xmlValidNormalizeAttributeValue xmlValidateDocumentFinal xmlValidateDtdFinal diff --git a/doc/APIchunk19.html b/doc/APIchunk19.html index f55c935b..8821d2a0 100644 --- a/doc/APIchunk19.html +++ b/doc/APIchunk19.html @@ -254,6 +254,9 @@ A:link, A:visited, A:active { text-decoration: underline }
there
+xmlAddChild +xmlAddNextSibling +xmlAddPrevSibling xmlEnumeration xmlGenericErrorFunc xmlNanoFTPCheckResponse @@ -403,7 +406,6 @@ A:link, A:visited, A:active { text-decoration: underline }
track
-MEM_LIST xmlEntityReferenceFunc
tracking
diff --git a/doc/APIchunk2.html b/doc/APIchunk2.html index 232fa6f0..6a71b392 100644 --- a/doc/APIchunk2.html +++ b/doc/APIchunk2.html @@ -236,6 +236,37 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlNewDocFragment
+
Free
+
+docbFreeParserCtxt +htmlFreeParserCtxt +xmlACatalogDump +xmlCatalogCleanup +xmlCatalogDump +xmlCatalogFreeLocal +xmlFreeCatalog +xmlFreeDoc +xmlFreeDtd +xmlFreeElementContent +xmlFreeInputStream +xmlFreeNode +xmlFreeNodeList +xmlFreeNs +xmlFreeNsList +xmlFreeParserCtxt +xmlFreeParserInputBuffer +xmlFreeProp +xmlFreePropList +xmlFreeURI +xmlHashFree +xmlXPathFreeCompExpr +xmlXPathFreeContext +xmlXPathFreeNodeSet +xmlXPathFreeNodeSetList +xmlXPathFreeObject +xmlXPathFreeParserContext +xmlXPtrFreeLocationSet +
Frees
xmlBufferFree @@ -467,12 +498,12 @@ A:link, A:visited, A:active { text-decoration: underline }
Initialize
docbDefaultSAXHandlerInit -htmlDefaultSAXHandlerInit +htmlDefaultSAXHandlerInit htmlInitAutoClose initdocbDefaultSAXHandler inithtmlDefaultSAXHandler initxmlDefaultSAXHandler -xmlDefaultSAXHandlerInit +xmlDefaultSAXHandlerInit xmlInitCharEncodingHandlers xmlInitMemory xmlInitNodeInfoSeq diff --git a/doc/APIchunk20.html b/doc/APIchunk20.html index 40701046..537329b3 100644 --- a/doc/APIchunk20.html +++ b/doc/APIchunk20.html @@ -184,6 +184,7 @@ A:link, A:visited, A:active { text-decoration: underline }
unlinked
+xmlAddChild xmlAddNextSibling xmlAddPrevSibling xmlAddSibling @@ -395,6 +396,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlAddNotationDecl xmlAddRef xmlShellValidate +xmlValidCtxtNormalizeAttributeValue xmlValidNormalizeAttributeValue xmlValidateAttributeDecl xmlValidateDocument @@ -447,6 +449,7 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlSetCompressMode xmlSetDocCompressMode +xmlValidCtxtNormalizeAttributeValue xmlValidNormalizeAttributeValue
varags
diff --git a/doc/APIchunk21.html b/doc/APIchunk21.html index 71602157..03f37e19 100644 --- a/doc/APIchunk21.html +++ b/doc/APIchunk21.html @@ -149,6 +149,7 @@ A:link, A:visited, A:active { text-decoration: underline }
CHECK_ERROR CHECK_ERROR0 +xmlAddChild xmlAddNextSibling xmlAddPrevSibling xmlAddSibling @@ -196,6 +197,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlParseCtxtExternalEntity xmlParseExtParsedEnt xmlParseExternalEntity +xmlValidateDtdFinal
wellformed
@@ -985,6 +987,37 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlXPathNodeTrailing
+
xmlXPathObjectPtr
+
+xmlXPathCompile +xmlXPathCompiledEval +xmlXPathEval +xmlXPathEvalExpression +xmlXPathFreeNodeSetList +xmlXPathFreeObject +xmlXPathNewBoolean +xmlXPathNewCString +xmlXPathNewFloat +xmlXPathNewNodeSet +xmlXPathNewNodeSetList +xmlXPathNewString +xmlXPathNewValueTree +xmlXPathWrapNodeSet +xmlXPtrEval +xmlXPtrLocationSetAdd +xmlXPtrLocationSetCreate +xmlXPtrLocationSetDel +xmlXPtrNewCollapsedRange +xmlXPtrNewLocationSetNodeSet +xmlXPtrNewLocationSetNodes +xmlXPtrNewRange +xmlXPtrNewRangeNodeObject +xmlXPtrNewRangeNodePoint +xmlXPtrNewRangeNodes +xmlXPtrNewRangePointNode +xmlXPtrNewRangePoints +xmlXPtrWrapLocationSet +
xmlXPathParserContext
xmlXPathFreeParserContext diff --git a/doc/APIchunk3.html b/doc/APIchunk3.html index 5ea19c1f..760bff39 100644 --- a/doc/APIchunk3.html +++ b/doc/APIchunk3.html @@ -395,6 +395,7 @@ A:link, A:visited, A:active { text-decoration: underline }
Note:
xmlCharEncodingOutputFunc +xmlGetDtdEntity xmlParseAttValue xmlUTF8Strsub
diff --git a/doc/APIchunk6.html b/doc/APIchunk6.html index 73ec193e..aa62fa5f 100644 --- a/doc/APIchunk6.html +++ b/doc/APIchunk6.html @@ -257,6 +257,9 @@ A:link, A:visited, A:active { text-decoration: underline } htmlNodeDumpFormatOutput htmlSaveFileEnc htmlSaveFileFormat +xmlAddChild +xmlAddNextSibling +xmlAddPrevSibling xmlDocDumpFormatMemory xmlDocDumpFormatMemoryEnc xmlNewChild @@ -427,6 +430,7 @@ A:link, A:visited, A:active { text-decoration: underline }
already
+xmlAddChild xmlAddNextSibling xmlAddPrevSibling xmlAddSibling diff --git a/doc/APIchunk7.html b/doc/APIchunk7.html index 9e092f1f..2b42929c 100644 --- a/doc/APIchunk7.html +++ b/doc/APIchunk7.html @@ -301,7 +301,6 @@ A:link, A:visited, A:active { text-decoration: underline }
blocks
-MEM_LIST xmlIsChar xmlMemDisplay xmlMemoryDump diff --git a/doc/APIchunk8.html b/doc/APIchunk8.html index ebb94055..d48262ec 100644 --- a/doc/APIchunk8.html +++ b/doc/APIchunk8.html @@ -414,6 +414,9 @@ A:link, A:visited, A:active { text-decoration: underline } htmlNodeDumpFile htmlNodeDumpFileFormat htmlNodeDumpFormatOutput +xmlAddChild +xmlAddNextSibling +xmlAddPrevSibling xmlDocGetRootElement xmlDocSetRootElement xmlElemDump diff --git a/doc/APIchunk9.html b/doc/APIchunk9.html index e7f6e58c..6ef98260 100644 --- a/doc/APIchunk9.html +++ b/doc/APIchunk9.html @@ -419,6 +419,12 @@ A:link, A:visited, A:active { text-decoration: underline } xmlIOHTTPOpenW xmlURIUnescapeString
+
destroyed
+
+xmlAddChild +xmlAddNextSibling +xmlAddPrevSibling +
detect
xmlInputMatchCallback diff --git a/doc/APIconstructors.html b/doc/APIconstructors.html index 8baa0f33..30cec1ae 100644 --- a/doc/APIconstructors.html +++ b/doc/APIconstructors.html @@ -95,8 +95,6 @@ A:link, A:visited, A:active { text-decoration: underline }

Type const xmlChar *:

htmlGetMetaEncoding -getPublicId -getSystemId xmlCatalogGetSystem xmlCatalogGetPublic xmlEncodeEntities @@ -105,6 +103,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlStrcasestr xmlBufferContent xmlXPathNsLookup +getPublicId +getSystemId

Type const xmlParserNodeInfo *:

@@ -291,6 +291,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlURIEscape xmlSplitQName2 xmlValidNormalizeAttributeValue +xmlValidCtxtNormalizeAttributeValue xmlXPathCastBooleanToString xmlXPathCastNumberToString xmlXPathCastNodeToString @@ -363,8 +364,6 @@ A:link, A:visited, A:active { text-decoration: underline }

Type xmlEntityPtr:

-getEntity -getParameterEntity xmlAddDocEntity xmlAddDtdEntity xmlGetPredefinedEntity @@ -374,6 +373,8 @@ A:link, A:visited, A:active { text-decoration: underline } getEntitySAXFunc getParameterEntitySAXFunc xmlParseEntityRef +getEntity +getParameterEntity

Type xmlEnumerationPtr:

@@ -484,7 +485,6 @@ A:link, A:visited, A:active { text-decoration: underline } xmlXPathTrailingSorted xmlXPathNodeTrailing xmlXPathTrailing -xmlXPathNodeSetCreate xmlXPathNodeSetMerge

Type xmlNotationPtr:

@@ -498,13 +498,13 @@ A:link, A:visited, A:active { text-decoration: underline }

Type xmlNsPtr:

-getNamespace xmlNewGlobalNs xmlNewNs xmlSearchNs xmlSearchNsByHref xmlCopyNamespace xmlCopyNamespaceList +getNamespace

Type xmlNsPtr *:

@@ -540,7 +540,6 @@ A:link, A:visited, A:active { text-decoration: underline }

Type xmlParserInputPtr:

-resolveEntity resolveEntitySAXFunc xmlExternalEntityLoader xmlNewIOInputStream @@ -551,6 +550,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlNewInputStream inputPop xmlNoNetExternalEntityLoader +resolveEntity

Type xmlRMutexPtr:

@@ -572,7 +572,6 @@ A:link, A:visited, A:active { text-decoration: underline }

Type xmlXPathContextPtr:

xmlXPathNewContext -xmlXPathNewContext xmlXPtrNewContext

Type xmlXPathFunction:

@@ -603,14 +602,9 @@ A:link, A:visited, A:active { text-decoration: underline } xmlXPathNewBoolean xmlXPathNewNodeSet xmlXPathNewValueTree -xmlXPathNewNodeSet xmlXPathNewNodeSetList xmlXPathWrapNodeSet xmlXPathWrapExternal -xmlXPathNewFloat -xmlXPathNewBoolean -xmlXPathNewString -xmlXPathNewCString xmlXPtrNewRange xmlXPtrNewRangePoints xmlXPtrNewRangeNodePoint diff --git a/doc/APIfiles.html b/doc/APIfiles.html index f6796fb0..55368a97 100644 --- a/doc/APIfiles.html +++ b/doc/APIfiles.html @@ -201,8 +201,8 @@ A:link, A:visited, A:active { text-decoration: underline } initxmlDefaultSAXHandler inithtmlDefaultSAXHandler initdocbDefaultSAXHandler -xmlDefaultSAXHandlerInit -htmlDefaultSAXHandlerInit +xmlDefaultSAXHandlerInit +htmlDefaultSAXHandlerInit docbDefaultSAXHandlerInit

Module catalog:

@@ -319,8 +319,7 @@ A:link, A:visited, A:active { text-decoration: underline }

Module entities:

xmlEntityType -xmlEntity -xmlEntityPtr +xmlEntity xmlEntitiesTablePtr xmlInitializePredefinedEntities xmlAddDocEntity @@ -490,7 +489,6 @@ A:link, A:visited, A:active { text-decoration: underline } XML_COMPLETE_ATTRS xmlParserCtxt xmlSAXLocator -xmlSAXLocatorPtr resolveEntitySAXFunc internalSubsetSAXFunc externalSubsetSAXFunc @@ -520,7 +518,6 @@ A:link, A:visited, A:active { text-decoration: underline } hasInternalSubsetSAXFunc hasExternalSubsetSAXFunc xmlSAXHandler -xmlSAXHandlerPtr xmlExternalEntityLoader xmlSubstituteEntitiesDefaultValue xmlInitParser @@ -570,8 +567,6 @@ A:link, A:visited, A:active { text-decoration: underline } xmlParseBalancedChunkMemory xmlParseExternalEntity xmlParseCtxtExternalEntity -xmlDefaultSAXHandlerInit -htmlDefaultSAXHandlerInit xmlInitParserCtxt xmlClearParserCtxt xmlFreeParserCtxt @@ -615,8 +610,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlIsLetter xmlIsDigit xmlIsIdeographic -xmlIsCombining xmlIsExtender +xmlIsCombining xmlIsChar xmlCreateFileParserCtxt xmlCreateMemoryParserCtxt @@ -624,7 +619,6 @@ A:link, A:visited, A:active { text-decoration: underline } xmlCreateEntityParserCtxt xmlSwitchEncoding xmlSwitchToEncoding -xmlFreeParserCtxt xmlHandleEntity xmlNewStringInputStream xmlNewEntityInputStream @@ -716,12 +710,12 @@ A:link, A:visited, A:active { text-decoration: underline }

xmlMutex xmlMutexPtr +xmlRMutex +xmlRMutexPtr xmlNewMutex xmlMutexLock xmlMutexUnlock xmlFreeMutex -xmlRMutex -xmlRMutexPtr xmlNewRMutex xmlRMutexLock xmlRMutexUnlock @@ -744,6 +738,12 @@ A:link, A:visited, A:active { text-decoration: underline } xmlParserInputPtr xmlParserCtxt xmlParserCtxtPtr +xmlSAXLocator +xmlSAXLocatorPtr +xmlSAXHandler +xmlSAXHandlerPtr +xmlEntity +xmlEntityPtr BASE_BUFFER_SIZE XML_XML_NAMESPACE xmlElementType @@ -983,6 +983,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlValidateRoot xmlValidateElementDecl xmlValidNormalizeAttributeValue +xmlValidCtxtNormalizeAttributeValue xmlValidateAttributeDecl xmlValidateAttributeValue xmlValidateNotationDecl @@ -1066,7 +1067,6 @@ A:link, A:visited, A:active { text-decoration: underline }

Module xmlmemory:

DEBUG_MEMORY -MEM_LIST xmlFreeFunc xmlMallocFunc xmlReallocFunc @@ -1258,28 +1258,19 @@ A:link, A:visited, A:active { text-decoration: underline } xmlXPathNodeSetAdd xmlXPathNodeSetAddUnique xmlXPathNodeSetSort -xmlXPathIdFunction xmlXPathRoot xmlXPathEvalExpr xmlXPathParseName xmlXPathParseNCName xmlXPathStringEvalNumber xmlXPathEvaluatePredicateResult -xmlXPathInit -xmlXPathStringFunction xmlXPathRegisterAllFunctions -xmlXPathNodeSetCreate xmlXPathNodeSetMerge xmlXPathNodeSetDel xmlXPathNodeSetRemove -xmlXPathFreeNodeSet xmlXPathNewNodeSetList xmlXPathWrapNodeSet xmlXPathWrapExternal -xmlXPathFreeNodeSetList -xmlXPathFreeObject -xmlXPathNewContext -xmlXPathFreeContext xmlXPathEqualValues xmlXPathCompareValues xmlXPathValueFlipSign @@ -1305,8 +1296,10 @@ A:link, A:visited, A:active { text-decoration: underline } xmlXPathLastFunction xmlXPathPositionFunction xmlXPathCountFunction +xmlXPathIdFunction xmlXPathLocalNameFunction xmlXPathNamespaceURIFunction +xmlXPathStringFunction xmlXPathStringLengthFunction xmlXPathConcatFunction xmlXPathContainsFunction diff --git a/doc/APIfunctions.html b/doc/APIfunctions.html index 2a4f1d86..33f964c7 100644 --- a/doc/APIfunctions.html +++ b/doc/APIfunctions.html @@ -124,7 +124,6 @@ A:link, A:visited, A:active { text-decoration: underline } xmlMemShow xmlXPathDebugDumpObject xmlXPathDebugDumpCompExpr -xmlXPathDebugDumpObject

Type char **:

@@ -184,46 +183,6 @@ A:link, A:visited, A:active { text-decoration: underline } htmlNewDocNoDtD htmlNewDocNoDtD htmlSetMetaEncoding -internalSubset -internalSubset -internalSubset -externalSubset -externalSubset -externalSubset -getEntity -getParameterEntity -resolveEntity -resolveEntity -entityDecl -entityDecl -entityDecl -attributeDecl -attributeDecl -attributeDecl -elementDecl -notationDecl -notationDecl -notationDecl -unparsedEntityDecl -unparsedEntityDecl -unparsedEntityDecl -unparsedEntityDecl -attribute -attribute -startElement -endElement -reference -characters -ignorableWhitespace -processingInstruction -processingInstruction -globalNamespace -globalNamespace -setNamespace -namespaceDecl -namespaceDecl -comment -cdataBlock xmlACatalogAdd xmlACatalogAdd xmlACatalogAdd @@ -464,6 +423,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlGetRefs xmlValidNormalizeAttributeValue xmlValidNormalizeAttributeValue +xmlValidCtxtNormalizeAttributeValue +xmlValidCtxtNormalizeAttributeValue xmlValidateAttributeValue xmlValidateOneAttribute xmlValidateNotationUse @@ -504,16 +465,55 @@ A:link, A:visited, A:active { text-decoration: underline } xmlXPathNewParserContext xmlXPathNewString xmlXPathStringEvalNumber -xmlXPathNewString xmlXPathIsNodeType xmlXPtrEval +internalSubset +internalSubset +internalSubset +externalSubset +externalSubset +externalSubset +getEntity +getParameterEntity +resolveEntity +resolveEntity +entityDecl +entityDecl +entityDecl +attributeDecl +attributeDecl +attributeDecl +elementDecl +notationDecl +notationDecl +notationDecl +unparsedEntityDecl +unparsedEntityDecl +unparsedEntityDecl +unparsedEntityDecl +attribute +attribute +startElement +endElement +reference +characters +ignorableWhitespace +processingInstruction +processingInstruction +globalNamespace +globalNamespace +setNamespace +namespaceDecl +namespaceDecl +comment +cdataBlock

Type const xmlChar **:

-startElement startElementSAXFunc xmlValidGetValidElements xmlValidGetPotentialChildren +startElement

Type const xmlChar*:

@@ -561,7 +561,6 @@ A:link, A:visited, A:active { text-decoration: underline } xmlXPathCastNumberToBoolean xmlXPathCastNumberToString xmlXPathNewFloat -xmlXPathNewFloat

Type ftpDataCallback:

@@ -660,40 +659,6 @@ A:link, A:visited, A:active { text-decoration: underline } htmlSAXParseDoc htmlSAXParseFile htmlCreatePushParserCtxt -getPublicId -getSystemId -setDocumentLocator -getLineNumber -getColumnNumber -isStandalone -hasInternalSubset -hasExternalSubset -internalSubset -externalSubset -getEntity -getParameterEntity -resolveEntity -entityDecl -attributeDecl -elementDecl -notationDecl -unparsedEntityDecl -startDocument -endDocument -attribute -startElement -endElement -reference -characters -ignorableWhitespace -processingInstruction -globalNamespace -setNamespace -getNamespace -checkNamespace -namespaceDecl -comment -cdataBlock xmlCatalogFreeLocal xmlCatalogAddLocal xmlCatalogLocalResolve @@ -808,6 +773,40 @@ A:link, A:visited, A:active { text-decoration: underline } xmlXPathFuncLookupFunc xmlXPathRegisterFuncLookup xmlXPathWrapExternal +getPublicId +getSystemId +setDocumentLocator +getLineNumber +getColumnNumber +isStandalone +hasInternalSubset +hasExternalSubset +internalSubset +externalSubset +getEntity +getParameterEntity +resolveEntity +entityDecl +attributeDecl +elementDecl +notationDecl +unparsedEntityDecl +startDocument +endDocument +attribute +startElement +endElement +reference +characters +ignorableWhitespace +processingInstruction +globalNamespace +setNamespace +getNamespace +checkNamespace +namespaceDecl +comment +cdataBlock

Type xmlAttrPtr:

@@ -922,8 +921,6 @@ A:link, A:visited, A:active { text-decoration: underline } docbParseDoc htmlSAXParseDoc htmlParseDoc -entityDecl -checkNamespace xmlHashDeallocator xmlHashCopier xmlHashScanner @@ -944,6 +941,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlNewElementContent xmlCreateEnumeration xmlXPathWrapString +entityDecl +checkNamespace

Type xmlChar **:

@@ -1080,6 +1079,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlValidateRoot xmlValidateElementDecl xmlValidNormalizeAttributeValue +xmlValidCtxtNormalizeAttributeValue xmlValidateAttributeDecl xmlValidateNotationDecl xmlValidateDtd @@ -1093,7 +1093,6 @@ A:link, A:visited, A:active { text-decoration: underline } xmlIsMixedElement xmlXIncludeProcess xmlXPathNewContext -xmlXPathNewContext xmlXPtrNewContext

Type xmlDtdPtr:

@@ -1117,13 +1116,13 @@ A:link, A:visited, A:active { text-decoration: underline }

Type xmlElementContentPtr:

-elementDecl elementDeclSAXFunc xmlCopyElementContent xmlFreeElementContent xmlSnprintfElementContent xmlSprintfElementContent xmlAddElementDecl +elementDecl

Type xmlElementContentPtr *:

@@ -1167,11 +1166,11 @@ A:link, A:visited, A:active { text-decoration: underline }

Type xmlEnumerationPtr:

-attributeDecl attributeDeclSAXFunc xmlFreeEnumeration xmlCopyEnumeration xmlAddAttributeDecl +attributeDecl

Type xmlEnumerationPtr *:

@@ -1451,6 +1450,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlIsID xmlIsRef xmlValidNormalizeAttributeValue +xmlValidCtxtNormalizeAttributeValue xmlValidateElement xmlValidateOneElement xmlValidateOneAttribute @@ -1468,10 +1468,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlXPathNewValueTree xmlXPathNodeSetAdd xmlXPathNodeSetAddUnique -xmlXPathNodeSetCreate -xmlXPathNodeSetAdd xmlXPathNodeSetDel -xmlXPathNewNodeSet xmlXPathNextSelf xmlXPathNextChild xmlXPathNextDescendant @@ -1534,12 +1531,10 @@ A:link, A:visited, A:active { text-decoration: underline } xmlXPathNodeSetAdd xmlXPathNodeSetAddUnique xmlXPathNodeSetSort -xmlXPathNodeSetAdd xmlXPathNodeSetMerge xmlXPathNodeSetMerge xmlXPathNodeSetDel xmlXPathNodeSetRemove -xmlXPathFreeNodeSet xmlXPathNewNodeSetList xmlXPathWrapNodeSet xmlXPtrNewLocationSetNodeSet @@ -1621,7 +1616,6 @@ A:link, A:visited, A:active { text-decoration: underline } xmlLoadExternalEntity xmlSwitchEncoding xmlSwitchToEncoding -xmlFreeParserCtxt xmlHandleEntity xmlNewStringInputStream xmlNewEntityInputStream @@ -1712,6 +1706,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlParserInputGrow xmlPushInput xmlFreeInputStream +xmlParseElementMixedContentDecl +xmlParseElementChildrenContentDecl inputPush xmlParserInputShrink xmlParserPrintFileInfo @@ -1764,8 +1760,8 @@ A:link, A:visited, A:active { text-decoration: underline }

Type xmlSAXLocatorPtr:

-setDocumentLocator setDocumentLocatorSAXFunc +setDocumentLocator

Type xmlShellCtxtPtr:

@@ -1809,6 +1805,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlAddRef xmlValidateRoot xmlValidateElementDecl +xmlValidCtxtNormalizeAttributeValue xmlValidateAttributeDecl xmlValidateNotationDecl xmlValidateDtd @@ -1850,7 +1847,6 @@ A:link, A:visited, A:active { text-decoration: underline } xmlXPathRegisteredVariablesCleanup xmlXPathNewParserContext xmlXPathRegisterAllFunctions -xmlXPathFreeContext xmlXPtrEval

Type xmlXPathFuncLookupFunc:

@@ -1881,10 +1877,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlXPathRegisterVariable xmlXPathRegisterVariableNS valuePush -xmlXPathDebugDumpObject xmlXPathEvaluatePredicateResult -xmlXPathFreeNodeSetList -xmlXPathFreeObject xmlXPtrLocationSetCreate xmlXPtrNewRangePoints xmlXPtrNewRangePoints @@ -1909,13 +1902,11 @@ A:link, A:visited, A:active { text-decoration: underline } xmlXPathFreeParserContext valuePop valuePush -xmlXPathIdFunction xmlXPathRoot xmlXPathEvalExpr xmlXPathParseName xmlXPathParseNCName xmlXPathEvaluatePredicateResult -xmlXPathStringFunction xmlXPathEqualValues xmlXPathCompareValues xmlXPathValueFlipSign @@ -1937,7 +1928,6 @@ A:link, A:visited, A:active { text-decoration: underline } xmlXPathNextPreceding xmlXPathNextAncestor xmlXPathNextPrecedingSibling -xmlXPathRoot xmlXPathLastFunction xmlXPathPositionFunction xmlXPathCountFunction diff --git a/doc/APIsymbols.html b/doc/APIsymbols.html index 0e1f2f0d..68b06f0b 100644 --- a/doc/APIsymbols.html +++ b/doc/APIsymbols.html @@ -149,10 +149,23 @@ A:link, A:visited, A:active { text-decoration: underline }

Letter M:

-MEM_LIST MOVETO_ENDTAG MOVETO_STARTTAG

+

Letter P:

+

+PyFile_Get +Pycatalog_Get +Pycatalog_Object +PyparserCtxt_Get +PyparserCtxt_Object +PyxmlNode_Get +PyxmlNode_Object +PyxmlXPathContext_Get +PyxmlXPathContext_Object +PyxmlXPathParserContext_Get +PyxmlXPathParserContext_Object +

Letter S:

SKIP_EOL @@ -270,7 +283,7 @@ A:link, A:visited, A:active { text-decoration: underline } htmlCreateFileParserCtxt htmlCreatePushParserCtxt htmlDefaultSAXHandler -htmlDefaultSAXHandlerInit +htmlDefaultSAXHandlerInit htmlDocContentDumpFormatOutput htmlDocContentDumpOutput htmlDocDump @@ -333,6 +346,30 @@ A:link, A:visited, A:active { text-decoration: underline } isStandaloneSAXFunc isolat1ToUTF8

+

Letter l:

+

+libxml_charPtrConstWrap +libxml_charPtrWrap +libxml_constcharPtrWrap +libxml_constxmlCharPtrWrap +libxml_doubleWrap +libxml_intWrap +libxml_longWrap +libxml_xmlAttrPtrWrap +libxml_xmlAttributePtrWrap +libxml_xmlCatalogPtrWrap +libxml_xmlCharPtrConstWrap +libxml_xmlCharPtrWrap +libxml_xmlDocPtrWrap +libxml_xmlElementPtrWrap +libxml_xmlNodePtrWrap +libxml_xmlNsPtrWrap +libxml_xmlParserCtxtPtrWrap +libxml_xmlXPathContextPtrWrap +libxml_xmlXPathObjectPtrConvert +libxml_xmlXPathObjectPtrWrap +libxml_xmlXPathParserContextPtrWrap +

Letter n:

namePop @@ -528,7 +565,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlDecodeEntities xmlDefaultBufferSize xmlDefaultSAXHandler -xmlDefaultSAXHandlerInit +xmlDefaultSAXHandlerInit xmlDefaultSAXLocator xmlDelEncodingAlias xmlDetectCharEncoding @@ -567,8 +604,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlEncodeEntitiesReentrant xmlEncodeSpecialChars xmlEntitiesTablePtr -xmlEntity -xmlEntityPtr +xmlEntity +xmlEntityPtr xmlEntityReferenceFunc xmlEntityType xmlEnumeration @@ -1006,9 +1043,9 @@ A:link, A:visited, A:active { text-decoration: underline } xmlReplaceNode xmlRootNode xmlSAXHandler -xmlSAXHandlerPtr +xmlSAXHandlerPtr xmlSAXLocator -xmlSAXLocatorPtr +xmlSAXLocatorPtr xmlSAXParseDTD xmlSAXParseDoc xmlSAXParseEntity @@ -1106,6 +1143,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlUnsetNsProp xmlUnsetProp xmlValidCtxt +xmlValidCtxtNormalizeAttributeValue xmlValidCtxtPtr xmlValidGetPotentialChildren xmlValidGetValidElements diff --git a/doc/Makefile.am b/doc/Makefile.am index 4c887efe..de9eb723 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -34,7 +34,7 @@ $(APIPAGES): libxml2-refs.xml site.xsl api.xsl $(bindir)/xsltproc --html $(top_srcdir)/doc/api.xsl $(top_srcdir)/doc/xml.html ; fi ); scan: - gtkdoc-scan --module=libxml --source-dir=$(DOC_SOURCE_DIR) --ignore-headers="acconfig.h config.h xmlwin32version.h win32config.h trio.h triostr.h triop.h config-mac.h XMLTestPrefix2.h XMLTestPrefix.h triodef.h trionan.h xlink.h libxml.h" + gtkdoc-scan --module=libxml --source-dir=$(DOC_SOURCE_DIR) --ignore-headers="acconfig.h config.h xmlwin32version.h win32config.h trio.h triostr.h triop.h config-mac.h XMLTestPrefix2.h XMLTestPrefix.h triodef.h trionan.h xlink.h libxml.h libxml2-py.h libxml_wrap.h" templates: scan gtkdoc-mktmpl --module=libxml diff --git a/doc/html/index.sgml b/doc/html/index.sgml index 04a7f8ca..aa071011 100644 --- a/doc/html/index.sgml +++ b/doc/html/index.sgml @@ -11,7 +11,6 @@ - @@ -41,7 +40,6 @@ - @@ -91,8 +89,6 @@ - - @@ -163,6 +159,12 @@ + + + + + + @@ -338,7 +340,6 @@ - @@ -405,6 +406,7 @@ + @@ -649,28 +651,19 @@ - - - - - - - - - @@ -696,8 +689,10 @@ + + @@ -868,12 +863,12 @@ + + - - @@ -954,8 +949,8 @@ - + @@ -963,7 +958,6 @@ - @@ -1141,7 +1135,6 @@ - diff --git a/doc/html/libxml-catalog.html b/doc/html/libxml-catalog.html index b52e2668..2c5fd918 100644 --- a/doc/html/libxml-catalog.html +++ b/doc/html/libxml-catalog.html @@ -123,7 +123,7 @@ NAME="LIBXML-CATALOG" >

Name

Synopsis

Description

Details










































Name

Synopsis

Description

Details



















  a valid result generated by an xpath evaluation










  a node

Name

Synopsis

Description

Details



















Name

Synopsis

Description

Details






























Name

Synopsis

xmlEntityType; struct xmlEntity; typedef xmlEntityPtr; -typedef xmlEntitiesTablePtr; @@ -167,7 +163,7 @@ HREF="libxml-entities.html#XMLINITIALIZEPREDEFINEDENTITIES" >xmlInitializePredefinedEntities (void); xmlEntityPtr xmlChar *content); xmlEntityPtr xmlChar *content); xmlEntityPtr xmlChar *name); xmlEntityPtr xmlChar *name); xmlEntityPtr xmlChar *name); xmlEntityPtr xmlBufferPtr buf, xmlEntityPtr ent); void

Description

Details


struct xmlEntity { void *_private; /* application data */ xmlElementType type; /* XML_ENTITY_DECL, must be second ! */ - const xmlChar *name; /* Attribute name */ - struct _xmlNode *children; /* NULL */ - struct _xmlNode *last; /* NULL */ + const xmlChar *name; /* Entity name */ + struct _xmlNode *children; /* First child link */ + struct _xmlNode *last; /* Last child link */ struct _xmlDtd *parent; /* -> DTD */ struct _xmlNode *next; /* next sibling link */ struct _xmlNode *prev; /* previous sibling link */ @@ -467,33 +463,7 @@ CLASS="PROGRAMLISTING" >

>xmlEntityPtr

typedef xmlEntity *xmlEntityPtr;




xmlEntityPtr xmlAddDocEntity                (


xmlEntityPtr xmlAddDtdEntity                (


xmlEntityPtr xmlGetPredefinedEntity         (const 


xmlEntityPtr xmlGetDocEntity                (


xmlEntityPtr xmlGetDtdEntity                (

Do an entity lookup in the DTD entity hash table and -returns the corresponding entity, if found.


xmlEntityPtr xmlGetParameterEntity          (


Name

Synopsis

Description

Details



























Name

Synopsis

xmlChar *name); -void* (*xmlHashScanner) (void *payload, @@ -524,7 +524,7 @@ HREF="libxml-hash.html#XMLHASHSCANNERFULL" >

Description

Details



Callback to free data from a hash

  the data in the hash  the name associated

Callback to copy data from a hash

  the data in the hash  the name associated
void*       (*xmlHashScanner)               (void *payload,
+>void        (*xmlHashScanner)               (void *payload,
                                              void *data,
                                              

Callback when scanning data in a hash with the simple scanner

  the data in the hash  extra scannner data  the name associated

Callback when scanning data in a hash with the full scanner

  the data in the hash  extra scannner data  the name associated  the second name associated  the third name associated




















Name

Synopsis

Description

Details
































Name

Synopsis

Description

Details




















  should formatting spaces been added

Name

Synopsis

Description

Details























Name

Synopsis

Description

Details













) (xmlChar*); +> *str); struct xmlParserInputxmlSAXLocator; -typedef xmlSAXLocatorPtr; xmlParserInputPtrxmlChar *SystemID); xmlEntityPtr (xmlChar *name); xmlEntityPtr (xmlChar *name, +> *fullname, int type, int def, const *setDocumentLocatorSAXFunc) (void *ctx, xmlSAXLocatorPtr loc); void (xmlSAXHandler; -typedef xmlSAXHandlerPtr; xmlParserInputPtrxmlSAXParseDoc (xmlSAXHandlerPtr sax, xmlSAXUserParseFile (xmlSAXHandlerPtr sax, void *user_data, @@ -842,7 +834,7 @@ int xmlSAXUserParseMemory (xmlSAXHandlerPtr sax, void *user_data, @@ -855,7 +847,7 @@ HREF="libxml-tree.html#XMLDOCPTR" HREF="libxml-parser.html#XMLSAXPARSEMEMORY" >xmlSAXParseMemory (xmlSAXHandlerPtr sax, const char *buffer, @@ -868,7 +860,7 @@ HREF="libxml-tree.html#XMLDOCPTR" HREF="libxml-parser.html#XMLSAXPARSEFILE" >xmlSAXParseFile (xmlSAXHandlerPtr sax, const char *filename, @@ -880,7 +872,7 @@ HREF="libxml-tree.html#XMLDOCPTR" HREF="libxml-parser.html#XMLSAXPARSEFILEWITHDATA" >xmlSAXParseFileWithData (xmlSAXHandlerPtr sax, const char *filename, @@ -893,7 +885,7 @@ HREF="libxml-tree.html#XMLDOCPTR" HREF="libxml-parser.html#XMLSAXPARSEENTITY" >xmlSAXParseEntity (xmlSAXHandlerPtr sax, const char *filename); @@ -925,7 +917,7 @@ HREF="libxml-tree.html#XMLDTDPTR" HREF="libxml-parser.html#XMLSAXPARSEDTD" >xmlSAXParseDTD (xmlSAXHandlerPtr sax, const xmlIOParseDTD (xmlSAXHandlerPtr sax, xmlDocPtr doc, xmlSAXHandlerPtr sax, void *user_data, @@ -983,7 +975,7 @@ HREF="libxml-tree.html#XMLDOCPTR" >xmlDocPtr doc, xmlSAXHandlerPtr sax, void *user_data, @@ -1020,14 +1012,6 @@ HREF="libxml-tree.html#XMLNODEPTR" >xmlNodePtr *lst); void xmlDefaultSAXHandlerInit (void); -void htmlDefaultSAXHandlerInit (void); -void xmlInitParserCtxt (xmlCreatePushParserCtxt (xmlSAXHandlerPtr sax, void *user_data, @@ -1124,7 +1108,7 @@ HREF="libxml-tree.html#XMLPARSERCTXTPTR" HREF="libxml-parser.html#XMLCREATEIOPARSERCTXT" >xmlCreateIOParserCtxt (xmlSAXHandlerPtr sax, void *user_data, @@ -1239,7 +1223,7 @@ HREF="libxml-parser.html#XMLLOADEXTERNALENTITY" xmlParserCtxtPtr context);

ctxt);

*str);

Callback for freeing some parser input allocations

Param1str :  the string to deallocate











>xmlSAXLocatorPtr

typedef xmlSAXLocator *xmlSAXLocatorPtr;


Callback: +The entity loader, to control the loading of external entities, +the application can either: + - override this resolveEntity() callback in the SAX block + - or better use the xmlSetExternalEntityLoader() function to + set up it's own entity resolution routine

  the user data (XML parser context)  The public ID of the entity  The system ID of the entity the xmlParserInputPtr if inlined or NULL for DOM behaviour.

Callback on internal subset declaration.

  the user data (XML parser context)  the root element name  the external ID  the SYSTEM ID (e.g. filename or URL)

Callback on external subset declaration.

  the user data (XML parser context)  the root element name  the external ID  the SYSTEM ID (e.g. filename or URL)

xmlEntityPtr (*getEntitySAXFunc)            (void *ctx,
                                              const 

Get an entity by name

  the user data (XML parser context)  The entity name the xmlEntityPtr if found.

xmlEntityPtr (*getParameterEntitySAXFunc)   (void *ctx,
                                              const 

Get a parameter entity by name

  the user data (XML parser context)  The entity name the xmlEntityPtr if found.

An entity definition has been parsed

  the user data (XML parser context)  the entity name   the entity type   The public ID of the entity  The system ID of the entity  the entity value (without processing).

What to do when a notation declaration has been parsed.

  the user data (XML parser context)  The name of the notation  The public ID of the entity  The system ID of the entity

xmlChar *name, +> *fullname, int type, int def, const

An attribute definition has been parsed

  the user data (XML parser context)  the name of the elementnamefullname :  the attribute name   the attribute type   the type of default value  the attribute default value  the tree of enumerated value set

An element definition has been parsed

  the user data (XML parser context)  the element name   the element type   the element value tree

What to do when an unparsed entity declaration is parsed

  the user data (XML parser context)  The name of the entity  The public ID of the entity  The system ID of the entity  the name of the notation

Receive the document locator at startup, actually xmlDefaultSAXLocator +Everything is available on the context, so this is useless in our case.

  the user data (XML parser context)  A SAX Locator

called when the document start being processed.

  the user data (XML parser context)

called when the document end has been detected.

  the user data (XML parser context)

called when an opening tag has been processed.

  the user data (XML parser context)  The element name, including namespace prefix  An array of name/value attributes pairs, NULL terminated

called when the end of an element has been detected.

  the user data (XML parser context)  The element name

Handle an attribute that has been read by the parser. +The default handling is to convert the attribute into an +DOM subtree and past it in a new xmlAttr element added to +the element.

  the user data (XML parser context)  The attribute name, including namespace prefix  The attribute value

called when an entity reference is detected.

  the user data (XML parser context)  The entity name

receiving some chars from the parser.

  the user data (XML parser context)  a xmlChar string  the number of xmlChar

receiving some ignorable whitespaces from the parser. +UNUSED: by default the DOM building will use characters

  the user data (XML parser context)  a xmlChar string  the number of xmlChar

A processing instruction has been parsed.

  the user data (XML parser context)  the target name  the PI data's

A comment has been parsed.

  the user data (XML parser context)  the comment content

called when a pcdata block has been parsed

  the user data (XML parser context)  The pcdata content  the block length

Display and format a warning messages, callback

  an XML parser context  the message to display/transmit  extra parameters for the message display

Display and format an error messages, callback

  an XML parser context  the message to display/transmit  extra parameters for the message display

Display and format fatal error messages, callback

  an XML parser context  the message to display/transmit  extra parameters for the message display

Is this document tagged standalone ?

  the user data (XML parser context) 1 if true

Does this document has an internal subset

  the user data (XML parser context) 1 if true

Does this document has an external subset

  the user data (XML parser context) 1 if true


>xmlSAXHandlerPtr

typedef xmlSAXHandler *xmlSAXHandlerPtr;





































xmlDocPtr xmlSAXParseDoc (xmlSAXHandlerPtr sax,


int         xmlSAXUserParseFile             (xmlSAXHandlerPtr sax,
                                              void *user_data,
@@ -8276,7 +8283,7 @@ Automatic support for ZLIB/Compress compressed document is provided


int         xmlSAXUserParseMemory           (xmlSAXHandlerPtr sax,
                                              void *user_data,
@@ -8397,7 +8404,7 @@ parse an XML in-memory buffer and call the given SAX handler routines.


xmlDocPtr xmlSAXParseMemory (xmlSAXHandlerPtr sax, const char *buffer, @@ -8539,7 +8546,7 @@ DOM tree building routines.


xmlDocPtr xmlSAXParseFile (xmlSAXHandlerPtr sax, const char *filename, @@ -8682,7 +8689,7 @@ If sax is NULL, fallback to the default DOM tree building routines.


xmlDocPtr xmlSAXParseFileWithData (xmlSAXHandlerPtr sax, const char *filename, @@ -8812,7 +8819,7 @@ available nearly everywhere in libxml.


xmlDocPtr xmlSAXParseEntity (xmlSAXHandlerPtr sax, const char *filename);




xmlDtdPtr xmlSAXParseDTD (xmlSAXHandlerPtr sax, const


xmlDtdPtr xmlIOParseDTD (xmlSAXHandlerPtr sax,


xmlDocPtr doc, xmlSAXHandlerPtr sax, void *user_data, @@ -9532,7 +9539,7 @@ the content production in the XML grammar:


xmlDocPtr doc, xmlSAXHandlerPtr sax, void *user_data, @@ -9723,7 +9730,7 @@ production labeled extParsedEnt.



>xmlDefaultSAXHandlerInit ()

void        xmlDefaultSAXHandlerInit        (void);

Initialize the default SAX handler


>htmlDefaultSAXHandlerInit ()

void        htmlDefaultSAXHandlerInit       (void);

Initialize the default SAX handler










xmlParserCtxtPtr xmlCreatePushParserCtxt (xmlSAXHandlerPtr sax, void *user_data, @@ -10884,7 +10835,7 @@ and error/warning reports.



xmlParserCtxtPtr xmlCreateIOParserCtxt (xmlSAXHandlerPtr sax, void *user_data, @@ -11190,7 +11141,7 @@ I/O stream

ctxt);

contextctxt :  the context in which the entity is called or NULL

Name

Synopsis

xmlIsIdeographic (int c); int xmlIsCombining (int c); -int xmlIsExtender (int c); int xmlIsCombining (int c); +int xmlIsChar (int c); @@ -301,13 +301,6 @@ HREF="libxml-encoding.html#XMLCHARENCODINGHANDLERPTR" >xmlCharEncodingHandlerPtr handler); void xmlFreeParserCtxt (xmlParserCtxtPtr ctxt); -void xmlHandleEntity (xmlParserCtxtPtr ctxt, xmlEntityPtr entity); xmlParserCtxtPtr ctxt, xmlEntityPtr entity); void xmlParserCtxtPtr ctxt); +> ctxt, + xmlParserInputPtr inputchk); xmlElementContentPtrxmlParserCtxtPtr ctxt); +> ctxt, + xmlParserInputPtr inputchk); int xmlParseElementContentDeclxmlParserCtxtPtr ctxt); xmlEntityPtr *xmlEntityReferenceFunc) (xmlEntityPtr ent,

Description

Details





















>xmlIsCombining ()

int         xmlIsCombining                  (int c);

Check whether the character is allowed by the production -[87] CombiningChar ::= ... long list see REC ...

c : an unicode character (int)
Returns :0 if not, non-zero otherwise



>xmlIsCombining ()

int         xmlIsCombining                  (int c);

Check whether the character is allowed by the production +[87] CombiningChar ::= ... long list see REC ...

c : an unicode character (int)
Returns :0 if not, non-zero otherwise









>xmlFreeParserCtxt ()

void        xmlFreeParserCtxt               (xmlParserCtxtPtr ctxt);

Free all the memory used by a parser context. However the parsed -document in ctxt->myDoc is not freed.

ctxt : 


































xmlParserCtxtPtr ctxt); ctxt, + xmlParserInputPtr inputchk);

inputchk : Returns


xmlParserCtxtPtr ctxt); ctxt, + xmlParserInputPtr inputchk);

inputchk : Returns





xmlEntityPtr xmlParseEntityRef              (


























  the element node 0 in case of error, the index in the stack otherwise


  the parser input 0 in case of error, the index in the stack otherwise



  the element name 0 in case of error, the index in the stack otherwise













void        (*xmlEntityReferenceFunc)       (xmlEntityPtr ent,
                                              

Callback function used when one need to be able to track back the +provenance of a chunk of nodes inherited from an entity replacement

  the entity  the fist node in the chunk  the last nod in the chunk

Name

Synopsis

setDocumentLocator (void *ctx, xmlSAXLocatorPtr loc); int xmlChar *SystemID); xmlEntityPtr xmlChar *name); xmlEntityPtr xmlSAXHandler *hdlr); void xmlDefaultSAXHandlerInit (void); void htmlDefaultSAXHandlerInit (void); void









xmlEntityPtr getEntity                      (void *ctx,
                                              const 


xmlEntityPtr getParameterEntity             (void *ctx,
                                              const 
























Initialize the default XML SAX handler

  the SAX handler  flag if non-zero sets the handler warning procedure

Initialize the default HTML SAX handler

  the SAX handler

Initialize the default DocBook SAX handler

  the SAX handler



Name

Synopsis

xmlMutexPtr; +struct xmlRMutex; +typedef xmlRMutexPtr; xmlMutexPtrxmlMutexPtr tok); -struct xmlRMutex; -typedef xmlRMutexPtr; xmlRMutexPtr

Description

Details



>struct xmlRMutex

struct xmlRMutex;


>xmlRMutexPtr

typedef xmlRMutex *xmlRMutexPtr;






>struct xmlRMutex

struct xmlRMutex;


>xmlRMutexPtr

typedef xmlRMutex *xmlRMutexPtr;












Name

Synopsis

xmlParserCtxtPtr; +struct xmlSAXLocator; +typedef xmlSAXLocatorPtr; +struct xmlSAXHandler; +typedef xmlSAXHandlerPtr; +struct xmlEntity; +typedef xmlEntityPtr; #define BASE_BUFFER_SIZE

Description

Details









>struct xmlSAXLocator

struct xmlSAXLocator {
+    const xmlChar *(*getPublicId)(void *ctx);
+    const xmlChar *(*getSystemId)(void *ctx);
+    int (*getLineNumber)(void *ctx);
+    int (*getColumnNumber)(void *ctx);
+};

a SAX Locator.


>xmlSAXLocatorPtr

typedef xmlSAXLocator *xmlSAXLocatorPtr;


>struct xmlSAXHandler

struct xmlSAXHandler {
+    internalSubsetSAXFunc internalSubset;
+    isStandaloneSAXFunc isStandalone;
+    hasInternalSubsetSAXFunc hasInternalSubset;
+    hasExternalSubsetSAXFunc hasExternalSubset;
+    resolveEntitySAXFunc resolveEntity;
+    getEntitySAXFunc getEntity;
+    entityDeclSAXFunc entityDecl;
+    notationDeclSAXFunc notationDecl;
+    attributeDeclSAXFunc attributeDecl;
+    elementDeclSAXFunc elementDecl;
+    unparsedEntityDeclSAXFunc unparsedEntityDecl;
+    setDocumentLocatorSAXFunc setDocumentLocator;
+    startDocumentSAXFunc startDocument;
+    endDocumentSAXFunc endDocument;
+    startElementSAXFunc startElement;
+    endElementSAXFunc endElement;
+    referenceSAXFunc reference;
+    charactersSAXFunc characters;
+    ignorableWhitespaceSAXFunc ignorableWhitespace;
+    processingInstructionSAXFunc processingInstruction;
+    commentSAXFunc comment;
+    warningSAXFunc warning;
+    errorSAXFunc error;
+    fatalErrorSAXFunc fatalError;
+    getParameterEntitySAXFunc getParameterEntity;
+    cdataBlockSAXFunc cdataBlock;
+    externalSubsetSAXFunc externalSubset;
+    int initialized;
+};

a SAX handler is bunch of callbacks called by the parser when processing +of the input generate data or structure informations.


>xmlSAXHandlerPtr

typedef xmlSAXHandler *xmlSAXHandlerPtr;


>struct xmlEntity

struct xmlEntity {
+    void           *_private;	        /* application data */
+    xmlElementType          type;       /* XML_ENTITY_DECL, must be second ! */
+    const xmlChar          *name;	/* Entity name */
+    struct _xmlNode    *children;	/* First child link */
+    struct _xmlNode        *last;	/* Last child link */
+    struct _xmlDtd       *parent;	/* -> DTD */
+    struct _xmlNode        *next;	/* next sibling link  */
+    struct _xmlNode        *prev;	/* previous sibling link  */
+    struct _xmlDoc          *doc;       /* the containing document */
+
+    xmlChar                *orig;	/* content without ref substitution */
+    xmlChar             *content;	/* content or ndata if unparsed */
+    int                   length;	/* the content length */
+    xmlEntityType          etype;	/* The entity type */
+    const xmlChar    *ExternalID;	/* External identifier for PUBLIC */
+    const xmlChar      *SystemID;	/* URI for a SYSTEM or PUBLIC Entity */
+
+    struct _xmlEntity     *nexte;	/* unused */
+    const xmlChar           *URI;	/* the full URI as computed */
+};


>xmlEntityPtr

typedef xmlEntity *xmlEntityPtr;


















































Frees an XML buffer.

Frees an XML buffer. It frees both the content and the structure which +encapsulate it.



























































Add a new child element, to Add a new node to parent, at the end of the child list +>, at the end of the child (or property) list merging adjacent TEXT nodes (in which case cur is freed)

is freed) +If the new node was already inserted in a document it is +first unlinked from its existing context. +If the new node is ATTRIBUTE, it is added into properties instead of children. +If there is an attribute with equal name, it is first destroyed.





Add a new element Add a new node elem as the previous siblings of as the previous sibling of curelem may be freed) -If the new element was already inserted in a document it is -first unlinked from its existing context.

the new element or NULL in case of error.the new node or NULL in case of error.

Add a new element Add a new node elem as the next siblings of as the next sibling of cur -If the new element was already inserted in a document it is +If the new node was already inserted in a document it is first unlinked from its existing context. As a result of text merging elem may be freed.

may be freed. +If the new node is ATTRIBUTE, it is added into properties instead of children. +If there is an attribute with equal name, it is first destroyed.

the new element or NULL in case of error.the new node or NULL in case of error.
























cur : the node being modified
content : the new value of the content


>xmlNodeSetContentLen ()

void        xmlNodeSetContentLen            (xmlNodePtr cur,
-                                             const xmlChar *content,
-                                             int len);

Replace the content of a node.

cur : the node being modified
content : the new value of the content
len : the size of content


>xmlNodeAddContent ()

void        xmlNodeAddContent               (xmlNodePtr cur,
-                                             const xmlChar *content);

Append the extra substring to the node content.

extra content the new value of the content

>xmlNodeSetContentLen ()

void        xmlNodeSetContentLen            (xmlNodePtr cur,
+                                             const xmlChar *content,
+                                             int len);

Replace the content of a node.

cur : the node being modified
content : the new value of the content
len : the size of content


>xmlNodeAddContent ()

void        xmlNodeAddContent               (xmlNodePtr cur,
+                                             const xmlChar *content);

Append the extra substring to the node content.

cur : the node being modified
content : extra content


>xmlNodeAddContentLen ()


































Name

Synopsis

Description

Details













Name

Synopsis

xmlChar *value); +xmlChar* xmlValidCtxtNormalizeAttributeValue + (xmlValidCtxtPtr ctxt, + xmlDocPtr doc, + xmlNodePtr elem, + const xmlChar *name, + const xmlChar *value); int xmlValidateAttributeDecl

Description

Details



Callback called when a validity error is found, this is a message +oriented function similar to an *printf function.

  an xmlValidCtxtPtr validity error context  the string to format *printf like vararg  remaining arguments to the format

Callback called when a validity warning is found, this is a message +oriented function similar to an *printf function.

  an xmlValidCtxtPtr validity error context  the string to format *printf like vararg  remaining arguments to the format













































>xmlValidCtxtNormalizeAttributeValue ()

xmlChar*    xmlValidCtxtNormalizeAttributeValue
+                                            (xmlValidCtxtPtr ctxt,
+                                             xmlDocPtr doc,
+                                             xmlNodePtr elem,
+                                             const xmlChar *name,
+                                             const xmlChar *value);

Does the validation related extra step of the normalization of attribute +values:

If the declared value is not CDATA, then the XML processor must further +process the normalized attribute value by discarding any leading and +trailing space (x20) characters, and by replacing sequences of space +(x20) characters by single space (x20) character.

Also check VC: Standalone Document Declaration in P32, and update + ctxt->valid accordingly

ctxt : the validation context
doc : the document
elem : the parent
name : the attribute name
value : the attribute value
Returns :a new normalized string if normalization is needed, NULL otherwise + the caller must free the returned value.






1 if valid or 0 otherwise1 if valid or 0 if invalid and -1 if not well-formed














Name

Synopsis

Description

Details

Name

Synopsis

Description

Details


Signature of the function to use when there is an error and +no parsing or validity context available

  a parsing context  the message  the extra arguments of the varags to format the message


Set or reset (if NULL) the default handler for generic errors

  the handler






Name

Synopsis

Description

Details

Callback used in the I/O Input API to detect if the current handler +can provide input fonctionnalities for this resource.

  the filename or URI 1 if yes and 0 if another Input module should be used

Callback used in the I/O Input API to open the resource

  the filename or URI

Callback used in the I/O Input API to read the resource

  an Input context  the buffer to store data read  the length of the buffer in bytes the number of bytes read or -1 in case of error

Callback used in the I/O Input API to close the resource

  an Input context 0 or -1 in case of error


Callback used in the I/O Output API to detect if the current handler +can provide output fonctionnalities for this resource.

  the filename or URI 1 if yes and 0 if another Output module should be used

Callback used in the I/O Output API to open the resource

  the filename or URI

Callback used in the I/O Output API to write to the resource

  an Output context  the buffer of data to write  the length of the buffer in bytes the number of bytes written or -1 in case of error

Callback used in the I/O Output API to close the resource

  an Output context 0 or -1 in case of error























  the charset encoding if known








Name

Synopsis

DEBUG_MEMORY -#define MEM_LIST void (*xmlFreeFunc) (void*); +>) (void *mem); void* (*xmlMallocFunc) (size_t); +> size); void* (*xmlReallocFunc) (void*, +>) (void *mem, size_t); +> size); char* (*xmlStrdupFunc) (const char*); +>) (const char *str); int xmlMemSetup

Description

Details


>MEM_LIST

#define MEM_LIST /* keep a list of all the allocated memory blocks */

keep track of all allocated blocks for error reporting


Signature for a free() implementation

Param1mem :  an already allocated block of memory

size);

Signature for a malloc() implementation

Param1size :  the size requested in bytes

void*       (*xmlReallocFunc)               (void*,
+>void*       (*xmlReallocFunc)               (void *mem,
                                              size_t);
size);

Signature for a realloc() implementation

Param1mem :  an already allocated block of memoryParam2size :  the new size requested in bytes

char*       (*xmlStrdupFunc)                (const char*);
char* (*xmlStrdupFunc) (const char *str);

Signature for an strdup() implementation

Param1str :  a zero terminated string the copy of the string or NULL in case of error













  the initial string pointer

Name

Synopsis

Description

Details











A conversion function is associated to a type and used to cast +the new type to primitive values.

  an XPath object  the number of the target type -1 in case of error, 0 otherwise








An axis traversal function. To traverse an axis, the engine calls +the first time with cur == NULL and repeat until the function returns +NULL indicating the end of the axis traversal.

  the XPath interpreter context  the previous node being explored on that axis the next node in that axis or NULL if at the end of the axis





An XPath function -The arguments (if any) are popped out of the context stack +The arguments (if any) are popped out from the context stack and the result is pushed on the stack.

  the XPath interprestation context  the number of arguments












val : a number
Returns :the boolean value


>xmlXPathCastStringToBoolean ()

int         xmlXPathCastStringToBoolean     (const xmlChar *val);

Converts a string to its boolean value

val : a string
Returns :the boolean value


>xmlXPathCastNodeSetToBoolean ()

int         xmlXPathCastNodeSetToBoolean    (xmlNodeSetPtr ns);

Converts a node-set to its boolean value

ns : a node-set
Returns :the boolean value


>xmlXPathCastToBoolean ()

int         xmlXPathCastToBoolean           (xmlXPathObjectPtr val);

Converts an XPath object to its boolean value

val : an XPath object
Returns :the boolean value


>xmlXPathCastBooleanToNumber ()

double      xmlXPathCastBooleanToNumber     (int val);

Converts a boolean to its number value

val : a boolean
Returns :the number value


>xmlXPathCastStringToNumber ()

double      xmlXPathCastStringToNumber      (const xmlChar *val);

Converts a string to its number value

a numberReturns :the boolean value


>xmlXPathCastStringToBoolean ()

int         xmlXPathCastStringToBoolean     (const xmlChar *val);

Converts a string to its boolean value

val : a string
Returns :the boolean value


>xmlXPathCastNodeSetToBoolean ()

int         xmlXPathCastNodeSetToBoolean    (xmlNodeSetPtr ns);

Converts a node-set to its boolean value

ns : a node-set
Returns :the boolean value


>xmlXPathCastToBoolean ()

int         xmlXPathCastToBoolean           (xmlXPathObjectPtr val);

Converts an XPath object to its boolean value

val : an XPath object
Returns :the boolean value


>xmlXPathCastBooleanToNumber ()

double      xmlXPathCastBooleanToNumber     (int val);

Converts a boolean to its number value

val : a boolean
Returns :the number value


>xmlXPathCastStringToNumber ()

double      xmlXPathCastStringToNumber      (const xmlChar *val);

Converts a string to its number value


val : a string

Prototype for callbacks used to plug variable lookup in the XPath +engine

  an XPath context  name of the variable  the namespace name hosting this variable the XPath object value or NULL if not found


Prototype for callbacks used to plug function lookup in the XPath +engine

  an XPath context  name of the function  the namespace name hosting this function the XPath function or NULL if not found















































>xmlXPathIdFunction ()

void        xmlXPathIdFunction              (xmlXPathParserContextPtr ctxt,
-                                             int nargs);

Implement the id() XPath function - node-set id(object) -The id function selects elements by their unique ID -(see [5.2.1 Unique IDs]). When the argument to id is of type node-set, -then the result is the union of the result of applying id to the -string value of each of the nodes in the argument node-set. When the -argument to id is of any other type, the argument is converted to a -string as if by a call to the string function; the string is split -into a whitespace-separated list of tokens (whitespace is any sequence -of characters matching the production S); the result is a node-set -containing the elements in the same document as the context node that -have a unique ID equal to any of the tokens in the list.

ctxt : the XPath Parser context
nargs : the number of arguments








>xmlXPathInit ()

void        xmlXPathInit                    (void);

Initialize the XPath environment


>xmlXPathStringFunction ()

void        xmlXPathStringFunction          (xmlXPathParserContextPtr ctxt,
-                                             int nargs);

Implement the string() XPath function - string string(object?) -he string function converts an object to a string as follows: - - A node-set is converted to a string by returning the value of - the node in the node-set that is first in document order. - If the node-set is empty, an empty string is returned. - - A number is converted to a string as follows - + NaN is converted to the string NaN - + positive zero is converted to the string 0 - + negative zero is converted to the string 0 - + positive infinity is converted to the string Infinity - + negative infinity is converted to the string -Infinity - + if the number is an integer, the number is represented in - decimal form as a Number with no decimal point and no leading - zeros, preceded by a minus sign (-) if the number is negative - + otherwise, the number is represented in decimal form as a - Number including a decimal point with at least one digit - before the decimal point and at least one digit after the - decimal point, preceded by a minus sign (-) if the number - is negative; there must be no leading zeros before the decimal - point apart possibly from the one required digit immediately - before the decimal point; beyond the one required digit - after the decimal point there must be as many, but only as - many, more digits as are needed to uniquely distinguish the - number from all other IEEE 754 numeric values. - - The boolean false value is converted to the string false. - The boolean true value is converted to the string true.

If the argument is omitted, it defaults to a node-set with the -context node as its only member.

ctxt : the XPath Parser context
nargs : the number of arguments



>xmlXPathNodeSetCreate ()

xmlNodeSetPtr xmlXPathNodeSetCreate         (xmlNodePtr val);

Create a new xmlNodeSetPtr of type double and of value val

val : 
Returns : 





>xmlXPathFreeNodeSet ()

void        xmlXPathFreeNodeSet             (xmlNodeSetPtr obj);

Free the NodeSet compound (not the actual nodes !).

obj : 





>xmlXPathFreeNodeSetList ()

void        xmlXPathFreeNodeSetList         (xmlXPathObjectPtr obj);

Free up the xmlXPathObjectPtr obj but don't deallocate the objects in -the list contrary to xmlXPathFreeObject().

obj : 


>xmlXPathFreeObject ()

void        xmlXPathFreeObject              (xmlXPathObjectPtr obj);

Free up an xmlXPathObjectPtr object.

obj : 


>xmlXPathNewContext ()

xmlXPathContextPtr xmlXPathNewContext       (xmlDocPtr doc);

Create a new xmlXPathContext

doc : 
Returns : 


>xmlXPathFreeContext ()

void        xmlXPathFreeContext             (xmlXPathContextPtr ctxt);

Free up an xmlXPathContext

ctxt : 



























>xmlXPathIdFunction ()

void        xmlXPathIdFunction              (xmlXPathParserContextPtr ctxt,
+                                             int nargs);

Implement the id() XPath function + node-set id(object) +The id function selects elements by their unique ID +(see [5.2.1 Unique IDs]). When the argument to id is of type node-set, +then the result is the union of the result of applying id to the +string value of each of the nodes in the argument node-set. When the +argument to id is of any other type, the argument is converted to a +string as if by a call to the string function; the string is split +into a whitespace-separated list of tokens (whitespace is any sequence +of characters matching the production S); the result is a node-set +containing the elements in the same document as the context node that +have a unique ID equal to any of the tokens in the list.

ctxt : the XPath Parser context
nargs : the number of arguments




>xmlXPathStringFunction ()

void        xmlXPathStringFunction          (xmlXPathParserContextPtr ctxt,
+                                             int nargs);

Implement the string() XPath function + string string(object?) +he string function converts an object to a string as follows: + - A node-set is converted to a string by returning the value of + the node in the node-set that is first in document order. + If the node-set is empty, an empty string is returned. + - A number is converted to a string as follows + + NaN is converted to the string NaN + + positive zero is converted to the string 0 + + negative zero is converted to the string 0 + + positive infinity is converted to the string Infinity + + negative infinity is converted to the string -Infinity + + if the number is an integer, the number is represented in + decimal form as a Number with no decimal point and no leading + zeros, preceded by a minus sign (-) if the number is negative + + otherwise, the number is represented in decimal form as a + Number including a decimal point with at least one digit + before the decimal point and at least one digit after the + decimal point, preceded by a minus sign (-) if the number + is negative; there must be no leading zeros before the decimal + point apart possibly from the one required digit immediately + before the decimal point; beyond the one required digit + after the decimal point there must be as many, but only as + many, more digits as are needed to uniquely distinguish the + number from all other IEEE 754 numeric values. + - The boolean false value is converted to the string false. + The boolean true value is converted to the string true.

If the argument is omitted, it defaults to a node-set with the +context node as its only member.

ctxt : the XPath Parser context
nargs : the number of arguments




















Name

Synopsis

Description

Details























- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -353,8 +22,8 @@ - + @@ -362,7 +31,6 @@ - @@ -450,6 +118,336 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -459,6 +457,12 @@ + + + + + + @@ -632,6 +636,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -738,28 +774,19 @@ - - - - - - - - - @@ -785,8 +812,10 @@ + + @@ -838,12 +867,12 @@ + + - - @@ -929,29 +958,6 @@ - - - - - - - - - - - - - - - - - - - - - - - @@ -965,7 +971,6 @@ - @@ -995,7 +1000,6 @@ - @@ -1045,8 +1049,6 @@ - - @@ -1080,37 +1082,28 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + @@ -1391,9 +1384,6 @@ Whether XPointer is configured in - - keep track of all allocated blocks for error reporting - Skips to the next '>' char @@ -1645,6 +1635,7 @@ + @@ -2091,7 +2082,7 @@ Default handler for HTML, builds the DOM tree - + Initialize the default SAX handler @@ -2618,7 +2609,7 @@ - Add a new child element, to parent, at the end of the child list merging adjacent TEXT nodes (in which case cur is freed) + Add a new node to parent, at the end of the child (or property) list merging adjacent TEXT nodes (in which case cur is freed) If the new node was already inserted in a document it is first unlinked from its existing context. If the new node is ATTRIBUTE, it is added into properties instead of children. If there is an attribute with equal name, it is first destroyed. @@ -2673,8 +2664,8 @@ - Add a new element elem as the next siblings of cur If the new element was already inserted in a document it is first unlinked from its existing context. As a result of text merging elem may be freed. - + Add a new node elem as the next sibling of cur If the new node was already inserted in a document it is first unlinked from its existing context. As a result of text merging elem may be freed. If the new node is ATTRIBUTE, it is added into properties instead of children. If there is an attribute with equal name, it is first destroyed. + @@ -2688,8 +2679,8 @@ - Add a new element elem as the previous siblings of cur merging adjacent TEXT nodes (elem may be freed) If the new element was already inserted in a document it is first unlinked from its existing context. - + Add a new node elem as the previous sibling of cur merging adjacent TEXT nodes (elem may be freed) If the new node was already inserted in a document it is first unlinked from its existing context. If the new node is ATTRIBUTE, it is added into properties instead of children. If there is an attribute with equal name, it is first destroyed. + @@ -3308,7 +3299,7 @@ Default handler for XML, builds the DOM tree - + Initialize the default SAX handler @@ -3472,8 +3463,8 @@ - - + + Callback function used when one need to be able to track back the provenance of a chunk of nodes inherited from an entity replacement @@ -3584,7 +3575,7 @@ - + Free all the memory used by a parser context. However the parsed document in ctxt->myDoc is not freed. @@ -3674,7 +3665,7 @@ - Do an entity lookup in the DTD entity hash table and returns the corresponding entity, if found. + Do an entity lookup in the DTD entity hash table and returns the corresponding entity, if found. Note: the first argument is the document node, not the DTD node. @@ -5211,6 +5202,7 @@ parse the declaration for a Mixed Element content The leading '(' and spaces have been skipped in xmlParseElementContentDecl + parse the declaration for an Element content either Mixed or Children, the cases EMPTY and ANY are handled directly in xmlParseElementDecl @@ -5228,6 +5220,7 @@ parse the declaration for a Mixed Element content The leading '(' and spaces have been skipped in xmlParseElementContentDecl + parse the XML encoding name @@ -5737,10 +5730,10 @@ Macro for compatibility naming layer with libxml1 - - - - + + + + Load and parse an external subset. @@ -6337,6 +6330,15 @@ + + Does the validation related extra step of the normalization of attribute values: + + + + + + + Build/extend a list of potential children allowed by the content tree @@ -6398,7 +6400,7 @@ Does the final step for the dtds validation once all the subsets have been parsed - + @@ -6734,22 +6736,22 @@ - + Free up an xmlXPathContext - + Free the NodeSet compound (not the actual nodes !). - + Free up the xmlXPathObjectPtr obj but don't deallocate the objects in the list contrary to xmlXPathFreeObject(). - + Free up an xmlXPathObjectPtr object. @@ -6811,7 +6813,7 @@ - + Initialize the XPath environment @@ -6892,7 +6894,7 @@ - + Create a new xmlXPathContext @@ -7036,7 +7038,7 @@ - + Create a new xmlNodeSetPtr of type double and of value val diff --git a/doc/libxml2-refs.xml b/doc/libxml2-refs.xml index e861559e..4a073ad0 100644 --- a/doc/libxml2-refs.xml +++ b/doc/libxml2-refs.xml @@ -45,9 +45,19 @@ - + + + + + + + + + + + @@ -133,7 +143,7 @@ - + @@ -192,6 +202,27 @@ + + + + + + + + + + + + + + + + + + + + + @@ -361,7 +392,7 @@ - + @@ -400,8 +431,8 @@ - - + + @@ -839,9 +870,9 @@ - + - + @@ -939,6 +970,7 @@ + @@ -1234,10 +1266,22 @@ - + + + + + + + + + + + + + @@ -1406,6 +1450,29 @@ + + + + + + + + + + + + + + + + + + + + + + + @@ -2170,6 +2237,7 @@ + @@ -2417,8 +2485,6 @@ - - @@ -2427,6 +2493,8 @@ + + @@ -2594,6 +2662,7 @@ + @@ -2657,8 +2726,6 @@ - - @@ -2668,6 +2735,8 @@ + + @@ -2767,7 +2836,6 @@ - @@ -2778,13 +2846,13 @@ - + @@ -2815,7 +2883,6 @@ - @@ -2826,6 +2893,7 @@ + @@ -2841,7 +2909,6 @@ - @@ -2871,14 +2938,9 @@ - - - - - @@ -2936,7 +2998,6 @@ - @@ -2989,46 +3050,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -3269,6 +3290,8 @@ + + @@ -3309,15 +3332,54 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + @@ -3356,7 +3418,6 @@ - @@ -3443,40 +3504,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -3591,6 +3618,40 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -3693,8 +3754,6 @@ - - @@ -3715,6 +3774,8 @@ + + @@ -3846,6 +3907,7 @@ + @@ -3859,7 +3921,6 @@ - @@ -3880,13 +3941,13 @@ - + @@ -3921,11 +3982,11 @@ - + @@ -4177,6 +4238,7 @@ + @@ -4194,10 +4256,7 @@ - - - @@ -4258,12 +4317,10 @@ - - @@ -4336,7 +4393,6 @@ - @@ -4425,6 +4481,8 @@ + + @@ -4469,8 +4527,8 @@ - + @@ -4508,6 +4566,7 @@ + @@ -4547,7 +4606,6 @@ - @@ -4575,10 +4633,7 @@ - - - @@ -4602,13 +4657,11 @@ - - @@ -4630,7 +4683,6 @@ - @@ -4895,7 +4947,6 @@ - @@ -5059,7 +5110,6 @@ - @@ -5089,7 +5139,6 @@ - @@ -5139,8 +5188,6 @@ - - @@ -5183,8 +5230,8 @@ - + @@ -5192,7 +5239,6 @@ - @@ -5283,12 +5329,12 @@ + + - - @@ -5310,6 +5356,12 @@ + + + + + + @@ -5547,6 +5599,7 @@ + @@ -5626,7 +5679,6 @@ - @@ -5815,28 +5867,19 @@ - - - - - - - - - @@ -5862,8 +5905,10 @@ + + @@ -5946,6 +5991,11 @@ + + + + + @@ -6506,6 +6556,7 @@ + @@ -6840,6 +6891,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -7323,6 +7404,7 @@ + @@ -8371,6 +8453,9 @@ + + + @@ -8519,6 +8604,7 @@ + @@ -8915,7 +9001,6 @@ - @@ -9342,6 +9427,9 @@ + + + @@ -10196,6 +10284,11 @@ + + + + + @@ -10646,6 +10739,9 @@ + + + @@ -11745,6 +11841,7 @@ + @@ -11782,6 +11879,9 @@ + + + @@ -11848,6 +11948,9 @@ + + + @@ -11864,6 +11967,7 @@ + @@ -11929,7 +12033,6 @@ - @@ -12650,6 +12753,7 @@ + @@ -12786,6 +12890,7 @@ + @@ -12795,6 +12900,7 @@ + @@ -13217,6 +13323,7 @@ + @@ -13695,7 +13802,13 @@ + + + + + + @@ -14124,6 +14237,7 @@ + @@ -14214,7 +14328,6 @@ - @@ -14392,6 +14505,7 @@ + @@ -14770,11 +14884,11 @@ + + - - @@ -15046,6 +15160,7 @@ + @@ -15514,6 +15629,9 @@ + + + @@ -15644,7 +15762,6 @@ - @@ -15890,6 +16007,7 @@ + @@ -16073,6 +16191,7 @@ + @@ -16122,6 +16241,7 @@ + @@ -16219,6 +16339,7 @@ + @@ -16261,6 +16382,7 @@ + @@ -16898,6 +17020,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/news.html b/doc/news.html index 1a14cd83..d6692444 100644 --- a/doc/news.html +++ b/doc/news.html @@ -94,6 +94,12 @@ you want to test those

  • (seeems working but delayed from release) parsing/import of Docbook SGML docs
  • +

    2.4.16: Feb 20 2002

    +
      +
    • a lot of bug fixes, most of them were triggered by the XML Testsuite + from OASIS and W3C. Compliance has been significantly improved.
    • +
    • a couple of portability fixes too.
    • +

    2.4.15: Feb 11 2002

    • Fixed the Makefiles, especially the python module ones
    • diff --git a/doc/parsedecl.py b/doc/parsedecl.py index 074a808e..31457011 100755 --- a/doc/parsedecl.py +++ b/doc/parsedecl.py @@ -32,6 +32,8 @@ index = {} def indexString(id, str): + if str == None: + return str = string.replace(str, "'", ' ') str = string.replace(str, '"', ' ') str = string.replace(str, "/", ' ') @@ -798,7 +800,11 @@ def link(id): target = string.upper(ids[id]) else: target = string.upper(id) - file = 'html/libxml-' + string.lower(hash[id]) + '.html'; + if hash.has_key(id): + module = string.lower(hash[id]) + else: + module = 'index' + file = 'html/libxml-' + module + '.html'; return file + '#' + target print "Saving XML crossreferences libxml2-refs.xml" diff --git a/doc/xml.html b/doc/xml.html index fd642386..9061288f 100644 --- a/doc/xml.html +++ b/doc/xml.html @@ -550,6 +550,13 @@ you want to test those

      SGML docs
    +

    2.4.16: Feb 20 2002

    +
      +
    • a lot of bug fixes, most of them were triggered by the XML Testsuite + from OASIS and W3C. Compliance has been significantly improved.
    • +
    • a couple of portability fixes too.
    • +
    +

    2.4.15: Feb 11 2002

    • Fixed the Makefiles, especially the python module ones
    • @@ -2216,6 +2223,7 @@ xmlOutputBufferCreateOwn(FILE *file, xmlCharEncodingHandlerPtr encoder) { + } diff --git a/doc/xmlio.html b/doc/xmlio.html index 476ca279..ebbc6aeb 100644 --- a/doc/xmlio.html +++ b/doc/xmlio.html @@ -237,6 +237,7 @@ xmlOutputBufferCreateOwn(FILE *file, xmlCharEncodingHandlerPtr encoder) { + } diff --git a/include/libxml/xmlwin32version.h b/include/libxml/xmlwin32version.h index 0ac20608..40caf798 100644 --- a/include/libxml/xmlwin32version.h +++ b/include/libxml/xmlwin32version.h @@ -27,21 +27,21 @@ extern void xmlCheckVersion(int version); * * the version string like "1.2.3" */ -#define LIBXML_DOTTED_VERSION "2.4.15" +#define LIBXML_DOTTED_VERSION "2.4.16" /** * LIBXML_VERSION: * * the version number: 1.2.3 value is 1002003 */ -#define LIBXML_VERSION 20415 +#define LIBXML_VERSION 20416 /** * LIBXML_VERSION_STRING: * * the version number string, 1.2.3 value is "1002003" */ -#define LIBXML_VERSION_STRING "20415" +#define LIBXML_VERSION_STRING "20416" /** * LIBXML_TEST_VERSION: @@ -49,7 +49,7 @@ extern void xmlCheckVersion(int version); * Macro to check that the libxml version in use is compatible with * the version the software has been compiled against */ -#define LIBXML_TEST_VERSION xmlCheckVersion(20415); +#define LIBXML_TEST_VERSION xmlCheckVersion(20416); #if 0 /** diff --git a/python/libxml2class.txt b/python/libxml2class.txt index 3e5a3111..642df7cf 100644 --- a/python/libxml2class.txt +++ b/python/libxml2class.txt @@ -78,8 +78,6 @@ nanoHTTPScanProxy() # functions from module parser cleanupParser() createDocParserCtxt() -defaultSAXHandlerInit() -htmlDefaultSAXHandlerInit() initParser() keepBlanksDefault() lineNumbersDefault() @@ -329,7 +327,7 @@ Class xmlDoc(xmlNode) # functions from module xinclude xincludeProcess() - # functions from module xpathInternals + # functions from module xpath xpathNewContext() @@ -434,6 +432,7 @@ Class parserCtxt() # functions from module parser clearParserCtxt() + freeParserCtxt() initParserCtxt() parseChunk() parseDocument() @@ -442,7 +441,6 @@ Class parserCtxt() # functions from module parserInternals decodeEntities() - freeParserCtxt() namespaceParseNCName() namespaceParseNSDef() nextChar() @@ -523,9 +521,9 @@ Class xpathContext() # functions from module xpath xpathEval() xpathEvalExpression() + xpathFreeContext() # functions from module xpathInternals - xpathFreeContext() xpathNewParserContext() xpathNsLookup() xpathRegisterAllFunctions() diff --git a/xpath.c b/xpath.c index 0707b166..3464c924 100644 --- a/xpath.c +++ b/xpath.c @@ -4425,7 +4425,15 @@ xmlXPathDivValues(xmlXPathParserContextPtr ctxt) { CAST_TO_NUMBER; CHECK_TYPE(XPATH_NUMBER); - ctxt->value->floatval /= val; + if (val == 0) { + if (ctxt->value->floatval == 0) + ctxt->value->floatval = xmlXPathNAN; + else if (ctxt->value->floatval > 0) + ctxt->value->floatval = xmlXPathPINF; + else if (ctxt->value->floatval < 0) + ctxt->value->floatval = xmlXPathNINF; + } else + ctxt->value->floatval /= val; } /**