From 0fc063df3ab2ad380d532d210dd1001de473e51b Mon Sep 17 00:00:00 2001 From: Mike Hommey Date: Mon, 4 Apr 2005 18:23:13 +0000 Subject: Load /tmp/tmp.98zkCi/libxml2-2.6.19 into packages/libxml2/branches/upstream/current. --- doc/APIchunk0.html | 30 +- doc/APIchunk1.html | 1 + doc/APIchunk10.html | 2 + doc/APIchunk13.html | 2 + doc/APIchunk14.html | 1 + doc/APIchunk15.html | 9 +- doc/APIchunk16.html | 3 + doc/APIchunk17.html | 2 + doc/APIchunk18.html | 3 + doc/APIchunk20.html | 32 +- doc/APIchunk21.html | 2 + doc/APIchunk22.html | 3 + doc/APIchunk23.html | 4 + doc/APIchunk24.html | 1 + doc/APIchunk25.html | 2 + doc/APIchunk26.html | 1 + doc/APIchunk4.html | 4 +- doc/APIchunk6.html | 1 + doc/APIchunk8.html | 8 +- doc/APIchunk9.html | 2 + doc/APIconstructors.html | 1 + doc/APIfiles.html | 9 + doc/APIfunctions.html | 16 +- doc/APIsymbols.html | 9 + doc/apibuild.py | 78 +- doc/elfgcchack.xsl | 53 +- doc/examples/Makefile.am | 128 +- doc/examples/Makefile.in | 128 +- doc/examples/examples.xml | 608 +++--- doc/html/libxml-parser.html | 8 +- doc/html/libxml-schemasInternals.html | 6 +- doc/html/libxml-xmlerror.html | 2 + doc/html/libxml-xmlschemas.html | 1 + doc/html/libxml-xmlschemastypes.html | 19 +- doc/libxml2-api.xml | 3286 +++++++++++++++++---------------- doc/libxml2.xsa | 52 +- doc/news.html | 20 +- doc/xml.html | 21 + 38 files changed, 2368 insertions(+), 2190 deletions(-) (limited to 'doc') diff --git a/doc/APIchunk0.html b/doc/APIchunk0.html index 89cf637..df61e31 100644 --- a/doc/APIchunk0.html +++ b/doc/APIchunk0.html @@ -43,35 +43,6 @@ A:link, A:visited, A:active { text-decoration: underline }
ALL
xmlAutomataNewAllTrans
ANY
xmlIsMixedElement
xmlParseElementContentDecl
-
API
LIBXML_TREE_ENABLED
-xmlBufferAdd
-xmlBufferAddHead
-xmlBufferCCat
-xmlBufferCat
-xmlInputCloseCallback
-xmlInputMatchCallback
-xmlInputOpenCallback
-xmlInputReadCallback
-xmlLoadExternalEntity
-xmlOutputCloseCallback
-xmlOutputMatchCallback
-xmlOutputOpenCallback
-xmlOutputWriteCallback
-xmlRelaxNGValidateDoc
-xmlSchemaGetCanonValue
-xmlSchemaSetValidOptions
-xmlSchemaValPredefTypeNode
-xmlSchemaValPredefTypeNodeNoNorm
-xmlSchemaValidateDoc
-xmlSchemaValidateFacet
-xmlSchemaValidateLengthFacet
-xmlSchemaValidateOneElement
-xmlSchemaValidatePredefinedType
-xmlSchemaValidateStream
-xmlValidateNCName
-xmlValidateNMToken
-xmlValidateName
-xmlValidateQName
APIs
LIBXML_LEGACY_ENABLED
ARRAY
xmlStrlen
xmlUTF8Strsize
@@ -93,6 +64,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlAddNextSibling
xmlAddPrevSibling
Absolute
xmlBuildURI
+
Accessor
xmlSchemaGetValType
Activation
xmlTextReaderRelaxNGSetSchema
xmlTextReaderRelaxNGValidate
Add
xmlACatalogAdd
diff --git a/doc/APIchunk1.html b/doc/APIchunk1.html index eb14d20..40e070e 100644 --- a/doc/APIchunk1.html +++ b/doc/APIchunk1.html @@ -172,6 +172,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlParseCharRef
Characters
xmlParseCharRef
Checka
xmlSchemaValidateLengthFacet
+xmlSchemaValidateLengthFacetWhtsp
Checks
htmlAttrAllowed
htmlElementAllowedHere
htmlElementAllowedHereDesc
diff --git a/doc/APIchunk10.html b/doc/APIchunk10.html index b1c4503..86b5d92 100644 --- a/doc/APIchunk10.html +++ b/doc/APIchunk10.html @@ -488,12 +488,14 @@ A:link, A:visited, A:active { text-decoration: underline } xmlSchemaValPredefTypeNode
xmlSchemaValPredefTypeNodeNoNorm
xmlSchemaValidateLengthFacet
+xmlSchemaValidateLengthFacetWhtsp
xmlSchemaValidatePredefinedType
xmlTextReaderByteConsumed
concat
xmlXPathConcatFunction
concatenated
xmlStrcat
concatenation
xmlXPathConcatFunction
condition
xmlSchemaValidateFacet
+xmlSchemaValidateFacetWhtsp
conditionalSect
xmlParseExternalSubset
configured
DEBUG_MEMORY
DEBUG_MEMORY_LOCATION
diff --git a/doc/APIchunk13.html b/doc/APIchunk13.html index 999fd9c..3ba2e02 100644 --- a/doc/APIchunk13.html +++ b/doc/APIchunk13.html @@ -46,7 +46,9 @@ A:link, A:visited, A:active { text-decoration: underline } xmlSchemaGetFacetValueAsULong
xmlSchemaIsBuiltInTypeFacet
xmlSchemaValidateFacet
+xmlSchemaValidateFacetWhtsp
xmlSchemaValidateLengthFacet
+xmlSchemaValidateLengthFacetWhtsp
xmlSchemaValidateListSimpleTypeFacet
facets
XML_SCHEMAS_TYPE_FACETSNEEDVALUE
xmlSchemaCheckFacet
diff --git a/doc/APIchunk14.html b/doc/APIchunk14.html index ea81366..3e6eeed 100644 --- a/doc/APIchunk14.html +++ b/doc/APIchunk14.html @@ -251,6 +251,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlNanoHTTPMimeType
heading
xmlCharEncodingOutputFunc
helper
XML_SCHEMAS_ELEM_CIRCULAR
+_xmlSchema
here
_xmlXPathContext
htmlNodeStatus
xmlParseAttValue
diff --git a/doc/APIchunk15.html b/doc/APIchunk15.html index a52bda6..5f7db2f 100644 --- a/doc/APIchunk15.html +++ b/doc/APIchunk15.html @@ -216,6 +216,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlStreamPush
xmlStreamPushAttr
indicates
XML_SCHEMAS_TYPE_FACETSNEEDVALUE
+XML_SCHEMAS_TYPE_INTERNAL_INVALID
+XML_SCHEMAS_TYPE_INTERNAL_RESOLVED
xmlHasNsProp
xmlNanoFTPRead
xmlNanoFTPScanProxy
@@ -476,6 +478,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlGetFeaturesList
xmlNewIOInputStream
xmlParserAddNodeInfo
+xmlSchemaValidateFacetWhtsp
xmlStrPrintf
xmlStrVPrintf
xmlTextMerge
@@ -484,7 +487,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlXPathWrapCString
xmlXPathWrapExternal
xmlXPathWrapString
-
invalid
xmlReconciliateNs
+
invalid
XML_SCHEMAS_TYPE_INTERNAL_INVALID
+xmlReconciliateNs
xmlValidateDtdFinal
invited
xmlValidGetValidElements
invoking
xmlGetLineNo
@@ -507,7 +511,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlNanoFTPDele
xmlSchemaGetBuiltInListSimpleTypeItemType
xmlXPathNodeSetItem
-
items
valuePush
+
items
_xmlSchema
+valuePush
xmlHashCopy
xmlHashFree
xmlHashScan
diff --git a/doc/APIchunk16.html b/doc/APIchunk16.html index 4a485bd..a979b01 100644 --- a/doc/APIchunk16.html +++ b/doc/APIchunk16.html @@ -181,10 +181,13 @@ A:link, A:visited, A:active { text-decoration: underline } xmlXPathDebugDumpCompExpr
xmlXPathDebugDumpObject
lexical
xmlParseDefaultDecl
+xmlSchemaGetCanonValue
xmlSchemaValPredefTypeNode
xmlSchemaValPredefTypeNodeNoNorm
xmlSchemaValidateFacet
+xmlSchemaValidateFacetWhtsp
xmlSchemaValidateLengthFacet
+xmlSchemaValidateLengthFacetWhtsp
xmlSchemaValidateListSimpleTypeFacet
xmlSchemaValidatePredefinedType
xmlValidateNCName
diff --git a/doc/APIchunk17.html b/doc/APIchunk17.html index 1d2a178..a66953a 100644 --- a/doc/APIchunk17.html +++ b/doc/APIchunk17.html @@ -133,6 +133,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlStrncasecmp
xmlStrncmp
maxLength
xmlSchemaValidateLengthFacet
+xmlSchemaValidateLengthFacetWhtsp
maximal
xmlAutomataNewCounter
maximum
xmlAutomataNewCountTrans
xmlAutomataNewCountTrans2
@@ -211,6 +212,7 @@ A:link, A:visited, A:active { text-decoration: underline }
might
xmlNewTextChild
migrate
xmlEncodeEntities
minLength
xmlSchemaValidateLengthFacet
+xmlSchemaValidateLengthFacetWhtsp
minimal
xmlAutomataNewCounter
minimum
xmlAutomataNewCountTrans
xmlAutomataNewCountTrans2
diff --git a/doc/APIchunk18.html b/doc/APIchunk18.html index d8174c9..66fd8fa 100644 --- a/doc/APIchunk18.html +++ b/doc/APIchunk18.html @@ -128,6 +128,7 @@ A:link, A:visited, A:active { text-decoration: underline }
needle
xmlStrcasestr
xmlStrstr
needs
xmlEntityReferenceFunc
+xmlSchemaValidateFacetWhtsp
xmlXPathNodeSetFreeNs
negated
_xmlSchemaWildcard
negative
xmlC14NDocDumpMemory
@@ -225,6 +226,7 @@ A:link, A:visited, A:active { text-decoration: underline }
normalization
xmlNormalizeURIPath
xmlParseSDDecl
xmlSchemaValPredefTypeNodeNoNorm
+xmlSchemaValidateFacetWhtsp
xmlValidCtxtNormalizeAttributeValue
xmlValidNormalizeAttributeValue
normalization:
xmlCurrentChar
@@ -234,6 +236,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlTextReaderNormalization
normalize-space
xmlXPathNormalizeFunction
normalized
xmlParseAttValue
+xmlSchemaValidateFacetWhtsp
xmlValidCtxtNormalizeAttributeValue
xmlValidNormalizeAttributeValue
xmlXPathNormalizeFunction
diff --git a/doc/APIchunk20.html b/doc/APIchunk20.html index 40b8dcb..6d1c38e 100644 --- a/doc/APIchunk20.html +++ b/doc/APIchunk20.html @@ -130,6 +130,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlPatternMaxDepth
xmlPatternStreamable
xmlPatterncompile
+xmlSchemaValidateFacetWhtsp
xmlTextReaderPreservePattern
pcdata
cdataBlock
cdataBlockSAXFunc
@@ -189,35 +190,6 @@ A:link, A:visited, A:active { text-decoration: underline }
positioned
xmlTextReaderReadString
positionned
xmlTextReaderReadAttributeValue
positions
xmlUTF8Strsub
-
positive
UTF8ToHtml
-UTF8Toisolat1
-docbEncodeEntities
-htmlEncodeEntities
-isolat1ToUTF8
-xmlBufferAdd
-xmlBufferAddHead
-xmlBufferCCat
-xmlBufferCat
-xmlCharEncodingInputFunc
-xmlCharEncodingOutputFunc
-xmlRelaxNGValidateDoc
-xmlSchemaValPredefTypeNode
-xmlSchemaValPredefTypeNodeNoNorm
-xmlSchemaValidateDoc
-xmlSchemaValidateFacet
-xmlSchemaValidateLengthFacet
-xmlSchemaValidateListSimpleTypeFacet
-xmlSchemaValidateOneElement
-xmlSchemaValidatePredefinedType
-xmlSchemaValidateStream
-xmlTextReaderPreservePattern
-xmlValidateNCName
-xmlValidateNMToken
-xmlValidateName
-xmlValidateQName
-xmlXPathBooleanFunction
-xmlXPathFloorFunction
-xmlXPathStringFunction
possible
_xmlSchemaType
xmlCopyNodeList
xmlCreateEntityParserCtxt
@@ -271,7 +243,9 @@ A:link, A:visited, A:active { text-decoration: underline }
precomputed
xmlSchemaCopyValue
xmlSchemaGetCanonValue
xmlSchemaValidateFacet
+xmlSchemaValidateFacetWhtsp
xmlSchemaValidateLengthFacet
+xmlSchemaValidateLengthFacetWhtsp
predefined
XML_XML_NAMESPACE
xmlCleanupPredefinedEntities
xmlEncodeEntitiesReentrant
diff --git a/doc/APIchunk21.html b/doc/APIchunk21.html index 1c8a997..d74c946 100644 --- a/doc/APIchunk21.html +++ b/doc/APIchunk21.html @@ -404,7 +404,9 @@ A:link, A:visited, A:active { text-decoration: underline } htmlCreatePushParserCtxt
xmlCreatePushParserCtxt
repr
xmlSchemaValidateFacet
+xmlSchemaValidateFacetWhtsp
xmlSchemaValidateLengthFacet
+xmlSchemaValidateLengthFacetWhtsp
xmlSchemaValidateListSimpleTypeFacet
representation
_htmlElemDesc
xmlSchemaGetCanonValue
diff --git a/doc/APIchunk22.html b/doc/APIchunk22.html index 9ad2caf..c48c7e1 100644 --- a/doc/APIchunk22.html +++ b/doc/APIchunk22.html @@ -120,9 +120,11 @@ A:link, A:visited, A:active { text-decoration: underline }
schemas
xmlRelaxNGNewDocParserCtxt
xmlRelaxNGNewMemParserCtxt
xmlSchemaGetFacetValueAsULong
+xmlSchemaGetValType
xmlSchemaNewMemParserCtxt
xmlSchemaValidateDoc
xmlSchemaValidateFacet
+xmlSchemaValidateFacetWhtsp
xmlSchemaValidateStream
scheme
_xmlURI
xmlBufferSetAllocationScheme
@@ -240,6 +242,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlGetUTF8Char
xmlSAX2InitDefaultSAXHandler
xmlSchemaValidateLengthFacet
+xmlSchemaValidateLengthFacetWhtsp
xmlXPathDifference
xmlXPathIntersection
setting
xmlSetGenericErrorFunc
diff --git a/doc/APIchunk23.html b/doc/APIchunk23.html index ab4b35c..95078db 100644 --- a/doc/APIchunk23.html +++ b/doc/APIchunk23.html @@ -58,6 +58,7 @@ A:link, A:visited, A:active { text-decoration: underline } htmlIsAutoClosed
htmlSetMetaEncoding
take
xmlLockLibrary
+
takes
xmlSchemaValidateFacetWhtsp
tell
XML_COMPLETE_ATTRS
XML_DETECT_IDS
XML_SKIP_IDS
@@ -413,12 +414,15 @@ A:link, A:visited, A:active { text-decoration: underline } xmlXPtrNewLocationSetNodes
two-character
xmlCurrentChar
typ
_xmlSchemaTypeLink
+
typefixed
XML_SCHEMAS_TYPE_INTERNAL_RESOLVED
types
XML_SCHEMAS_FACET_COLLAPSE
_xmlXPathContext
xmlExternalEntityLoader
xmlParseSDDecl
xmlSchemaCheckFacet
+xmlSchemaGetCanonValue
xmlSchemaNewStringValue
+xmlSchemaValidateFacetWhtsp
typo
xmlParseTextDecl

A-B C-C diff --git a/doc/APIchunk24.html b/doc/APIchunk24.html index 3ae3272..0dfb3e2 100644 --- a/doc/APIchunk24.html +++ b/doc/APIchunk24.html @@ -191,6 +191,7 @@ A:link, A:visited, A:active { text-decoration: underline }

Letter v:

val1
xmlXPtrLocationSetMerge
validated
xmlCharInRange
xmlSchemaValidateLengthFacet
+xmlSchemaValidateLengthFacetWhtsp
validates
xmlSchemaValPredefTypeNode
xmlSchemaValPredefTypeNodeNoNorm
xmlSchemaValidatePredefinedType
diff --git a/doc/APIchunk25.html b/doc/APIchunk25.html index c982169..f8ce7e2 100644 --- a/doc/APIchunk25.html +++ b/doc/APIchunk25.html @@ -152,6 +152,8 @@ A:link, A:visited, A:active { text-decoration: underline }
whitespace
xmlIsBlankNode
xmlParseAttValue
xmlSchemaCompareValuesWhtsp
+xmlSchemaValidateFacetWhtsp
+xmlSchemaValidateLengthFacetWhtsp
xmlXPathIdFunction
xmlXPathNormalizeFunction
whitespace-separated
xmlXPathIdFunction
diff --git a/doc/APIchunk26.html b/doc/APIchunk26.html index 45c4c01..ffcf3df 100644 --- a/doc/APIchunk26.html +++ b/doc/APIchunk26.html @@ -379,6 +379,7 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlSaveOptions
xmlSaveToFd
xmlSaveToFilename
xmlSaveToIO
+
xmlSchemaValType
xmlSchemaGetValType
xmlSchemaValidOption
xmlSchemaSetValidOptions
xmlSetExternalEntityLoader
resolveEntity
resolveEntitySAXFunc
diff --git a/doc/APIchunk4.html b/doc/APIchunk4.html index 885faa4..bb40a22 100644 --- a/doc/APIchunk4.html +++ b/doc/APIchunk4.html @@ -140,7 +140,8 @@ A:link, A:visited, A:active { text-decoration: underline } htmlSetMetaEncoding
Method
xmlTextReaderGetRemainder
Mime-Type
xmlNanoHTTPMimeType
-
Misc
xmlParseDocument
+
Misc
_xmlSchema
+xmlParseDocument
xmlParseMisc
MiscellaneousMathematicalSymbols-A
xmlUCSIsMiscellaneousMathematicalSymbolsA
MiscellaneousMathematicalSymbols-B
xmlUCSIsMiscellaneousMathematicalSymbolsB
@@ -300,6 +301,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlSAXDefaultVersion
xmlSaveFormatFile
xmlSaveFormatFileEnc
+xmlSchemaValidateFacetWhtsp
xmlTextReaderSetParserProp
xmlValidateDtd
Note:
fatalErrorSAXFunc
diff --git a/doc/APIchunk6.html b/doc/APIchunk6.html index 82be4d8..ace9324 100644 --- a/doc/APIchunk6.html +++ b/doc/APIchunk6.html @@ -439,6 +439,7 @@ A:link, A:visited, A:active { text-decoration: underline }
SmallFormVariants
xmlUCSIsSmallFormVariants
Some
_htmlElemDesc
xmlBuildRelativeURI
+xmlSchemaGetCanonValue
Sort
xmlListSort
xmlXPathNodeSetSort
SpacingModifierLetters
xmlUCSIsSpacingModifierLetters
diff --git a/doc/APIchunk8.html b/doc/APIchunk8.html index 434fa69..b23366a 100644 --- a/doc/APIchunk8.html +++ b/doc/APIchunk8.html @@ -72,7 +72,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlParseVersionNum

Letter W:

WARNING
xmlRelaxNGParse
xmlSchemaParse
-
WARNING:
xmlSchemaNewStringValue
+
WARNING:
xmlSchemaGetCanonValue
+xmlSchemaNewStringValue
WFC:
xmlParseAttribute
xmlParseCharRef
xmlParseDefaultDecl
@@ -286,12 +287,14 @@ A:link, A:visited, A:active { text-decoration: underline }
according
xmlBuildURI
xmlDetectCharEncoding
xmlSAXVersion
+xmlSchemaValidateFacetWhtsp
xmlURIEscape
xmlXPathCompareValues
accordingly
xmlParseCharEncoding
xmlParserHandlePEReference
xmlParserHandleReference
xmlValidCtxtNormalizeAttributeValue
+
account
xmlSchemaValidateFacetWhtsp
act
xmlStreamPush
xmlStreamPushAttr
activate
xmlTextReaderSetParserProp
@@ -309,6 +312,7 @@ A:link, A:visited, A:active { text-decoration: underline }
acts
xmlGetProp
actual
xmlGetUTF8Char
xmlSchemaValidateLengthFacet
+xmlSchemaValidateLengthFacetWhtsp
xmlXPathFreeNodeSet
xmlXPtrFreeLocationSet
actually
_xmlDoc
@@ -423,7 +427,9 @@ A:link, A:visited, A:active { text-decoration: underline } xmlRegexpCompile
xmlRegexpExec
xmlSchemaValidateFacet
+xmlSchemaValidateFacetWhtsp
xmlSchemaValidateLengthFacet
+xmlSchemaValidateLengthFacetWhtsp
xmlSchemaValidateListSimpleTypeFacet
xmlShellValidate
xmlValidateDtd
diff --git a/doc/APIchunk9.html b/doc/APIchunk9.html index 3804369..0d92536 100644 --- a/doc/APIchunk9.html +++ b/doc/APIchunk9.html @@ -252,7 +252,9 @@ A:link, A:visited, A:active { text-decoration: underline }
built-in
xmlSchemaGetBuiltInListSimpleTypeItemType
xmlSchemaGetBuiltInType
xmlSchemaIsBuiltInTypeFacet
+xmlSchemaValidateFacetWhtsp
xmlSchemaValidateLengthFacet
+xmlSchemaValidateLengthFacetWhtsp
builtin
XML_SCHEMAS_TYPE_BUILTIN_PRIMITIVE
initGenericErrorDefaultFunc
bunch
xmlParseNamespace
diff --git a/doc/APIconstructors.html b/doc/APIconstructors.html index 9372c05..a65bd61 100644 --- a/doc/APIconstructors.html +++ b/doc/APIconstructors.html @@ -484,6 +484,7 @@ A:link, A:visited, A:active { text-decoration: underline }

Type xmlSchemaValPtr:

xmlSchemaCopyValue
xmlSchemaNewNOTATIONValue
xmlSchemaNewStringValue
+

Type xmlSchemaValType:

xmlSchemaGetValType

Type xmlSchemaValidCtxtPtr:

xmlSchemaNewValidCtxt

Type xmlStreamCtxtPtr:

xmlPatternGetStreamCtxt

Type xmlTextReaderPtr:

xmlNewTextReader
diff --git a/doc/APIfiles.html b/doc/APIfiles.html index 33bd419..3b6a935 100644 --- a/doc/APIfiles.html +++ b/doc/APIfiles.html @@ -1050,6 +1050,8 @@ A:link, A:visited, A:active { text-decoration: underline } XML_SCHEMAS_TYPE_FINAL_RESTRICTION
XML_SCHEMAS_TYPE_FINAL_UNION
XML_SCHEMAS_TYPE_GLOBAL
+XML_SCHEMAS_TYPE_INTERNAL_INVALID
+XML_SCHEMAS_TYPE_INTERNAL_RESOLVED
XML_SCHEMAS_TYPE_MARKED
XML_SCHEMAS_TYPE_MIXED
XML_SCHEMAS_TYPE_OWNED_ATTR_WILDCARD
@@ -1071,6 +1073,7 @@ A:link, A:visited, A:active { text-decoration: underline } XML_SCHEMA_CONTENT_MIXED_OR_ELEMENTS
XML_SCHEMA_CONTENT_SIMPLE
XML_SCHEMA_CONTENT_UNKNOWN
+XML_SCHEMA_EXTRA_QNAMEREF
XML_SCHEMA_FACET_ENUMERATION
XML_SCHEMA_FACET_FRACTIONDIGITS
XML_SCHEMA_FACET_LENGTH
@@ -1101,6 +1104,7 @@ A:link, A:visited, A:active { text-decoration: underline } XML_SCHEMA_TYPE_IDC_UNIQUE
XML_SCHEMA_TYPE_LIST
XML_SCHEMA_TYPE_NOTATION
+XML_SCHEMA_TYPE_PARTICLE
XML_SCHEMA_TYPE_RESTRICTION
XML_SCHEMA_TYPE_SEQUENCE
XML_SCHEMA_TYPE_SIMPLE
@@ -1672,7 +1676,9 @@ A:link, A:visited, A:active { text-decoration: underline }

Module xmlerror:

XML_C14N_CREATE_CTXT
XML_C14N_CREATE_STACK
XML_C14N_INVALID_NODE
+XML_C14N_RELATIVE_NAMESPACE
XML_C14N_REQUIRES_UTF8
+XML_C14N_UNKNOW_NODE
XML_CATALOG_ENTRY_BROKEN
XML_CATALOG_MISSING_ATTR
XML_CATALOG_NOT_CATALOG
@@ -2686,6 +2692,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlSchemaGetCanonValue
xmlSchemaGetFacetValueAsULong
xmlSchemaGetPredefinedType
+xmlSchemaGetValType
xmlSchemaInitTypes
xmlSchemaIsBuiltInTypeFacet
xmlSchemaNewFacet
@@ -2694,7 +2701,9 @@ A:link, A:visited, A:active { text-decoration: underline } xmlSchemaValPredefTypeNode
xmlSchemaValPredefTypeNodeNoNorm
xmlSchemaValidateFacet
+xmlSchemaValidateFacetWhtsp
xmlSchemaValidateLengthFacet
+xmlSchemaValidateLengthFacetWhtsp
xmlSchemaValidateListSimpleTypeFacet
xmlSchemaValidatePredefinedType
xmlSchemaWhiteSpaceReplace
diff --git a/doc/APIfunctions.html b/doc/APIfunctions.html index c96a8d0..edf5edc 100644 --- a/doc/APIfunctions.html +++ b/doc/APIfunctions.html @@ -295,6 +295,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlParseBalancedChunkMemoryRecover
xmlParseCtxtExternalEntity
xmlParseDTD
+xmlParseDoc
xmlParseElementContentDecl
xmlParseExternalEntity
xmlParseExternalSubset
@@ -329,6 +330,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlSAX2StartElementNs
xmlSAX2UnparsedEntityDecl
xmlSAXParseDTD
+xmlSAXParseDoc
xmlSchemaCheckFacet
xmlSchemaCollapseString
xmlSchemaGetPredefinedType
@@ -337,7 +339,9 @@ A:link, A:visited, A:active { text-decoration: underline } xmlSchemaValPredefTypeNode
xmlSchemaValPredefTypeNodeNoNorm
xmlSchemaValidateFacet
+xmlSchemaValidateFacetWhtsp
xmlSchemaValidateLengthFacet
+xmlSchemaValidateLengthFacetWhtsp
xmlSchemaValidateListSimpleTypeFacet
xmlSchemaValidatePredefinedType
xmlSchemaWhiteSpaceReplace
@@ -592,6 +596,7 @@ A:link, A:visited, A:active { text-decoration: underline }

Type unsigned long:

ftpListCallback
xmlSchemaValidateListSimpleTypeFacet

Type unsigned long *:

xmlSchemaValidateLengthFacet
+xmlSchemaValidateLengthFacetWhtsp
xmlSchemaValidateListSimpleTypeFacet

Type va_list:

xmlStrVPrintf
xmlTextWriterWriteVFormatAttribute
@@ -970,11 +975,9 @@ A:link, A:visited, A:active { text-decoration: underline } xmlNewDocNodeEatName
xmlNewNodeEatName
xmlNewNsPropEatName
-xmlParseDoc
xmlParserInputDeallocate
xmlRecoverDoc
xmlSAX2EntityDecl
-xmlSAXParseDoc
xmlStrPrintf
xmlStrVPrintf
xmlStrcasestr
@@ -1792,7 +1795,9 @@ A:link, A:visited, A:active { text-decoration: underline } xmlSchemaFreeFacet
xmlSchemaGetFacetValueAsULong
xmlSchemaValidateFacet
+xmlSchemaValidateFacetWhtsp
xmlSchemaValidateLengthFacet
+xmlSchemaValidateLengthFacetWhtsp
xmlSchemaValidateListSimpleTypeFacet

Type xmlSchemaParserCtxtPtr:

xmlSchemaCheckFacet
xmlSchemaFreeParserCtxt
@@ -1816,13 +1821,18 @@ A:link, A:visited, A:active { text-decoration: underline } xmlSchemaCopyValue
xmlSchemaFreeValue
xmlSchemaGetCanonValue
+xmlSchemaGetValType
xmlSchemaValidateFacet
+xmlSchemaValidateFacetWhtsp
xmlSchemaValidateLengthFacet
+xmlSchemaValidateLengthFacetWhtsp

Type xmlSchemaValPtr *:

xmlSchemaValPredefTypeNode
xmlSchemaValPredefTypeNodeNoNorm
xmlSchemaValidatePredefinedType

Type xmlSchemaValType:

xmlSchemaGetBuiltInType
xmlSchemaNewStringValue
+xmlSchemaValidateFacetWhtsp
+xmlSchemaValidateLengthFacetWhtsp

Type xmlSchemaValidCtxtPtr:

xmlSchemaFreeValidCtxt
xmlSchemaGetValidErrors
xmlSchemaSetValidErrors
@@ -1840,6 +1850,8 @@ A:link, A:visited, A:active { text-decoration: underline }

Type xmlSchemaValidityWarningFunc *:

xmlSchemaGetParserErrors
xmlSchemaGetValidErrors

Type xmlSchemaWhitespaceValueType:

xmlSchemaCompareValuesWhtsp
+xmlSchemaValidateFacetWhtsp
+xmlSchemaValidateLengthFacetWhtsp

Type xmlSchemaWildcardPtr:

xmlSchemaFreeWildcard

Type xmlShellCtxtPtr:

xmlShellBase
xmlShellCat
diff --git a/doc/APIsymbols.html b/doc/APIsymbols.html index 7dbc146..5294822 100644 --- a/doc/APIsymbols.html +++ b/doc/APIsymbols.html @@ -143,7 +143,9 @@ A:link, A:visited, A:active { text-decoration: underline } XML_C14N_CREATE_CTXT
XML_C14N_CREATE_STACK
XML_C14N_INVALID_NODE
+XML_C14N_RELATIVE_NAMESPACE
XML_C14N_REQUIRES_UTF8
+XML_C14N_UNKNOW_NODE
XML_CAST_FPTR
XML_CATALOGS_NAMESPACE
XML_CATALOG_ENTRY_BROKEN
@@ -1058,6 +1060,8 @@ A:link, A:visited, A:active { text-decoration: underline } XML_SCHEMAS_TYPE_FINAL_RESTRICTION
XML_SCHEMAS_TYPE_FINAL_UNION
XML_SCHEMAS_TYPE_GLOBAL
+XML_SCHEMAS_TYPE_INTERNAL_INVALID
+XML_SCHEMAS_TYPE_INTERNAL_RESOLVED
XML_SCHEMAS_TYPE_MARKED
XML_SCHEMAS_TYPE_MIXED
XML_SCHEMAS_TYPE_OWNED_ATTR_WILDCARD
@@ -1157,6 +1161,7 @@ A:link, A:visited, A:active { text-decoration: underline } XML_SCHEMA_CONTENT_MIXED_OR_ELEMENTS
XML_SCHEMA_CONTENT_SIMPLE
XML_SCHEMA_CONTENT_UNKNOWN
+XML_SCHEMA_EXTRA_QNAMEREF
XML_SCHEMA_FACET_ENUMERATION
XML_SCHEMA_FACET_FRACTIONDIGITS
XML_SCHEMA_FACET_LENGTH
@@ -1187,6 +1192,7 @@ A:link, A:visited, A:active { text-decoration: underline } XML_SCHEMA_TYPE_IDC_UNIQUE
XML_SCHEMA_TYPE_LIST
XML_SCHEMA_TYPE_NOTATION
+XML_SCHEMA_TYPE_PARTICLE
XML_SCHEMA_TYPE_RESTRICTION
XML_SCHEMA_TYPE_SEQUENCE
XML_SCHEMA_TYPE_SIMPLE
@@ -2546,6 +2552,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlSchemaGetFacetValueAsULong
xmlSchemaGetParserErrors
xmlSchemaGetPredefinedType
+xmlSchemaGetValType
xmlSchemaGetValidErrors
xmlSchemaInitTypes
xmlSchemaIsBuiltInTypeFacet
@@ -2582,7 +2589,9 @@ A:link, A:visited, A:active { text-decoration: underline } xmlSchemaValidOption
xmlSchemaValidateDoc
xmlSchemaValidateFacet
+xmlSchemaValidateFacetWhtsp
xmlSchemaValidateLengthFacet
+xmlSchemaValidateLengthFacetWhtsp
xmlSchemaValidateListSimpleTypeFacet
xmlSchemaValidateOneElement
xmlSchemaValidatePredefinedType
diff --git a/doc/apibuild.py b/doc/apibuild.py index bd88a18..8851cc0 100755 --- a/doc/apibuild.py +++ b/doc/apibuild.py @@ -33,6 +33,7 @@ ignored_files = { "rngparser.h": "not yet integrated", "elfgcchack.h": "not a normal header", "testapi.c": "generated regression tests", + "tst.c": "not part of the library", "testdso.c": "test for dynamid shared libraries", } @@ -70,9 +71,10 @@ def uniq(items): return d.keys() class identifier: - def __init__(self, name, module=None, type=None, lineno = 0, + def __init__(self, name, header=None, module=None, type=None, lineno = 0, info=None, extra=None, conditionals = None): self.name = name + self.header = header self.module = module self.type = type self.info = info @@ -102,6 +104,8 @@ class identifier: return r + def set_header(self, header): + self.header = header def set_module(self, module): self.module = module def set_type(self, type): @@ -122,6 +126,8 @@ class identifier: def get_name(self): return self.name + def get_header(self): + return self.module def get_module(self): return self.module def get_type(self): @@ -137,12 +143,14 @@ class identifier: def get_conditionals(self): return self.conditionals - def update(self, module, type = None, info = None, extra=None, + def update(self, header, module, type = None, info = None, extra=None, conditionals=None): if self.name == debugsym: print "=> update %s : %s" % (debugsym, (module, type, info, extra, conditionals)) - if module != None and self.module == None: + if header != None and self.header == None: + self.set_header(module) + if module != None and (self.module == None or self.header == self.module): self.set_module(module) if type != None and self.type == None: self.set_type(type) @@ -153,7 +161,6 @@ class identifier: if conditionals != None: self.set_conditionals(conditionals) - class index: def __init__(self, name = "noname"): self.name = name @@ -168,15 +175,15 @@ class index: self.references = {} self.info = {} - def add_ref(self, name, module, static, type, lineno, info=None, extra=None, conditionals = None): + def add_ref(self, name, header, module, static, type, lineno, info=None, extra=None, conditionals = None): if name[0:2] == '__': return None d = None try: d = self.identifiers[name] - d.update(module, type, lineno, info, extra, conditionals) + d.update(header, module, type, lineno, info, extra, conditionals) except: - d = identifier(name, module, type, lineno, info, extra, conditionals) + d = identifier(name, header, module, type, lineno, info, extra, conditionals) self.identifiers[name] = d if d != None and static == 1: @@ -190,15 +197,15 @@ class index: return d - def add(self, name, module, static, type, lineno, info=None, extra=None, conditionals = None): + def add(self, name, header, module, static, type, lineno, info=None, extra=None, conditionals = None): if name[0:2] == '__': return None d = None try: d = self.identifiers[name] - d.update(module, type, lineno, info, extra, conditionals) + d.update(header, module, type, lineno, info, extra, conditionals) except: - d = identifier(name, module, type, lineno, info, extra, conditionals) + d = identifier(name, header, module, type, lineno, info, extra, conditionals) self.identifiers[name] = d if d != None and static == 1: @@ -239,7 +246,7 @@ class index: del self.macros[id] if self.functions.has_key(id): print "function %s from %s redeclared in %s" % ( - id, self.functions[id].module, idx.functions[id].module) + id, self.functions[id].header, idx.functions[id].header) else: self.functions[id] = idx.functions[id] self.identifiers[id] = idx.functions[id] @@ -252,21 +259,21 @@ class index: del self.macros[id] if self.variables.has_key(id): print "variable %s from %s redeclared in %s" % ( - id, self.variables[id].module, idx.variables[id].module) + id, self.variables[id].header, idx.variables[id].header) else: self.variables[id] = idx.variables[id] self.identifiers[id] = idx.variables[id] for id in idx.structs.keys(): if self.structs.has_key(id): print "struct %s from %s redeclared in %s" % ( - id, self.structs[id].module, idx.structs[id].module) + id, self.structs[id].header, idx.structs[id].header) else: self.structs[id] = idx.structs[id] self.identifiers[id] = idx.structs[id] for id in idx.typedefs.keys(): if self.typedefs.has_key(id): print "typedef %s from %s redeclared in %s" % ( - id, self.typedefs[id].module, idx.typedefs[id].module) + id, self.typedefs[id].header, idx.typedefs[id].header) else: self.typedefs[id] = idx.typedefs[id] self.identifiers[id] = idx.typedefs[id] @@ -283,14 +290,14 @@ class index: continue if self.macros.has_key(id): print "macro %s from %s redeclared in %s" % ( - id, self.macros[id].module, idx.macros[id].module) + id, self.macros[id].header, idx.macros[id].header) else: self.macros[id] = idx.macros[id] self.identifiers[id] = idx.macros[id] for id in idx.enums.keys(): if self.enums.has_key(id): print "enum %s from %s redeclared in %s" % ( - id, self.enums[id].module, idx.enums[id].module) + id, self.enums[id].header, idx.enums[id].header) else: self.enums[id] = idx.enums[id] self.identifiers[id] = idx.enums[id] @@ -306,7 +313,7 @@ class index: print " H: %s" % self.functions[id].conditionals print " C: %s" % idx.functions[id].conditionals up = idx.functions[id] - self.functions[id].update(None, up.type, up.info, up.extra) + self.functions[id].update(None, up.module, up.type, up.info, up.extra) # else: # print "Function %s from %s is not declared in headers" % ( # id, idx.functions[id].module) @@ -574,13 +581,21 @@ class CParser: return self.lexer.getlineno() def index_add(self, name, module, static, type, info=None, extra = None): - self.index.add(name, module, static, type, self.lineno(), - info, extra, self.conditionals) + if self.is_header == 1: + self.index.add(name, module, module, static, type, self.lineno(), + info, extra, self.conditionals) + else: + self.index.add(name, None, module, static, type, self.lineno(), + info, extra, self.conditionals) def index_add_ref(self, name, module, static, type, info=None, extra = None): - self.index.add_ref(name, module, static, type, self.lineno(), - info, extra, self.conditionals) + if self.is_header == 1: + self.index.add_ref(name, module, module, static, type, + self.lineno(), info, extra, self.conditionals) + else: + self.index.add_ref(name, None, module, static, type, self.lineno(), + info, extra, self.conditionals) def warning(self, msg): if self.no_error: @@ -1603,12 +1618,14 @@ class docBuilder: module = os.path.basename(file) if module[-2:] == '.h': module = module[:-2] + elif module[-2:] == '.c': + module = module[:-2] return module def serialize_enum(self, output, name): id = self.idx.enums[name] output.write(" \n" % (name, - self.modulename_file(id.module))) + self.modulename_file(id.header))) if id.info != None: try: (args, desc) = id.info @@ -1649,7 +1666,7 @@ class docBuilder: id = self.idx.typedefs[name] if id.info[0:7] == 'struct ': output.write(" \n"); else : output.write(" \n" % ( - name, self.modulename_file(id.module), id.info)) + name, self.modulename_file(id.header), id.info)) def serialize_variable(self, output, name): id = self.idx.variables[name] if id.info != None: output.write(" \n" % ( - name, self.modulename_file(id.module), id.info)) + name, self.modulename_file(id.header), id.info)) else: output.write(" \n" % ( - name, self.modulename_file(id.module))) + name, self.modulename_file(id.header))) def serialize_function(self, output, name): id = self.idx.functions[name] if name == debugsym: print "=>", id - output.write(" <%s name='%s' file='%s'>\n" % (id.type, name, - self.modulename_file(id.module))) + output.write(" <%s name='%s' file='%s' module='%s'>\n" % (id.type, + name, self.modulename_file(id.header), + self.modulename_file(id.module))) # # Processing of conditionals modified by Bill 1/1/05 # @@ -1870,7 +1888,7 @@ class docBuilder: typ.sort() for id in typ: idf = self.idx.identifiers[id] - module = idf.module + module = idf.header output.write(" \n" % (id, 'html/' + self.basename + '-' + self.modulename_file(module) + '.html#' + diff --git a/doc/elfgcchack.xsl b/doc/elfgcchack.xsl index 5f5cb40..8f24aed 100644 --- a/doc/elfgcchack.xsl +++ b/doc/elfgcchack.xsl @@ -15,6 +15,12 @@ * autogenerated with xsltproc doc/elfgcchack.xsl doc/libxml2-api.xml */ +#ifdef IN_LIBXML +#ifdef __GNUC__ +#ifdef PIC +#ifdef linux +#if (__GNUC__ == 3 && __GNUC_MINOR__ >= 3) || (__GNUC__ > 3) + #include "libxml/c14n.h" #include "libxml/catalog.h" #include "libxml/chvalid.h" @@ -64,18 +70,37 @@ /* special hot spot not exported ones */ -extern __typeof (__xmlGenericError) __xmlGenericError__internal_alias __attribute((visibility("hidden"))); +#ifdef bottom_globals +#undef __xmlGenericError extern __typeof (__xmlGenericError) __xmlGenericError __attribute((alias("__xmlGenericError__internal_alias"))); +#else +#ifndef __xmlGenericError +extern __typeof (__xmlGenericError) __xmlGenericError__internal_alias __attribute((visibility("hidden"))); #define __xmlGenericError __xmlGenericError__internal_alias +#endif +#endif -extern __typeof (__xmlGenericErrorContext) __xmlGenericErrorContext__internal_alias __attribute((visibility("hidden"))); +#ifdef bottom_globals +#undef __xmlGenericErrorContext extern __typeof (__xmlGenericErrorContext) __xmlGenericErrorContext __attribute((alias("__xmlGenericErrorContext__internal_alias"))); +#else +#ifndef __xmlGenericErrorContext +extern __typeof (__xmlGenericErrorContext) __xmlGenericErrorContext__internal_alias __attribute((visibility("hidden"))); #define __xmlGenericErrorContext __xmlGenericErrorContext__internal_alias +#endif +#endif /* list generated from libxml2-api.xml */ - + +#endif +#endif +#endif +#endif +#endif + + @@ -83,25 +108,37 @@ extern __typeof (__xmlGenericErrorContext) __xmlGenericErrorContext __attribute( - extern __typeof ( + #ifdef bottom_ + + +#undef + + +extern __typeof ( ) + + __attribute((alias(" - __attribute((visibility("hidden"))); + "))); +#else +#ifndef + + extern __typeof ( ) - - __attribute((alias(" - "))); + __attribute((visibility("hidden"))); #define +#endif +#endif diff --git a/doc/examples/Makefile.am b/doc/examples/Makefile.am index 97edc55..0bc8934 100644 --- a/doc/examples/Makefile.am +++ b/doc/examples/Makefile.am @@ -15,39 +15,19 @@ install-data-local: $(mkinstalldirs) $(DESTDIR)$(HTML_DIR) -@INSTALL@ -m 0644 $(srcdir)/*.html $(srcdir)/*.c $(srcdir)/*.xml $(srcdir)/*.xsl $(srcdir)/*.res $(DESTDIR)$(HTML_DIR) -EXTRA_DIST=examples.xsl index.py test1.xml examples.xml test2.xml writer.xml test3.xml tst.xml reader1.res reader3.res tree1.res tree2.res io1.res io2.res xpath1.res xpath2.res reader4.res +EXTRA_DIST=examples.xsl index.py test3.xml tst.xml test2.xml writer.xml test1.xml examples.xml xpath1.res tree2.res reader3.res tree1.res reader1.res xpath2.res reader4.res io2.res io1.res -noinst_PROGRAMS=xpath1 parse1 parse2 tree1 tree2 testWriter reader1 reader2 io1 parse3 parse4 io2 xpath2 reader4 reader3 +noinst_PROGRAMS=reader3 io2 reader1 reader2 reader4 testWriter parse3 tree2 tree1 xpath2 parse1 xpath1 io1 parse4 parse2 -xpath1_SOURCES=xpath1.c -xpath1_LDFLAGS= -xpath1_DEPENDENCIES= $(DEPS) -xpath1_LDADD= @RDL_LIBS@ $(LDADDS) - -parse1_SOURCES=parse1.c -parse1_LDFLAGS= -parse1_DEPENDENCIES= $(DEPS) -parse1_LDADD= @RDL_LIBS@ $(LDADDS) - -parse2_SOURCES=parse2.c -parse2_LDFLAGS= -parse2_DEPENDENCIES= $(DEPS) -parse2_LDADD= @RDL_LIBS@ $(LDADDS) - -tree1_SOURCES=tree1.c -tree1_LDFLAGS= -tree1_DEPENDENCIES= $(DEPS) -tree1_LDADD= @RDL_LIBS@ $(LDADDS) - -tree2_SOURCES=tree2.c -tree2_LDFLAGS= -tree2_DEPENDENCIES= $(DEPS) -tree2_LDADD= @RDL_LIBS@ $(LDADDS) +reader3_SOURCES=reader3.c +reader3_LDFLAGS= +reader3_DEPENDENCIES= $(DEPS) +reader3_LDADD= @RDL_LIBS@ $(LDADDS) -testWriter_SOURCES=testWriter.c -testWriter_LDFLAGS= -testWriter_DEPENDENCIES= $(DEPS) -testWriter_LDADD= @RDL_LIBS@ $(LDADDS) +io2_SOURCES=io2.c +io2_LDFLAGS= +io2_DEPENDENCIES= $(DEPS) +io2_LDADD= @RDL_LIBS@ $(LDADDS) reader1_SOURCES=reader1.c reader1_LDFLAGS= @@ -59,40 +39,60 @@ reader2_LDFLAGS= reader2_DEPENDENCIES= $(DEPS) reader2_LDADD= @RDL_LIBS@ $(LDADDS) -io1_SOURCES=io1.c -io1_LDFLAGS= -io1_DEPENDENCIES= $(DEPS) -io1_LDADD= @RDL_LIBS@ $(LDADDS) +reader4_SOURCES=reader4.c +reader4_LDFLAGS= +reader4_DEPENDENCIES= $(DEPS) +reader4_LDADD= @RDL_LIBS@ $(LDADDS) + +testWriter_SOURCES=testWriter.c +testWriter_LDFLAGS= +testWriter_DEPENDENCIES= $(DEPS) +testWriter_LDADD= @RDL_LIBS@ $(LDADDS) parse3_SOURCES=parse3.c parse3_LDFLAGS= parse3_DEPENDENCIES= $(DEPS) parse3_LDADD= @RDL_LIBS@ $(LDADDS) -parse4_SOURCES=parse4.c -parse4_LDFLAGS= -parse4_DEPENDENCIES= $(DEPS) -parse4_LDADD= @RDL_LIBS@ $(LDADDS) +tree2_SOURCES=tree2.c +tree2_LDFLAGS= +tree2_DEPENDENCIES= $(DEPS) +tree2_LDADD= @RDL_LIBS@ $(LDADDS) -io2_SOURCES=io2.c -io2_LDFLAGS= -io2_DEPENDENCIES= $(DEPS) -io2_LDADD= @RDL_LIBS@ $(LDADDS) +tree1_SOURCES=tree1.c +tree1_LDFLAGS= +tree1_DEPENDENCIES= $(DEPS) +tree1_LDADD= @RDL_LIBS@ $(LDADDS) xpath2_SOURCES=xpath2.c xpath2_LDFLAGS= xpath2_DEPENDENCIES= $(DEPS) xpath2_LDADD= @RDL_LIBS@ $(LDADDS) -reader4_SOURCES=reader4.c -reader4_LDFLAGS= -reader4_DEPENDENCIES= $(DEPS) -reader4_LDADD= @RDL_LIBS@ $(LDADDS) +parse1_SOURCES=parse1.c +parse1_LDFLAGS= +parse1_DEPENDENCIES= $(DEPS) +parse1_LDADD= @RDL_LIBS@ $(LDADDS) -reader3_SOURCES=reader3.c -reader3_LDFLAGS= -reader3_DEPENDENCIES= $(DEPS) -reader3_LDADD= @RDL_LIBS@ $(LDADDS) +xpath1_SOURCES=xpath1.c +xpath1_LDFLAGS= +xpath1_DEPENDENCIES= $(DEPS) +xpath1_LDADD= @RDL_LIBS@ $(LDADDS) + +io1_SOURCES=io1.c +io1_LDFLAGS= +io1_DEPENDENCIES= $(DEPS) +io1_LDADD= @RDL_LIBS@ $(LDADDS) + +parse4_SOURCES=parse4.c +parse4_LDFLAGS= +parse4_DEPENDENCIES= $(DEPS) +parse4_LDADD= @RDL_LIBS@ $(LDADDS) + +parse2_SOURCES=parse2.c +parse2_LDFLAGS= +parse2_DEPENDENCIES= $(DEPS) +parse2_LDADD= @RDL_LIBS@ $(LDADDS) valgrind: $(MAKE) CHECKER='valgrind' tests @@ -100,35 +100,35 @@ valgrind: tests: $(noinst_PROGRAMS) @(echo '## examples regression tests') @(echo > .memdump) - @($(CHECKER) ././xpath1 test3.xml '//child2' > xpath1.tmp ; diff xpath1.tmp xpath1.res ; rm xpath1.tmp) + @($(CHECKER) ./reader3 > reader3.tmp ; diff reader3.tmp reader3.res ; rm reader3.tmp) @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0) - @($(CHECKER) ./parse1 test1.xml) + @($(CHECKER) ./io2 > io2.tmp ; diff io2.tmp io2.res ; rm -f io2.tmp) @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0) - @($(CHECKER) ./parse2 test2.xml) + @($(CHECKER) ./reader1 test2.xml > reader1.tmp ; diff reader1.tmp reader1.res ; rm reader1.tmp) @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0) - @($(CHECKER) ./tree1 test2.xml > tree1.tmp ; diff tree1.tmp tree1.res ; rm tree1.tmp) + @($(CHECKER) ./reader2 test2.xml > reader1.tmp ; diff reader1.tmp reader1.res ; rm reader1.tmp) @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0) - @($(CHECKER) ./tree2 > tree2.tmp ; diff tree2.tmp tree2.res ; rm tree2.tmp) + @($(CHECKER) ./reader4 test1.xml test2.xml test3.xml > reader4.tmp ; diff reader4.tmp reader4.res ; rm reader4.tmp) @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0) @($(CHECKER) ./testWriter ; for i in 1 2 3 4 ; do diff writer.xml writer$$i.res ; done ; rm writer*.res) @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0) - @($(CHECKER) ./reader1 test2.xml > reader1.tmp ; diff reader1.tmp reader1.res ; rm reader1.tmp) + @($(CHECKER) ./parse3) @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0) - @($(CHECKER) ./reader2 test2.xml > reader1.tmp ; diff reader1.tmp reader1.res ; rm reader1.tmp) + @($(CHECKER) ./tree2 > tree2.tmp ; diff tree2.tmp tree2.res ; rm tree2.tmp) @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0) - @($(CHECKER) ./io1 > io1.tmp ; diff io1.tmp io1.res ; rm -f io1.tmp) + @($(CHECKER) ./tree1 test2.xml > tree1.tmp ; diff tree1.tmp tree1.res ; rm tree1.tmp) @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0) - @($(CHECKER) ./parse3) + @($(CHECKER) ./xpath2 test3.xml '//discarded' discarded > xpath2.tmp ; diff xpath2.tmp xpath2.res ; rm xpath2.tmp) @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0) - @($(CHECKER) ./parse4 test3.xml) + @($(CHECKER) ./parse1 test1.xml) @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0) - @($(CHECKER) ./io2 > io2.tmp ; diff io2.tmp io2.res ; rm -f io2.tmp) + @($(CHECKER) ././xpath1 test3.xml '//child2' > xpath1.tmp ; diff xpath1.tmp xpath1.res ; rm xpath1.tmp) @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0) - @($(CHECKER) ./xpath2 test3.xml '//discarded' discarded > xpath2.tmp ; diff xpath2.tmp xpath2.res ; rm xpath2.tmp) + @($(CHECKER) ./io1 > io1.tmp ; diff io1.tmp io1.res ; rm -f io1.tmp) @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0) - @($(CHECKER) ./reader4 test1.xml test2.xml test3.xml > reader4.tmp ; diff reader4.tmp reader4.res ; rm reader4.tmp) + @($(CHECKER) ./parse4 test3.xml) @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0) - @($(CHECKER) ./reader3 > reader3.tmp ; diff reader3.tmp reader3.res ; rm reader3.tmp) + @($(CHECKER) ./parse2 test2.xml) @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0) diff --git a/doc/examples/Makefile.in b/doc/examples/Makefile.in index 4e50e30..e020575 100644 --- a/doc/examples/Makefile.in +++ b/doc/examples/Makefile.in @@ -38,11 +38,11 @@ PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ -noinst_PROGRAMS = xpath1$(EXEEXT) parse1$(EXEEXT) parse2$(EXEEXT) \ - tree1$(EXEEXT) tree2$(EXEEXT) testWriter$(EXEEXT) \ - reader1$(EXEEXT) reader2$(EXEEXT) io1$(EXEEXT) parse3$(EXEEXT) \ - parse4$(EXEEXT) io2$(EXEEXT) xpath2$(EXEEXT) reader4$(EXEEXT) \ - reader3$(EXEEXT) +noinst_PROGRAMS = reader3$(EXEEXT) io2$(EXEEXT) reader1$(EXEEXT) \ + reader2$(EXEEXT) reader4$(EXEEXT) testWriter$(EXEEXT) \ + parse3$(EXEEXT) tree2$(EXEEXT) tree1$(EXEEXT) xpath2$(EXEEXT) \ + parse1$(EXEEXT) xpath1$(EXEEXT) io1$(EXEEXT) parse4$(EXEEXT) \ + parse2$(EXEEXT) subdir = doc/examples DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 @@ -322,31 +322,15 @@ target_alias = @target_alias@ INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include -I@srcdir@/include @THREAD_CFLAGS@ @Z_CFLAGS@ DEPS = $(top_builddir)/libxml2.la LDADDS = @STATIC_BINARIES@ $(top_builddir)/libxml2.la @THREAD_LIBS@ @Z_LIBS@ $(ICONV_LIBS) -lm @WIN32_EXTRA_LIBADD@ -EXTRA_DIST = examples.xsl index.py test1.xml examples.xml test2.xml writer.xml test3.xml tst.xml reader1.res reader3.res tree1.res tree2.res io1.res io2.res xpath1.res xpath2.res reader4.res -xpath1_SOURCES = xpath1.c -xpath1_LDFLAGS = -xpath1_DEPENDENCIES = $(DEPS) -xpath1_LDADD = @RDL_LIBS@ $(LDADDS) -parse1_SOURCES = parse1.c -parse1_LDFLAGS = -parse1_DEPENDENCIES = $(DEPS) -parse1_LDADD = @RDL_LIBS@ $(LDADDS) -parse2_SOURCES = parse2.c -parse2_LDFLAGS = -parse2_DEPENDENCIES = $(DEPS) -parse2_LDADD = @RDL_LIBS@ $(LDADDS) -tree1_SOURCES = tree1.c -tree1_LDFLAGS = -tree1_DEPENDENCIES = $(DEPS) -tree1_LDADD = @RDL_LIBS@ $(LDADDS) -tree2_SOURCES = tree2.c -tree2_LDFLAGS = -tree2_DEPENDENCIES = $(DEPS) -tree2_LDADD = @RDL_LIBS@ $(LDADDS) -testWriter_SOURCES = testWriter.c -testWriter_LDFLAGS = -testWriter_DEPENDENCIES = $(DEPS) -testWriter_LDADD = @RDL_LIBS@ $(LDADDS) +EXTRA_DIST = examples.xsl index.py test3.xml tst.xml test2.xml writer.xml test1.xml examples.xml xpath1.res tree2.res reader3.res tree1.res reader1.res xpath2.res reader4.res io2.res io1.res +reader3_SOURCES = reader3.c +reader3_LDFLAGS = +reader3_DEPENDENCIES = $(DEPS) +reader3_LDADD = @RDL_LIBS@ $(LDADDS) +io2_SOURCES = io2.c +io2_LDFLAGS = +io2_DEPENDENCIES = $(DEPS) +io2_LDADD = @RDL_LIBS@ $(LDADDS) reader1_SOURCES = reader1.c reader1_LDFLAGS = reader1_DEPENDENCIES = $(DEPS) @@ -355,34 +339,50 @@ reader2_SOURCES = reader2.c reader2_LDFLAGS = reader2_DEPENDENCIES = $(DEPS) reader2_LDADD = @RDL_LIBS@ $(LDADDS) -io1_SOURCES = io1.c -io1_LDFLAGS = -io1_DEPENDENCIES = $(DEPS) -io1_LDADD = @RDL_LIBS@ $(LDADDS) +reader4_SOURCES = reader4.c +reader4_LDFLAGS = +reader4_DEPENDENCIES = $(DEPS) +reader4_LDADD = @RDL_LIBS@ $(LDADDS) +testWriter_SOURCES = testWriter.c +testWriter_LDFLAGS = +testWriter_DEPENDENCIES = $(DEPS) +testWriter_LDADD = @RDL_LIBS@ $(LDADDS) parse3_SOURCES = parse3.c parse3_LDFLAGS = parse3_DEPENDENCIES = $(DEPS) parse3_LDADD = @RDL_LIBS@ $(LDADDS) -parse4_SOURCES = parse4.c -parse4_LDFLAGS = -parse4_DEPENDENCIES = $(DEPS) -parse4_LDADD = @RDL_LIBS@ $(LDADDS) -io2_SOURCES = io2.c -io2_LDFLAGS = -io2_DEPENDENCIES = $(DEPS) -io2_LDADD = @RDL_LIBS@ $(LDADDS) +tree2_SOURCES = tree2.c +tree2_LDFLAGS = +tree2_DEPENDENCIES = $(DEPS) +tree2_LDADD = @RDL_LIBS@ $(LDADDS) +tree1_SOURCES = tree1.c +tree1_LDFLAGS = +tree1_DEPENDENCIES = $(DEPS) +tree1_LDADD = @RDL_LIBS@ $(LDADDS) xpath2_SOURCES = xpath2.c xpath2_LDFLAGS = xpath2_DEPENDENCIES = $(DEPS) xpath2_LDADD = @RDL_LIBS@ $(LDADDS) -reader4_SOURCES = reader4.c -reader4_LDFLAGS = -reader4_DEPENDENCIES = $(DEPS) -reader4_LDADD = @RDL_LIBS@ $(LDADDS) -reader3_SOURCES = reader3.c -reader3_LDFLAGS = -reader3_DEPENDENCIES = $(DEPS) -reader3_LDADD = @RDL_LIBS@ $(LDADDS) +parse1_SOURCES = parse1.c +parse1_LDFLAGS = +parse1_DEPENDENCIES = $(DEPS) +parse1_LDADD = @RDL_LIBS@ $(LDADDS) +xpath1_SOURCES = xpath1.c +xpath1_LDFLAGS = +xpath1_DEPENDENCIES = $(DEPS) +xpath1_LDADD = @RDL_LIBS@ $(LDADDS) +io1_SOURCES = io1.c +io1_LDFLAGS = +io1_DEPENDENCIES = $(DEPS) +io1_LDADD = @RDL_LIBS@ $(LDADDS) +parse4_SOURCES = parse4.c +parse4_LDFLAGS = +parse4_DEPENDENCIES = $(DEPS) +parse4_LDADD = @RDL_LIBS@ $(LDADDS) +parse2_SOURCES = parse2.c +parse2_LDFLAGS = +parse2_DEPENDENCIES = $(DEPS) +parse2_LDADD = @RDL_LIBS@ $(LDADDS) all: all-am .SUFFIXES: @@ -707,35 +707,35 @@ valgrind: tests: $(noinst_PROGRAMS) @(echo '## examples regression tests') @(echo > .memdump) - @($(CHECKER) ././xpath1 test3.xml '//child2' > xpath1.tmp ; diff xpath1.tmp xpath1.res ; rm xpath1.tmp) + @($(CHECKER) ./reader3 > reader3.tmp ; diff reader3.tmp reader3.res ; rm reader3.tmp) @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0) - @($(CHECKER) ./parse1 test1.xml) + @($(CHECKER) ./io2 > io2.tmp ; diff io2.tmp io2.res ; rm -f io2.tmp) @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0) - @($(CHECKER) ./parse2 test2.xml) + @($(CHECKER) ./reader1 test2.xml > reader1.tmp ; diff reader1.tmp reader1.res ; rm reader1.tmp) @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0) - @($(CHECKER) ./tree1 test2.xml > tree1.tmp ; diff tree1.tmp tree1.res ; rm tree1.tmp) + @($(CHECKER) ./reader2 test2.xml > reader1.tmp ; diff reader1.tmp reader1.res ; rm reader1.tmp) @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0) - @($(CHECKER) ./tree2 > tree2.tmp ; diff tree2.tmp tree2.res ; rm tree2.tmp) + @($(CHECKER) ./reader4 test1.xml test2.xml test3.xml > reader4.tmp ; diff reader4.tmp reader4.res ; rm reader4.tmp) @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0) @($(CHECKER) ./testWriter ; for i in 1 2 3 4 ; do diff writer.xml writer$$i.res ; done ; rm writer*.res) @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0) - @($(CHECKER) ./reader1 test2.xml > reader1.tmp ; diff reader1.tmp reader1.res ; rm reader1.tmp) + @($(CHECKER) ./parse3) @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0) - @($(CHECKER) ./reader2 test2.xml > reader1.tmp ; diff reader1.tmp reader1.res ; rm reader1.tmp) + @($(CHECKER) ./tree2 > tree2.tmp ; diff tree2.tmp tree2.res ; rm tree2.tmp) @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0) - @($(CHECKER) ./io1 > io1.tmp ; diff io1.tmp io1.res ; rm -f io1.tmp) + @($(CHECKER) ./tree1 test2.xml > tree1.tmp ; diff tree1.tmp tree1.res ; rm tree1.tmp) @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0) - @($(CHECKER) ./parse3) + @($(CHECKER) ./xpath2 test3.xml '//discarded' discarded > xpath2.tmp ; diff xpath2.tmp xpath2.res ; rm xpath2.tmp) @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0) - @($(CHECKER) ./parse4 test3.xml) + @($(CHECKER) ./parse1 test1.xml) @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0) - @($(CHECKER) ./io2 > io2.tmp ; diff io2.tmp io2.res ; rm -f io2.tmp) + @($(CHECKER) ././xpath1 test3.xml '//child2' > xpath1.tmp ; diff xpath1.tmp xpath1.res ; rm xpath1.tmp) @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0) - @($(CHECKER) ./xpath2 test3.xml '//discarded' discarded > xpath2.tmp ; diff xpath2.tmp xpath2.res ; rm xpath2.tmp) + @($(CHECKER) ./io1 > io1.tmp ; diff io1.tmp io1.res ; rm -f io1.tmp) @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0) - @($(CHECKER) ./reader4 test1.xml test2.xml test3.xml > reader4.tmp ; diff reader4.tmp reader4.res ; rm reader4.tmp) + @($(CHECKER) ./parse4 test3.xml) @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0) - @($(CHECKER) ./reader3 > reader3.tmp ; diff reader3.tmp reader3.res ; rm reader3.tmp) + @($(CHECKER) ./parse2 test2.xml) @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0) # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. diff --git a/doc/examples/examples.xml b/doc/examples/examples.xml index 7a683cd..91122ad 100644 --- a/doc/examples/examples.xml +++ b/doc/examples/examples.xml @@ -1,135 +1,136 @@ - - Evaluate XPath expression and prints result node set. - Shows how to evaluate XPath expression and register known namespaces in XPath context. - xpath1 <xml-file> <xpath-expr> [<known-ns-list>] - ./xpath1 test3.xml '//child2' > xpath1.tmp ; diff xpath1.tmp xpath1.res ; rm xpath1.tmp - Aleksey Sanin + + Show how to extract subdocuments with xmlReader + Demonstrate the use of xmlTextReaderPreservePattern() to parse an XML file with the xmlReader while collecting only some subparts of the document. (Note that the XMLReader functions require libxml2 version later than 2.6.) + reader3 + reader3 > reader3.tmp ; diff reader3.tmp reader3.res ; rm reader3.tmp + Daniel Veillard see Copyright for the status of this software. -

XPath
+
xmlReader
- <libxml/parser.h> - <libxml/xpath.h> - <libxml/xpathInternals.h> - <libxml/tree.h> + <libxml/xmlreader.h> - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + - - Parse an XML file to a tree and free it - Demonstrate the use of xmlReadFile() to read an XML file into a tree and and xmlFreeDoc() to free the resulting tree - parse1 test1.xml - parse1 test1.xml - Daniel Veillard + + Output to char buffer + Demonstrate the use of xmlDocDumpMemory to output document to a character buffer + io2 + io2 > io2.tmp ; diff io2.tmp io2.res ; rm -f io2.tmp + John Fleck see Copyright for the status of this software. -
Parsing
+
InputOutput
- <libxml/tree.h> <libxml/parser.h> - - - - - - + + + + + + + + +
- - Parse and validate an XML file to a tree and free the result - Create a parser context for an XML file, then parse and validate the file, creating a tree, check the validation result and xmlFreeDoc() to free the resulting tree. - parse2 test2.xml - parse2 test2.xml + + Parse an XML file with an xmlReader + Demonstrate the use of xmlReaderForFile() to parse an XML file and dump the informations about the nodes found in the process. (Note that the XMLReader functions require libxml2 version later than 2.6.) + reader1 <filename> + reader1 test2.xml > reader1.tmp ; diff reader1.tmp reader1.res ; rm reader1.tmp Daniel Veillard see Copyright for the status of this software. -
Parsing
+
xmlReader
- <libxml/tree.h> - <libxml/parser.h> + <libxml/xmlreader.h> - - - - - - - - - - + + + + + + + + + + + + + +
- - Navigates a tree to print element names - Parse a file to a tree, use xmlDocGetRootElement() to get the root element, then walk the document and print all the element name in document order. - tree1 filename_or_URL - tree1 test2.xml > tree1.tmp ; diff tree1.tmp tree1.res ; rm tree1.tmp - Dodji Seketeli + + Parse and validate an XML file with an xmlReader + Demonstrate the use of xmlReaderForFile() to parse an XML file validating the content in the process and activating options like entities substitution, and DTD attributes defaulting. (Note that the XMLReader functions require libxml2 version later than 2.6.) + reader2 <valid_xml_filename> + reader2 test2.xml > reader1.tmp ; diff reader1.tmp reader1.res ; rm reader1.tmp + Daniel Veillard see Copyright for the status of this software. -
Tree
+
xmlReader
- <libxml/tree.h> - <libxml/parser.h> + <libxml/xmlreader.h> - - - - - - + + + + + + + + + + + + + + + + + +
- - Creates a tree - Shows how to create document, nodes and dump it to stdout or file. - tree2 <filename> -Default output: stdout - tree2 > tree2.tmp ; diff tree2.tmp tree2.res ; rm tree2.tmp - Lucas Brasilino <brasilino@recife.pe.gov.br> - see Copyright for the status of this software -
Tree
+ + Parse multiple XML files reusing an xmlReader + Demonstrate the use of xmlReaderForFile() and xmlReaderNewFile to parse XML files while reusing the reader object and parser context. (Note that the XMLReader functions require libxml2 version later than 2.6.) + reader4 <filename> [ filename ... ] + reader4 test1.xml test2.xml test3.xml > reader4.tmp ; diff reader4.tmp reader4.res ; rm reader4.tmp + Graham Bennett + see Copyright for the status of this software. +
xmlReader
- <libxml/tree.h> - <libxml/parser.h> + <libxml/xmlreader.h> - - - - - - - - - - - - + + + + + + + + + +
@@ -181,59 +182,146 @@ - - Parse an XML file with an xmlReader - Demonstrate the use of xmlReaderForFile() to parse an XML file and dump the informations about the nodes found in the process. (Note that the XMLReader functions require libxml2 version later than 2.6.) - reader1 <filename> - reader1 test2.xml > reader1.tmp ; diff reader1.tmp reader1.res ; rm reader1.tmp + + Parse an XML document in memory to a tree and free it + Demonstrate the use of xmlReadMemory() to read an XML file into a tree and and xmlFreeDoc() to free the resulting tree + parse3 + parse3 Daniel Veillard see Copyright for the status of this software. -
xmlReader
+
Parsing
- <libxml/xmlreader.h> + <libxml/tree.h> + <libxml/parser.h> - - - - - - - - - - - - + + + + + +
- - Parse and validate an XML file with an xmlReader - Demonstrate the use of xmlReaderForFile() to parse an XML file validating the content in the process and activating options like entities substitution, and DTD attributes defaulting. (Note that the XMLReader functions require libxml2 version later than 2.6.) - reader2 <valid_xml_filename> - reader2 test2.xml > reader1.tmp ; diff reader1.tmp reader1.res ; rm reader1.tmp + + Creates a tree + Shows how to create document, nodes and dump it to stdout or file. + tree2 <filename> -Default output: stdout + tree2 > tree2.tmp ; diff tree2.tmp tree2.res ; rm tree2.tmp + Lucas Brasilino <brasilino@recife.pe.gov.br> + see Copyright for the status of this software +
Tree
+ + <libxml/tree.h> + <libxml/parser.h> + + + + + + + + + + + + + +
+ + Navigates a tree to print element names + Parse a file to a tree, use xmlDocGetRootElement() to get the root element, then walk the document and print all the element name in document order. + tree1 filename_or_URL + tree1 test2.xml > tree1.tmp ; diff tree1.tmp tree1.res ; rm tree1.tmp + Dodji Seketeli + see Copyright for the status of this software. +
Tree
+ + <libxml/tree.h> + <libxml/parser.h> + + + + + + +
+ + Load a document, locate subelements with XPath, modify said elements and save the resulting document. + Shows how to make a full round-trip from a load/edit/save + xpath2 <xml-file> <xpath-expr> <new-value> + xpath2 test3.xml '//discarded' discarded > xpath2.tmp ; diff xpath2.tmp xpath2.res ; rm xpath2.tmp + Aleksey Sanin and Daniel Veillard + see Copyright for the status of this software. +
XPath
+ + <libxml/parser.h> + <libxml/xpath.h> + <libxml/xpathInternals.h> + <libxml/tree.h> + + + + + + + + + + + + + + + +
+ + Parse an XML file to a tree and free it + Demonstrate the use of xmlReadFile() to read an XML file into a tree and and xmlFreeDoc() to free the resulting tree + parse1 test1.xml + parse1 test1.xml Daniel Veillard see Copyright for the status of this software. -
xmlReader
+
Parsing
- <libxml/xmlreader.h> + <libxml/tree.h> + <libxml/parser.h> - - - - - - - - - - - - - - - + + +
+ + Evaluate XPath expression and prints result node set. + Shows how to evaluate XPath expression and register known namespaces in XPath context. + xpath1 <xml-file> <xpath-expr> [<known-ns-list>] + ./xpath1 test3.xml '//child2' > xpath1.tmp ; diff xpath1.tmp xpath1.res ; rm xpath1.tmp + Aleksey Sanin + see Copyright for the status of this software. +
XPath
+ + <libxml/parser.h> + <libxml/xpath.h> + <libxml/xpathInternals.h> + <libxml/tree.h> + + + + + + + + + + + + + + + + + +
@@ -255,24 +343,6 @@ - - - - - Parse an XML document in memory to a tree and free it - Demonstrate the use of xmlReadMemory() to read an XML file into a tree and and xmlFreeDoc() to free the resulting tree - parse3 - parse3 - Daniel Veillard - see Copyright for the status of this software. -
Parsing
- - <libxml/tree.h> - <libxml/parser.h> - - - -
@@ -294,122 +364,52 @@ - - Output to char buffer - Demonstrate the use of xmlDocDumpMemory to output document to a character buffer - io2 - io2 > io2.tmp ; diff io2.tmp io2.res ; rm -f io2.tmp - John Fleck - see Copyright for the status of this software. -
InputOutput
- - <libxml/parser.h> - - - - - - - - - - -
- - Load a document, locate subelements with XPath, modify said elements and save the resulting document. - Shows how to make a full round-trip from a load/edit/save - xpath2 <xml-file> <xpath-expr> <new-value> - xpath2 test3.xml '//discarded' discarded > xpath2.tmp ; diff xpath2.tmp xpath2.res ; rm xpath2.tmp - Aleksey Sanin and Daniel Veillard - see Copyright for the status of this software. -
XPath
- - <libxml/parser.h> - <libxml/xpath.h> - <libxml/xpathInternals.h> - <libxml/tree.h> - - - - - - - - - - - - - - -
- - Parse multiple XML files reusing an xmlReader - Demonstrate the use of xmlReaderForFile() and xmlReaderNewFile to parse XML files while reusing the reader object and parser context. (Note that the XMLReader functions require libxml2 version later than 2.6.) - reader4 <filename> [ filename ... ] - reader4 test1.xml test2.xml test3.xml > reader4.tmp ; diff reader4.tmp reader4.res ; rm reader4.tmp - Graham Bennett - see Copyright for the status of this software. -
xmlReader
- - <libxml/xmlreader.h> - - - - - - - - - -
- - Show how to extract subdocuments with xmlReader - Demonstrate the use of xmlTextReaderPreservePattern() to parse an XML file with the xmlReader while collecting only some subparts of the document. (Note that the XMLReader functions require libxml2 version later than 2.6.) - reader3 - reader3 > reader3.tmp ; diff reader3.tmp reader3.res ; rm reader3.tmp + + Parse and validate an XML file to a tree and free the result + Create a parser context for an XML file, then parse and validate the file, creating a tree, check the validation result and xmlFreeDoc() to free the resulting tree. + parse2 test2.xml + parse2 test2.xml Daniel Veillard see Copyright for the status of this software. -
xmlReader
+
Parsing
- <libxml/xmlreader.h> + <libxml/tree.h> + <libxml/parser.h> - - - - - - - + + + + +
- - - - - + + + + + - + - + - + @@ -430,12 +430,12 @@ - - - - - + + + + + @@ -447,9 +447,9 @@ - - + + @@ -458,76 +458,76 @@ - - - + + + - + - - + + - - + + - - - - - + + + + + - + + - - + - - - - - + + + + + - - + + - + @@ -551,9 +551,9 @@ - - + + @@ -566,26 +566,26 @@ - + - + - + - + + - @@ -621,8 +621,8 @@ - + @@ -647,16 +647,16 @@ + - + - @@ -692,28 +692,28 @@ - + - + - + - + - + - + @@ -721,28 +721,28 @@
- +
- - + +
- +
- +
+ -
diff --git a/doc/html/libxml-parser.html b/doc/html/libxml-parser.html index deef591..97fd455 100644 --- a/doc/html/libxml-parser.html +++ b/doc/html/libxml-parser.html @@ -145,7 +145,7 @@ void warningSAXFunc (void * ctx,
con
int	xmlParseChunk			(xmlParserCtxtPtr ctxt, 
const char * chunk,
int size,
int terminate)
int	xmlParseCtxtExternalEntity	(xmlParserCtxtPtr ctx, 
const xmlChar * URL,
const xmlChar * ID,
xmlNodePtr * lst)
xmlDtdPtr	xmlParseDTD		(const xmlChar * ExternalID, 
const xmlChar * SystemID)
-
xmlDocPtr	xmlParseDoc		(xmlChar * cur)
+
xmlDocPtr	xmlParseDoc		(const xmlChar * cur)
int	xmlParseDocument		(xmlParserCtxtPtr ctxt)
xmlDocPtr	xmlParseEntity		(const char * filename)
int	xmlParseExtParsedEnt		(xmlParserCtxtPtr ctxt)
@@ -171,7 +171,7 @@ void xmlParserInputDeallocate (xmlDocPtr xmlRecoverFile (const char * filename)
xmlDocPtr	xmlRecoverMemory	(const char * buffer, 
int size)
xmlDtdPtr	xmlSAXParseDTD		(xmlSAXHandlerPtr sax, 
const xmlChar * ExternalID,
const xmlChar * SystemID)
-
xmlDocPtr	xmlSAXParseDoc		(xmlSAXHandlerPtr sax, 
xmlChar * cur,
int recovery)
+
xmlDocPtr	xmlSAXParseDoc		(xmlSAXHandlerPtr sax, 
const xmlChar * cur,
int recovery)
xmlDocPtr	xmlSAXParseEntity	(xmlSAXHandlerPtr sax, 
const char * filename)
xmlDocPtr	xmlSAXParseFile		(xmlSAXHandlerPtr sax, 
const char * filename,
int recovery)
xmlDocPtr	xmlSAXParseFileWithData	(xmlSAXHandlerPtr sax, 
const char * filename,
int recovery,
void * data)
@@ -434,7 +434,7 @@ void warningSAXFunc (void * ctx,
const char * msg,
...

Parse an external general entity within an existing parsing context An external general parsed entity is well-formed if it matches the production labeled extParsedEnt. [78] extParsedEnt ::= TextDecl? content

ctx:the existing parsing context
URL:the URL for the entity to load
ID:the System ID for the entity to load
lst:the return value for the set of parsed nodes
Returns:0 if the entity is well formed, -1 in case of args problem and the parser error code otherwise

Function: xmlParseDTD

xmlDtdPtr	xmlParseDTD		(const xmlChar * ExternalID, 
const xmlChar * SystemID)

Load and parse an external subset.

-
ExternalID:a NAME* containing the External ID of the DTD
SystemID:a NAME* containing the URL to the DTD
Returns:the resulting xmlDtdPtr or NULL in case of error.

Function: xmlParseDoc

xmlDocPtr	xmlParseDoc		(xmlChar * cur)
+
ExternalID:a NAME* containing the External ID of the DTD
SystemID:a NAME* containing the URL to the DTD
Returns:the resulting xmlDtdPtr or NULL in case of error.

Function: xmlParseDoc

xmlDocPtr	xmlParseDoc		(const xmlChar * cur)

parse an XML in-memory document and build a tree.

cur:a pointer to an array of xmlChar
Returns:the resulting document tree

Function: xmlParseDocument

int	xmlParseDocument		(xmlParserCtxtPtr ctxt)

parse an XML document (and build a tree if using the standard SAX interface). [1] document ::= prolog element Misc* [22] prolog ::= XMLDecl? Misc* (doctypedecl Misc*)?

@@ -483,7 +483,7 @@ void xmlParserInputDeallocate (xmlChar

parse an XML in-memory block and build a tree. In the case the document is not Well Formed, a tree is built anyway

buffer:an pointer to a char array
size:the size of the array
Returns:the resulting document tree

Function: xmlSAXParseDTD

xmlDtdPtr	xmlSAXParseDTD		(xmlSAXHandlerPtr sax, 
const xmlChar * ExternalID,
const xmlChar * SystemID)

Load and parse an external subset.

-
sax:the SAX handler block
ExternalID:a NAME* containing the External ID of the DTD
SystemID:a NAME* containing the URL to the DTD
Returns:the resulting xmlDtdPtr or NULL in case of error.

Function: xmlSAXParseDoc

xmlDocPtr	xmlSAXParseDoc		(xmlSAXHandlerPtr sax, 
xmlChar * cur,
int recovery)
+
sax:the SAX handler block
ExternalID:a NAME* containing the External ID of the DTD
SystemID:a NAME* containing the URL to the DTD
Returns:the resulting xmlDtdPtr or NULL in case of error.

Function: xmlSAXParseDoc

xmlDocPtr	xmlSAXParseDoc		(xmlSAXHandlerPtr sax, 
const xmlChar * cur,
int recovery)

parse an XML in-memory document and build a tree. It use the given SAX function block to handle the parsing callback. If sax is NULL, fallback to the default DOM tree building routines.

sax:the SAX handler block
cur:a pointer to an array of xmlChar
recovery:work in recovery mode, i.e. tries to read no Well Formed documents
Returns:the resulting document tree

Function: xmlSAXParseEntity

xmlDocPtr	xmlSAXParseEntity	(xmlSAXHandlerPtr sax, 
const char * filename)

parse an XML external entity out of context and build a tree. It use the given SAX function block to handle the parsing callback. If sax is NULL, fallback to the default DOM tree building routines. [78] extParsedEnt ::= TextDecl? content This correspond to a "Well Balanced" chunk

diff --git a/doc/html/libxml-schemasInternals.html b/doc/html/libxml-schemasInternals.html index 92aae08..db6d611 100644 --- a/doc/html/libxml-schemasInternals.html +++ b/doc/html/libxml-schemasInternals.html @@ -10,7 +10,7 @@ A:link, A:visited, A:active { text-decoration: underline } Module schemasInternals from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module schemasInternals from libxml2

API Menu
API Indexes
Related links

internal interfaces for the XML Schemas handling and schema validity checking

Table of Contents

#define XML_SCHEMAS_ANYATTR_LAX
#define XML_SCHEMAS_ANYATTR_SKIP
#define XML_SCHEMAS_ANYATTR_STRICT
#define XML_SCHEMAS_ANY_LAX
#define XML_SCHEMAS_ANY_SKIP
#define XML_SCHEMAS_ANY_STRICT
#define XML_SCHEMAS_ATTRGROUP_GLOBAL
#define XML_SCHEMAS_ATTRGROUP_MARKED
#define XML_SCHEMAS_ATTRGROUP_WILDCARD_BUILDED
#define XML_SCHEMAS_ATTR_FIXED
#define XML_SCHEMAS_ATTR_GLOBAL
#define XML_SCHEMAS_ATTR_INTERNAL_RESOLVED
#define XML_SCHEMAS_ATTR_NSDEFAULT
#define XML_SCHEMAS_ATTR_USE_OPTIONAL
#define XML_SCHEMAS_ATTR_USE_PROHIBITED
#define XML_SCHEMAS_ATTR_USE_REQUIRED
#define XML_SCHEMAS_BLOCK_DEFAULT_EXTENSION
#define XML_SCHEMAS_BLOCK_DEFAULT_RESTRICTION
#define XML_SCHEMAS_BLOCK_DEFAULT_SUBSTITUTION
#define XML_SCHEMAS_ELEM_ABSTRACT
#define XML_SCHEMAS_ELEM_BLOCK_ABSENT
#define XML_SCHEMAS_ELEM_BLOCK_EXTENSION
#define XML_SCHEMAS_ELEM_BLOCK_RESTRICTION
#define XML_SCHEMAS_ELEM_BLOCK_SUBSTITUTION
#define XML_SCHEMAS_ELEM_CIRCULAR
#define XML_SCHEMAS_ELEM_DEFAULT
#define XML_SCHEMAS_ELEM_FINAL_ABSENT
#define XML_SCHEMAS_ELEM_FINAL_EXTENSION
#define XML_SCHEMAS_ELEM_FINAL_RESTRICTION
#define XML_SCHEMAS_ELEM_FIXED
#define XML_SCHEMAS_ELEM_GLOBAL
#define XML_SCHEMAS_ELEM_INTERNAL_RESOLVED
#define XML_SCHEMAS_ELEM_NILLABLE
#define XML_SCHEMAS_ELEM_NSDEFAULT
#define XML_SCHEMAS_ELEM_REF
#define XML_SCHEMAS_ELEM_TOPLEVEL
#define XML_SCHEMAS_FACET_COLLAPSE
#define XML_SCHEMAS_FACET_PRESERVE
#define XML_SCHEMAS_FACET_REPLACE
#define XML_SCHEMAS_FACET_UNKNOWN
#define XML_SCHEMAS_FINAL_DEFAULT_EXTENSION
#define XML_SCHEMAS_FINAL_DEFAULT_LIST
#define XML_SCHEMAS_FINAL_DEFAULT_RESTRICTION
#define XML_SCHEMAS_FINAL_DEFAULT_UNION
#define XML_SCHEMAS_INCLUDING_CONVERT_NS
#define XML_SCHEMAS_QUALIF_ATTR
#define XML_SCHEMAS_QUALIF_ELEM
#define XML_SCHEMAS_TYPE_ABSTRACT
#define XML_SCHEMAS_TYPE_BLOCK_DEFAULT
#define XML_SCHEMAS_TYPE_BLOCK_EXTENSION
#define XML_SCHEMAS_TYPE_BLOCK_RESTRICTION
#define XML_SCHEMAS_TYPE_BUILTIN_PRIMITIVE
#define XML_SCHEMAS_TYPE_DERIVATION_METHOD_EXTENSION
#define XML_SCHEMAS_TYPE_DERIVATION_METHOD_RESTRICTION
#define XML_SCHEMAS_TYPE_FACETSNEEDVALUE
#define XML_SCHEMAS_TYPE_FINAL_DEFAULT
#define XML_SCHEMAS_TYPE_FINAL_EXTENSION
#define XML_SCHEMAS_TYPE_FINAL_LIST
#define XML_SCHEMAS_TYPE_FINAL_RESTRICTION
#define XML_SCHEMAS_TYPE_FINAL_UNION
#define XML_SCHEMAS_TYPE_GLOBAL
#define XML_SCHEMAS_TYPE_MARKED
#define XML_SCHEMAS_TYPE_MIXED
#define XML_SCHEMAS_TYPE_OWNED_ATTR_WILDCARD
#define XML_SCHEMAS_TYPE_VARIETY_ABSENT
#define XML_SCHEMAS_TYPE_VARIETY_ATOMIC
#define XML_SCHEMAS_TYPE_VARIETY_LIST
#define XML_SCHEMAS_TYPE_VARIETY_UNION
#define XML_SCHEMAS_WILDCARD_COMPLETE
Structure xmlSchemaAnnot
struct _xmlSchemaAnnot + Module schemasInternals from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module schemasInternals from libxml2

API Menu
API Indexes
Related links

internal interfaces for the XML Schemas handling and schema validity checking

Table of Contents

#define XML_SCHEMAS_ANYATTR_LAX
#define XML_SCHEMAS_ANYATTR_SKIP
#define XML_SCHEMAS_ANYATTR_STRICT
#define XML_SCHEMAS_ANY_LAX
#define XML_SCHEMAS_ANY_SKIP
#define XML_SCHEMAS_ANY_STRICT
#define XML_SCHEMAS_ATTRGROUP_GLOBAL
#define XML_SCHEMAS_ATTRGROUP_MARKED
#define XML_SCHEMAS_ATTRGROUP_WILDCARD_BUILDED
#define XML_SCHEMAS_ATTR_FIXED
#define XML_SCHEMAS_ATTR_GLOBAL
#define XML_SCHEMAS_ATTR_INTERNAL_RESOLVED
#define XML_SCHEMAS_ATTR_NSDEFAULT
#define XML_SCHEMAS_ATTR_USE_OPTIONAL
#define XML_SCHEMAS_ATTR_USE_PROHIBITED
#define XML_SCHEMAS_ATTR_USE_REQUIRED
#define XML_SCHEMAS_BLOCK_DEFAULT_EXTENSION
#define XML_SCHEMAS_BLOCK_DEFAULT_RESTRICTION
#define XML_SCHEMAS_BLOCK_DEFAULT_SUBSTITUTION
#define XML_SCHEMAS_ELEM_ABSTRACT
#define XML_SCHEMAS_ELEM_BLOCK_ABSENT
#define XML_SCHEMAS_ELEM_BLOCK_EXTENSION
#define XML_SCHEMAS_ELEM_BLOCK_RESTRICTION
#define XML_SCHEMAS_ELEM_BLOCK_SUBSTITUTION
#define XML_SCHEMAS_ELEM_CIRCULAR
#define XML_SCHEMAS_ELEM_DEFAULT
#define XML_SCHEMAS_ELEM_FINAL_ABSENT
#define XML_SCHEMAS_ELEM_FINAL_EXTENSION
#define XML_SCHEMAS_ELEM_FINAL_RESTRICTION
#define XML_SCHEMAS_ELEM_FIXED
#define XML_SCHEMAS_ELEM_GLOBAL
#define XML_SCHEMAS_ELEM_INTERNAL_RESOLVED
#define XML_SCHEMAS_ELEM_NILLABLE
#define XML_SCHEMAS_ELEM_NSDEFAULT
#define XML_SCHEMAS_ELEM_REF
#define XML_SCHEMAS_ELEM_TOPLEVEL
#define XML_SCHEMAS_FACET_COLLAPSE
#define XML_SCHEMAS_FACET_PRESERVE
#define XML_SCHEMAS_FACET_REPLACE
#define XML_SCHEMAS_FACET_UNKNOWN
#define XML_SCHEMAS_FINAL_DEFAULT_EXTENSION
#define XML_SCHEMAS_FINAL_DEFAULT_LIST
#define XML_SCHEMAS_FINAL_DEFAULT_RESTRICTION
#define XML_SCHEMAS_FINAL_DEFAULT_UNION
#define XML_SCHEMAS_INCLUDING_CONVERT_NS
#define XML_SCHEMAS_QUALIF_ATTR
#define XML_SCHEMAS_QUALIF_ELEM
#define XML_SCHEMAS_TYPE_ABSTRACT
#define XML_SCHEMAS_TYPE_BLOCK_DEFAULT
#define XML_SCHEMAS_TYPE_BLOCK_EXTENSION
#define XML_SCHEMAS_TYPE_BLOCK_RESTRICTION
#define XML_SCHEMAS_TYPE_BUILTIN_PRIMITIVE
#define XML_SCHEMAS_TYPE_DERIVATION_METHOD_EXTENSION
#define XML_SCHEMAS_TYPE_DERIVATION_METHOD_RESTRICTION
#define XML_SCHEMAS_TYPE_FACETSNEEDVALUE
#define XML_SCHEMAS_TYPE_FINAL_DEFAULT
#define XML_SCHEMAS_TYPE_FINAL_EXTENSION
#define XML_SCHEMAS_TYPE_FINAL_LIST
#define XML_SCHEMAS_TYPE_FINAL_RESTRICTION
#define XML_SCHEMAS_TYPE_FINAL_UNION
#define XML_SCHEMAS_TYPE_GLOBAL
#define XML_SCHEMAS_TYPE_INTERNAL_INVALID
#define XML_SCHEMAS_TYPE_INTERNAL_RESOLVED
#define XML_SCHEMAS_TYPE_MARKED
#define XML_SCHEMAS_TYPE_MIXED
#define XML_SCHEMAS_TYPE_OWNED_ATTR_WILDCARD
#define XML_SCHEMAS_TYPE_VARIETY_ABSENT
#define XML_SCHEMAS_TYPE_VARIETY_ATOMIC
#define XML_SCHEMAS_TYPE_VARIETY_LIST
#define XML_SCHEMAS_TYPE_VARIETY_UNION
#define XML_SCHEMAS_WILDCARD_COMPLETE
Structure xmlSchemaAnnot
struct _xmlSchemaAnnot
Typedef xmlSchemaAnnot * xmlSchemaAnnotPtr
 
Structure xmlSchemaAttribute
struct _xmlSchemaAttribute
Structure xmlSchemaAttributeGroup
struct _xmlSchemaAttributeGroup @@ -104,6 +104,8 @@ The content of this structure is not made public by the API.

Macro: XML_SCHEMAS_TYPE_FINAL_RESTRICTION

#define XML_SCHEMAS_TYPE_FINAL_RESTRICTION

the simpleType/complexType has a final of "restriction".

Macro: XML_SCHEMAS_TYPE_FINAL_UNION

#define XML_SCHEMAS_TYPE_FINAL_UNION

the simpleType has a final of "union".

Macro: XML_SCHEMAS_TYPE_GLOBAL

#define XML_SCHEMAS_TYPE_GLOBAL

the type is global

+

Macro: XML_SCHEMAS_TYPE_INTERNAL_INVALID

#define XML_SCHEMAS_TYPE_INTERNAL_INVALID

indicates that the type is invalid

+

Macro: XML_SCHEMAS_TYPE_INTERNAL_RESOLVED

#define XML_SCHEMAS_TYPE_INTERNAL_RESOLVED

indicates that the type was typefixed

Macro: XML_SCHEMAS_TYPE_MARKED

#define XML_SCHEMAS_TYPE_MARKED

Marks the item as marked; used for circular checks.

Macro: XML_SCHEMAS_TYPE_MIXED

#define XML_SCHEMAS_TYPE_MIXED

the element content type is mixed

Macro: XML_SCHEMAS_TYPE_OWNED_ATTR_WILDCARD

#define XML_SCHEMAS_TYPE_OWNED_ATTR_WILDCARD

the complexType owns an attribute wildcard, i.e. it can be freed by the complexType

@@ -268,6 +270,7 @@ The content of this structure is not made public by the API. XML_SCHEMA_TYPE_IDC_UNIQUE = 22 XML_SCHEMA_TYPE_IDC_KEY = 23 XML_SCHEMA_TYPE_IDC_KEYREF = 24 + XML_SCHEMA_TYPE_PARTICLE = 25 XML_SCHEMA_FACET_MININCLUSIVE = 1000 XML_SCHEMA_FACET_MINEXCLUSIVE = 1001 XML_SCHEMA_FACET_MAXINCLUSIVE = 1002 @@ -280,6 +283,7 @@ The content of this structure is not made public by the API. XML_SCHEMA_FACET_LENGTH = 1009 XML_SCHEMA_FACET_MAXLENGTH = 1010 XML_SCHEMA_FACET_MINLENGTH = 1011 + XML_SCHEMA_EXTRA_QNAMEREF = 2000 }

Structure xmlSchemaVal

Structure xmlSchemaVal
struct _xmlSchemaVal { The content of this structure is not made public by the API. diff --git a/doc/html/libxml-xmlerror.html b/doc/html/libxml-xmlerror.html index 425bcfc..5d8f74e 100644 --- a/doc/html/libxml-xmlerror.html +++ b/doc/html/libxml-xmlerror.html @@ -657,6 +657,8 @@ void xmlStructuredErrorFunc (void * userD XML_C14N_REQUIRES_UTF8 = 1951 : 1951 XML_C14N_CREATE_STACK = 1952 : 1952 XML_C14N_INVALID_NODE = 1953 : 1953 + XML_C14N_UNKNOW_NODE = 1954 : 1954 + XML_C14N_RELATIVE_NAMESPACE = 1955 : 1955 XML_FTP_PASV_ANSWER = 2000 XML_FTP_EPSV_ANSWER = 2001 : 2001 XML_FTP_ACCNT = 2002 : 2002 diff --git a/doc/html/libxml-xmlschemas.html b/doc/html/libxml-xmlschemas.html index 91b1ab9..69cbc50 100644 --- a/doc/html/libxml-xmlschemas.html +++ b/doc/html/libxml-xmlschemas.html @@ -66,6 +66,7 @@ void xmlSchemaValidityWarningFunc (v int preserve : whether to free the document int counter : used to give ononymous components uniqu xmlHashTablePtr idcDef + void * volatiles : Misc. helper items (e.g. reference item }

Structure xmlSchemaParserCtxt

Structure xmlSchemaParserCtxt
struct _xmlSchemaParserCtxt { The content of this structure is not made public by the API. }

Structure xmlSchemaValidCtxt

Structure xmlSchemaValidCtxt
struct _xmlSchemaValidCtxt { diff --git a/doc/html/libxml-xmlschemastypes.html b/doc/html/libxml-xmlschemastypes.html index cf304ad..ced84aa 100644 --- a/doc/html/libxml-xmlschemastypes.html +++ b/doc/html/libxml-xmlschemastypes.html @@ -24,6 +24,7 @@ A:link, A:visited, A:active { text-decoration: underline }
int	xmlSchemaGetCanonValue		(xmlSchemaValPtr val, 
const xmlChar ** retValue)
unsigned long	xmlSchemaGetFacetValueAsULong	(xmlSchemaFacetPtr facet)
xmlSchemaTypePtr	xmlSchemaGetPredefinedType	(const xmlChar * name, 
const xmlChar * ns)
+
xmlSchemaValType	xmlSchemaGetValType	(xmlSchemaValPtr val)
void	xmlSchemaInitTypes		(void)
int	xmlSchemaIsBuiltInTypeFacet	(xmlSchemaTypePtr type, 
int facetType)
xmlSchemaFacetPtr	xmlSchemaNewFacet	(void)
@@ -32,7 +33,9 @@ A:link, A:visited, A:active { text-decoration: underline }
int	xmlSchemaValPredefTypeNode	(xmlSchemaTypePtr type, 
const xmlChar * value,
xmlSchemaValPtr * val,
xmlNodePtr node)
int	xmlSchemaValPredefTypeNodeNoNorm	(xmlSchemaTypePtr type, 
const xmlChar * value,
xmlSchemaValPtr * val,
xmlNodePtr node)
int	xmlSchemaValidateFacet		(xmlSchemaTypePtr base, 
xmlSchemaFacetPtr facet,
const xmlChar * value,
xmlSchemaValPtr val)
+
int	xmlSchemaValidateFacetWhtsp	(xmlSchemaFacetPtr facet, 
xmlSchemaWhitespaceValueType fws,
xmlSchemaValType valType,
const xmlChar * value,
xmlSchemaValPtr val,
xmlSchemaWhitespaceValueType ws)
int	xmlSchemaValidateLengthFacet	(xmlSchemaTypePtr type, 
xmlSchemaFacetPtr facet,
const xmlChar * value,
xmlSchemaValPtr val,
unsigned long * length)
+
int	xmlSchemaValidateLengthFacetWhtsp	(xmlSchemaFacetPtr facet, 
xmlSchemaValType valType,
const xmlChar * value,
xmlSchemaValPtr val,
unsigned long * length,
xmlSchemaWhitespaceValueType ws)
int	xmlSchemaValidateListSimpleTypeFacet	(xmlSchemaFacetPtr facet, 
const xmlChar * value,
unsigned long actualLen,
unsigned long * expectedLen)
int	xmlSchemaValidatePredefinedType	(xmlSchemaTypePtr type, 
const xmlChar * value,
xmlSchemaValPtr * val)
xmlChar *	xmlSchemaWhiteSpaceReplace	(const xmlChar * value)
@@ -64,12 +67,14 @@ A:link, A:visited, A:active { text-decoration: underline }
type:the built-in simple type.
Returns:the item type of @type as defined by the built-in datatype hierarchy of XML Schema Part 2: Datatypes, or NULL in case of an error.

Function: xmlSchemaGetBuiltInType

xmlSchemaTypePtr	xmlSchemaGetBuiltInType	(xmlSchemaValType type)

Gives you the type struct for a built-in type by its type id.

type:the type of the built in type
Returns:the type if found, NULL otherwise.

Function: xmlSchemaGetCanonValue

int	xmlSchemaGetCanonValue		(xmlSchemaValPtr val, 
const xmlChar ** retValue)
-

Get a the cononical representation of the value. The caller has to free the returned retValue.

-
val:the precomputed value
retValue:the returned value
Returns:0 if the value could be built and -1 in case of API errors or if the value type is not supported yet.

Function: xmlSchemaGetFacetValueAsULong

unsigned long	xmlSchemaGetFacetValueAsULong	(xmlSchemaFacetPtr facet)
+

Get a the cononical lexical representation of the value. The caller has to free the returned retValue. WARNING: Some value types are not supported yet, resulting in a @retValue of "???".

+
val:the precomputed value
retValue:the returned value
Returns:0 if the value could be built and -1 in case of API errors.

Function: xmlSchemaGetFacetValueAsULong

unsigned long	xmlSchemaGetFacetValueAsULong	(xmlSchemaFacetPtr facet)

Extract the value of a facet

facet:an schemas type facet
Returns:the value as a long

Function: xmlSchemaGetPredefinedType

xmlSchemaTypePtr	xmlSchemaGetPredefinedType	(const xmlChar * name, 
const xmlChar * ns)

Lookup a type in the default XML Schemas type library

-
name:the type name
ns:the URI of the namespace usually "http://www.w3.org/2001/XMLSchema"
Returns:the type if found, NULL otherwise

Function: xmlSchemaInitTypes

void	xmlSchemaInitTypes		(void)
+
name:the type name
ns:the URI of the namespace usually "http://www.w3.org/2001/XMLSchema"
Returns:the type if found, NULL otherwise

Function: xmlSchemaGetValType

xmlSchemaValType	xmlSchemaGetValType	(xmlSchemaValPtr val)
+

Accessor for the type of a value

+
val:a schemas value
Returns:the xmlSchemaValType of the value

Function: xmlSchemaInitTypes

void	xmlSchemaInitTypes		(void)

Initialize the default XML Schemas type library

Function: xmlSchemaIsBuiltInTypeFacet

int	xmlSchemaIsBuiltInTypeFacet	(xmlSchemaTypePtr type, 
int facetType)

Evaluates if a specific facet can be used in conjunction with a type.

@@ -85,9 +90,13 @@ A:link, A:visited, A:active { text-decoration: underline }

Check that a value conforms to the lexical space of the predefined type. if true a value is computed and returned in @val. This one does apply any normalization to the value.

type:the predefined type
value:the value to check
val:the return computed value
node:the node containing the value
Returns:0 if this validates, a positive error code number otherwise and -1 in case of internal or API error.

Function: xmlSchemaValidateFacet

int	xmlSchemaValidateFacet		(xmlSchemaTypePtr base, 
xmlSchemaFacetPtr facet,
const xmlChar * value,
xmlSchemaValPtr val)

Check a value against a facet condition

-
base:the base type
facet:the facet to check
value:the lexical repr of the value to validate
val:the precomputed value
Returns:0 if the element is schemas valid, a positive error code number otherwise and -1 in case of internal or API error.

Function: xmlSchemaValidateLengthFacet

int	xmlSchemaValidateLengthFacet	(xmlSchemaTypePtr type, 
xmlSchemaFacetPtr facet,
const xmlChar * value,
xmlSchemaValPtr val,
unsigned long * length)
+
base:the base type
facet:the facet to check
value:the lexical repr of the value to validate
val:the precomputed value
Returns:0 if the element is schemas valid, a positive error code number otherwise and -1 in case of internal or API error.

Function: xmlSchemaValidateFacetWhtsp

int	xmlSchemaValidateFacetWhtsp	(xmlSchemaFacetPtr facet, 
xmlSchemaWhitespaceValueType fws,
xmlSchemaValType valType,
const xmlChar * value,
xmlSchemaValPtr val,
xmlSchemaWhitespaceValueType ws)
+

Check a value against a facet condition. This takes value normalization according to the specified whitespace types into account. Note that @value needs to be the *normalized* value if the facet is of type "pattern".

+
facet:the facet to check
fws:the whitespace type of the facet's value
valType:the built-in type of the value
value:the lexical (or normalized for pattern) repr of the value to validate
val:the precomputed value
ws:the whitespace type of the value
Returns:0 if the element is schemas valid, a positive error code number otherwise and -1 in case of internal or API error.

Function: xmlSchemaValidateLengthFacet

int	xmlSchemaValidateLengthFacet	(xmlSchemaTypePtr type, 
xmlSchemaFacetPtr facet,
const xmlChar * value,
xmlSchemaValPtr val,
unsigned long * length)

Checka a value against a "length", "minLength" and "maxLength" facet; sets @length to the computed length of @value.

-
type:the built-in type
facet:the facet to check
value:the lexical repr. of the value to be validated
val:the precomputed value
length:the actual length of the value
Returns:0 if the value is valid, a positive error code otherwise and -1 in case of an internal or API error.

Function: xmlSchemaValidateListSimpleTypeFacet

int	xmlSchemaValidateListSimpleTypeFacet	(xmlSchemaFacetPtr facet, 
const xmlChar * value,
unsigned long actualLen,
unsigned long * expectedLen)
+
type:the built-in type
facet:the facet to check
value:the lexical repr. of the value to be validated
val:the precomputed value
length:the actual length of the value
Returns:0 if the value is valid, a positive error code otherwise and -1 in case of an internal or API error.

Function: xmlSchemaValidateLengthFacetWhtsp

int	xmlSchemaValidateLengthFacetWhtsp	(xmlSchemaFacetPtr facet, 
xmlSchemaValType valType,
const xmlChar * value,
xmlSchemaValPtr val,
unsigned long * length,
xmlSchemaWhitespaceValueType ws)
+

Checka a value against a "length", "minLength" and "maxLength" facet; sets @length to the computed length of @value.

+
facet:the facet to check
valType:the built-in type
value:the lexical repr. of the value to be validated
val:the precomputed value
length:the actual length of the value
ws:the whitespace type of the value
Returns:0 if the value is valid, a positive error code otherwise and -1 in case of an internal or API error.

Function: xmlSchemaValidateListSimpleTypeFacet

int	xmlSchemaValidateListSimpleTypeFacet	(xmlSchemaFacetPtr facet, 
const xmlChar * value,
unsigned long actualLen,
unsigned long * expectedLen)

Checks the value of a list simple type against a facet.

facet:the facet to check
value:the lexical repr of the value to validate
actualLen:the number of list items
expectedLen:the resulting expected number of list items
Returns:0 if the value is valid, a positive error code number otherwise and -1 in case of an internal error.

Function: xmlSchemaValidatePredefinedType

int	xmlSchemaValidatePredefinedType	(xmlSchemaTypePtr type, 
const xmlChar * value,
xmlSchemaValPtr * val)

Check that a value conforms to the lexical space of the predefined type. if true a value is computed and returned in @val.

diff --git a/doc/libxml2-api.xml b/doc/libxml2-api.xml index df10929..0be6307 100644 --- a/doc/libxml2-api.xml +++ b/doc/libxml2-api.xml @@ -1063,6 +1063,7 @@ + @@ -1107,6 +1108,7 @@ + @@ -1121,6 +1123,7 @@ + @@ -1143,6 +1146,7 @@ + @@ -1164,7 +1168,7 @@ - + @@ -1208,9 +1212,9 @@ + - @@ -2066,7 +2070,7 @@ - + @@ -2086,7 +2090,6 @@ - @@ -2108,6 +2111,7 @@ + @@ -2266,7 +2270,7 @@ - + @@ -2297,9 +2301,10 @@ + - + @@ -2389,6 +2394,7 @@ + @@ -2478,7 +2484,7 @@ - + @@ -2865,6 +2871,7 @@ + @@ -2875,6 +2882,7 @@ + @@ -2888,6 +2896,7 @@ + @@ -4042,6 +4051,12 @@ the type is global + + indicates that the type is invalid + + + indicates that the type was typefixed + Marks the item as marked; used for circular checks. @@ -4316,7 +4331,9 @@ + + @@ -5248,6 +5265,7 @@ + @@ -5278,6 +5296,7 @@ + @@ -6041,6 +6060,7 @@ actually an xmlCharEncoding'/> + @@ -6407,7 +6427,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_HTML_ENABLED) Take a block of UTF-8 chars in and try to convert it to an ASCII plus HTML entities block of chars out. @@ -6416,7 +6436,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_OUTPUT_ENABLED) Take a block of UTF-8 chars in and try to convert it to an ISO Latin 1 block of chars out. @@ -6425,7 +6445,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_LEGACY_ENABLED) 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. DEPRECATED: use xmlSAX2Attribute() @@ -6433,7 +6453,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_LEGACY_ENABLED) An attribute definition has been parsed DEPRECATED: use xmlSAX2AttributeDecl() @@ -6445,7 +6465,7 @@ actually an xmlCharEncoding'/> - + An attribute definition has been parsed. @@ -6456,14 +6476,14 @@ actually an xmlCharEncoding'/> - + 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. - + defined(LIBXML_LEGACY_ENABLED) called when a pcdata block has been parsed DEPRECATED: use xmlSAX2CDataBlock() @@ -6471,14 +6491,14 @@ actually an xmlCharEncoding'/> - + Called when a pcdata block has been parsed. - + defined(LIBXML_LEGACY_ENABLED) receiving some chars from the parser. DEPRECATED: use xmlSAX2Characters() @@ -6486,41 +6506,41 @@ actually an xmlCharEncoding'/> - + Receiving some chars from the parser. - + defined(LIBXML_LEGACY_ENABLED) Check that the current element namespace is the same as the one read upon parsing. DEPRECATED - + defined(LIBXML_LEGACY_ENABLED) A comment has been parsed. DEPRECATED: use xmlSAX2Comment() - + A comment has been parsed. - + defined(LIBXML_DOCB_ENABLED) Create a parser context for a file content. Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time. - + defined(LIBXML_DOCB_ENABLED) Create a parser context for using the DocBook SGML parser in push mode To allow content encoding detection, @size should be >= 4 The value of @filename is used for fetching external entities and error/warning reports. @@ -6531,12 +6551,12 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_DOCB_ENABLED) Initialize the default SAX handler - + defined(LIBXML_DOCB_ENABLED) Take a block of UTF-8 chars in and try to convert it to an ASCII plus SGML entities block of chars out. @@ -6546,13 +6566,13 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_DOCB_ENABLED) Free all the memory used by a parser context. However the parsed document in ctxt->myDoc is not freed. - + defined(LIBXML_DOCB_ENABLED) Parse a Chunk of memory @@ -6561,27 +6581,27 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_DOCB_ENABLED) parse an SGML in-memory document and build a tree. - + defined(LIBXML_DOCB_ENABLED) parse an SGML document (and build a tree if using the standard SAX interface). - + defined(LIBXML_DOCB_ENABLED) parse a Docbook SGML file and build a tree. Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time. - + defined(LIBXML_DOCB_ENABLED) parse an SGML in-memory document and build a tree. It use the given SAX function block to handle the parsing callback. If sax is NULL, fallback to the default DOM tree building routines. @@ -6590,7 +6610,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_DOCB_ENABLED) parse an SGML file and build a tree. Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time. It use the given SAX function block to handle the parsing callback. If sax is NULL, fallback to the default DOM tree building routines. @@ -6599,7 +6619,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_LEGACY_ENABLED) An element definition has been parsed DEPRECATED: use xmlSAX2ElementDecl() @@ -6608,7 +6628,7 @@ actually an xmlCharEncoding'/> - + An element definition has been parsed. @@ -6616,25 +6636,25 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_LEGACY_ENABLED) called when the document end has been detected. DEPRECATED: use xmlSAX2EndDocument() - + Called when the document end has been detected. - + defined(LIBXML_LEGACY_ENABLED) called when the end of an element has been detected. DEPRECATED: use xmlSAX2EndElement() - + SAX2 callback when an element end has been detected by the parser. It provides the namespace informations for the element. @@ -6642,13 +6662,13 @@ actually an xmlCharEncoding'/> - + Called when the end of an element has been detected. - + defined(LIBXML_LEGACY_ENABLED) An entity definition has been parsed DEPRECATED: use xmlSAX2EntityDecl() @@ -6659,7 +6679,7 @@ actually an xmlCharEncoding'/> - + An entity definition has been parsed. @@ -6669,14 +6689,14 @@ actually an xmlCharEncoding'/> - + Display and format an error messages, callback. - + defined(LIBXML_LEGACY_ENABLED) Callback on external subset declaration. DEPRECATED: use xmlSAX2ExternalSubset() @@ -6685,7 +6705,7 @@ actually an xmlCharEncoding'/> - + Callback on external subset declaration. @@ -6693,14 +6713,14 @@ actually an xmlCharEncoding'/> - + Display and format fatal error messages, callback. Note: so far fatalError() SAX callbacks are not used, error() get all the callbacks for errors. - + defined(LIBXML_FTP_ENABLED) A callback for the xmlNanoFTPGet command. @@ -6708,7 +6728,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_FTP_ENABLED) A callback for the xmlNanoFTPList command. Note that only one of year and day:minute are specified. @@ -6725,63 +6745,63 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_LEGACY_ENABLED) Provide the column number of the current parsing point. DEPRECATED: use xmlSAX2GetColumnNumber() - + defined(LIBXML_LEGACY_ENABLED) Get an entity by name DEPRECATED: use xmlSAX2GetEntity() - + Get an entity by name. - + defined(LIBXML_LEGACY_ENABLED) Provide the line number of the current parsing point. DEPRECATED: use xmlSAX2GetLineNumber() - + defined(LIBXML_LEGACY_ENABLED) Get the current element namespace. DEPRECATED - + defined(LIBXML_LEGACY_ENABLED) Get a parameter entity by name DEPRECATED: use xmlSAX2GetParameterEntity() - + Get a parameter entity by name. - + defined(LIBXML_LEGACY_ENABLED) Provides the public ID e.g. "-//SGMLSOURCE//DTD DEMO//EN" DEPRECATED: use xmlSAX2GetPublicId() - + defined(LIBXML_LEGACY_ENABLED) Provides the system ID, basically URL or filename e.g. http://www.sgmlsource.com/dtds/memo.dtd DEPRECATED: use xmlSAX2GetSystemId() - + defined(LIBXML_LEGACY_ENABLED) An old global namespace has been parsed. DEPRECATED @@ -6789,29 +6809,29 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_LEGACY_ENABLED) Does this document has an external subset DEPRECATED: use xmlSAX2HasExternalSubset() - + Does this document has an external subset? - + defined(LIBXML_LEGACY_ENABLED) Does this document has an internal subset DEPRECATED: use xmlSAX2HasInternalSubset() - + Does this document has an internal subset. - + defined(LIBXML_HTML_ENABLED) Checks whether an attribute is valid for an element Has full knowledge of Required and Deprecated attributes @@ -6819,7 +6839,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_HTML_ENABLED) The HTML DTD allows a tag to implicitly close other tags. The list is kept in htmlStartClose array. This function checks if the element or one of it's children would autoclose the given tag. @@ -6827,21 +6847,21 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_HTML_ENABLED) Create a parser context for a file content. Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time. - + defined(LIBXML_HTML_ENABLED) Create a parser context for an HTML in-memory document. - + defined(LIBXML_HTML_ENABLED) && defined(LIBXML_PUSH_ENABLED) Create a parser context for using the HTML parser in push mode The value of @filename is used for fetching external entities and error/warning reports. @@ -6852,7 +6872,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_HTML_ENABLED) parse an XML in-memory document and build a tree. This reuses the existing @ctxt parser context @@ -6862,7 +6882,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_HTML_ENABLED) parse an XML from a file descriptor and build a tree. This reuses the existing @ctxt parser context @@ -6872,7 +6892,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_HTML_ENABLED) parse an XML file from the filesystem or the network. This reuses the existing @ctxt parser context @@ -6881,7 +6901,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_HTML_ENABLED) parse an HTML document from I/O functions and source and build a tree. This reuses the existing @ctxt parser context @@ -6893,7 +6913,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_HTML_ENABLED) parse an XML in-memory document and build a tree. This reuses the existing @ctxt parser context @@ -6904,25 +6924,25 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_HTML_ENABLED) Reset a parser context - + defined(LIBXML_HTML_ENABLED) Applies the options to the parser context - + defined(LIBXML_HTML_ENABLED) Initialize the default SAX handler - + defined(LIBXML_HTML_ENABLED) && defined(LIBXML_OUTPUT_ENABLED) Dump an HTML document. @@ -6931,7 +6951,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_HTML_ENABLED) && defined(LIBXML_OUTPUT_ENABLED) Dump an HTML document. Formating return/spaces are added. @@ -6939,14 +6959,14 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_HTML_ENABLED) && defined(LIBXML_OUTPUT_ENABLED) Dump an HTML document to an open FILE. - + defined(LIBXML_HTML_ENABLED) && defined(LIBXML_OUTPUT_ENABLED) Dump an HTML document in memory and return the xmlChar * and it's size. It's up to the caller to free the memory. @@ -6954,21 +6974,21 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_HTML_ENABLED) Checks whether an HTML element may be a direct child of a parent element. Note - doesn't check for deprecated elements - + defined(LIBXML_HTML_ENABLED) Checks whether an HTML element may be a direct child of a parent element. and if so whether it is valid or deprecated. - + defined(LIBXML_HTML_ENABLED) Take a block of UTF-8 chars in and try to convert it to an ASCII plus HTML entities block of chars out. @@ -6978,75 +6998,75 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_HTML_ENABLED) Lookup the given entity in EntitiesTable TODO: the linear scan is really ugly, an hash table is really needed. - + defined(LIBXML_HTML_ENABLED) Lookup the given entity in EntitiesTable TODO: the linear scan is really ugly, an hash table is really needed. - + defined(LIBXML_HTML_ENABLED) Free all the memory used by a parser context. However the parsed document in ctxt->myDoc is not freed. - + defined(LIBXML_HTML_ENABLED) Encoding definition lookup in the Meta tags - + defined(LIBXML_HTML_ENABLED) Set and return the previous value for handling HTML omitted tags. - + defined(LIBXML_HTML_ENABLED) Initialize the htmlStartCloseIndex for fast lookup of closing tags names. This is not reentrant. Call xmlInitParser() once before processing in case of use in multithreaded programs. - + defined(LIBXML_HTML_ENABLED) The HTML DTD allows a tag to implicitly close other tags. The list is kept in htmlStartClose array. This function checks if a tag is autoclosed by one of it's child - + defined(LIBXML_HTML_ENABLED) Determine if a given attribute is a boolean attribute. - + defined(LIBXML_HTML_ENABLED) Check if an attribute is of content type Script - + defined(LIBXML_HTML_ENABLED) Creates a new HTML document - + defined(LIBXML_HTML_ENABLED) Creates a new HTML document without a DTD node if @URI and @ExternalID are NULL - + defined(LIBXML_HTML_ENABLED) && defined(LIBXML_OUTPUT_ENABLED) Dump an HTML node, recursive behaviour,children are printed too, and formatting returns are added. @@ -7054,7 +7074,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_HTML_ENABLED) && defined(LIBXML_OUTPUT_ENABLED) Dump an HTML node, recursive behaviour,children are printed too, and formatting returns are added. @@ -7062,7 +7082,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_HTML_ENABLED) && defined(LIBXML_OUTPUT_ENABLED) Dump an HTML node, recursive behaviour,children are printed too. TODO: if encoding == NULL try to save in the doc encoding @@ -7072,7 +7092,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_HTML_ENABLED) && defined(LIBXML_OUTPUT_ENABLED) Dump an HTML node, recursive behaviour,children are printed too. @@ -7082,7 +7102,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_HTML_ENABLED) && defined(LIBXML_OUTPUT_ENABLED) Dump an HTML node, recursive behaviour,children are printed too, and formatting returns/spaces are added. @@ -7091,20 +7111,20 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_HTML_ENABLED) Checks whether the tree node is valid. Experimental (the author only uses the HTML enhancements in a SAX parser) - + defined(LIBXML_HTML_ENABLED) parse Reference declarations [66] CharRef ::= '&#' [0-9]+ ';' | '&#x' [0-9a-fA-F]+ ';' - + defined(LIBXML_HTML_ENABLED) && defined(LIBXML_PUSH_ENABLED) Parse a Chunk of memory @@ -7113,40 +7133,40 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_HTML_ENABLED) parse an HTML in-memory document and build a tree. - + defined(LIBXML_HTML_ENABLED) parse an HTML document (and build a tree if using the standard SAX interface). - + defined(LIBXML_HTML_ENABLED) parse an HTML element, this is highly recursive [39] element ::= EmptyElemTag | STag content ETag [41] Attribute ::= Name Eq AttValue - + defined(LIBXML_HTML_ENABLED) parse an HTML ENTITY references [68] EntityRef ::= '&' Name ';' - + defined(LIBXML_HTML_ENABLED) parse an HTML file and build a tree. Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time. - + defined(LIBXML_HTML_ENABLED) parse an XML in-memory document and build a tree. @@ -7155,7 +7175,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_HTML_ENABLED) parse an XML from a file descriptor and build a tree. @@ -7164,7 +7184,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_HTML_ENABLED) parse an XML file from the filesystem or the network. @@ -7172,7 +7192,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_HTML_ENABLED) parse an HTML document from I/O functions and source and build a tree. @@ -7183,7 +7203,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_HTML_ENABLED) parse an XML in-memory document and build a tree. @@ -7193,7 +7213,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_HTML_ENABLED) Parse an HTML in-memory document. If sax is not NULL, use the SAX callbacks to handle parse events. If sax is NULL, fallback to the default DOM behavior and return a tree. @@ -7202,7 +7222,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_HTML_ENABLED) parse an HTML file and build a tree. Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time. It use the given SAX function block to handle the parsing callback. If sax is NULL, fallback to the default DOM tree building routines. @@ -7211,14 +7231,14 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_HTML_ENABLED) && defined(LIBXML_OUTPUT_ENABLED) Dump an HTML document to a file. If @filename is "-" the stdout file is used. - + defined(LIBXML_HTML_ENABLED) && defined(LIBXML_OUTPUT_ENABLED) Dump an HTML document to a file using a given encoding and formatting returns/spaces are added. @@ -7226,7 +7246,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_HTML_ENABLED) && defined(LIBXML_OUTPUT_ENABLED) Dump an HTML document to a file using a given encoding. @@ -7235,20 +7255,20 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_HTML_ENABLED) Sets the current encoding in the Meta tags NOTE: this will not change the document content encoding, just the META flag associated. - + defined(LIBXML_HTML_ENABLED) Lookup the HTML tag in the ElementTable - + defined(LIBXML_LEGACY_ENABLED) receiving some ignorable whitespaces from the parser. UNUSED: by default the DOM building will use characters DEPRECATED: use xmlSAX2IgnorableWhitespace() @@ -7256,49 +7276,49 @@ actually an xmlCharEncoding'/> - + Receiving some ignorable whitespaces from the parser. UNUSED: by default the DOM building will use characters. - + Set or reset (if NULL) the default handler for generic errors to the builtin error function. - + defined(LIBXML_LEGACY_ENABLED) && defined(LIBXML_SAX1_ENABLED) && defined(LIBXML_DOCB_ENABLED) Initialize the default DocBook SAX version 1 handler DEPRECATED: use xmlSAX2InitDocbDefaultSAXHandler() for the new SAX2 blocks - + defined(LIBXML_LEGACY_ENABLED) && defined(LIBXML_SAX1_ENABLED) && defined(LIBXML_HTML_ENABLED) Initialize the default HTML SAX version 1 handler DEPRECATED: use xmlSAX2InitHtmlDefaultSAXHandler() for the new SAX2 blocks - + defined(LIBXML_LEGACY_ENABLED) && defined(LIBXML_SAX1_ENABLED) Initialize the default XML SAX version 1 handler DEPRECATED: use xmlSAX2InitDefaultSAXHandler() for the new SAX2 blocks - + Pops the top parser input from the input stack - + Pushes a new parser input on top of the input stack - + defined(LIBXML_LEGACY_ENABLED) Callback on internal subset declaration. DEPRECATED: use xmlSAX2InternalSubset() @@ -7307,7 +7327,7 @@ actually an xmlCharEncoding'/> - + Callback on internal subset declaration. @@ -7315,18 +7335,18 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_LEGACY_ENABLED) Is this document tagged standalone ? DEPRECATED: use xmlSAX2IsStandalone() - + Is this document tagged standalone? - + Take a block of ISO Latin 1 chars in and try to convert it to an UTF-8 block of chars out. @@ -7334,18 +7354,18 @@ actually an xmlCharEncoding'/> - + Pops the top element name from the name stack - + Pushes a new element name on top of the name stack - + defined(LIBXML_LEGACY_ENABLED) A namespace has been parsed. DEPRECATED @@ -7353,18 +7373,18 @@ actually an xmlCharEncoding'/> - + Pops the top element node from the node stack - + Pushes a new element node on top of the node stack - + defined(LIBXML_LEGACY_ENABLED) What to do when a notation declaration has been parsed. DEPRECATED: use xmlSAX2NotationDecl() @@ -7373,7 +7393,7 @@ actually an xmlCharEncoding'/> - + What to do when a notation declaration has been parsed. @@ -7381,7 +7401,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_LEGACY_ENABLED) A processing instruction has been parsed. DEPRECATED: use xmlSAX2ProcessingInstruction() @@ -7389,27 +7409,27 @@ actually an xmlCharEncoding'/> - + A processing instruction has been parsed. - + defined(LIBXML_LEGACY_ENABLED) called when an entity reference is detected. DEPRECATED: use xmlSAX2Reference() - + Called when an entity reference is detected. - + defined(LIBXML_LEGACY_ENABLED) 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 DEPRECATED: use xmlSAX2ResolveEntity() @@ -7417,45 +7437,45 @@ actually an xmlCharEncoding'/> - + 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 - + defined(LIBXML_LEGACY_ENABLED) Receive the document locator at startup, actually xmlDefaultSAXLocator Everything is available on the context, so this is useless in our case. DEPRECATED - + Receive the document locator at startup, actually xmlDefaultSAXLocator. Everything is available on the context, so this is useless in our case. - + defined(LIBXML_LEGACY_ENABLED) Set the current element namespace. DEPRECATED - + defined(LIBXML_LEGACY_ENABLED) called when the document start being processed. DEPRECATED: use xmlSAX2StartDocument() - + Called when the document start being processed. - + defined(LIBXML_LEGACY_ENABLED) called when an opening tag has been processed. DEPRECATED: use xmlSAX2StartElement() @@ -7463,7 +7483,7 @@ actually an xmlCharEncoding'/> - + SAX2 callback when an element start has been detected by the parser. It provides the namespace informations for the element, as well as the new namespace declarations on the element. @@ -7476,14 +7496,14 @@ actually an xmlCharEncoding'/> - + Called when an opening tag has been processed. - + defined(LIBXML_LEGACY_ENABLED) What to do when an unparsed entity declaration is parsed DEPRECATED: use xmlSAX2UnparsedEntityDecl() @@ -7493,7 +7513,7 @@ actually an xmlCharEncoding'/> - + What to do when an unparsed entity declaration is parsed. @@ -7502,27 +7522,27 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_XPATH_ENABLED) Pops the top XPath object from the value stack - + defined(LIBXML_XPATH_ENABLED) Pushes a new XPath object on top of the value stack - + Display and format a warning messages, callback. - + defined(LIBXML_XPTR_ENABLED) This is the prototype for a extended link detection callback. @@ -7540,7 +7560,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_XPTR_ENABLED) This is the prototype for a extended link set detection callback. @@ -7553,43 +7573,43 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_XPTR_ENABLED) Get the default xlink detection routine - + defined(LIBXML_XPTR_ENABLED) Get the default xlink handler. - + defined(LIBXML_XPTR_ENABLED) Check whether the given node carries the attributes needed to be a link element (or is one of the linking elements issued from the (X)HTML DtDs). This routine don't try to do full checking of the link validity but tries to detect and return the appropriate link type. - + defined(LIBXML_XPTR_ENABLED) This is the prototype for the link detection routine. It calls the default link detection callbacks upon link detection. - + defined(LIBXML_XPTR_ENABLED) Set the default xlink detection routine - + defined(LIBXML_XPTR_ENABLED) Set the default xlink handlers - + defined(LIBXML_XPTR_ENABLED) This is the prototype for a simple link detection callback. @@ -7599,7 +7619,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_CATALOG_ENABLED) Add an entry in the catalog, it may overwrite existing but different entries. @@ -7608,21 +7628,21 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_CATALOG_ENABLED) && defined(LIBXML_OUTPUT_ENABLED) Dump the given catalog to the given file. - + defined(LIBXML_CATALOG_ENABLED) Remove an entry from the catalog - + defined(LIBXML_CATALOG_ENABLED) Do a complete resolution lookup of an External Identifier @@ -7630,28 +7650,28 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_CATALOG_ENABLED) Try to lookup the catalog local reference associated to a public ID in that catalog - + defined(LIBXML_CATALOG_ENABLED) Try to lookup the catalog resource for a system ID - + defined(LIBXML_CATALOG_ENABLED) Do a complete resolution lookup of an URI - + Register a new attribute declaration Note that @tree becomes the ownership of the DTD @@ -7664,19 +7684,19 @@ actually an xmlCharEncoding'/> - + 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 is ATTRIBUTE, it is added into properties instead of children. If there is an attribute with equal name, it is first destroyed. - + Add a list of node at the end of the child list of the parent merging adjacent TEXT nodes (@cur may be freed) - + Register a new entity for this document. @@ -7686,7 +7706,7 @@ actually an xmlCharEncoding'/> - + Register a new entity for this document DTD external subset. @@ -7696,7 +7716,7 @@ actually an xmlCharEncoding'/> - + Register a new element declaration @@ -7705,13 +7725,13 @@ actually an xmlCharEncoding'/> - + Registers an alias @alias for an encoding named @name. Existing alias will be overwritten. - + Register a new id declaration @@ -7719,13 +7739,13 @@ actually an xmlCharEncoding'/> - + 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. - + Register a new notation declaration @@ -7734,14 +7754,14 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_TREE_ENABLED) || defined(LIBXML_HTML_ENABLED) || defined(LIBXML_SCHEMAS_ENABLED) 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. - + Register a new ref declaration @@ -7749,24 +7769,24 @@ actually an xmlCharEncoding'/> - + Add a new element @elem to the list of 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. - + defined(LIBXML_OUTPUT_ENABLED) Create a buffered parser output - + Create a buffered parser input for progressive parsing - + defined(LIBXML_OUTPUT_ENABLED) Serialize text attribute values to an xml simple buffer @@ -7775,25 +7795,25 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_REGEXP_ENABLED) && defined(LIBXML_AUTOMATA_ENABLED) Compile the automata into a Reg Exp ready for being executed. The automata should be free after this point. - + defined(LIBXML_REGEXP_ENABLED) && defined(LIBXML_AUTOMATA_ENABLED) Initial state lookup - + defined(LIBXML_REGEXP_ENABLED) && defined(LIBXML_AUTOMATA_ENABLED) Checks if an automata is determinist. - + defined(LIBXML_REGEXP_ENABLED) && defined(LIBXML_AUTOMATA_ENABLED) If @to is NULL, this creates first a new target state in the automata and then adds a an ALL transition from the @from state to the target state. That transition is an epsilon transition allowed only when all transitions from the @from node have been activated. @@ -7802,7 +7822,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_REGEXP_ENABLED) && defined(LIBXML_AUTOMATA_ENABLED) If @to is NULL, this creates first a new target state in the automata and then adds a transition from the @from state to the target state activated by a succession of input of value @token and whose number is between @min and @max @@ -7814,7 +7834,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_REGEXP_ENABLED) && defined(LIBXML_AUTOMATA_ENABLED) If @to is NULL, this creates first a new target state in the automata and then adds a transition from the @from state to the target state activated by a succession of input of value @token and @token2 and whose number is between @min and @max @@ -7827,7 +7847,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_REGEXP_ENABLED) && defined(LIBXML_AUTOMATA_ENABLED) If @to is NULL, this creates first a new target state in the automata and then adds an epsilon transition from the @from state to the target state which will increment the counter provided @@ -7836,7 +7856,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_REGEXP_ENABLED) && defined(LIBXML_AUTOMATA_ENABLED) Create a new counter @@ -7844,7 +7864,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_REGEXP_ENABLED) && defined(LIBXML_AUTOMATA_ENABLED) If @to is NULL, this creates first a new target state in the automata and then adds an epsilon transition from the @from state to the target state which will be allowed only if the counter is within the right range. @@ -7853,7 +7873,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_REGEXP_ENABLED) && defined(LIBXML_AUTOMATA_ENABLED) If @to is NULL, this creates first a new target state in the automata and then adds an epsilon transition from the @from state to the target state @@ -7861,7 +7881,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_REGEXP_ENABLED) && defined(LIBXML_AUTOMATA_ENABLED) If @to is NULL, this creates first a new target state in the automata and then adds a transition from the @from state to the target state activated by a succession of input of value @token and whose number is between @min and @max, moreover that transition can only be crossed once. @@ -7873,7 +7893,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_REGEXP_ENABLED) && defined(LIBXML_AUTOMATA_ENABLED) If @to is NULL, this creates first a new target state in the automata and then adds a transition from the @from state to the target state activated by a succession of input of value @token and @token2 and whose number is between @min and @max, moreover that transition can only be crossed once. @@ -7886,13 +7906,13 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_REGEXP_ENABLED) && defined(LIBXML_AUTOMATA_ENABLED) Create a new disconnected state in the automata - + defined(LIBXML_REGEXP_ENABLED) && defined(LIBXML_AUTOMATA_ENABLED) If @to is NULL, this creates first a new target state in the automata and then adds a transition from the @from state to the target state activated by the value of @token @@ -7902,7 +7922,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_REGEXP_ENABLED) && defined(LIBXML_AUTOMATA_ENABLED) If @to is NULL, this creates first a new target state in the automata and then adds a transition from the @from state to the target state activated by the value of @token @@ -7913,129 +7933,129 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_REGEXP_ENABLED) && defined(LIBXML_AUTOMATA_ENABLED) Makes that state a final state - + defined(LIBXML_DEBUG_ENABLED) Convenient way to turn bool into text - + Add a string range to an XML buffer. if len == -1, the length of str is recomputed. - + Add a string range to the beginning of an XML buffer. if len == -1, the length of @str is recomputed. - + Append a zero terminated C string to an XML buffer. - + Append a zero terminated string to an XML buffer. - + Function to extract the content of a buffer - + routine to create an XML buffer. - + routine to create an XML buffer. - + routine to create an XML buffer from an immutable memory area. The area won't be modified nor copied, and is expected to be present until the end of the buffer lifetime. - + Dumps an XML buffer to a FILE *. - + empty a buffer. - + Frees an XML buffer. It frees both the content and the structure which encapsulate it. - + Grow the available space of an XML buffer. - + Function to get the length of a buffer - + Resize a buffer to accommodate minimum size of @size. - + Sets the allocation scheme for this buffer - + Remove the beginning of an XML buffer. - + routine which manages and grows an output buffer. This one adds xmlChars at the end of the buffer. - + routine which manage and grows an output buffer. This one add C chars at the end of the array. - + routine which manage and grows an output buffer. This one writes a quoted or double quoted #xmlChar string, checking first if it holds quote or double-quotes internally - + Builds the QName @prefix:@ncname in @memory if there is enough space and prefix is not NULL nor empty, otherwise allocate a new string. If prefix is NULL or empty it returns ncname. @@ -8043,24 +8063,24 @@ actually an xmlCharEncoding'/> - + Expresses the URI of the reference in terms relative to the base. Some examples of this operation include: base = "http://site1.com/docs/book1.html" URI input URI returned docs/pic1.gif pic1.gif docs/img/pic1.gif img/pic1.gif img/pic1.gif ../img/pic1.gif http://site1.com/docs/pic1.gif pic1.gif http://site2.com/docs/pic1.gif http://site2.com/docs/pic1.gif base = "docs/book1.html" URI input URI returned docs/pic1.gif pic1.gif docs/img/pic1.gif img/pic1.gif img/pic1.gif ../img/pic1.gif http://site1.com/docs/pic1.gif http://site1.com/docs/pic1.gif Note: if the URI reference is really wierd or complicated, it may be worthwhile to first convert it into a "nice" one by calling xmlBuildURI (using 'base') before calling this routine, since this routine (for reasonable efficiency) assumes URI has already been through some validation. - + Computes he final URI of the reference done by checking that the given URI is valid, and building the final URI using the base URI. This is processed according to section 5.2 of the RFC 2396 5.2. Resolving Relative References to Absolute Form - + This function provides the current index of the parser relative to the start of the current entity. This function is computed in bytes from the beginning starting at zero and finishing at the size in byte of the file if parsing a file. The function is of constant cost if the input is UTF-8 but can be costly if run on non-UTF-8 input. - + defined(LIBXML_C14N_ENABLED) && defined(LIBXML_OUTPUT_ENABLED) Dumps the canonized image of given XML document into memory. For details see "Canonical XML" (http://www.w3.org/TR/xml-c14n) or "Exclusive XML Canonicalization" (http://www.w3.org/TR/xml-exc-c14n) @@ -8071,7 +8091,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_C14N_ENABLED) && defined(LIBXML_OUTPUT_ENABLED) Dumps the canonized image of given XML document into the file. For details see "Canonical XML" (http://www.w3.org/TR/xml-c14n) or "Exclusive XML Canonicalization" (http://www.w3.org/TR/xml-exc-c14n) @@ -8083,7 +8103,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_C14N_ENABLED) && defined(LIBXML_OUTPUT_ENABLED) Dumps the canonized image of given XML document into the provided buffer. For details see "Canonical XML" (http://www.w3.org/TR/xml-c14n) or "Exclusive XML Canonicalization" (http://www.w3.org/TR/xml-exc-c14n) @@ -8094,7 +8114,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_C14N_ENABLED) && defined(LIBXML_OUTPUT_ENABLED) Dumps the canonized image of given XML document into the provided buffer. For details see "Canonical XML" (http://www.w3.org/TR/xml-c14n) or "Exclusive XML Canonicalization" (http://www.w3.org/TR/xml-exc-c14n) @@ -8106,7 +8126,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_C14N_ENABLED) && defined(LIBXML_OUTPUT_ENABLED) @@ -8114,12 +8134,12 @@ actually an xmlCharEncoding'/> - + Constructs a canonic path from the specified path. - + defined(LIBXML_CATALOG_ENABLED) Add an entry in the catalog, it may overwrite existing but different entries. If called before any other catalog routine, allows to override the default shared catalog put in place by xmlInitializeCatalog(); @@ -8127,59 +8147,59 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_CATALOG_ENABLED) Add the new entry to the catalog list - + defined(LIBXML_CATALOG_ENABLED) Free up all the memory associated with catalogs - + defined(LIBXML_CATALOG_ENABLED) Convert all the SGML catalog entries as XML ones - + defined(LIBXML_CATALOG_ENABLED) && defined(LIBXML_OUTPUT_ENABLED) Dump all the global catalog content to the given file. - + defined(LIBXML_CATALOG_ENABLED) Free up the memory associated to the catalog list - + defined(LIBXML_CATALOG_ENABLED) Used to get the user preference w.r.t. to what catalogs should be accepted - + defined(LIBXML_CATALOG_ENABLED) Try to lookup the catalog reference associated to a public ID DEPRECATED, use xmlCatalogResolvePublic() - + defined(LIBXML_CATALOG_ENABLED) Try to lookup the catalog reference associated to a system ID DEPRECATED, use xmlCatalogResolveSystem() - + defined(LIBXML_CATALOG_ENABLED) Check is a catalog is empty - + defined(LIBXML_CATALOG_ENABLED) Do a complete resolution lookup of an External Identifier using a document's private catalog list @@ -8187,89 +8207,89 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_CATALOG_ENABLED) Do a complete resolution lookup of an URI using a document's private catalog list - + defined(LIBXML_CATALOG_ENABLED) Remove an entry from the catalog - + defined(LIBXML_CATALOG_ENABLED) Do a complete resolution lookup of an External Identifier - + defined(LIBXML_CATALOG_ENABLED) Try to lookup the catalog reference associated to a public ID - + defined(LIBXML_CATALOG_ENABLED) Try to lookup the catalog resource for a system ID - + defined(LIBXML_CATALOG_ENABLED) Do a complete resolution lookup of an URI - + defined(LIBXML_CATALOG_ENABLED) Used to set the debug level for catalog operation, 0 disable debugging, 1 enable it - + defined(LIBXML_CATALOG_ENABLED) Allows to set the preference between public and system for deletion in XML Catalog resolution. C.f. section 4.1.1 of the spec Values accepted are XML_CATA_PREFER_PUBLIC or XML_CATA_PREFER_SYSTEM - + defined(LIBXML_CATALOG_ENABLED) Used to set the user preference w.r.t. to what catalogs should be accepted - + Generic front-end for encoding handler close function - + Front-end for the encoding handler input function, but handle only the very first line, i.e. limit itself to 45 chars. - + Generic front-end for the encoding handler input function - + Generic front-end for the encoding handler output function a first call with @in == NULL has to be made firs to initiate the output in case of non-stateless encoding needing to initiate their state or the output (like the BOM in UTF16). In case of UTF8 sequence conversion errors for the given encoder, the content will be automatically remapped to a CharRef sequence. - + Take a block of chars in the original encoding and try to convert it to an UTF-8 block of chars out. @@ -8277,7 +8297,7 @@ actually an xmlCharEncoding'/> - + Take a block of UTF-8 chars in and try to convert it to another encoding. Note: a first call designed to produce heading info is called with in = NULL. If stateful this should also initialize the encoder state. @@ -8285,236 +8305,236 @@ actually an xmlCharEncoding'/> - + Does a binary search of the range table to determine if char is valid - + a strdup for char's to xmlChar's - + a strndup for char's to xmlChar's - + function checks to see if @path is a valid source (file, socket...) for XML. if stat is not available on the target machine, - + Check an input in case it was created from an HTTP stream, in that case it will handle encoding and update of the base URL in case of redirection. It also checks for HTTP errors in which case the input is cleanly freed up and an appropriate error is raised in context - + Checks that the value conforms to the LanguageID production: NOTE: this is somewhat deprecated, those productions were removed from the XML Second edition. [33] LanguageID ::= Langcode ('-' Subcode)* [34] Langcode ::= ISO639Code | IanaCode | UserCode [35] ISO639Code ::= ([a-z] | [A-Z]) ([a-z] | [A-Z]) [36] IanaCode ::= ('i' | 'I') '-' ([a-z] | [A-Z])+ [37] UserCode ::= ('x' | 'X') '-' ([a-z] | [A-Z])+ [38] Subcode ::= ([a-z] | [A-Z])+ - + Checks @utf for being valid UTF-8. @utf is assumed to be null-terminated. This function is not super-strict, as it will allow longer UTF-8 sequences than necessary. Note that Java is capable of producing these sequences if provoked. Also note, this routine checks for the 4-byte maximum size, but does not check for 0x10ffff maximum value. - + check the compiled lib version against the include one. This can warn or immediately kill the application - + Cleanup the memory allocated for the char encoding support, it unregisters all the encoding handlers and the aliases. - + Unregisters all aliases - + Additional cleanup for multi-threading - + clears the entire input callback table. this includes the compiled-in I/O. - + Free up all the memory allocated by the library for its own use. This should not be called by user level code. - + defined(LIBXML_OUTPUT_ENABLED) clears the entire output callback table. this includes the compiled-in I/O callbacks. - + Cleanup function for the XML library. It tries to reclaim all parsing related global memory allocated for the library processing. It doesn't deallocate any document related memory. Calling this function should not prevent reusing the library but one should call xmlCleanupParser() only when the process has finished using the library or XML document built with it. - + defined(LIBXML_LEGACY_ENABLED) Cleanup up the predefined entities table. Deprecated call - + xmlCleanupThreads() is used to to cleanup all the thread related data of the libxml2 library once processing has ended. - + -- Clear (release memory and reinitialize) node info sequence - + Clear (release owned resources) and reinitialize a parser context - + defined(LIBXML_CATALOG_ENABLED) Convert all the SGML catalog entries as XML ones - + defined(LIBXML_TREE_ENABLED) Build a copy of an attribute table. - + append the char value in the array - + append the char value in the array - + defined(LIBXML_TREE_ENABLED) || defined(LIBXML_SCHEMAS_ENABLED) Do a copy of the document info. If recursive, the content tree will be copied too as well as DTD, namespaces and entities. - + Build a copy of an element content description. - + defined(LIBXML_TREE_ENABLED) Do a copy of the dtd. - + Build a copy of an element content description. Deprecated, use xmlCopyDocElementContent instead - + defined(LIBXML_TREE_ENABLED) Build a copy of an element table. - + defined(LIBXML_TREE_ENABLED) Build a copy of an entity table. - + defined(LIBXML_TREE_ENABLED) Copy an enumeration attribute node (recursive). - + Save the original error to the new place. - + Do a copy of the namespace. - + Do a copy of an namespace list. - + Do a copy of the node. - + Do a recursive copy of the node list. Use xmlDocCopyNodeList() if possible to ensure string interning. - + defined(LIBXML_TREE_ENABLED) Build a copy of a notation table. - + Do a copy of the attribute. - + Do a copy of an attribute list. - + Creates a parser context for an XML in-memory document. - + create and initialize an empty entities hash table. This really doesn't make sense and should be deprecated - + Create a parser context for an external entity Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time. - + create and initialize an enumeration attribute node. - + Create a parser context for a file content. Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time. - + Create a parser context for using the XML parser with an existing I/O stream @@ -8524,7 +8544,7 @@ actually an xmlCharEncoding'/> - + Create the internal subset of a document @@ -8532,13 +8552,13 @@ actually an xmlCharEncoding'/> - + Create a parser context for an XML in-memory document. - + defined(LIBXML_PUSH_ENABLED) 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 characters 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. @@ -8548,22 +8568,22 @@ actually an xmlCharEncoding'/> - + Simply creates an empty xmlURI - + 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 - + Get the last parsing error registered. - + parse an XML in-memory document and build a tree. This reuses the existing @ctxt parser context @@ -8572,7 +8592,7 @@ actually an xmlCharEncoding'/> - + 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. @@ -8581,7 +8601,7 @@ actually an xmlCharEncoding'/> - + parse an XML file from the filesystem or the network. This reuses the existing @ctxt parser context @@ -8589,7 +8609,7 @@ actually an xmlCharEncoding'/> - + parse an XML document from I/O functions and source and build a tree. This reuses the existing @ctxt parser context @@ -8600,7 +8620,7 @@ actually an xmlCharEncoding'/> - + parse an XML in-memory document and build a tree. This reuses the existing @ctxt parser context @@ -8610,17 +8630,17 @@ actually an xmlCharEncoding'/> - + Reset a parser context - + Cleanup the last global error registered. For parsing error this does not change the well-formedness result. - + Reset a push parser context @@ -8629,26 +8649,26 @@ actually an xmlCharEncoding'/> - + Applies the options to the parser context - + 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.) - + defined(LIBXML_DEBUG_ENABLED) Check the document for potential content problems, and output the errors to @output - + defined(LIBXML_DEBUG_ENABLED) Dumps debug information for the attribute @@ -8656,7 +8676,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_DEBUG_ENABLED) Dumps debug information for the attribute list @@ -8664,35 +8684,35 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_DEBUG_ENABLED) Dumps debug information for the DTD - + defined(LIBXML_DEBUG_ENABLED) Dumps debug information for the document, it's recursive - + defined(LIBXML_DEBUG_ENABLED) Dumps debug information cncerning the document, not recursive - + defined(LIBXML_DEBUG_ENABLED) Dumps debug information for all the entities in use by the document - + defined(LIBXML_DEBUG_ENABLED) Dumps debug information for the element node, it is recursive @@ -8700,7 +8720,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_DEBUG_ENABLED) Dumps debug information for the list of element node, it is recursive @@ -8708,7 +8728,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_DEBUG_ENABLED) Dumps debug information for the element node, it is not recursive @@ -8716,14 +8736,14 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_DEBUG_ENABLED) Dumps informations about the string, shorten it if necessary - + defined(LIBXML_LEGACY_ENABLED) This function is deprecated, we now always process entities content through xmlStringDecodeEntities TODO: remove it in next major release. [67] Reference ::= EntityRef | CharRef [69] PEReference ::= '%' Name ';' @@ -8734,107 +8754,107 @@ actually an xmlCharEncoding'/> - + Initialize the default SAX2 handler - + Unregisters an encoding alias @alias - + Registers a callback for node destruction - + - + Guess the encoding of the entity using the first bytes of the entity content according to the non-normative appendix F of the XML-1.0 recommendation. - + Free the dictionary mutex. - + Create a new dictionary - + Create a new dictionary, inheriting strings from the read-only dictionnary @sub. On lookup, strings are first searched in the new dictionnary, then in @sub, and if not found are created in the new dictionnary. - + Check if the @name exists in the dictionnary @dict. - + Free the hash @dict and its contents. The userdata is deallocated with @f if provided. - + Add the @name to the dictionnary @dict if not present. - + check if a string is owned by the disctionary - + Add the QName @prefix:@name to the hash @dict if not present. - + Increment the reference counter of a dictionary - + Query the number of elements installed in the hash @dict. - + Do a copy of the node to a given document. - + Do a recursive copy of the node list. - + defined(LIBXML_OUTPUT_ENABLED) Dump an XML document to an open FILE. - + defined(LIBXML_OUTPUT_ENABLED) Dump an XML document in memory and return the #xmlChar * and it's size. It's up to the caller to free the memory with xmlFree(). Note that @format = 1 provide node indenting only if xmlIndentTreeOutput = 1 or xmlKeepBlanksDefault(0) was called @@ -8843,7 +8863,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_OUTPUT_ENABLED) Dump the current DOM tree into memory using the character encoding specified by the caller. Note it is up to the caller of this function to free the allocated memory with xmlFree(). Note that @format = 1 provide node indenting only if xmlIndentTreeOutput = 1 or xmlKeepBlanksDefault(0) was called @@ -8853,7 +8873,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_OUTPUT_ENABLED) Dump an XML document in memory and return the #xmlChar * and it's size in bytes. It's up to the caller to free the memory with xmlFree(). The resulting byte array is zero terminated, though the last 0 is not included in the returned size. @@ -8861,7 +8881,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_OUTPUT_ENABLED) Dump the current DOM tree into memory using the character encoding specified by the caller. Note it is up to the caller of this function to free the allocated memory with xmlFree(). @@ -8870,7 +8890,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_OUTPUT_ENABLED) Dump an XML document to an open FILE. @@ -8878,75 +8898,75 @@ actually an xmlCharEncoding'/> - + Get the root element of the document (doc->children is a list containing possibly comments, PIs, etc ...). - + defined(LIBXML_TREE_ENABLED) || defined(LIBXML_WRITER_ENABLED) Set the root element of the document (doc->children is a list containing possibly comments, PIs, etc ...). - + defined(LIBXML_OUTPUT_ENABLED) This will dump the content of the attribute declaration as an XML DTD definition - + defined(LIBXML_OUTPUT_ENABLED) This will dump the content of the attribute table as an XML DTD definition - + defined(LIBXML_OUTPUT_ENABLED) This will dump the content of the element declaration as an XML DTD definition - + defined(LIBXML_OUTPUT_ENABLED) This will dump the content of the element table as an XML DTD definition - + defined(LIBXML_OUTPUT_ENABLED) This will dump the content of the entity table as an XML DTD definition - + defined(LIBXML_OUTPUT_ENABLED) This will dump the content of the entity table as an XML DTD definition - + defined(LIBXML_OUTPUT_ENABLED) This will dump the content the notation declaration as an XML DTD definition - + defined(LIBXML_OUTPUT_ENABLED) This will dump the content of the notation table as an XML DTD definition - + defined(LIBXML_OUTPUT_ENABLED) Dump an XML/HTML node, recursive behaviour, children are printed too. @@ -8954,26 +8974,26 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_LEGACY_ENABLED) TODO: remove xmlEncodeEntities, once we are not afraid of breaking binary compatibility People must migrate their code to xmlEncodeEntitiesReentrant ! This routine will issue a warning when encountered. - + Do a global encoding of a string, replacing the predefined entities and non ASCII values with their entities and CharRef counterparts. Contrary to xmlEncodeEntities, this routine is reentrant, and result must be deallocated. - + Do a global encoding of a string, replacing the predefined entities this routine is reentrant, and result must be deallocated. - + defined(LIBXML_LEGACY_ENABLED) Callback function used when one needs to be able to track back the provenance of a chunk of nodes inherited from an entity replacement. @@ -8981,216 +9001,216 @@ actually an xmlCharEncoding'/> - + Handle a redefinition of attribute error - + External entity loaders types. - + Close an I/O channel - + input from FILE * - + Wrapper around xmlFileOpen_real that try it with an unescaped version of @filename, if this fails fallback to @filename - + Read @len bytes to @buffer from the I/O channel. - + Search in the registered set the handler able to read/write that encoding. - + Deallocate the memory used by an entities hash table. - + defined(LIBXML_REGEXP_ENABLED) && defined(LIBXML_AUTOMATA_ENABLED) Free an automata - + defined(LIBXML_CATALOG_ENABLED) Free the memory allocated to a Catalog - + Free up all the structures used by a document, tree included. - + Free an element content structure. The whole subtree is removed. - + Free a DTD structure. - + Free an element content structure. The whole subtree is removed. Deprecated, use xmlFreeDocElementContent instead - + Deallocate the memory used by an element hash table. - + Deallocate the memory used by an entities hash table. - + free an enumeration attribute node (recursive). - + Signature for a free() implementation. - + Deallocate the memory used by an ID hash table. - + Free up an input stream. - + xmlFreeMutex() is used to reclaim resources associated with a libxml2 token struct. - + Free a node, this is a recursive behaviour, all the children are freed too. This doesn't unlink the child from the list, use xmlUnlinkNode() first. - + Free a node and all its siblings, this is a recursive behaviour, all the children are freed too. - + Deallocate the memory used by an entities hash table. - + Free up the structures associated to a namespace - + Free up all the structures associated to the chained namespaces. - + Free all the memory used by a parser context. However the parsed document in ctxt->myDoc is not freed. - + Free up the memory used by a buffered parser input - + defined(LIBXML_PATTERN_ENABLED) Free up the memory allocated by @comp - + defined(LIBXML_PATTERN_ENABLED) Free up the memory allocated by all the elements of @comp - + Free one attribute, all the content is freed too - + Free a property and all its siblings, all the children are freed too. - + xmlRFreeMutex() is used to reclaim resources associated with a reentrant mutex. - + Deallocate the memory used by an Ref hash table. - + defined(LIBXML_PATTERN_ENABLED) Free the stream context - + defined(LIBXML_READER_ENABLED) Deallocate all the resources associated to the reader - + defined(LIBXML_WRITER_ENABLED) Deallocate all the resources associated to the writer - + Free up the xmlURI struct - + defined(LIBXML_VALID_ENABLED) Free a validation context structure. - + Provides the memory access functions set currently in use The mallocAtomicFunc is specialized for atomic block allocations (i.e. of areas useful for garbage collected memory allocators @@ -9199,7 +9219,7 @@ actually an xmlCharEncoding'/> - + Override the default memory access functions with a new set This has to be called before any other libxml routines ! The mallocAtomicFunc is specialized for atomic block allocations (i.e. of areas useful for garbage collected memory allocators Should this be blocked if there was already some allocations done ? @@ -9208,68 +9228,68 @@ actually an xmlCharEncoding'/> - + Signature of the function to use when there is an error and no parsing or validity context available . - + Types are XML_BUFFER_ALLOC_EXACT - use exact sizes, keeps memory usage down XML_BUFFER_ALLOC_DOUBLEIT - double buffer when extra needed, improves performance - + Search in the registered set the handler able to read/write that encoding. - + The "canonical" name for XML encoding. C.f. http://www.w3.org/TR/REC-xml#charencoding Section 4.3.3 Character Encoding in Entities - + get the default compression mode used, ZLIB based. - + get the compression ratio for a document, ZLIB based - + Do an entity lookup in the document entity hash table and - + Search the DTD for the description of this attribute on this element. - + Search the DTD for the description of this element - + Do an entity lookup in the DTD entity hash table and - + Search the DTD for the description of this notation - + Search the DTD for the description of this qualified attribute on this element. @@ -9277,23 +9297,23 @@ actually an xmlCharEncoding'/> - + Search the DTD for the description of this element - + Lookup an encoding name for the given alias. - + Get the default external entity resolver function for the application - + defined(LIBXML_LEGACY_ENABLED) Read the current value of one feature of this parser instance @@ -9301,129 +9321,129 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_LEGACY_ENABLED) Copy at most *@len feature names into the @result array - + xmlGetGlobalState() is called to retrieve the global state for a thread. - + Search the attribute declaring the given ID - + Get the internal subset of a document - + Search the last child of a node. - + Get the last global error registered. This is per thread if compiled with thread support. - + Get line number of @node. This requires activation of this option before invoking the parser by calling xmlLineNumbersDefault(1) - + Search and get the value of an attribute associated to a node This does the entity substitution. This function looks in DTD attribute declaration for #FIXED or default declaration values unless DTD use has been turned off. This function is similar to xmlGetProp except it will accept only an attribute in no namespace. - + defined(LIBXML_TREE_ENABLED) || defined(LIBXML_DEBUG_ENABLED) Build a structure based Path for the given node - + defined(LIBXML_TREE_ENABLED) || defined(LIBXML_XPATH_ENABLED) Search all the namespace applying to a given element. - + Search and get the value of an attribute associated to a node This attribute has to be anchored in the namespace specified. This does the entity substitution. This function looks in DTD attribute declaration for #FIXED or default declaration values unless DTD use has been turned off. - + Do an entity lookup in the internal and external subsets and - + Check whether this name is an predefined entity. - + Search and get the value of an attribute associated to a node This does the entity substitution. This function looks in DTD attribute declaration for #FIXED or default declaration values unless DTD use has been turned off. NOTE: this function acts independently of namespaces associated to the attribute. Use xmlGetNsProp() or xmlGetNoNsProp() for namespace aware processing. - + Find the set of references for the supplied ID. - + xmlGetThreadId() find the current thread ID number - + Read the first UTF8 character from @utf - + defined(LIBXML_LEGACY_ENABLED) Default handling of defined entities, when should we define a new input stream ? When do we just handle that as a set of chars ? OBSOLETE: to be removed at some point. - + Search for an attribute associated to a node This attribute has to be anchored in the namespace specified. This does the entity substitution. This function looks in DTD attribute declaration for #FIXED or default declaration values unless DTD use has been turned off. Note that a namespace of NULL indicates to use the default namespace. - + Search an attribute associated to a node This function also looks in DTD attribute declaration for #FIXED or default declaration values unless DTD use has been turned off. - + Add the @userdata to the hash @table. This can later be retrieved by using the @name. Duplicate names generate errors. - + Add the @userdata to the hash @table. This can later be retrieved by using the (@name, @name2) tuple. Duplicate tuples generate errors. @@ -9431,7 +9451,7 @@ actually an xmlCharEncoding'/> - + Add the @userdata to the hash @table. This can later be retrieved by using the tuple (@name, @name2, @name3). Duplicate entries generate errors. @@ -9440,55 +9460,55 @@ actually an xmlCharEncoding'/> - + Callback to copy data from a hash. - + Scan the hash @table and applied @f to each value. - + Create a new xmlHashTablePtr. - + Create a new xmlHashTablePtr which will use @dict as the internal dictionary - + Callback to free data from a hash. - + Free the hash @table and its contents. The userdata is deallocated with @f if provided. - + Find the userdata specified by the @name. - + Find the userdata specified by the (@name, @name2) tuple. - + Find the userdata specified by the (@name, @name2, @name3) tuple. @@ -9496,14 +9516,14 @@ actually an xmlCharEncoding'/> - + Find the userdata specified by the QName @prefix:@name/@name. - + Find the userdata specified by the QNames tuple @@ -9512,7 +9532,7 @@ actually an xmlCharEncoding'/> - + Find the userdata specified by the (@name, @name2, @name3) tuple. @@ -9523,14 +9543,14 @@ actually an xmlCharEncoding'/> - + Find the userdata specified by the @name and remove it from the hash @table. Existing userdata for this tuple will be removed and freed with @f. - + Find the userdata specified by the (@name, @name2) tuple and remove it from the hash @table. Existing userdata for this tuple will be removed and freed with @f. @@ -9538,7 +9558,7 @@ actually an xmlCharEncoding'/> - + Find the userdata specified by the (@name, @name2, @name3) tuple and remove it from the hash @table. Existing userdata for this tuple will be removed and freed with @f. @@ -9547,14 +9567,14 @@ actually an xmlCharEncoding'/> - + Scan the hash @table and applied @f to each value. - + Scan the hash @table and applied @f to each value matching (@name, @name2, @name3) tuple. If one of the names is null, the comparison is considered to match. @@ -9564,14 +9584,14 @@ actually an xmlCharEncoding'/> - + Scan the hash @table and applied @f to each value. - + Scan the hash @table and applied @f to each value matching (@name, @name2, @name3) tuple. If one of the names is null, the comparison is considered to match. @@ -9581,14 +9601,14 @@ actually an xmlCharEncoding'/> - + Callback when scanning data in a hash with the simple scanner. - + Callback when scanning data in a hash with the full scanner. @@ -9597,12 +9617,12 @@ actually an xmlCharEncoding'/> - + Query the number of elements installed in the hash @table. - + Add the @userdata to the hash @table. This can later be retrieved by using the @name. Existing entry for this @name will be removed and freed with @f if found. @@ -9610,7 +9630,7 @@ actually an xmlCharEncoding'/> - + Add the @userdata to the hash @table. This can later be retrieved by using the (@name, @name2) tuple. Existing entry for this tuple will be removed and freed with @f if found. @@ -9619,7 +9639,7 @@ actually an xmlCharEncoding'/> - + Add the @userdata to the hash @table. This can later be retrieved by using the tuple (@name, @name2, @name3). Existing entry for this tuple will be removed and freed with @f if found. @@ -9629,25 +9649,25 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_FTP_ENABLED) Close an FTP I/O channel - + defined(LIBXML_FTP_ENABLED) check if the URI matches an FTP one - + defined(LIBXML_FTP_ENABLED) open an FTP I/O channel - + defined(LIBXML_FTP_ENABLED) Read @len bytes to @buffer from the I/O channel. @@ -9655,32 +9675,32 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_HTTP_ENABLED) Close an HTTP I/O channel - + defined(LIBXML_HTTP_ENABLED) check if the URI matches an HTTP one - + defined(LIBXML_HTTP_ENABLED) open an HTTP I/O channel - + defined(LIBXML_HTTP_ENABLED) && defined(LIBXML_OUTPUT_ENABLED) Open a temporary buffer to collect the document for a subsequent HTTP POST request. Non-static as is called from the output buffer creation routine. - + defined(LIBXML_HTTP_ENABLED) Read @len bytes to @buffer from the I/O channel. @@ -9688,7 +9708,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_VALID_ENABLED) Load and parse a DTD @@ -9696,408 +9716,408 @@ actually an xmlCharEncoding'/> - + Initialize the char encoding support, it registers the default encoding supported. NOTE: while public, this function usually doesn't need to be called in normal processing. - + Additional initialisation for multi-threading - + Initialize the memory layer. - + -- Initialize (set to initial state) node info sequence - + Initialization function for the XML parser. This is not reentrant. Call once before processing in case of use in multithreaded programs. - + Initialize a parser context - + xmlInitThreads() is used to to initialize all the thread related data of the libxml2 library. - + defined(LIBXML_CATALOG_ENABLED) Do the catalog initialization. this function is not thread safe, catalog initialization should preferably be done once at startup - + xmlInitializeGlobalState() initialize a global state with all the default values of the library. - + defined(LIBXML_LEGACY_ENABLED) Set up the predefined entities. Deprecated call - + Callback used in the I/O Input API to close the resource - + Callback used in the I/O Input API to detect if the current handler can provide input fonctionnalities for this resource. - + Callback used in the I/O Input API to open the resource - + Callback used in the I/O Input API to read the resource - + This function is DEPRECATED. Use xmlIsBaseChar_ch or xmlIsBaseCharQ instead - + This function is DEPRECATED. Use xmlIsBlank_ch or xmlIsBlankQ instead - + Checks whether this node is an empty or whitespace only (and possibly ignorable) text-node. - + This function is DEPRECATED. Use xmlIsChar_ch or xmlIsCharQ instead - + This function is DEPRECATED. Use xmlIsCombiningQ instead - + This function is DEPRECATED. Use xmlIsDigit_ch or xmlIsDigitQ instead - + This function is DEPRECATED. Use xmlIsExtender_ch or xmlIsExtenderQ instead - + Determine whether an attribute is of type ID. In case we have DTD(s) then this is done if DTD loading has been requested. In the case of HTML documents parsed with the HTML parser, then ID detection is done systematically. - + This function is DEPRECATED. Use xmlIsIdeographicQ instead - + Check whether the character is allowed by the production [84] Letter ::= BaseChar | Ideographic - + xmlIsMainThread() check whether the current thread is the main thread. - + Search in the DtDs whether an element accept Mixed content (or ANY) basically if it is supposed to accept text childs - + This function is DEPRECATED. Use xmlIsPubidChar_ch or xmlIsPubidCharQ instead - + Determine whether an attribute is of type Ref. In case we have DTD(s) then this is simple, otherwise we use an heuristic: name Ref (upper or lowercase). - + Try to find if the document correspond to an XHTML DTD - + Set and return the previous value for default blanks text nodes support. The 1.x version of the parser used an heuristic to try to detect ignorable white spaces. As a result the SAX callback was generating xmlSAX2IgnorableWhitespace() callbacks instead of characters() one, and when using the DOM output text nodes containing those blanks were not generated. The 2.x and later version will switch to the XML standard way and ignorableWhitespace() are only generated when running the parser in validating mode and when the current element doesn't allow CDATA or mixed content. This function is provided as a way to force the standard behavior on 1.X libs and to switch back to the old mode for compatibility when running 1.X client code on 2.X . Upgrade of 1.X code should be done by using xmlIsBlankNode() commodity function to detect the "empty" nodes generated. This value also affect autogeneration of indentation when saving code if blanks sections are kept, indentation is not generated. - + Set and return the previous value for enabling line numbers in elements contents. This may break on old application and is turned off by default. - + See Returns. - + Insert data in the ordered list at the end for this value - + Remove the all data in the list - + Move all the element from the old list in the new list - + Create a new list - + Callback function used to compare 2 data. - + Callback function used to free data from a list. - + Deletes the list and its associated data - + Duplicate the list - + Is the list empty ? - + Get the last element in the list - + Get the first element in the list - + Insert data in the ordered list at the beginning for this value - + include all the elements of the second list in the first one and clear the second list - + Removes the last element in the list - + Removes the first element in the list - + add the new data at the end of the list - + add the new data at the beginning of the list - + Remove the all instance associated to data in the list - + Remove the first instance associated to data in the list - + Remove the last instance associated to data in the list - + Reverse the order of the elements in the list - + Search the list in reverse order for an existing value of @data - + Walk all the element of the list in reverse order and apply the walker function to it - + Search the list for an existing value of @data - + Get the number of elements in the list - + Sort all the elements in the list - + Walk all the element of the first from first to last and apply the walker function to it - + Callback function used when walking a list with xmlListWalk(). - + defined(LIBXML_CATALOG_ENABLED) Load the catalog and build the associated data structures. This can be either an XML Catalog or an SGML Catalog It will recurse in SGML CATALOG entries. On the other hand XML Catalogs are not handled recursively. - + defined(LIBXML_CATALOG_ENABLED) Load the catalog and makes its definitions effective for the default external entity loader. It will recurse in SGML CATALOG entries. this function is not thread safe, catalog initialization should preferably be done once at startup - + defined(LIBXML_CATALOG_ENABLED) Load the catalogs and makes their definitions effective for the default external entity loader. this function is not thread safe, catalog initialization should preferably be done once at startup - + Load an external entity, note that the use of this function for unparsed entities may generate problems TODO: a more generic External entity API must be designed - + defined(LIBXML_CATALOG_ENABLED) Load an SGML super catalog. It won't expand CATALOG or DELEGATE references. This is only needed for manipulating SGML Super Catalogs like adding and removing CATALOG or DELEGATE entries. - + xmlLockLibrary() is used to take out a re-entrant lock on the libxml2 library. - + defined(LIBXML_DEBUG_ENABLED) Count the children of @node. - + defined(LIBXML_DEBUG_ENABLED) Dump to @output the type and name of @node. - + a malloc() equivalent, with logging of the allocation info. - + Signature for a malloc() implementation. - + a malloc() equivalent, with logging of the allocation info. - + Provides the number of memory areas currently allocated - + show in-extenso the memory blocks allocated - + a free() equivalent, with error checking. - + Provides the memory access functions set currently in use @@ -10105,18 +10125,18 @@ actually an xmlCharEncoding'/> - + a malloc() equivalent, with logging of the allocation info. - + a realloc() equivalent, with logging of the allocation 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 ? @@ -10124,52 +10144,52 @@ actually an xmlCharEncoding'/> - + show a show display of the memory allocated, and dump the @nr last allocated areas which were not freed - + a strdup() equivalent, with logging of the allocation info. - + Provides the amount of memory currently allocated - + Dump in-extenso the memory blocks allocated to the file .memorylist - + a strdup() equivalent, with logging of the allocation info. - + defined(LIBXML_MODULES_ENABLED) The close operations unload the associated module and free the data associated to the module. - + defined(LIBXML_MODULES_ENABLED) The free operations free the data associated to the module but does not unload the associated shared library which may still be in use. - + defined(LIBXML_MODULES_ENABLED) Opens a module/shared library given its name or path TODO: options are not yet implemented. - + defined(LIBXML_MODULES_ENABLED) Lookup for a symbol address in the given module @@ -10177,92 +10197,92 @@ actually an xmlCharEncoding'/> - + xmlMutexLock() is used to lock a libxml2 token. - + xmlMutexUnlock() is used to unlock a libxml2 token. - + defined(LIBXML_LEGACY_ENABLED) parse an XML namespace name. TODO: this seems not in use anymore, the namespace handling is done on top of the SAX interfaces, i.e. not on raw input. [NS 3] NCName ::= (Letter | '_') (NCNameChar)* [NS 4] NCNameChar ::= Letter | Digit | '.' | '-' | '_' | CombiningChar | Extender - + defined(LIBXML_LEGACY_ENABLED) parse a namespace prefix declaration TODO: this seems not in use anymore, the namespace handling is done on top of the SAX interfaces, i.e. not on raw input. [NS 1] NSDef ::= PrefixDef Eq SystemLiteral [NS 2] PrefixDef ::= 'xmlns' (':' NCName)? - + defined(LIBXML_LEGACY_ENABLED) TODO: this seems not in use anymore, the namespace handling is done on top of the SAX interfaces, i.e. not on raw input. parse an XML qualified name [NS 5] QName ::= (Prefix ':')? LocalPart [NS 6] Prefix ::= NCName [NS 7] LocalPart ::= NCName - + defined(LIBXML_FTP_ENABLED) Check if there is a response from the FTP server after a command. - + defined(LIBXML_FTP_ENABLED) Cleanup the FTP protocol layer. This cleanup proxy informations. - + defined(LIBXML_FTP_ENABLED) Close the connection and both control and transport - + defined(LIBXML_FTP_ENABLED) Close the data connection from the server - + defined(LIBXML_FTP_ENABLED) Tries to open a control connection - + defined(LIBXML_FTP_ENABLED) Tries to open a control connection to the given server/port - + defined(LIBXML_FTP_ENABLED) Tries to change the remote directory - + defined(LIBXML_FTP_ENABLED) Tries to delete an item (file or directory) from server - + defined(LIBXML_FTP_ENABLED) Frees the context after closing the connection. - + defined(LIBXML_FTP_ENABLED) Fetch the given file from the server. All data are passed back in the callbacks. The last callback has a size of 0 block. @@ -10271,31 +10291,31 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_FTP_ENABLED) Try to open a data connection to the server. Currently only passive mode is supported. - + defined(LIBXML_FTP_ENABLED) Get the response from the FTP server after a command. - + defined(LIBXML_FTP_ENABLED) Initiate fetch of the given file from the server. - + defined(LIBXML_FTP_ENABLED) Initialize the FTP protocol layer. Currently it just checks for proxy informations, and get the hostname - + defined(LIBXML_FTP_ENABLED) Do a listing on the server. All files info are passed back in the callbacks. @@ -10304,19 +10324,19 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_FTP_ENABLED) Allocate and initialize a new FTP context. - + defined(LIBXML_FTP_ENABLED) Start to fetch the given ftp:// resource - + defined(LIBXML_FTP_ENABLED) Setup the FTP proxy informations. This can also be done by using ftp_proxy ftp_proxy_user and ftp_proxy_password environment variables. @@ -10326,13 +10346,13 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_FTP_ENABLED) Send a QUIT command to the server - + defined(LIBXML_FTP_ENABLED) This function tries to read @len bytes from the existing FTP connection and saves them in @dest. This is a blocking call. @@ -10340,49 +10360,49 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_FTP_ENABLED) (Re)Initialize the FTP Proxy context by parsing the URL and finding the protocol host port it indicates. Should be like ftp://myproxy/ or ftp://myproxy:3128/ A NULL URL cleans up proxy informations. - + defined(LIBXML_FTP_ENABLED) Update an FTP context by parsing the URL and finding new path it indicates. If there is an error in the protocol, hostname, port or other information, the error is raised. It indicates a new connection has to be established. - + defined(LIBXML_HTTP_ENABLED) Get the authentication header of an HTTP context - + defined(LIBXML_HTTP_ENABLED) Cleanup the HTTP protocol layer. - + defined(LIBXML_HTTP_ENABLED) This function closes an HTTP context, it ends up the connection and free all data related to it. - + defined(LIBXML_HTTP_ENABLED) Provides the specified content length from the HTTP header. - + defined(LIBXML_HTTP_ENABLED) Provides the specified encoding if specified in the HTTP headers. - + defined(LIBXML_HTTP_ENABLED) This function try to fetch the indicated resource via HTTP GET and save it's content in the file. @@ -10390,12 +10410,12 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_HTTP_ENABLED) Initialize the HTTP protocol layer. Currently it just checks for proxy informations - + defined(LIBXML_HTTP_ENABLED) This function try to open a connection to the indicated resource via HTTP using the given @method, adding the given extra headers and the input buffer for the request content. @@ -10406,7 +10426,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_HTTP_ENABLED) This function try to open a connection to the indicated resource via HTTP using the given @method, adding the given extra headers and the input buffer for the request content. @@ -10418,20 +10438,20 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_HTTP_ENABLED) Provides the specified Mime-Type if specified in the HTTP headers. - + defined(LIBXML_HTTP_ENABLED) This function try to open a connection to the indicated resource via HTTP GET. - + defined(LIBXML_HTTP_ENABLED) This function try to open a connection to the indicated resource via HTTP GET. @@ -10439,7 +10459,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_HTTP_ENABLED) This function tries to read @len bytes from the existing HTTP connection and saves them in @dest. This is a blocking call. @@ -10447,63 +10467,63 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_HTTP_ENABLED) Provides the specified redirection URL if available from the HTTP header. - + defined(LIBXML_HTTP_ENABLED) Get the latest HTTP return code received - + defined(LIBXML_HTTP_ENABLED) && defined(LIBXML_OUTPUT_ENABLED) This function saves the output of the HTTP transaction to a file It closes and free the context at the end - + defined(LIBXML_HTTP_ENABLED) (Re)Initialize the HTTP Proxy context by parsing the URL and finding the protocol host port it indicates. Should be like http://myproxy/ or http://myproxy:3128/ A NULL URL cleans up proxy informations. - + defined(LIBXML_REGEXP_ENABLED) && defined(LIBXML_AUTOMATA_ENABLED) Create a new automata - + Creation of a new node containing a CDATA block. - + defined(LIBXML_CATALOG_ENABLED) create a new Catalog. - + Create and registers an xmlCharEncodingHandler. - + Creation of a new character reference node. - + defined(LIBXML_TREE_ENABLED) || defined(LIBXML_SCHEMAS_ENABLED) 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. @@ -10512,36 +10532,36 @@ actually an xmlCharEncoding'/> - + Creation of a new node containing a comment. - + Creates a new XML document - + Creation of a new node containing a comment within a document. - + Allocate an element content structure for the document. - + defined(LIBXML_TREE_ENABLED) Creation of a new Fragment node. - + Creation of a new node element within a document. @ns and @content are optional (NULL). NOTE: @content is supposed to be a piece of XML CDATA, so it allow entities references, but XML special chars need to be escaped first by using xmlEncodeEntitiesReentrant(). Use xmlNewDocRawNode() if you don't need entities support. @@ -10549,7 +10569,7 @@ actually an xmlCharEncoding'/> - + Creation of a new node element within a document. @ns and @content are optional (NULL). NOTE: @content is supposed to be a piece of XML CDATA, so it allow entities references, but XML special chars need to be escaped first by using xmlEncodeEntitiesReentrant(). Use xmlNewDocRawNode() if you don't need entities support. @@ -10557,21 +10577,21 @@ actually an xmlCharEncoding'/> - + Creation of a processing instruction element. - + Create a new property carried by a document. - + defined(LIBXML_TREE_ENABLED) Creation of a new node element within a document. @ns and @content are optional (NULL). @@ -10580,20 +10600,20 @@ actually an xmlCharEncoding'/> - + Creation of a new text node within a document. - + Creation of a new text node with an extra content length parameter. The text node pertain to a given document. - + Creation of a new DTD for the external subset. To create an internal subset, use xmlCreateIntSubset(). @@ -10601,19 +10621,19 @@ actually an xmlCharEncoding'/> - + Allocate an element content structure. Deprecated in favor of xmlNewDocElementContent - + Create a new input stream based on an xmlEntityPtr - + defined(LIBXML_LEGACY_ENABLED) Creation of a Namespace, the old way using PI and without scoping DEPRECATED !!! It now create a namespace on the root element of the document if found. @@ -10621,48 +10641,48 @@ actually an xmlCharEncoding'/> - + Create a new input stream structure encapsulating the @input into a stream suitable for the parser. - + Create a new input stream based on a file or an URL. - + Create a new input stream structure - + xmlNewMutex() is used to allocate a libxml2 token struct for use in synchronizing access to data. - + Creation of a new node element. @ns is optional (NULL). - + Creation of a new node element. @ns is optional (NULL). - + Creation of a new Namespace. This function will refuse to create a namespace with a similar prefix than an existing one present on this node. We use href==NULL in the case of an element creation where the namespace was not defined. - + Create a new property tagged with a namespace and carried by a node. @@ -10670,7 +10690,7 @@ actually an xmlCharEncoding'/> - + Create a new property tagged with a namespace and carried by a node. @@ -10678,17 +10698,17 @@ actually an xmlCharEncoding'/> - + Creation of a processing instruction element. Use xmlDocNewPI preferably to get string interning - + Allocate and initialize a new parser context. - + defined(LIBXML_TREE_ENABLED) || defined(LIBXML_HTML_ENABLED) || defined(LIBXML_SCHEMAS_ENABLED) Create a new property carried by a node. @@ -10696,28 +10716,28 @@ actually an xmlCharEncoding'/> - + xmlRNewMutex() is used to allocate a reentrant mutex for use in synchronizing access to data. token_r is a re-entrant lock and thus useful for synchronizing access to data structures that may be manipulated in a recursive fashion. - + Creation of a new reference node. - + Create a new input stream based on a memory buffer. - + Creation of a new text node. - + defined(LIBXML_TREE_ENABLED) 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. @@ -10726,60 +10746,60 @@ actually an xmlCharEncoding'/> - + Creation of a new text node with an extra parameter for the content's length - + defined(LIBXML_READER_ENABLED) Create an xmlTextReader structure fed with @input - + defined(LIBXML_READER_ENABLED) Create an xmlTextReader structure fed with the resource at @URI - + defined(LIBXML_WRITER_ENABLED) Create a new xmlNewTextWriter structure using an xmlOutputBufferPtr NOTE: the @out parameter will be deallocated when the writer is closed (if the call succeed.) - + defined(LIBXML_WRITER_ENABLED) Create a new xmlNewTextWriter structure with @*doc as output - + defined(LIBXML_WRITER_ENABLED) Create a new xmlNewTextWriter structure with @uri as output - + defined(LIBXML_WRITER_ENABLED) Create a new xmlNewTextWriter structure with @buf as output TODO: handle compression - + defined(LIBXML_WRITER_ENABLED) Create a new xmlNewTextWriter structure with @ctxt as output NOTE: the @ctxt context will be freed with the resulting writer (if the call succeeds). TODO: handle compression - + defined(LIBXML_WRITER_ENABLED) Create a new xmlNewTextWriter structure with @doc as output starting at @node @@ -10787,43 +10807,43 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_VALID_ENABLED) Allocate a validation context structure. - + Skip to the next char input char. - + A specific entity loader disabling network accesses, though still allowing local catalog accesses for resolution. - + Append the extra substring to the node content. - + Append the extra substring to the node content. - + Read the value of a node @cur, this can be either the text carried directly by this node if it's a TEXT node or the aggregate string of the values carried by this node child's (TEXT and ENTITY_REF). Entity references are substituted. Fills up the buffer @buffer with this value - + defined(LIBXML_OUTPUT_ENABLED) Dump an XML node, recursive behaviour,children are printed too. Note that @format = 1 provide node indenting only if xmlIndentTreeOutput = 1 or xmlKeepBlanksDefault(0) was called @@ -10833,7 +10853,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_OUTPUT_ENABLED) Dump an XML node, recursive behaviour, children are printed too. Note that @format = 1 provide node indenting only if xmlIndentTreeOutput = 1 or xmlKeepBlanksDefault(0) was called @@ -10844,33 +10864,33 @@ actually an xmlCharEncoding'/> - + Searches for the BASE URL. The code should work on both XML and HTML document even if base mechanisms are completely different. It returns the base as defined in RFC 2396 sections 5.1.1. Base URI within Document Content and 5.1.2. Base URI from the Encapsulating Entity However it does not return the document base (5.1.3), use xmlDocumentGetBase() for this - + Read the value of a node, this can be either the text carried directly by this node if it's a TEXT node or the aggregate string of the values carried by this node child's (TEXT and ENTITY_REF). Entity references are substituted. - + Searches the language of a node, i.e. the values of the xml:lang attribute or the one carried by the nearest ancestor. - + Searches the space preserving behaviour of a node, i.e. the values of the xml:space attribute or the one carried by the nearest ancestor. - + Is this node a Text node ? - + defined(LIBXML_TREE_ENABLED) Builds the string equivalent to the text contained in the Node list made of TEXTs and ENTITY_REFs, contrary to xmlNodeListGetString() this function doesn't do any character encoding handling. @@ -10878,27 +10898,27 @@ actually an xmlCharEncoding'/> - + Build the string equivalent to the text contained in the Node list made of TEXTs and ENTITY_REFs - + defined(LIBXML_TREE_ENABLED) || defined(LIBXML_XINCLUDE_ENABLED) Set (or reset) the base URI of a node, i.e. the value of the xml:base attribute. - + Replace the content of a node. - + defined(LIBXML_TREE_ENABLED) Replace the content of a node. @@ -10906,58 +10926,58 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_TREE_ENABLED) Set the language of a node, i.e. the values of the xml:lang attribute. - + defined(LIBXML_TREE_ENABLED) Set (or reset) the name of a node. - + defined(LIBXML_TREE_ENABLED) Set (or reset) the space preserving behaviour of a node, i.e. the value of the xml:space attribute. - + Applies the 5 normalization steps to a path string--that is, RFC 2396 Section 5.2, steps 6.c through 6.g. Normalization occurs directly on the string, no new allocation is done - + This function is obsolete. Please see xmlURIFromPath in uri.c for a better solution. - + defined(LIBXML_OUTPUT_ENABLED) flushes and close the output I/O channel and free up all the associated resources - + defined(LIBXML_OUTPUT_ENABLED) Create a buffered output for the progressive saving to a file descriptor - + defined(LIBXML_OUTPUT_ENABLED) Create a buffered output for the progressive saving to a FILE * buffered C I/O - + defined(LIBXML_OUTPUT_ENABLED) Create a buffered output for the progressive saving of a file If filename is "-' then we use stdout as the output. Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time. TODO: currently if compression is set, the library only support writing to a local file. @@ -10965,19 +10985,19 @@ actually an xmlCharEncoding'/> - + Registers a callback for URI output file handling - + - + defined(LIBXML_OUTPUT_ENABLED) Create a buffered output for the progressive saving to an I/O handler @@ -10986,13 +11006,13 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_OUTPUT_ENABLED) flushes the output I/O channel - + defined(LIBXML_OUTPUT_ENABLED) Write the content of the array in the output I/O buffer This routine handle the I18N transcoding from internal UTF-8 The buffer is lossless, i.e. will store in case of partial or delayed writes. @@ -11000,7 +11020,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_OUTPUT_ENABLED) Write the content of the string in the output I/O buffer This routine escapes the caracters and then handle the I18N transcoding from internal UTF-8 The buffer is lossless, i.e. will store in case of partial or delayed writes. @@ -11008,32 +11028,32 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_OUTPUT_ENABLED) Write the content of the string in the output I/O buffer This routine handle the I18N transcoding from internal UTF-8 The buffer is lossless, i.e. will store in case of partial or delayed writes. - + defined(LIBXML_OUTPUT_ENABLED) Callback used in the I/O Output API to close the resource - + defined(LIBXML_OUTPUT_ENABLED) Callback used in the I/O Output API to detect if the current handler can provide output fonctionnalities for this resource. - + defined(LIBXML_OUTPUT_ENABLED) Callback used in the I/O Output API to open the resource - + defined(LIBXML_OUTPUT_ENABLED) Callback used in the I/O Output API to write to the resource @@ -11041,30 +11061,30 @@ actually an xmlCharEncoding'/> - + parse a value for an attribute Note: the parser won't do substitution of entities here, this will be handled later in xmlStringGetNodeList [10] AttValue ::= '"' ([^<&"] | Reference)* '"' | "'" ([^<&'] | Reference)* "'" 3.3.3 Attribute-Value Normalization: Before the value of an attribute is passed to the application or checked for validity, the XML processor must normalize it as follows: - a character reference is processed by appending the referenced character to the attribute value - an entity reference is processed by recursively processing the replacement text of the entity - a whitespace character (#x20, #xD, #xA, #x9) is processed by appending #x20 to the normalized value, except that only a single #x20 is appended for a "#xD#xA" sequence that is part of an external parsed entity or the literal entity value of an internal parsed entity - other characters are processed by appending them to the normalized value 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 a single space (#x20) character. All attributes for which no declaration has been read should be treated by a non-validating parser as if declared CDATA. - + defined(LIBXML_SAX1_ENABLED) parse an attribute [41] Attribute ::= Name Eq AttValue [ WFC: No External Entity References ] Attribute values cannot contain direct or indirect entity references to external entities. [ WFC: No < in Attribute Values ] The replacement text of any entity referred to directly or indirectly in an attribute value (other than "&lt;") must not contain a <. [ VC: Attribute Value Type ] The attribute must have been declared; the value must be of the type declared for it. [25] Eq ::= S? '=' S? With namespace: [NS 11] Attribute ::= QName Eq AttValue Also the case QName == xmlns:??? is handled independently as a namespace definition. - + : parse the Attribute list def for an element [52] AttlistDecl ::= '<!ATTLIST' S Name AttDef* S? '>' [53] AttDef ::= S Name S AttType S DefaultDecl - + parse the Attribute list def for an element [54] AttType ::= StringType | TokenizedType | EnumeratedType [55] StringType ::= 'CDATA' [56] TokenizedType ::= 'ID' | 'IDREF' | 'IDREFS' | 'ENTITY' | 'ENTITIES' | 'NMTOKEN' | 'NMTOKENS' Validity constraints for attribute values syntax are checked in xmlValidateAttributeValue() [ VC: ID ] Values of type ID must match the Name production. A name must not appear more than once in an XML document as a value of this type; i.e., ID values must uniquely identify the elements which bear them. [ VC: One ID per Element Type ] No element type may have more than one ID attribute specified. [ VC: ID Attribute Default ] An ID attribute must have a declared default of #IMPLIED or #REQUIRED. [ VC: IDREF ] Values of type IDREF must match the Name production, and values of type IDREFS must match Names; each IDREF Name must match the value of an ID attribute on some element in the XML document; i.e. IDREF values must match the value of some ID attribute. [ VC: Entity Name ] Values of type ENTITY must match the Name production, values of type ENTITIES must match Names; each Entity Name must match the name of an unparsed entity declared in the DTD. [ VC: Name Token ] Values of type NMTOKEN must match the Nmtoken production; values of type NMTOKENS must match Nmtokens. - + defined(LIBXML_SAX1_ENABLED) Parse a well-balanced chunk of an XML document called by the parser The allowed sequence for the Well Balanced Chunk is the one defined by the content production in the XML grammar: [43] content ::= (element | CharData | Reference | CDSect | PI | Comment)* @@ -11075,7 +11095,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_SAX1_ENABLED) Parse a well-balanced chunk of an XML document called by the parser The allowed sequence for the Well Balanced Chunk is the one defined by the content production in the XML grammar: [43] content ::= (element | CharData | Reference | CDSect | PI | Comment)* @@ -11087,34 +11107,34 @@ actually an xmlCharEncoding'/> - + Parse escaped pure raw content. [18] CDSect ::= CDStart CData CDEnd [19] CDStart ::= '<![CDATA[' [20] Data ::= (Char* - (Char* ']]>' Char*)) [21] CDEnd ::= ']]>' - + defined(LIBXML_CATALOG_ENABLED) parse an XML file and build a tree. It's like xmlParseFile() except it bypass all catalog lookups. - + parse a CharData section. if we are within a CDATA section ']]>' marks an end of section. The right angle bracket (>) may be represented using the string "&gt;", and must, for compatibility, be escaped using "&gt;" or a character reference when it appears in the string "]]>" in content, when that string is not marking the end of a CDATA section. [14] CharData ::= [^<&]* - ([^<&]* ']]>' [^<&]*) - + Compare the string to the encoding schemes already known. Note that the comparison is case insensitive accordingly to the section [XML] 4.3.3 Character Encoding in Entities. - + parse Reference declarations [66] CharRef ::= '&#' [0-9]+ ';' | '&#x' [0-9a-fA-F]+ ';' [ WFC: Legal Character ] Characters referred to using character references must match the production for Char. - + defined(LIBXML_PUSH_ENABLED) Parse a Chunk of memory @@ -11123,17 +11143,17 @@ actually an xmlCharEncoding'/> - + Skip an XML (SGML) comment <!-- .... --> The spec says that "For compatibility, the string "--" (double-hyphen) must not occur within comments. " [15] Comment ::= '<!--' ((Char - '-') | ('-' (Char - '-')))* '-->' - + Parse a content: [43] content ::= (element | CharData | Reference | CDSect | PI | Comment)* - + Parse an external general entity within an existing parsing context An external general parsed entity is well-formed if it matches the production labeled extParsedEnt. [78] extParsedEnt ::= TextDecl? content @@ -11141,119 +11161,119 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_VALID_ENABLED) Load and parse an external subset. - + Parse an attribute default declaration [60] DefaultDecl ::= '#REQUIRED' | '#IMPLIED' | (('#FIXED' S)? AttValue) [ VC: Required Attribute ] if the default declaration is the keyword #REQUIRED, then the attribute must be specified for all elements of the type in the attribute-list declaration. [ VC: Attribute Default Legal ] The declared default value must meet the lexical constraints of the declared attribute type c.f. xmlValidateAttributeDecl() [ VC: Fixed Attribute Default ] if an attribute has a default value declared with the #FIXED keyword, instances of that attribute must match the default value. [ WFC: No < in Attribute Values ] handled in xmlParseAttValue() - + defined(LIBXML_SAX1_ENABLED) parse an XML in-memory document and build a tree. - + - + parse a DOCTYPE declaration [28] doctypedecl ::= '<!DOCTYPE' S Name (S ExternalID)? S? ('[' (markupdecl | PEReference | S)* ']' S?)? '>' [ VC: Root Element Type ] The Name in the document type declaration must match the element type of the root element. - + parse an XML document (and build a tree if using the standard SAX interface). [1] document ::= prolog element Misc* [22] prolog ::= XMLDecl? Misc* (doctypedecl Misc*)? - + parse an XML element, this is highly recursive [39] element ::= EmptyElemTag | STag content ETag [ WFC: Element Type Match ] The Name in an element's end-tag must match the element type in the start-tag. - + parse the declaration for a Mixed Element content The leading '(' and spaces have been skipped in xmlParseElementContentDecl [47] children ::= (choice | seq) ('?' | '*' | '+')? [48] cp ::= (Name | choice | seq) ('?' | '*' | '+')? [49] choice ::= '(' S? cp ( S? '|' S? cp )* S? ')' [50] seq ::= '(' S? cp ( S? ',' S? cp )* S? ')' [ VC: Proper Group/PE Nesting ] applies to [49] and [50] TODO Parameter-entity replacement text must be properly nested with parenthesized groups. That is to say, if either of the opening or closing parentheses in a choice, seq, or Mixed construct is contained in the replacement text for a parameter entity, both must be contained in the same replacement text. For interoperability, if a parameter-entity reference appears in a choice, seq, or Mixed construct, its replacement text should not be empty, and neither the first nor last non-blank character of the replacement text should be a connector (| or ,). - + parse the declaration for an Element content either Mixed or Children, the cases EMPTY and ANY are handled directly in xmlParseElementDecl [46] contentspec ::= 'EMPTY' | 'ANY' | Mixed | children - + parse an Element declaration. [45] elementdecl ::= '<!ELEMENT' S Name S contentspec S? '>' [ VC: Unique Element Type Declaration ] No element type may be declared more than once - + parse the declaration for a Mixed Element content The leading '(' and spaces have been skipped in xmlParseElementContentDecl [51] Mixed ::= '(' S? '#PCDATA' (S? '|' S? Name)* S? ')*' | '(' S? '#PCDATA' S? ')' [ VC: Proper Group/PE Nesting ] applies to [51] too (see [49]) [ VC: No Duplicate Types ] The same name must not appear more than once in a single mixed-content declaration. - + parse the XML encoding name [81] EncName ::= [A-Za-z] ([A-Za-z0-9._] | '-')* - + parse the XML encoding declaration [80] EncodingDecl ::= S 'encoding' Eq ('"' EncName '"' | "'" EncName "'") this setups the conversion filters. - + defined(LIBXML_SAX1_ENABLED) parse an end of tag [42] ETag ::= '</' Name S? '>' With namespace [NS 9] ETag ::= '</' QName S? '>' - + defined(LIBXML_SAX1_ENABLED) parse an XML external entity out of context and build a tree. [78] extParsedEnt ::= TextDecl? content This correspond to a "Well Balanced" chunk - + parse <!ENTITY declarations [70] EntityDecl ::= GEDecl | PEDecl [71] GEDecl ::= '<!ENTITY' S Name S EntityDef S? '>' [72] PEDecl ::= '<!ENTITY' S '%' S Name S PEDef S? '>' [73] EntityDef ::= EntityValue | (ExternalID NDataDecl?) [74] PEDef ::= EntityValue | ExternalID [76] NDataDecl ::= S 'NDATA' S Name [ VC: Notation Declared ] The Name must match the declared name of a notation. - + parse ENTITY references declarations [68] EntityRef ::= '&' Name ';' [ WFC: Entity Declared ] In a document without any DTD, a document with only an internal DTD subset which contains no parameter entity references, or a document with "standalone='yes'", the Name given in the entity reference must match that in an entity declaration, except that well-formed documents need not declare any of the following entities: amp, lt, gt, apos, quot. The declaration of a parameter entity must precede any reference to it. Similarly, the declaration of a general entity must precede any reference to it which appears in a default value in an attribute-list declaration. Note that if entities are declared in the external subset or in external parameter entities, a non-validating processor is not obligated to read and process their declarations; for such documents, the rule that an entity must be declared is a well-formedness constraint only if standalone='yes'. [ WFC: Parsed Entity ] An entity reference must not contain the name of an unparsed entity - + parse a value for ENTITY declarations [9] EntityValue ::= '"' ([^%&"] | PEReference | Reference)* '"' | "'" ([^%&'] | PEReference | Reference)* "'" - + parse an Enumerated attribute type. [57] EnumeratedType ::= NotationType | Enumeration [58] NotationType ::= 'NOTATION' S '(' S? Name (S? '|' S? Name)* S? ')' - + parse an Enumeration attribute type. [59] Enumeration ::= '(' S? Nmtoken (S? '|' S? Nmtoken)* S? ')' [ VC: Enumeration ] Values of this type must match one of the Nmtoken tokens in the declaration - + parse a general parsed entity An external general parsed entity is well-formed if it matches the production labeled extParsedEnt. [78] extParsedEnt ::= TextDecl? content - + defined(LIBXML_SAX1_ENABLED) Parse an external general entity An external general parsed entity is well-formed if it matches the production labeled extParsedEnt. [78] extParsedEnt ::= TextDecl? content @@ -11265,27 +11285,27 @@ actually an xmlCharEncoding'/> - + Parse an External ID or a Public ID NOTE: Productions [75] and [83] interact badly since [75] can generate 'PUBLIC' S PubidLiteral S SystemLiteral [75] ExternalID ::= 'SYSTEM' S SystemLiteral | 'PUBLIC' S PubidLiteral S SystemLiteral [83] PublicID ::= 'PUBLIC' S PubidLiteral - + parse Markup declarations from an external subset [30] extSubset ::= textDecl? extSubsetDecl [31] extSubsetDecl ::= (markupdecl | conditionalSect | PEReference | S) * - + defined(LIBXML_SAX1_ENABLED) parse an XML file and build a tree. Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time. - + Parse a well-balanced chunk of an XML document within the context (DTD, namespaces, etc ...) of the given node. The allowed sequence for the data is a Well Balanced Chunk defined by the content production in the XML grammar: [43] content ::= (element | CharData | Reference | CDSect | PI | Comment)* @@ -11294,198 +11314,198 @@ actually an xmlCharEncoding'/> - + parse Markup declarations [29] markupdecl ::= elementdecl | AttlistDecl | EntityDecl | NotationDecl | PI | Comment [ VC: Proper Declaration/PE Nesting ] Parameter-entity replacement text must be properly nested with markup declarations. That is to say, if either the first character or the last character of a markup declaration (markupdecl above) is contained in the replacement text for a parameter-entity reference, both must be contained in the same replacement text. [ WFC: PEs in Internal Subset ] In the internal DTD subset, parameter-entity references can occur only where markup declarations can occur, not within markup declarations. (This does not apply to references that occur in external parameter entities or to the external subset.) - + defined(LIBXML_SAX1_ENABLED) parse an XML in-memory block and build a tree. - + parse an XML Misc* optional field. [27] Misc ::= Comment | PI | S - + parse an XML name. [4] NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' | CombiningChar | Extender [5] Name ::= (Letter | '_' | ':') (NameChar)* [6] Names ::= Name (#x20 Name)* - + defined(LIBXML_LEGACY_ENABLED) xmlParseNamespace: parse specific PI '<?namespace ...' constructs. This is what the older xml-name Working Draft specified, a bunch of other stuff may still rely on it, so support is still here as if it was declared on the root of the Tree:-( TODO: remove from library To be removed at next drop of binary compatibility - + parse an XML Nmtoken. [7] Nmtoken ::= (NameChar)+ [8] Nmtokens ::= Nmtoken (#x20 Nmtoken)* - + parse a notation declaration [82] NotationDecl ::= '<!NOTATION' S Name S (ExternalID | PublicID) S? '>' Hence there is actually 3 choices: 'PUBLIC' S PubidLiteral 'PUBLIC' S PubidLiteral S SystemLiteral and 'SYSTEM' S SystemLiteral See the NOTE on xmlParseExternalID(). - + parse an Notation attribute type. Note: the leading 'NOTATION' S part has already being parsed... [58] NotationType ::= 'NOTATION' S '(' S? Name (S? '|' S? Name)* S? ')' [ VC: Notation Attributes ] Values of this type must match one of the notation names included in the declaration; all notation names in the declaration must be declared. - + parse PEReference declarations The entity content is handled directly by pushing it's content as a new input stream. [69] PEReference ::= '%' Name ';' [ WFC: No Recursion ] A parsed entity must not contain a recursive reference to itself, either directly or indirectly. [ WFC: Entity Declared ] In a document without any DTD, a document with only an internal DTD subset which contains no parameter entity references, or a document with "standalone='yes'", ... ... The declaration of a parameter entity must precede any reference to it... [ VC: Entity Declared ] In a document with an external subset or external parameter entities with "standalone='no'", ... ... The declaration of a parameter entity must precede any reference to it... [ WFC: In DTD ] Parameter-entity references may only appear in the DTD. NOTE: misleading but this is handled. - + parse an XML Processing Instruction. [16] PI ::= '<?' PITarget (S (Char* - (Char* '?>' Char*)))? '?>' The processing is transfered to SAX once parsed. - + parse the name of a PI [17] PITarget ::= Name - (('X' | 'x') ('M' | 'm') ('L' | 'l')) - + parse an XML public literal [12] PubidLiteral ::= '"' PubidChar* '"' | "'" (PubidChar - "'")* "'" - + defined(LIBXML_LEGACY_ENABLED) Parse and return a string between quotes or doublequotes TODO: Deprecated, to be removed at next drop of binary compatibility - + parse and handle entity references in content, depending on the SAX interface, this may end-up in a call to character() if this is a CharRef, a predefined entity, if there is no reference() callback. or if the parser was asked to switch to that mode. [67] Reference ::= EntityRef | CharRef - + parse the XML standalone declaration [32] SDDecl ::= S 'standalone' Eq (("'" ('yes' | 'no') "'") | ('"' ('yes' | 'no')'"')) [ VC: Standalone Document Declaration ] TODO The standalone document declaration must have the value "no" if any external markup declarations contain declarations of: - attributes with default values, if elements to which these attributes apply appear in the document without specifications of values for these attributes, or - entities (other than amp, lt, gt, apos, quot), if references to those entities appear in the document, or - attributes with values subject to normalization, where the attribute appears in the document with a value which will change as a result of normalization, or - element types with element content, if white space occurs directly within any instance of those types. - + defined(LIBXML_SAX1_ENABLED) parse a start of tag either for rule element or EmptyElement. In both case we don't parse the tag closing chars. [40] STag ::= '<' Name (S Attribute)* S? '>' [ WFC: Unique Att Spec ] No attribute name may appear more than once in the same start-tag or empty-element tag. [44] EmptyElemTag ::= '<' Name (S Attribute)* S? '/>' [ WFC: Unique Att Spec ] No attribute name may appear more than once in the same start-tag or empty-element tag. With namespace: [NS 8] STag ::= '<' QName (S Attribute)* S? '>' [NS 10] EmptyElement ::= '<' QName (S Attribute)* S? '/>' - + parse an XML Literal [11] SystemLiteral ::= ('"' [^"]* '"') | ("'" [^']* "'") - + parse an XML declaration header for external entities [77] TextDecl ::= '<?xml' VersionInfo? EncodingDecl S? '?>' Question: Seems that EncodingDecl is mandatory ? Is that a typo ? - + Parse an URI URI-reference = [ absoluteURI | relativeURI ] [ "#" fragment ] - + Parse an URI reference string and fills in the appropriate fields of the @uri structure URI-reference = [ absoluteURI | relativeURI ] [ "#" fragment ] - + parse the XML version. [24] VersionInfo ::= S 'version' Eq (' VersionNum ' | " VersionNum ") [25] Eq ::= S? '=' S? - + parse the XML version value. [26] VersionNum ::= ([a-zA-Z0-9_.:] | '-')+ - + parse an XML declaration header [23] XMLDecl ::= '<?xml' VersionInfo EncodingDecl? SDDecl? S? '?>' - + Insert node info record into the sorted sequence - + Display and format an error messages, gives file, line, position and extra parameters. - + Find the parser node info struct for a given node - + xmlParserFindNodeInfoIndex : Find the index that the info record for the given node is or should be at in a sorted sequence - + lookup the directory for that file - + [69] PEReference ::= '%' Name ';' [ WFC: No Recursion ] A parsed entity must not contain a recursive reference to itself, either directly or indirectly. [ WFC: Entity Declared ] In a document without any DTD, a document with only an internal DTD subset which contains no parameter entity references, or a document with "standalone='yes'", ... ... The declaration of a parameter entity must precede any reference to it... [ VC: Entity Declared ] In a document with an external subset or external parameter entities with "standalone='no'", ... ... The declaration of a parameter entity must precede any reference to it... [ WFC: In DTD ] Parameter-entity references may only appear in the DTD. NOTE: misleading but this is handled. A PEReference may have been detected in the current input stream the handling is done accordingly to http://www.w3.org/TR/REC-xml#entproc i.e. - Included in literal in entity values - Included as Parameter Entity reference within DTDs - + defined(LIBXML_LEGACY_ENABLED) TODO: Remove, now deprecated ... the test is done directly in the content parsing routines. [67] Reference ::= EntityRef | CharRef [68] EntityRef ::= '&' Name ';' [ WFC: Entity Declared ] the Name given in the entity reference must match that in an entity declaration, except that well-formed documents need not declare any of the following entities: amp, lt, gt, apos, quot. [ WFC: Parsed Entity ] An entity reference must not contain the name of an unparsed entity [66] CharRef ::= '&#' [0-9]+ ';' | '&#x' [0-9a-fA-F]+ ';' A PEReference may have been detected in the current input stream the handling is done accordingly to http://www.w3.org/TR/REC-xml#entproc - + Create a buffered parser input for the progressive parsing for the input from a file descriptor - + Create a buffered parser input for the progressive parsing of a FILE * buffered C I/O - + Create a buffered parser input for the progressive parsing of a file If filename is "-' then we use stdin as the input. Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time. Do an encoding check if enc == XML_CHAR_ENCODING_NONE - + Registers a callback for URI input file handling - + - + Create a buffered parser input for the progressive parsing for the input from an I/O handler @@ -11493,124 +11513,124 @@ actually an xmlCharEncoding'/> - + Create a buffered parser input for the progressive parsing for the input from a memory area. - + Create a buffered parser input for the progressive parsing for the input from an immutable memory area. This will not copy the memory area to the buffer, but the memory is expected to be available until the end of the parsing, this is useful for example when using mmap'ed file. - + Grow up the content of the input buffer, the old data are preserved This routine handle the I18N transcoding to internal UTF-8 This routine is used when operating the parser in normal (pull) mode TODO: one should be able to remove one extra copy by copying directly onto in->buffer or in->raw - + Push the content of the arry in the input buffer This routine handle the I18N transcoding to internal UTF-8 This is used when operating the parser in progressive (push) mode. - + Refresh the content of the input buffer, the old data are considered consumed This routine handle the I18N transcoding to internal UTF-8 - + Callback for freeing some parser input allocations. - + This function increase the input for the parser. It tries to preserve pointers to the input buffer, and keep already read data - + This function refresh the input for the parser. It doesn't try to preserve pointers to the input buffer, and discard already read data - + This function removes used input for the parser. - + Displays current context within the input content for error tracking - + Displays the associated file and line informations for the current input - + Display and format an validity error messages, gives file, line, position and extra parameters. - + Display and format a validity warning messages, gives file, line, position and extra parameters. - + Display and format a warning messages, gives file, line, position and extra parameters. - + defined(LIBXML_PATTERN_ENABLED) Check if the pattern must be looked at from the root. - + defined(LIBXML_PATTERN_ENABLED) Get a streaming context for that pattern Use xmlFreeStreamCtxt to free the context. - + defined(LIBXML_PATTERN_ENABLED) Test wether the node matches the pattern - + defined(LIBXML_PATTERN_ENABLED) Check the maximum depth reachable by a pattern - + defined(LIBXML_PATTERN_ENABLED) Check if the pattern is streamable i.e. xmlPatternGetStreamCtxt() should work. - + defined(LIBXML_PATTERN_ENABLED) Compile a pattern. @@ -11619,43 +11639,43 @@ actually an xmlCharEncoding'/> - + Set and return the previous value for enabling pedantic warnings. - + xmlPopInput: the current input pointed by ctxt->input came to an end pop it and return the next char. - + Clear the top input callback from the input stack. this includes the compiled-in I/O. - + Prints the URI in the stream @stream. - + xmlPushInput: switch to a new input stream which is stacked on top of the previous one(s). - + xmlRMutexLock() is used to lock a libxml2 token_r. - + xmlRMutexUnlock() is used to unlock a libxml2 token_r. - + parse an XML in-memory document and build a tree. @@ -11663,7 +11683,7 @@ actually an xmlCharEncoding'/> - + 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. @@ -11671,14 +11691,14 @@ actually an xmlCharEncoding'/> - + parse an XML file from the filesystem or the network. - + parse an XML document from I/O functions and source and build a tree. @@ -11688,7 +11708,7 @@ actually an xmlCharEncoding'/> - + parse an XML in-memory document and build a tree. @@ -11697,7 +11717,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_READER_ENABLED) Create an xmltextReader for an XML in-memory document. The parsing flags @options are a combination of xmlParserOption. @@ -11706,7 +11726,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_READER_ENABLED) 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. @@ -11715,7 +11735,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_READER_ENABLED) parse an XML file from the filesystem or the network. The parsing flags @options are a combination of xmlParserOption. @@ -11723,7 +11743,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_READER_ENABLED) Create an xmltextReader for an XML document from I/O functions and source. The parsing flags @options are a combination of xmlParserOption. @@ -11734,7 +11754,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_READER_ENABLED) Create an xmltextReader for an XML in-memory document. The parsing flags @options are a combination of xmlParserOption. @@ -11744,7 +11764,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_READER_ENABLED) 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. @@ -11754,7 +11774,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_READER_ENABLED) 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. @@ -11764,7 +11784,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_READER_ENABLED) 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. @@ -11773,7 +11793,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_READER_ENABLED) 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. @@ -11785,7 +11805,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_READER_ENABLED) 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. @@ -11796,26 +11816,26 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_READER_ENABLED) Setup an xmltextReader to parse a preparsed XML document. This reuses the existing @reader xmlTextReader. - + defined(LIBXML_READER_ENABLED) Create an xmltextReader for a preparsed document. - + Signature for a realloc() implementation. - + a realloc() equivalent, with logging of the allocation info. @@ -11823,33 +11843,33 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_TREE_ENABLED) This function checks that all the namespaces declared within the given tree are properly declared. This is needed for example after Copy or Cut and then paste operations. The subtree may still hold pointers to namespace declarations outside the subtree or invalid/masked. As much as possible the function try to reuse the existing namespaces found in the new environment. If not possible the new namespaces are redeclared on @tree at the top of the given subtree. - + defined(LIBXML_SAX1_ENABLED) parse an XML in-memory document and build a tree. In the case the document is not Well Formed, a tree is built anyway - + defined(LIBXML_SAX1_ENABLED) 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 - + defined(LIBXML_SAX1_ENABLED) parse an XML in-memory block and build a tree. In the case the document is not Well Formed, a tree is built anyway - + defined(LIBXML_REGEXP_ENABLED) @@ -11858,7 +11878,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_REGEXP_ENABLED) Extract error informations from the regexp execution, the parameter @string will be updated with the value pushed and not accepted, the parameter @values must point to an array of @nbval string pointers on return nbval will contain the number of possible strings in that state and the @values array will be updated with them. The string values @@ -11869,7 +11889,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_REGEXP_ENABLED) Extract informations from the regexp execution, the parameter @values must point to an array of @nbval string pointers on return nbval will contain the number of possible strings in that state and the @values array will be updated with them. The string values @@ -11879,7 +11899,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_REGEXP_ENABLED) Push one input token in the execution context @@ -11887,7 +11907,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_REGEXP_ENABLED) Push one input token in the execution context @@ -11896,19 +11916,19 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_REGEXP_ENABLED) Free the structures associated to a regular expression evaulation context. - + defined(LIBXML_REGEXP_ENABLED) Free a regexp - + defined(LIBXML_REGEXP_ENABLED) Build a context used for progressive evaluation of a regexp. @@ -11916,52 +11936,52 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_REGEXP_ENABLED) Parses a regular expression conforming to XML Schemas Part 2 Datatype Appendix F and builds an automata suitable for testing strings against that regular expression - + defined(LIBXML_REGEXP_ENABLED) Check if the regular expression generates the value - + defined(LIBXML_REGEXP_ENABLED) Check if the regular expression is determinist - + defined(LIBXML_REGEXP_ENABLED) Print the content of the compiled regular expression - + Register the char encoding handler, surprising, isn't it ? - + Registers the default compiled-in I/O handlers. - + defined(LIBXML_OUTPUT_ENABLED) Registers the default compiled-in I/O handlers. - + defined(LIBXML_OUTPUT_ENABLED) && defined(LIBXML_HTTP_ENABLED) By default, libxml submits HTTP output requests using the "PUT" method. Calling this method changes the HTTP output method to use the "POST" method instead. - + Register a new set of I/O callback for handling parser input. @@ -11969,17 +11989,17 @@ actually an xmlCharEncoding'/> - + Registers a callback for node creation - + - + defined(LIBXML_OUTPUT_ENABLED) Register a new set of I/O callback for handling output. @@ -11988,44 +12008,44 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_SCHEMAS_ENABLED) Cleanup the default Schemas type library associated to RelaxNG - + defined(LIBXML_SCHEMAS_ENABLED) && defined(LIBXML_OUTPUT_ENABLED) Dump a RelaxNG structure back - + defined(LIBXML_SCHEMAS_ENABLED) && defined(LIBXML_OUTPUT_ENABLED) Dump the transformed RelaxNG tree. - + defined(LIBXML_SCHEMAS_ENABLED) Deallocate a RelaxNG structure. - + defined(LIBXML_SCHEMAS_ENABLED) Free the resources associated to the schema parser context - + defined(LIBXML_SCHEMAS_ENABLED) Free the resources associated to the schema validation context - + defined(LIBXML_SCHEMAS_ENABLED) Get the callback information used to handle errors for a validation context @@ -12034,7 +12054,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_SCHEMAS_ENABLED) Get the error and warning callback informations @@ -12043,43 +12063,43 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_SCHEMAS_ENABLED) Initilize the default type libraries. - + defined(LIBXML_SCHEMAS_ENABLED) Create an XML RelaxNGs parser context for that document. Note: since the process of compiling a RelaxNG schemas modifies the document, the @doc parameter is duplicated internally. - + defined(LIBXML_SCHEMAS_ENABLED) Create an XML RelaxNGs parse context for that memory buffer expected to contain an XML RelaxNGs file. - + defined(LIBXML_SCHEMAS_ENABLED) Create an XML RelaxNGs parse context for that file/resource expected to contain an XML RelaxNGs file. - + defined(LIBXML_SCHEMAS_ENABLED) Create an XML RelaxNGs validation context based on the given schema - + defined(LIBXML_SCHEMAS_ENABLED) parse a schema definition resource and build an internal XML Shema struture which can be used to validate instances. *WARNING* this interface is highly subject to change - + defined(LIBXML_SCHEMAS_ENABLED) Set the callback functions used to handle errors for a validation context @@ -12088,7 +12108,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_SCHEMAS_ENABLED) Set the error and warning callback informations @@ -12097,14 +12117,14 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_SCHEMAS_ENABLED) Validate a document tree in memory. - + defined(LIBXML_SCHEMAS_ENABLED) Validate a full subtree when xmlRelaxNGValidatePushElement() returned 0 and the content of the node has been expanded. @@ -12112,7 +12132,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_SCHEMAS_ENABLED) Pop the element end from the RelaxNG validation stack. @@ -12120,7 +12140,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_SCHEMAS_ENABLED) check the CData parsed for validation in the current stack @@ -12128,7 +12148,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_SCHEMAS_ENABLED) Push a new element start on the RelaxNG validation stack. @@ -12136,7 +12156,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_SCHEMAS_ENABLED) @@ -12144,7 +12164,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_SCHEMAS_ENABLED) @@ -12152,48 +12172,48 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_SCHEMAS_ENABLED) Semi private function used to pass informations to a parser context which are a combination of xmlRelaxNGParserFlag . - + Remove the given attribute from the ID table maintained internally. - + defined(LIBXML_TREE_ENABLED) Unlink and free one attribute, all the content is freed too Note this doesn't work for namespace definition attributes - + Remove the given attribute from the Ref table maintained internally. - + defined(LIBXML_TREE_ENABLED) || defined(LIBXML_WRITER_ENABLED) Unlink the old node from its current context, prune the new one at the same place. If @cur was already inserted in a document it is first unlinked from its existing context. - + Cleanup the error. - + Cleanup the last global error registered. For parsing error this does not change the well-formedness result. - + An attribute definition has been parsed @@ -12204,27 +12224,27 @@ actually an xmlCharEncoding'/> - + called when a pcdata block has been parsed - + receiving some chars from the parser. - + A xmlSAX2Comment has been parsed. - + An element definition has been parsed @@ -12232,19 +12252,19 @@ actually an xmlCharEncoding'/> - + called when the document end has been detected. - + defined(LIBXML_SAX1_ENABLED) || defined(LIBXML_HTML_ENABLED) called when the end of an element has been detected. - + SAX2 callback when an element end has been detected by the parser. It provides the namespace informations for the element. @@ -12252,7 +12272,7 @@ actually an xmlCharEncoding'/> - + An entity definition has been parsed @@ -12262,7 +12282,7 @@ actually an xmlCharEncoding'/> - + Callback on external subset declaration. @@ -12270,74 +12290,74 @@ actually an xmlCharEncoding'/> - + Provide the column number of the current parsing point. - + Get an entity by name - + Provide the line number of the current parsing point. - + Get a parameter entity by name - + Provides the public ID e.g. "-//SGMLSOURCE//DTD DEMO//EN" - + Provides the system ID, basically URL or filename e.g. http://www.sgmlsource.com/dtds/memo.dtd - + Does this document has an external subset - + Does this document has an internal subset - + receiving some ignorable whitespaces from the parser. UNUSED: by default the DOM building will use xmlSAX2Characters - + Initialize the default XML SAX2 handler - + defined(LIBXML_DOCB_ENABLED) Initialize the default DocBook SAX2 handler - + defined(LIBXML_HTML_ENABLED) Initialize the default HTML SAX2 handler - + Callback on internal subset declaration. @@ -12345,12 +12365,12 @@ actually an xmlCharEncoding'/> - + Is this document tagged standalone ? - + What to do when a notation declaration has been parsed. @@ -12358,38 +12378,38 @@ actually an xmlCharEncoding'/> - + A processing instruction has been parsed. - + called when an entity xmlSAX2Reference is detected. - + The entity loader, to control the loading of external entities, the application can either: - override this xmlSAX2ResolveEntity() callback in the SAX block - or better use the xmlSetExternalEntityLoader() function to set up it's own entity resolution routine - + Receive the document locator at startup, actually xmlDefaultSAXLocator Everything is available on the context, so this is useless in our case. - + called when the document start being processed. - + defined(LIBXML_SAX1_ENABLED) || defined(LIBXML_HTML_ENABLED) called when an opening tag has been processed. @@ -12397,7 +12417,7 @@ actually an xmlCharEncoding'/> - + SAX2 callback when an element start has been detected by the parser. It provides the namespace informations for the element, as well as the new namespace declarations on the element. @@ -12410,7 +12430,7 @@ actually an xmlCharEncoding'/> - + What to do when an unparsed entity declaration is parsed @@ -12419,13 +12439,13 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_SAX1_ENABLED) Set the default version of SAX used globally by the library. By default, during initialization the default is set to 2. Note that it is generally a better coding style to use xmlSAXVersion() to set up the version explicitly for a given parsing context. - + defined(LIBXML_VALID_ENABLED) Load and parse an external subset. @@ -12433,22 +12453,22 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_SAX1_ENABLED) parse an XML in-memory document and build a tree. It use the given SAX function block to handle the parsing callback. If sax is NULL, fallback to the default DOM tree building routines. - + - + defined(LIBXML_SAX1_ENABLED) parse an XML external entity out of context and build a tree. It use the given SAX function block to handle the parsing callback. If sax is NULL, fallback to the default DOM tree building routines. [78] extParsedEnt ::= TextDecl? content This correspond to a "Well Balanced" chunk - + defined(LIBXML_SAX1_ENABLED) parse an XML file and build a tree. Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time. It use the given SAX function block to handle the parsing callback. If sax is NULL, fallback to the default DOM tree building routines. @@ -12456,7 +12476,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_SAX1_ENABLED) parse an XML file and build a tree. Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time. It use the given SAX function block to handle the parsing callback. If sax is NULL, fallback to the default DOM tree building routines. User data (void *) is stored within the parser context in the context's _private member, so it is available nearly everywhere in libxml @@ -12465,7 +12485,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_SAX1_ENABLED) parse an XML in-memory block and use the given SAX function block to handle the parsing callback. If sax is NULL, fallback to the default DOM tree building routines. @@ -12474,7 +12494,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_SAX1_ENABLED) parse an XML in-memory block and use the given SAX function block to handle the parsing callback. If sax is NULL, fallback to the default DOM tree building routines. User data (void *) is stored within the parser context in the context's _private member, so it is available nearly everywhere in libxml @@ -12484,7 +12504,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_SAX1_ENABLED) parse an XML file and call the given SAX handler routines. Automatic support for ZLIB/Compress compressed document is provided @@ -12492,7 +12512,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_SAX1_ENABLED) A better SAX parsing routine. parse an XML in-memory buffer and call the given SAX handler routines. @@ -12501,33 +12521,33 @@ actually an xmlCharEncoding'/> - + Initialize the default XML SAX handler according to the version - + defined(LIBXML_OUTPUT_ENABLED) Close a document saving context, i.e. make sure that all bytes have been output and free the associated data. - + defined(LIBXML_OUTPUT_ENABLED) Save a full document to a saving context TODO: The function is not fully implemented yet as it does not return the byte count but 0 instead - + defined(LIBXML_OUTPUT_ENABLED) Dump an XML document to a file. Will use compression if compiled in and enabled. If @filename is "-" the stdout file is used. - + defined(LIBXML_OUTPUT_ENABLED) Dump an XML document, converting it to the given encoding @@ -12535,7 +12555,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_OUTPUT_ENABLED) Dump an XML document to an I/O buffer. Warning ! This call xmlOutputBufferClose() on buf which is not available after this call. @@ -12543,13 +12563,13 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_OUTPUT_ENABLED) Flush a document saving context, i.e. make sure that all bytes have been output. - + defined(LIBXML_OUTPUT_ENABLED) Dump an XML document to a file. Will use compression if compiled in and enabled. If @filename is "-" the stdout file is used. If @format is set then the document will be indented on output. Note that @format = 1 provide node indenting only if xmlIndentTreeOutput = 1 or xmlKeepBlanksDefault(0) was called @@ -12557,7 +12577,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_OUTPUT_ENABLED) Dump an XML document to a file or an URL. @@ -12566,7 +12586,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_OUTPUT_ENABLED) Dump an XML document to an I/O buffer. Warning ! This call xmlOutputBufferClose() on buf which is not available after this call. @@ -12575,21 +12595,21 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_OUTPUT_ENABLED) Set a custom escaping function to be used for text in attribute content - + defined(LIBXML_OUTPUT_ENABLED) Set a custom escaping function to be used for text in element content - + defined(LIBXML_OUTPUT_ENABLED) Create a document saving context serializing to a file descriptor with the encoding and the options given. @@ -12597,7 +12617,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_OUTPUT_ENABLED) Create a document saving context serializing to a filename or possibly to an URL (but this is less reliable) with the encoding and the options given. @@ -12605,7 +12625,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_OUTPUT_ENABLED) Create a document saving context serializing to a file descriptor with the encoding and the options given @@ -12615,25 +12635,25 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_OUTPUT_ENABLED) Save a subtree starting at the node parameter to a saving context TODO: The function is not fully implemented yet as it does not return the byte count but 0 instead - + Save the URI as an escaped string - + defined(LIBXML_LEGACY_ENABLED) Trickery: parse an XML name but without consuming the input flow Needed for rollback cases. Used only when parsing entities references. TODO: seems deprecated now, only used in the default part of xmlParserHandleReference [4] NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' | CombiningChar | Extender [5] Name ::= (Letter | '_' | ':') (NameChar)* [6] Names ::= Name (S Name)* - + defined(LIBXML_SCHEMAS_ENABLED) Checks the default values types, especially for facets @@ -12642,25 +12662,25 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_SCHEMAS_ENABLED) Cleanup the default XML Schemas type library - + defined(LIBXML_SCHEMAS_ENABLED) Removes and normalize white spaces in the string - + defined(LIBXML_SCHEMAS_ENABLED) Compare 2 values - + defined(LIBXML_SCHEMAS_ENABLED) Compare 2 values @@ -12669,87 +12689,87 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_SCHEMAS_ENABLED) Copies the precomputed value. This duplicates any string within. - + defined(LIBXML_SCHEMAS_ENABLED) && defined(LIBXML_OUTPUT_ENABLED) Dump a Schema structure. - + defined(LIBXML_SCHEMAS_ENABLED) Deallocate a Schema structure. - + defined(LIBXML_SCHEMAS_ENABLED) Deallocate a Schema Facet structure. - + defined(LIBXML_SCHEMAS_ENABLED) Free the resources associated to the schema parser context - + defined(LIBXML_SCHEMAS_ENABLED) Deallocate a Schema Type structure. - + defined(LIBXML_SCHEMAS_ENABLED) Free the resources associated to the schema validation context - + defined(LIBXML_SCHEMAS_ENABLED) Cleanup the default XML Schemas type library - + defined(LIBXML_SCHEMAS_ENABLED) Deallocates a wildcard structure. - + defined(LIBXML_SCHEMAS_ENABLED) Lookup function - + defined(LIBXML_SCHEMAS_ENABLED) Gives you the type struct for a built-in type by its type id. - + defined(LIBXML_SCHEMAS_ENABLED) - Get a the cononical representation of the value. The caller has to free the returned retValue. - + Get a the cononical lexical representation of the value. The caller has to free the returned retValue. WARNING: Some value types are not supported yet, resulting in a @retValue of "???". + - + defined(LIBXML_SCHEMAS_ENABLED) Extract the value of a facet - + defined(LIBXML_SCHEMAS_ENABLED) Get the callback information used to handle errors for a parser context @@ -12758,14 +12778,20 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_SCHEMAS_ENABLED) Lookup a type in the default XML Schemas type library - + + defined(LIBXML_SCHEMAS_ENABLED) + Accessor for the type of a value + + + + defined(LIBXML_SCHEMAS_ENABLED) Get the error and warning callback informations @@ -12774,69 +12800,69 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_SCHEMAS_ENABLED) Initialize the default XML Schemas type library - + defined(LIBXML_SCHEMAS_ENABLED) Evaluates if a specific facet can be used in conjunction with a type. - + defined(LIBXML_SCHEMAS_ENABLED) Create an XML Schemas parse context for that document. NB. The document may be modified during the parsing process. - + defined(LIBXML_SCHEMAS_ENABLED) Allocate a new Facet structure. - + defined(LIBXML_SCHEMAS_ENABLED) Create an XML Schemas parse context for that memory buffer expected to contain an XML Schemas file. - + defined(LIBXML_SCHEMAS_ENABLED) Allocate a new NOTATION value. - + defined(LIBXML_SCHEMAS_ENABLED) Create an XML Schemas parse context for that file/resource expected to contain an XML Schemas file. - + defined(LIBXML_SCHEMAS_ENABLED) Allocate a new simple type value. The type can be of XML_SCHEMAS_STRING. WARNING: This one is intended to be expanded for other string based types. We need this for anySimpleType as well. - + defined(LIBXML_SCHEMAS_ENABLED) Create an XML Schemas validation context based on the given schema. - + defined(LIBXML_SCHEMAS_ENABLED) parse a schema definition resource and build an internal XML Shema struture which can be used to validate instances. *WARNING* this interface is highly subject to change - + defined(LIBXML_SCHEMAS_ENABLED) Set the callback functions used to handle errors for a validation context @@ -12845,7 +12871,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_SCHEMAS_ENABLED) Set the error and warning callback informations @@ -12854,14 +12880,14 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_SCHEMAS_ENABLED) Sets the options to be used during the validation. - + defined(LIBXML_SCHEMAS_ENABLED) Check that a value conforms to the lexical space of the predefined type. if true a value is computed and returned in @val. @@ -12870,7 +12896,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_SCHEMAS_ENABLED) Check that a value conforms to the lexical space of the predefined type. if true a value is computed and returned in @val. This one does apply any normalization to the value. @@ -12879,20 +12905,20 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_SCHEMAS_ENABLED) Get the validation context options. - + defined(LIBXML_SCHEMAS_ENABLED) Validate a document tree in memory. - + defined(LIBXML_SCHEMAS_ENABLED) Check a value against a facet condition @@ -12901,7 +12927,18 @@ actually an xmlCharEncoding'/> - + + defined(LIBXML_SCHEMAS_ENABLED) + Check a value against a facet condition. This takes value normalization according to the specified whitespace types into account. Note that @value needs to be the *normalized* value if the facet is of type "pattern". + + + + + + + + + defined(LIBXML_SCHEMAS_ENABLED) Checka a value against a "length", "minLength" and "maxLength" facet; sets @length to the computed length of @value. @@ -12911,7 +12948,18 @@ actually an xmlCharEncoding'/> - + + defined(LIBXML_SCHEMAS_ENABLED) + Checka a value against a "length", "minLength" and "maxLength" facet; sets @length to the computed length of @value. + + + + + + + + + defined(LIBXML_SCHEMAS_ENABLED) Checks the value of a list simple type against a facet. @@ -12920,14 +12968,14 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_SCHEMAS_ENABLED) Validate a branch of a tree, starting with the given @elem. - + defined(LIBXML_SCHEMAS_ENABLED) Check that a value conforms to the lexical space of the predefined type. if true a value is computed and returned in @val. @@ -12935,7 +12983,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_SCHEMAS_ENABLED) Validate a document tree in memory. @@ -12945,7 +12993,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_SCHEMAS_ENABLED) @@ -12953,7 +13001,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_SCHEMAS_ENABLED) @@ -12961,54 +13009,54 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_SCHEMAS_ENABLED) Replaces 0xd, 0x9 and 0xa with a space. - + Search a Ns registered under a given name space for a document. recurse on the parents until it finds the defined namespace or return NULL otherwise. @nameSpace can be NULL, this is a search for the default namespace. We don't allow to cross entities boundaries. If you don't declare the namespace within those you will be in troubles !!! A warning is generated to cover this case. - + Search a Ns aliasing a given URI. Recurse on the parents until it finds the defined namespace or return NULL otherwise. - + Set the buffer allocation method. Types are XML_BUFFER_ALLOC_EXACT - use exact sizes, keeps memory usage down XML_BUFFER_ALLOC_DOUBLEIT - double buffer when extra needed, improves performance - + set the default compression mode used, ZLIB based Correct values: 0 (uncompressed) to 9 (max compression) - + set the compression ratio for a document, ZLIB based Correct values: 0 (uncompressed) to 9 (max compression) - + defined(LIBXML_LEGACY_ENABLED) Set the function to call call back when a xml reference has been made - + Changes the defaultexternal entity resolver function for the application - + defined(LIBXML_LEGACY_ENABLED) Change the current value of one feature of this parser instance @@ -13016,25 +13064,25 @@ actually an xmlCharEncoding'/> - + Function to reset the handler and the error context for out of context error messages. This simply means that @handler will be called for subsequent error messages while not parsing nor validating. And @ctx will be passed as first argument to @handler One can simply force messages to be emitted to another FILE * than stderr by setting @ctx to this file handle and @handler to NULL. For multi-threaded applications, this must be set separately for each thread. - + update all nodes in the list to point to the right document - + Associate a namespace to a node, a posteriori. - + defined(LIBXML_TREE_ENABLED) || defined(LIBXML_XINCLUDE_ENABLED) || defined(LIBXML_SCHEMAS_ENABLED) || defined(LIBXML_HTML_ENABLED) Set (or reset) an attribute carried by a node. The ns structure must be in scope, this is not checked. @@ -13043,7 +13091,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_TREE_ENABLED) || defined(LIBXML_XINCLUDE_ENABLED) || defined(LIBXML_SCHEMAS_ENABLED) || defined(LIBXML_HTML_ENABLED) Set (or reset) an attribute carried by a node. @@ -13051,19 +13099,19 @@ actually an xmlCharEncoding'/> - + Function to reset the handler and the error context for out of context structured error messages. This simply means that @handler will be called for subsequent error messages while not parsing nor validating. And @ctx will be passed as first argument to @handler For multi-threaded applications, this must be set separately for each thread. - + update all nodes under the tree to point to the right document - + defined(LIBXML_SAX1_ENABLED) Setup the parser context to parse a new buffer; Clears any prior contents from the parser context. The buffer parameter must not be NULL, but the filename parameter can be @@ -13071,7 +13119,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_DEBUG_ENABLED) && defined(LIBXML_XPATH_ENABLED) Implements the XML shell This allow to load, validate, view, modify and save a document using a environment similar to a UNIX commandline. @@ -13080,7 +13128,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_DEBUG_ENABLED) && defined(LIBXML_XPATH_ENABLED) Implements the XML shell function "base" dumps the current XML base of the node @@ -13089,7 +13137,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_DEBUG_ENABLED) && defined(LIBXML_XPATH_ENABLED) && defined(LIBXML_OUTPUT_ENABLED) Implements the XML shell function "cat" dumps the serialization node content (XML or HTML). @@ -13098,7 +13146,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_DEBUG_ENABLED) && defined(LIBXML_XPATH_ENABLED) This is a generic signature for the XML shell functions. @@ -13107,7 +13155,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_DEBUG_ENABLED) && defined(LIBXML_XPATH_ENABLED) Implements the XML shell function "dir" dumps informations about the node (namespace, attributes, content). @@ -13116,7 +13164,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_DEBUG_ENABLED) && defined(LIBXML_XPATH_ENABLED) Implements the XML shell function "du" show the structure of the subtree under node @tree If @tree is null, the command works on the current node. @@ -13125,7 +13173,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_DEBUG_ENABLED) && defined(LIBXML_XPATH_ENABLED) Implements the XML shell function "ls" Does an Unix like listing of the given node (like a directory) @@ -13134,7 +13182,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_DEBUG_ENABLED) && defined(LIBXML_XPATH_ENABLED) Implements the XML shell function "load" loads a new document specified by the filename @@ -13143,26 +13191,26 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_DEBUG_ENABLED) && defined(LIBXML_XPATH_ENABLED) && defined(LIBXML_OUTPUT_ENABLED) Print node to the output FILE - + defined(LIBXML_DEBUG_ENABLED) && defined(LIBXML_XPATH_ENABLED) Print the xpath error to libxml default error channel - + defined(LIBXML_DEBUG_ENABLED) && defined(LIBXML_XPATH_ENABLED) Prints result to the output FILE - + defined(LIBXML_DEBUG_ENABLED) && defined(LIBXML_XPATH_ENABLED) Implements the XML shell function "pwd" Show the full path from the root to the node, if needed building thumblers when similar elements exists at a given ancestor level. The output is compatible with XPath commands. @@ -13171,13 +13219,13 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_DEBUG_ENABLED) && defined(LIBXML_XPATH_ENABLED) This is a generic signature for the XML shell input function. - + defined(LIBXML_DEBUG_ENABLED) && defined(LIBXML_XPATH_ENABLED) && defined(LIBXML_OUTPUT_ENABLED) Implements the XML shell function "save" Write the current document to the filename, or it's original name @@ -13186,7 +13234,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_DEBUG_ENABLED) && defined(LIBXML_XPATH_ENABLED) && defined(LIBXML_VALID_ENABLED) Implements the XML shell function "validate" Validate the document, if a DTD path is provided, then the validation is done against the given DTD. @@ -13195,7 +13243,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_DEBUG_ENABLED) && defined(LIBXML_XPATH_ENABLED) && defined(LIBXML_OUTPUT_ENABLED) Implements the XML shell function "write" Write the current node to the filename, it saves the serialization of the subtree under the @node specified @@ -13204,12 +13252,12 @@ actually an xmlCharEncoding'/> - + skip all blanks character found at that point in the input streams. It pops up finished entities in the process if allowable at that point. - + This will dump the content of the element content definition Intended just for the debug routine @@ -13217,26 +13265,26 @@ actually an xmlCharEncoding'/> - + parse an UTF8 encoded XML qualified name string [NS 5] QName ::= (Prefix ':')? LocalPart [NS 6] Prefix ::= NCName [NS 7] LocalPart ::= NCName - + parse an XML qualified name string [NS 5] QName ::= (Prefix ':')? LocalPart [NS 6] Prefix ::= NCName [NS 7] LocalPart ::= NCName - + parse an XML qualified name string,i - + defined(LIBXML_OUTPUT_ENABLED) Deprecated, unsafe, use xmlSnprintfElementContent @@ -13244,19 +13292,19 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_PUSH_ENABLED) Blocks further parser processing - + Check if both string are equal of have same content Should be a bit more readable and faster than xmlStrEqual() - + Formats @msg and places result into @buf. @@ -13264,14 +13312,14 @@ actually an xmlCharEncoding'/> - + Check if a QName is Equal to a given string - + Formats @msg and places result into @buf. @@ -13279,53 +13327,53 @@ actually an xmlCharEncoding'/> - + a strcasecmp for xmlChar's - + a case-ignoring strstr for xmlChar's - + a strcat for array of xmlChar's. Since they are supposed to be encoded in UTF-8 or an encoding with 8bit based chars, we assume a termination mark of '0'. - + a strchr for xmlChar's - + a strcmp for xmlChar's - + a strdup for array of xmlChar's. Since they are supposed to be encoded in UTF-8 or an encoding with 8bit based chars, we assume a termination mark of '0'. - + Signature for an strdup() implementation. - + defined(LIBXML_PATTERN_ENABLED) push one level from the stream. - + defined(LIBXML_PATTERN_ENABLED) push new data onto the stream. NOTE: if the call xmlPatterncompile() indicated a dictionnary, then strings for name and ns will be expected to come from the dictionary. Both @name and @ns being NULL means the / i.e. the root of the document. This can also act as a reset. @@ -13333,7 +13381,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_PATTERN_ENABLED) push new attribute data onto the stream. NOTE: if the call xmlPatterncompile() indicated a dictionnary, then strings for name and ns will be expected to come from the dictionary. Both @name and @ns being NULL means the / i.e. the root of the document. This can also act as a reset. @@ -13341,14 +13389,14 @@ actually an xmlCharEncoding'/> - + The current char value, if using UTF-8 this may actually span multiple bytes in the input buffer. - + Takes a entity string content and process to do the adequate substitutions. [67] Reference ::= EntityRef | CharRef [69] PEReference ::= '%' Name ';' @@ -13358,13 +13406,13 @@ actually an xmlCharEncoding'/> - + Parse the value string and build the node list associated. Should produce a flat tree with only TEXTs and ENTITY_REFs. - + Takes a entity string content and process to do the adequate substitutions. [67] Reference ::= EntityRef | CharRef [69] PEReference ::= '%' Name ';' @@ -13375,212 +13423,212 @@ actually an xmlCharEncoding'/> - + Parse the value string and build the node list associated. Should produce a flat tree with only TEXTs and ENTITY_REFs. - + length of a xmlChar's string - + a strncasecmp for xmlChar's - + a strncat for array of xmlChar's, it will extend @cur with the len first bytes of @add. - + same as xmlStrncat, but creates a new string. The original two strings are not freed. - + a strncmp for xmlChar's - + a strndup for array of xmlChar's - + a strstr for xmlChar's - + Extract a substring of a given string - + Signature of the function to use when there is an error and the module handles the new error reporting mechanism. - + Set and return the previous value for default entity support. Initially the parser always keep entity references instead of substituting entity values in the output. This function has to be used to change the default parser behavior SAX::substituteEntities() has to be used for changing that on a file by file basis. - + change the input functions when discovering the character encoding of a given entity. - + change the input functions when discovering the character encoding of a given entity. - + change the input functions when discovering the character encoding of a given entity. - + Concat the given string at the end of the existing node content - + Merge two text nodes into one - + defined(LIBXML_READER_ENABLED) Provides the number of attributes of the current node - + defined(LIBXML_READER_ENABLED) The base URI of the node. - + defined(LIBXML_READER_ENABLED) This function provides the current index of the parser used by the reader, relative to the start of the current entity. This function actually just wraps a call to xmlBytesConsumed() for the parser context associated with the reader. See xmlBytesConsumed() for more information. - + defined(LIBXML_READER_ENABLED) This method releases any resources allocated by the current instance changes the state to Closed and close any underlying input. - + defined(LIBXML_READER_ENABLED) The base URI of the node. - + defined(LIBXML_READER_ENABLED) Determine the encoding of the document being read. - + defined(LIBXML_READER_ENABLED) The local name of the node. - + defined(LIBXML_READER_ENABLED) The qualified name of the node, equal to Prefix :LocalName. - + defined(LIBXML_READER_ENABLED) The URI defining the namespace associated with the node. - + defined(LIBXML_READER_ENABLED) A shorthand reference to the namespace associated with the node. - + defined(LIBXML_READER_ENABLED) Get an interned string from the reader, allows for example to speedup string name comparisons - + defined(LIBXML_READER_ENABLED) Provides the text value of the node if present - + defined(LIBXML_READER_ENABLED) The xml:lang scope within which the node resides. - + defined(LIBXML_READER_ENABLED) Determine the XML version of the document being read. - + defined(LIBXML_READER_ENABLED) Hacking interface allowing to get the xmlDocPtr correponding to the current document being accessed by the xmlTextReader. NOTE: as a result of this call, the reader will not destroy the associated XML document and calling xmlFreeDoc() on the result is needed once the reader parsing has finished. - + defined(LIBXML_READER_ENABLED) Hacking interface allowing to get the xmlNodePtr correponding to the current node being accessed by the xmlTextReader. This is dangerous because the underlying node may be destroyed on the next Reads. - + defined(LIBXML_READER_ENABLED) The depth of the node in the tree. - + defined(LIBXML_READER_ENABLED) @@ -13589,27 +13637,27 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_READER_ENABLED) Reads the contents of the current node and the full subtree. It then makes the subtree available until the next xmlTextReaderRead() call - + defined(LIBXML_READER_ENABLED) Provides the value of the attribute with the specified qualified name. - + defined(LIBXML_READER_ENABLED) Provides the value of the attribute with the specified index relative to the containing element. - + defined(LIBXML_READER_ENABLED) Provides the value of the specified attribute @@ -13617,7 +13665,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_READER_ENABLED) Retrieve the error callback function and user argument. @@ -13625,107 +13673,107 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_READER_ENABLED) Provide the column number of the current parsing point. - + defined(LIBXML_READER_ENABLED) Provide the line number of the current parsing point. - + defined(LIBXML_READER_ENABLED) Read the parser internal property. - + defined(LIBXML_READER_ENABLED) Method to get the remainder of the buffered XML. this method stops the parser, set its state to End Of File and return the input stream with what is left that the parser did not use. The implementation is not good, the parser certainly procgressed past what's left in reader->input, and there is an allocation problem. Best would be to rewrite it differently. - + defined(LIBXML_READER_ENABLED) Whether the node has attributes. - + defined(LIBXML_READER_ENABLED) Whether the node can have a text value. - + defined(LIBXML_READER_ENABLED) Whether an Attribute node was generated from the default value defined in the DTD or schema. - + defined(LIBXML_READER_ENABLED) Check if the current node is empty - + defined(LIBXML_READER_ENABLED) Determine whether the current node is a namespace declaration rather than a regular attribute. - + defined(LIBXML_READER_ENABLED) Retrieve the validity status from the parser context - + defined(LIBXML_READER_ENABLED) The local name of the node. - + defined(LIBXML_READER_ENABLED) Obtain the base URI for the given locator. - + defined(LIBXML_READER_ENABLED) Obtain the line number for the given locator. - + defined(LIBXML_READER_ENABLED) Resolves a namespace prefix in the scope of the current element. - + defined(LIBXML_READER_ENABLED) Moves the position of the current instance to the attribute with the specified qualified name. - + defined(LIBXML_READER_ENABLED) Moves the position of the current instance to the attribute with the specified index relative to the containing element. - + defined(LIBXML_READER_ENABLED) Moves the position of the current instance to the attribute with the specified local name and namespace URI. @@ -13733,73 +13781,73 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_READER_ENABLED) Moves the position of the current instance to the node that contains the current Attribute node. - + defined(LIBXML_READER_ENABLED) Moves the position of the current instance to the first attribute associated with the current node. - + defined(LIBXML_READER_ENABLED) Moves the position of the current instance to the next attribute associated with the current node. - + defined(LIBXML_READER_ENABLED) The qualified name of the node, equal to Prefix :LocalName. - + defined(LIBXML_READER_ENABLED) The URI defining the namespace associated with the node. - + defined(LIBXML_READER_ENABLED) Skip to the node following the current one in document order while avoiding the subtree if any. - + defined(LIBXML_READER_ENABLED) Skip to the node following the current one in document order while avoiding the subtree if any. Currently implemented only for Readers built on a document - + defined(LIBXML_READER_ENABLED) Get the node type of the current node Reference: http://dotgnu.org/pnetlib-doc/System/Xml/XmlNodeType.html - + defined(LIBXML_READER_ENABLED) The value indicating whether to normalize white space and attribute values. Since attribute value and end of line normalizations are a MUST in the XML specification only the value true is accepted. The broken bahaviour of accepting out of range character entities like &#0; is of course not supported either. - + defined(LIBXML_READER_ENABLED) A shorthand reference to the namespace associated with the node. - + defined(LIBXML_READER_ENABLED) This tells the XML Reader to preserve the current node. The caller must also use xmlTextReaderCurrentDoc() to keep an handle on the resulting document once parsing has finished - + defined(LIBXML_READER_ENABLED) && defined(LIBXML_PATTERN_ENABLED) This tells the XML Reader to preserve all nodes matched by the pattern. The caller must also use xmlTextReaderCurrentDoc() to keep an handle on the resulting document once parsing has finished @@ -13807,63 +13855,63 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_READER_ENABLED) The quotation mark character used to enclose the value of an attribute. - + defined(LIBXML_READER_ENABLED) Moves the position of the current instance to the next node in the stream, exposing its properties. - + defined(LIBXML_READER_ENABLED) Parses an attribute value into one or more Text and EntityReference nodes. - + defined(LIBXML_READER_ENABLED) Reads the contents of the current node, including child nodes and markup. - + defined(LIBXML_READER_ENABLED) Reads the contents of the current node, including child nodes and markup. - + defined(LIBXML_READER_ENABLED) Gets the read state of the reader. - + defined(LIBXML_READER_ENABLED) Reads the contents of an element or a text node as a string. - + defined(LIBXML_READER_ENABLED) && defined(LIBXML_SCHEMAS_ENABLED) Use RelaxNG to validate the document as it is processed. Activation is only possible before the first Read(). if @schema is NULL, then RelaxNG validation is desactivated. @ The @schema should not be freed until the reader is deallocated or its use has been deactivated. - + defined(LIBXML_READER_ENABLED) && defined(LIBXML_SCHEMAS_ENABLED) Use RelaxNG to validate the document as it is processed. Activation is only possible before the first Read(). if @rng is NULL, then RelaxNG validation is desactivated. - + defined(LIBXML_READER_ENABLED) Register a callback function that will be called on error and warnings. If @f is NULL, the default error and warning handlers are restored. @@ -13871,7 +13919,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_READER_ENABLED) Change the parser processing behaviour by changing some of its internal properties. Note that some properties can only be changed before any read has been done. @@ -13879,7 +13927,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_READER_ENABLED) Register a callback function that will be called on error and warnings. If @f is NULL, the default error and warning handlers are restored. @@ -13887,118 +13935,118 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_READER_ENABLED) Determine the standalone status of the document being read. - + defined(LIBXML_READER_ENABLED) Provides the text value of the node if present - + defined(LIBXML_READER_ENABLED) The xml:lang scope within which the node resides. - + defined(LIBXML_WRITER_ENABLED) End the current xml element. - + defined(LIBXML_WRITER_ENABLED) End an xml CDATA section. - + defined(LIBXML_WRITER_ENABLED) End the current xml coment. - + defined(LIBXML_WRITER_ENABLED) End an xml DTD. - + defined(LIBXML_WRITER_ENABLED) End an xml DTD attribute list. - + defined(LIBXML_WRITER_ENABLED) End an xml DTD element. - + defined(LIBXML_WRITER_ENABLED) End an xml DTD entity. - + defined(LIBXML_WRITER_ENABLED) End an xml document. All open elements are closed - + defined(LIBXML_WRITER_ENABLED) End the current xml element. - + defined(LIBXML_WRITER_ENABLED) End the current xml PI. - + defined(LIBXML_WRITER_ENABLED) Flush the output buffer. - + defined(LIBXML_WRITER_ENABLED) End the current xml element. Writes an end tag even if the element is empty - + defined(LIBXML_WRITER_ENABLED) Set indentation output. indent = 0 do not indentation. indent > 0 do indentation. - + defined(LIBXML_WRITER_ENABLED) Set string indentation. - + defined(LIBXML_WRITER_ENABLED) Start an xml attribute. - + defined(LIBXML_WRITER_ENABLED) Start an xml attribute with namespace support. @@ -14007,19 +14055,19 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_WRITER_ENABLED) Start an xml CDATA section. - + defined(LIBXML_WRITER_ENABLED) Start an xml comment. - + defined(LIBXML_WRITER_ENABLED) Start an xml DTD. @@ -14028,21 +14076,21 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_WRITER_ENABLED) Start an xml DTD ATTLIST. - + defined(LIBXML_WRITER_ENABLED) Start an xml DTD element. - + defined(LIBXML_WRITER_ENABLED) Start an xml DTD ATTLIST. @@ -14050,7 +14098,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_WRITER_ENABLED) Start a new xml document @@ -14059,14 +14107,14 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_WRITER_ENABLED) Start an xml element. - + defined(LIBXML_WRITER_ENABLED) Start an xml element with namespace support. @@ -14075,14 +14123,14 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_WRITER_ENABLED) Start an xml PI. - + defined(LIBXML_WRITER_ENABLED) Write an xml attribute. @@ -14090,7 +14138,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_WRITER_ENABLED) Write an xml attribute. @@ -14100,7 +14148,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_WRITER_ENABLED) Write an base64 encoded xml text. @@ -14109,7 +14157,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_WRITER_ENABLED) Write a BinHex encoded xml text. @@ -14118,21 +14166,21 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_WRITER_ENABLED) Write an xml CDATA. - + defined(LIBXML_WRITER_ENABLED) Write an xml comment. - + defined(LIBXML_WRITER_ENABLED) Write a DTD. @@ -14142,7 +14190,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_WRITER_ENABLED) Write a DTD ATTLIST. @@ -14150,7 +14198,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_WRITER_ENABLED) Write a DTD element. @@ -14158,7 +14206,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_WRITER_ENABLED) Write a DTD entity. @@ -14170,7 +14218,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_WRITER_ENABLED) Write a DTD external entity. The entity must have been started with xmlTextWriterStartDTDEntity @@ -14181,7 +14229,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_WRITER_ENABLED) Write the contents of a DTD external entity. @@ -14190,7 +14238,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_WRITER_ENABLED) Write a DTD internal entity. @@ -14199,7 +14247,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_WRITER_ENABLED) Write a DTD entity. @@ -14208,7 +14256,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_WRITER_ENABLED) Write an xml element. @@ -14216,7 +14264,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_WRITER_ENABLED) Write an xml element with namespace support. @@ -14226,7 +14274,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_WRITER_ENABLED) Write a formatted xml attribute. @@ -14235,7 +14283,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_WRITER_ENABLED) Write a formatted xml attribute.with namespace support @@ -14246,7 +14294,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_WRITER_ENABLED) Write a formatted xml CDATA. @@ -14254,7 +14302,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_WRITER_ENABLED) Write an xml comment. @@ -14262,7 +14310,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_WRITER_ENABLED) Write a DTD with a formatted markup declarations part. @@ -14273,7 +14321,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_WRITER_ENABLED) Write a formatted DTD ATTLIST. @@ -14282,7 +14330,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_WRITER_ENABLED) Write a formatted DTD element. @@ -14291,7 +14339,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_WRITER_ENABLED) Write a formatted DTD internal entity. @@ -14301,7 +14349,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_WRITER_ENABLED) Write a formatted xml element. @@ -14310,7 +14358,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_WRITER_ENABLED) Write a formatted xml element with namespace support. @@ -14321,7 +14369,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_WRITER_ENABLED) Write a formatted PI. @@ -14330,7 +14378,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_WRITER_ENABLED) Write a formatted raw xml text. @@ -14338,7 +14386,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_WRITER_ENABLED) Write a formatted xml text. @@ -14346,7 +14394,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_WRITER_ENABLED) Write an xml PI. @@ -14354,14 +14402,14 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_WRITER_ENABLED) Write a raw xml text. - + defined(LIBXML_WRITER_ENABLED) Write an xml text. TODO: what about entities and special chars?? @@ -14369,14 +14417,14 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_WRITER_ENABLED) Write an xml text. - + defined(LIBXML_WRITER_ENABLED) Write a formatted xml attribute. @@ -14385,7 +14433,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_WRITER_ENABLED) Write a formatted xml attribute.with namespace support @@ -14396,7 +14444,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_WRITER_ENABLED) Write a formatted xml CDATA. @@ -14404,7 +14452,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_WRITER_ENABLED) Write an xml comment. @@ -14412,7 +14460,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_WRITER_ENABLED) Write a DTD with a formatted markup declarations part. @@ -14423,7 +14471,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_WRITER_ENABLED) Write a formatted DTD ATTLIST. @@ -14432,7 +14480,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_WRITER_ENABLED) Write a formatted DTD element. @@ -14441,7 +14489,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_WRITER_ENABLED) Write a formatted DTD internal entity. @@ -14451,7 +14499,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_WRITER_ENABLED) Write a formatted xml element. @@ -14460,7 +14508,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_WRITER_ENABLED) Write a formatted xml element with namespace support. @@ -14471,7 +14519,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_WRITER_ENABLED) Write a formatted xml PI. @@ -14480,7 +14528,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_WRITER_ENABLED) Write a formatted raw xml text. @@ -14488,7 +14536,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_WRITER_ENABLED) Write a formatted xml text. @@ -14496,1176 +14544,1176 @@ actually an xmlCharEncoding'/> - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of AegeanNumbers UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of AlphabeticPresentationForms UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Arabic UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of ArabicPresentationForms-A UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of ArabicPresentationForms-B UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Armenian UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Arrows UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of BasicLatin UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Bengali UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of the UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of BlockElements UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Bopomofo UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of BopomofoExtended UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of BoxDrawing UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of BraillePatterns UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Buhid UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of ByzantineMusicalSymbols UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of CJKCompatibility UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of CJKCompatibilityForms UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of CJKCompatibilityIdeographs UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of CJKCompatibilityIdeographsSupplement UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of CJKRadicalsSupplement UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of CJKSymbolsandPunctuation UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of CJKUnifiedIdeographs UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of CJKUnifiedIdeographsExtensionA UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of CJKUnifiedIdeographsExtensionB UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of the UCS Category - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of C UCS Category - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Cc UCS Category - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Cf UCS Category - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Co UCS Category - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Cs UCS Category - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of L UCS Category - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Ll UCS Category - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Lm UCS Category - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Lo UCS Category - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Lt UCS Category - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Lu UCS Category - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of M UCS Category - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Mc UCS Category - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Me UCS Category - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Mn UCS Category - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of N UCS Category - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Nd UCS Category - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Nl UCS Category - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of No UCS Category - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of P UCS Category - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Pc UCS Category - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Pd UCS Category - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Pe UCS Category - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Pf UCS Category - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Pi UCS Category - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Po UCS Category - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Ps UCS Category - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of S UCS Category - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Sc UCS Category - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Sk UCS Category - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Sm UCS Category - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of So UCS Category - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Z UCS Category - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Zl UCS Category - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Zp UCS Category - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Zs UCS Category - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Cherokee UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of CombiningDiacriticalMarks UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of CombiningDiacriticalMarksforSymbols UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of CombiningHalfMarks UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of CombiningMarksforSymbols UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of ControlPictures UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of CurrencySymbols UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of CypriotSyllabary UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Cyrillic UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of CyrillicSupplement UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Deseret UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Devanagari UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Dingbats UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of EnclosedAlphanumerics UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of EnclosedCJKLettersandMonths UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Ethiopic UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of GeneralPunctuation UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of GeometricShapes UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Georgian UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Gothic UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Greek UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of GreekExtended UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of GreekandCoptic UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Gujarati UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Gurmukhi UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of HalfwidthandFullwidthForms UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of HangulCompatibilityJamo UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of HangulJamo UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of HangulSyllables UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Hanunoo UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Hebrew UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of HighPrivateUseSurrogates UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of HighSurrogates UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Hiragana UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of IPAExtensions UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of IdeographicDescriptionCharacters UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Kanbun UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of KangxiRadicals UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Kannada UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Katakana UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of KatakanaPhoneticExtensions UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Khmer UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of KhmerSymbols UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Lao UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Latin-1Supplement UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of LatinExtended-A UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of LatinExtendedAdditional UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of LatinExtended-B UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of LetterlikeSymbols UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Limbu UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of LinearBIdeograms UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of LinearBSyllabary UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of LowSurrogates UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Malayalam UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of MathematicalAlphanumericSymbols UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of MathematicalOperators UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of MiscellaneousMathematicalSymbols-A UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of MiscellaneousMathematicalSymbols-B UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of MiscellaneousSymbols UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of MiscellaneousSymbolsandArrows UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of MiscellaneousTechnical UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Mongolian UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of MusicalSymbols UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Myanmar UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of NumberForms UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Ogham UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of OldItalic UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of OpticalCharacterRecognition UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Oriya UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Osmanya UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of PhoneticExtensions UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of PrivateUse UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of PrivateUseArea UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Runic UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Shavian UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Sinhala UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of SmallFormVariants UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of SpacingModifierLetters UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Specials UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of SuperscriptsandSubscripts UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of SupplementalArrows-A UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of SupplementalArrows-B UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of SupplementalMathematicalOperators UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of SupplementaryPrivateUseArea-A UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of SupplementaryPrivateUseArea-B UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Syriac UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Tagalog UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Tagbanwa UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Tags UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of TaiLe UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of TaiXuanJingSymbols UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Tamil UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Telugu UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Thaana UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Thai UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Tibetan UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of Ugaritic UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of UnifiedCanadianAboriginalSyllabics UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of VariationSelectors UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of VariationSelectorsSupplement UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of YiRadicals UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of YiSyllables UCS Block - + defined(LIBXML_UNICODE_ENABLED) Check whether the character is part of YijingHexagramSymbols UCS Block - + Escaping routine, does not do validity checks ! It will try to escape the chars needing this, but this is heuristic based it's impossible to be sure. - + This routine escapes a string to hex, ignoring reserved characters (a-z) and the characters in the exception list. - + Unescaping routine, does not do validity checks ! Output is direct unsigned char translation of %XX values (no encoding) - + compares the two UCS4 values - + calculates the internal size of a UTF8 character - + compute the length of an UTF8 string, it doesn't do a full UTF8 checking of the content of the string. - + a function to provide the relative location of a UTF8 char - + a strndup for array of UTF8's - + a function to provide the equivalent of fetching a character from a string array - + storage size of an UTF8 string the behaviour is not garanteed if the input string is not UTF-8 - + Create a substring from a given UTF-8 string Note: positions are given in units of UTF-8 chars - + Unlink a node from it's current context, the node is not freed - + xmlUnlockLibrary() is used to release a re-entrant lock on the libxml2 library. - + defined(LIBXML_TREE_ENABLED) || defined(LIBXML_SCHEMAS_ENABLED) Remove an attribute carried by a node. @@ -15673,21 +15721,21 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_TREE_ENABLED) || defined(LIBXML_SCHEMAS_ENABLED) Remove an attribute carried by a node. - + defined(LIBXML_VALID_ENABLED) && defined(LIBXML_REGEXP_ENABLED) (Re)Build the automata associated to the content model of this element - + defined(LIBXML_VALID_ENABLED) 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 @@ -15697,7 +15745,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_VALID_ENABLED) Build/extend a list of potential children allowed by the content tree @@ -15706,7 +15754,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_VALID_ENABLED) This function returns the list of authorized children to insert within an existing tree while respecting the validity constraints forced by the Dtd. The insertion point is defined using @prev and @next in the following ways: to insert before 'node': xmlValidGetValidElements(node->prev, node, ... to insert next 'node': xmlValidGetValidElements(node, node->next, ... to replace 'node': xmlValidGetValidElements(node->prev, node->next, ... to prepend a child to 'node': xmlValidGetValidElements(NULL, node->childs, to append a child to 'node': xmlValidGetValidElements(node->last, NULL, ... pointers to the element names are inserted at the beginning of the array and do not need to be freed. @@ -15715,7 +15763,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_VALID_ENABLED) 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. @@ -15724,7 +15772,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_VALID_ENABLED) Try to validate a single attribute definition basically it does the following checks as described by the XML-1.0 recommendation: - [ VC: Attribute Default Legal ] - [ VC: Enumeration ] - [ VC: ID Attribute Default ] The ID/IDREF uniqueness and matching are done separately @@ -15732,28 +15780,28 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_VALID_ENABLED) Validate that the given attribute value match the proper production [ VC: ID ] Values of type ID must match the Name production.... [ VC: IDREF ] Values of type IDREF must match the Name production, and values of type IDREFS must match Names ... [ VC: Entity Name ] Values of type ENTITY must match the Name production, values of type ENTITIES must match Names ... [ VC: Name Token ] Values of type NMTOKEN must match the Nmtoken production; values of type NMTOKENS must match Nmtokens. - + defined(LIBXML_VALID_ENABLED) Try to validate the document instance basically it does the all the checks described by the XML Rec i.e. validates the internal and external subset (if present) and validate the document tree. - + defined(LIBXML_VALID_ENABLED) Does the final step for the document validation once all the incremental validation steps have been completed basically it does the following checks described by the XML Rec Check all the IDREF/IDREFS attributes definition for validity - + defined(LIBXML_VALID_ENABLED) Try to validate the document against the dtd instance Basically it does check all the definitions in the DtD. Note the the internal subset (if present) is de-coupled (i.e. not used), which could give problems if ID or IDREF is present. @@ -15761,14 +15809,14 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_VALID_ENABLED) Does the final step for the dtds validation once all the subsets have been parsed basically it does the following checks described by the XML Rec - check that ENTITY and ENTITIES type attributes default or possible values matches one of the defined entities. - check that NOTATION type attributes default or possible values matches one of the defined notations. - + defined(LIBXML_VALID_ENABLED) Try to validate the subtree under an element @@ -15776,7 +15824,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_VALID_ENABLED) Try to validate a single element definition basically it does the following checks as described by the XML-1.0 recommendation: - [ VC: One ID per Element Type ] - [ VC: No Duplicate Types ] - [ VC: Unique Element Type Declaration ] @@ -15784,52 +15832,52 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_TREE_ENABLED) || defined(LIBXML_XPATH_ENABLED) || defined(LIBXML_SCHEMAS_ENABLED) || defined(LIBXML_DEBUG_ENABLED) Check that a value conforms to the lexical space of NCName - + defined(LIBXML_TREE_ENABLED) || defined(LIBXML_SCHEMAS_ENABLED) Check that a value conforms to the lexical space of NMToken - + defined(LIBXML_TREE_ENABLED) || defined(LIBXML_SCHEMAS_ENABLED) Check that a value conforms to the lexical space of Name - + defined(LIBXML_VALID_ENABLED) Validate that the given value match Name production - + defined(LIBXML_VALID_ENABLED) Validate that the given value match Names production - + defined(LIBXML_VALID_ENABLED) Validate that the given value match Nmtoken production [ VC: Name Token ] - + defined(LIBXML_VALID_ENABLED) Validate that the given value match Nmtokens production [ VC: Name Token ] - + defined(LIBXML_VALID_ENABLED) Try to validate a single notation definition basically it does the following checks as described by the XML-1.0 recommendation: - it seems that no validity constraint exists on notation declarations But this function get called anyway ... @@ -15837,7 +15885,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_VALID_ENABLED) || defined(LIBXML_SCHEMAS_ENABLED) Validate that the given name match a notation declaration. - [ VC: Notation Declared ] @@ -15845,7 +15893,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_VALID_ENABLED) Try to validate a single attribute for an element basically it does the following checks as described by the XML-1.0 recommendation: - [ VC: Attribute Value Type ] - [ VC: Fixed Attribute Default ] - [ VC: Entity Name ] - [ VC: Name Token ] - [ VC: ID ] - [ VC: IDREF ] - [ VC: Entity Name ] - [ VC: Notation Attributes ] The ID/IDREF uniqueness and matching are done separately @@ -15855,7 +15903,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_VALID_ENABLED) Try to validate a single element and it's attributes, basically it does the following checks as described by the XML-1.0 recommendation: - [ VC: Element Valid ] - [ VC: Required Attribute ] Then call xmlValidateOneAttribute() for each attribute present. The ID/IDREF checkings are done separately @@ -15863,7 +15911,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_VALID_ENABLED) Try to validate a single namespace declaration for an element basically it does the following checks as described by the XML-1.0 recommendation: - [ VC: Attribute Value Type ] - [ VC: Fixed Attribute Default ] - [ VC: Entity Name ] - [ VC: Name Token ] - [ VC: ID ] - [ VC: IDREF ] - [ VC: Entity Name ] - [ VC: Notation Attributes ] The ID/IDREF uniqueness and matching are done separately @@ -15874,7 +15922,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_VALID_ENABLED) && defined(LIBXML_REGEXP_ENABLED) Pop the element end from the validation stack. @@ -15883,7 +15931,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_VALID_ENABLED) && defined(LIBXML_REGEXP_ENABLED) check the CData parsed for validation in the current stack @@ -15891,7 +15939,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_VALID_ENABLED) && defined(LIBXML_REGEXP_ENABLED) Push a new element start on the validation stack. @@ -15900,205 +15948,205 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_TREE_ENABLED) || defined(LIBXML_SCHEMAS_ENABLED) Check that a value conforms to the lexical space of QName - + defined(LIBXML_VALID_ENABLED) Try to validate a the root element basically it does the following check as described by the XML-1.0 recommendation: - [ VC: Root Element Type ] it doesn't try to recurse or apply other check to the element - + Callback called when a validity error is found. This is a message oriented function similar to an *printf function. - + Callback called when a validity warning is found. This is a message oriented function similar to an *printf function. - + defined(LIBXML_XINCLUDE_ENABLED) Free an XInclude context - + defined(LIBXML_XINCLUDE_ENABLED) Creates a new XInclude context - + defined(LIBXML_XINCLUDE_ENABLED) Implement the XInclude substitution on the XML document @doc - + defined(LIBXML_XINCLUDE_ENABLED) Implement the XInclude substitution on the XML document @doc - + defined(LIBXML_XINCLUDE_ENABLED) Implement the XInclude substitution for the given subtree reusing the informations and data coming from the given context. - + defined(LIBXML_XINCLUDE_ENABLED) Implement the XInclude substitution for the given subtree - + defined(LIBXML_XINCLUDE_ENABLED) Implement the XInclude substitution for the given subtree - + defined(LIBXML_XINCLUDE_ENABLED) Set the flags used for further processing of XML resources. - + defined(LIBXML_XPATH_ENABLED) Implement the add operation on XPath objects: The numeric operators convert their operands to numbers as if by calling the number function. - + defined(LIBXML_XPATH_ENABLED) 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. - + defined(LIBXML_XPATH_ENABLED) Implement the boolean() XPath function boolean boolean(object) The boolean function converts its argument to a boolean as follows: - a number is true if and only if it is neither positive or negative zero nor NaN - a node-set is true if and only if it is non-empty - a string is true if and only if its length is non-zero - + defined(LIBXML_XPATH_ENABLED) Converts a boolean to its number value - + defined(LIBXML_XPATH_ENABLED) Converts a boolean to its string value. - + defined(LIBXML_XPATH_ENABLED) Converts a node-set to its boolean value - + defined(LIBXML_XPATH_ENABLED) Converts a node-set to its number value - + defined(LIBXML_XPATH_ENABLED) Converts a node-set to its string value. - + defined(LIBXML_XPATH_ENABLED) Converts a node to its number value - + defined(LIBXML_XPATH_ENABLED) Converts a node to its string value. - + defined(LIBXML_XPATH_ENABLED) Converts a number to its boolean value - + defined(LIBXML_XPATH_ENABLED) Converts a number to its string value. - + defined(LIBXML_XPATH_ENABLED) Converts a string to its boolean value - + defined(LIBXML_XPATH_ENABLED) Converts a string to its number value - + defined(LIBXML_XPATH_ENABLED) Converts an XPath object to its boolean value - + defined(LIBXML_XPATH_ENABLED) Converts an XPath object to its number value - + defined(LIBXML_XPATH_ENABLED) Converts an existing object to its string() equivalent - + defined(LIBXML_XPATH_ENABLED) Implement the ceiling() XPath function number ceiling(number) The ceiling function returns the smallest (closest to negative infinity) number that is not less than the argument and that is an integer. - + defined(LIBXML_XPATH_ENABLED) Compare two nodes w.r.t document order - + defined(LIBXML_XPATH_ENABLED) Implement the compare operation on XPath objects: @arg1 < @arg2 (1, 1, ... @arg1 <= @arg2 (1, 0, ... @arg1 > @arg2 (0, 1, ... @arg1 >= @arg2 (0, 0, ... When neither object to be compared is a node-set and the operator is <=, <, >=, >, then the objects are compared by converted both objects to numbers and comparing the numbers according to IEEE 754. The < comparison will be true if and only if the first number is less than the second number. The <= comparison will be true if and only if the first number is less than or equal to the second number. The > comparison will be true if and only if the first number is greater than the second number. The >= comparison will be true if and only if the first number is greater than or equal to the second number. @@ -16106,73 +16154,73 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_XPATH_ENABLED) Compile an XPath expression - + defined(LIBXML_XPATH_ENABLED) Evaluate the Precompiled XPath expression in the given context. - + defined(LIBXML_XPATH_ENABLED) Implement the concat() XPath function string concat(string, string, string*) The concat function returns the concatenation of its arguments. - + defined(LIBXML_XPATH_ENABLED) Implement the contains() XPath function boolean contains(string, string) The contains function returns true if the first argument string contains the second argument string, and otherwise returns false. - + defined(LIBXML_XPATH_ENABLED) Converts an existing object to its boolean() equivalent - + defined(LIBXML_XPATH_ENABLED) A conversion function is associated to a type and used to cast the new type to primitive values. - + defined(LIBXML_XPATH_ENABLED) Converts an existing object to its number() equivalent - + defined(LIBXML_XPATH_ENABLED) Converts an existing object to its string() equivalent - + defined(LIBXML_XPATH_ENABLED) Implement the count() XPath function number count(node-set) - + defined(LIBXML_XPATH_ENABLED) Compile an XPath expression - + defined(LIBXML_XPATH_ENABLED) && defined(LIBXML_DEBUG_ENABLED) Dumps the tree of the compiled XPath expression. @@ -16180,7 +16228,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_XPATH_ENABLED) && defined(LIBXML_DEBUG_ENABLED) Dump the content of the object for debugging purposes @@ -16188,136 +16236,136 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_XPATH_ENABLED) Implements the EXSLT - Sets difference() function: node-set set:difference (node-set, node-set) - + defined(LIBXML_XPATH_ENABLED) Implements the EXSLT - Sets distinct() function: node-set set:distinct (node-set) @nodes is sorted by document order, then #exslSetsDistinctSorted is called with the sorted node-set - + defined(LIBXML_XPATH_ENABLED) Implements the EXSLT - Sets distinct() function: node-set set:distinct (node-set) - + defined(LIBXML_XPATH_ENABLED) Implement the div operation on XPath objects @arg1 / @arg2: The numeric operators convert their operands to numbers as if by calling the number function. - + defined(LIBXML_XPATH_ENABLED) Implement the equal operation on XPath objects content: @arg1 == @arg2 - + defined(LIBXML_XPATH_ENABLED) Handle an XPath error - + defined(LIBXML_XPATH_ENABLED) Evaluate the XPath Location Path in the given context. - + defined(LIBXML_XPATH_ENABLED) Parse and evaluate an XPath expression in the given context, then push the result on the context stack - + defined(LIBXML_XPATH_ENABLED) Evaluate the XPath expression in the given context. - + defined(LIBXML_XPATH_ENABLED) An XPath evaluation function, the parameters are on the XPath context stack. - + defined(LIBXML_XPATH_ENABLED) Evaluate a predicate result for the current node. A PredicateExpr is evaluated by evaluating the Expr and converting the result to a boolean. If the result is a number, the result will be converted to true if the number is equal to the position of the context node in the context node list (as returned by the position function) and will be converted to false otherwise; if the result is not a number, then the result will be converted as if by a call to the boolean function. - + defined(LIBXML_XPATH_ENABLED) Evaluate a predicate result for the current node. A PredicateExpr is evaluated by evaluating the Expr and converting the result to a boolean. If the result is a number, the result will be converted to true if the number is equal to the position of the context node in the context node list (as returned by the position function) and will be converted to false otherwise; if the result is not a number, then the result will be converted as if by a call to the boolean function. - + defined(LIBXML_XPATH_ENABLED) Implement the false() XPath function boolean false() - + defined(LIBXML_XPATH_ENABLED) Implement the floor() XPath function number floor(number) The floor function returns the largest (closest to positive infinity) number that is not greater than the argument and that is an integer. - + defined(LIBXML_XPATH_ENABLED) Free up the memory allocated by @comp - + defined(LIBXML_XPATH_ENABLED) Free up an xmlXPathContext - + defined(LIBXML_XPATH_ENABLED) Free the NodeSet compound (not the actual nodes !). - + defined(LIBXML_XPATH_ENABLED) Free up the xmlXPathObjectPtr @obj but don't deallocate the objects in the list contrary to xmlXPathFreeObject(). - + defined(LIBXML_XPATH_ENABLED) Free up an xmlXPathObjectPtr object. - + defined(LIBXML_XPATH_ENABLED) Free up an xmlXPathParserContext - + defined(LIBXML_XPATH_ENABLED) Prototype for callbacks used to plug function lookup in the XPath engine. @@ -16325,21 +16373,21 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_XPATH_ENABLED) An XPath function. The arguments (if any) are popped out from the context stack and the result is pushed on the stack. - + defined(LIBXML_XPATH_ENABLED) Search in the Function array of the context for the given function. - + defined(LIBXML_XPATH_ENABLED) Search in the Function array of the context for the given function. @@ -16347,272 +16395,272 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_XPATH_ENABLED) Implements the EXSLT - Sets has-same-nodes function: boolean set:has-same-node(node-set, node-set) - + defined(LIBXML_XPATH_ENABLED) 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. - + defined(LIBXML_XPATH_ENABLED) || defined(LIBXML_SCHEMAS_ENABLED) Initialize the XPath environment - + defined(LIBXML_XPATH_ENABLED) Implements the EXSLT - Sets intersection() function: node-set set:intersection (node-set, node-set) - + defined(LIBXML_XPATH_ENABLED) || defined(LIBXML_SCHEMAS_ENABLED) Provides a portable isinf() function to detect whether a double is a +Infinite or -Infinite. Based on trio code http://sourceforge.net/projects/ctrio/ - + defined(LIBXML_XPATH_ENABLED) || defined(LIBXML_SCHEMAS_ENABLED) Provides a portable isnan() function to detect whether a double is a NotaNumber. Based on trio code http://sourceforge.net/projects/ctrio/ - + defined(LIBXML_XPATH_ENABLED) Is the name given a NodeType one. [38] NodeType ::= 'comment' | 'text' | 'processing-instruction' | 'node' - + defined(LIBXML_XPATH_ENABLED) Implement the lang() XPath function boolean lang(string) The lang function returns true or false depending on whether the language of the context node as specified by xml:lang attributes is the same as or is a sublanguage of the language specified by the argument string. The language of the context node is determined by the value of the xml:lang attribute on the context node, or, if the context node has no xml:lang attribute, by the value of the xml:lang attribute on the nearest ancestor of the context node that has an xml:lang attribute. If there is no such attribute, then lang - + defined(LIBXML_XPATH_ENABLED) Implement the last() XPath function number last() The last function returns the number of nodes in the context node list. - + defined(LIBXML_XPATH_ENABLED) Implements the EXSLT - Sets leading() function: node-set set:leading (node-set, node-set) @nodes1 and @nodes2 are sorted by document order, then #exslSetsLeadingSorted is called. - + defined(LIBXML_XPATH_ENABLED) Implements the EXSLT - Sets leading() function: node-set set:leading (node-set, node-set) - + defined(LIBXML_XPATH_ENABLED) Implement the local-name() XPath function string local-name(node-set?) The local-name function returns a string containing the local part of the name of the node in the argument node-set that is first in document order. If the node-set is empty or the first node has no name, an empty string is returned. If the argument is omitted it defaults to the context node. - + defined(LIBXML_XPATH_ENABLED) Implement the mod operation on XPath objects: @arg1 / @arg2 The numeric operators convert their operands to numbers as if by calling the number function. - + defined(LIBXML_XPATH_ENABLED) Implement the multiply operation on XPath objects: The numeric operators convert their operands to numbers as if by calling the number function. - + defined(LIBXML_XPATH_ENABLED) Implement the namespace-uri() XPath function string namespace-uri(node-set?) The namespace-uri function returns a string containing the namespace URI of the expanded name of the node in the argument node-set that is first in document order. If the node-set is empty, the first node has no name, or the expanded name has no namespace URI, an empty string is returned. If the argument is omitted it defaults to the context node. - + defined(LIBXML_XPATH_ENABLED) Create a new xmlXPathObjectPtr of type boolean and of value @val - + defined(LIBXML_XPATH_ENABLED) Create a new xmlXPathObjectPtr of type string and of value @val - + defined(LIBXML_XPATH_ENABLED) Create a new xmlXPathContext - + defined(LIBXML_XPATH_ENABLED) Create a new xmlXPathObjectPtr of type double and of value @val - + defined(LIBXML_XPATH_ENABLED) Create a new xmlXPathObjectPtr of type NodeSet and initialize it with the single Node @val - + defined(LIBXML_XPATH_ENABLED) Create a new xmlXPathObjectPtr of type NodeSet and initialize it with the Nodeset @val - + defined(LIBXML_XPATH_ENABLED) Create a new xmlXPathParserContext - + defined(LIBXML_XPATH_ENABLED) Create a new xmlXPathObjectPtr of type string and of value @val - + defined(LIBXML_XPATH_ENABLED) Create a new xmlXPathObjectPtr of type Value Tree (XSLT) and initialize it with the tree root @val - + defined(LIBXML_XPATH_ENABLED) Traversal function for the "ancestor" direction the ancestor axis contains the ancestors of the context node; the ancestors of the context node consist of the parent of context node and the parent's parent and so on; the nodes are ordered in reverse document order; thus the parent is the first node on the axis, and the parent's parent is the second node on the axis - + defined(LIBXML_XPATH_ENABLED) Traversal function for the "ancestor-or-self" direction he ancestor-or-self axis contains the context node and ancestors of the context node in reverse document order; thus the context node is the first node on the axis, and the context node's parent the second; parent here is defined the same as with the parent axis. - + defined(LIBXML_XPATH_ENABLED) Traversal function for the "attribute" direction TODO: support DTD inherited default attributes - + defined(LIBXML_XPATH_ENABLED) Traversal function for the "child" direction The child axis contains the children of the context node in document order. - + defined(LIBXML_XPATH_ENABLED) Traversal function for the "descendant" direction the descendant axis contains the descendants of the context node in document order; a descendant is a child or a child of a child and so on. - + defined(LIBXML_XPATH_ENABLED) Traversal function for the "descendant-or-self" direction the descendant-or-self axis contains the context node and the descendants of the context node in document order; thus the context node is the first node on the axis, and the first child of the context node is the second node on the axis - + defined(LIBXML_XPATH_ENABLED) Traversal function for the "following" direction The following axis contains all nodes in the same document as the context node that are after the context node in document order, excluding any descendants and excluding attribute nodes and namespace nodes; the nodes are ordered in document order - + defined(LIBXML_XPATH_ENABLED) Traversal function for the "following-sibling" direction The following-sibling axis contains the following siblings of the context node in document order. - + defined(LIBXML_XPATH_ENABLED) Traversal function for the "namespace" direction the namespace axis contains the namespace nodes of the context node; the order of nodes on this axis is implementation-defined; the axis will be empty unless the context node is an element We keep the XML namespace node at the end of the list. - + defined(LIBXML_XPATH_ENABLED) Traversal function for the "parent" direction The parent axis contains the parent of the context node, if there is one. - + defined(LIBXML_XPATH_ENABLED) Traversal function for the "preceding" direction the preceding axis contains all nodes in the same document as the context node that are before the context node in document order, excluding any ancestors and excluding attribute nodes and namespace nodes; the nodes are ordered in reverse document order - + defined(LIBXML_XPATH_ENABLED) Traversal function for the "preceding-sibling" direction The preceding-sibling axis contains the preceding siblings of the context node in reverse document order; the first preceding sibling is first on the axis; the sibling preceding that node is the second on the axis and so on. - + defined(LIBXML_XPATH_ENABLED) Traversal function for the "self" direction The self axis contains just the context node itself - + defined(LIBXML_XPATH_ENABLED) Implements the EXSLT - Sets leading() function: node-set set:leading (node-set, node-set) @nodes is sorted by document order, then #exslSetsNodeLeadingSorted is called. - + defined(LIBXML_XPATH_ENABLED) Implements the EXSLT - Sets leading() function: node-set set:leading (node-set, node-set) - + defined(LIBXML_XPATH_ENABLED) add a new xmlNodePtr to an existing NodeSet - + defined(LIBXML_XPATH_ENABLED) add a new namespace node to an existing NodeSet @@ -16620,175 +16668,175 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_XPATH_ENABLED) add a new xmlNodePtr to an existing NodeSet, optimized version when we are sure the node is not already in the set. - + defined(LIBXML_XPATH_ENABLED) checks whether @cur contains @val - + defined(LIBXML_XPATH_ENABLED) Create a new xmlNodeSetPtr of type double and of value @val - + defined(LIBXML_XPATH_ENABLED) Removes an xmlNodePtr from an existing NodeSet - + defined(LIBXML_XPATH_ENABLED) Namespace nodes in libxml don't match the XPath semantic. In a node set the namespace nodes are duplicated and the next pointer is set to the parent node in the XPath semantic. Check if such a node needs to be freed - + defined(LIBXML_XPATH_ENABLED) Merges two nodesets, all nodes from @val2 are added to @val1 if @val1 is NULL, a new set is created and copied from @val2 - + defined(LIBXML_XPATH_ENABLED) Removes an entry from an existing NodeSet list. - + defined(LIBXML_XPATH_ENABLED) Sort the node set in document order - + defined(LIBXML_XPATH_ENABLED) Implements the EXSLT - Sets trailing() function: node-set set:trailing (node-set, node-set) @nodes is sorted by document order, then #xmlXPathNodeTrailingSorted is called. - + defined(LIBXML_XPATH_ENABLED) Implements the EXSLT - Sets trailing() function: node-set set:trailing (node-set, node-set) - + defined(LIBXML_XPATH_ENABLED) Implement the normalize-space() XPath function string normalize-space(string?) The normalize-space function returns the argument string with white space normalized by stripping leading and trailing whitespace and replacing sequences of whitespace characters by a single space. Whitespace characters are the same allowed by the S production in XML. If the argument is omitted, it defaults to the context node converted to a string, in other words the value of the context node. - + defined(LIBXML_XPATH_ENABLED) Implement the equal operation on XPath objects content: @arg1 == @arg2 - + defined(LIBXML_XPATH_ENABLED) Implement the not() XPath function boolean not(boolean) The not function returns true if its argument is false, and false otherwise. - + defined(LIBXML_XPATH_ENABLED) Search in the namespace declaration array of the context for the given namespace name associated to the given prefix - + defined(LIBXML_XPATH_ENABLED) Implement the number() XPath function number number(object?) - + defined(LIBXML_XPATH_ENABLED) allocate a new copy of a given object - + defined(LIBXML_XPATH_ENABLED) Call this routine to speed up XPath computation on static documents. This stamps all the element nodes with the document order Like for line information, the order is kept in the element->content field, the value stored is actually - the node number (starting at -1) to be able to differentiate from line numbers. - + defined(LIBXML_XPATH_ENABLED) parse an XML namespace non qualified name. [NS 3] NCName ::= (Letter | '_') (NCNameChar)* [NS 4] NCNameChar ::= Letter | Digit | '.' | '-' | '_' | CombiningChar | Extender - + defined(LIBXML_XPATH_ENABLED) parse an XML name [4] NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' | CombiningChar | Extender [5] Name ::= (Letter | '_' | ':') (NameChar)* - + defined(LIBXML_XPATH_ENABLED) Pops a boolean from the stack, handling conversion if needed. Check error with #xmlXPathCheckError. - + defined(LIBXML_XPATH_ENABLED) Pops an external object from the stack, handling conversion if needed. Check error with #xmlXPathCheckError. - + defined(LIBXML_XPATH_ENABLED) Pops a node-set from the stack, handling conversion if needed. Check error with #xmlXPathCheckError. - + defined(LIBXML_XPATH_ENABLED) Pops a number from the stack, handling conversion if needed. Check error with #xmlXPathCheckError. - + defined(LIBXML_XPATH_ENABLED) Pops a string from the stack, handling conversion if needed. Check error with #xmlXPathCheckError. - + defined(LIBXML_XPATH_ENABLED) Implement the position() XPath function number position() The position function returns the position of the context node in the context node list. The first position is 1, and so the last position will be equal to last(). - + defined(LIBXML_XPATH_ENABLED) Registers all default XPath functions in this context - + defined(LIBXML_XPATH_ENABLED) Register a new function. If @f is NULL it unregisters the function @@ -16796,7 +16844,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_XPATH_ENABLED) Registers an external mechanism to do function lookup. @@ -16804,7 +16852,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_XPATH_ENABLED) Register a new function. If @f is NULL it unregisters the function @@ -16813,7 +16861,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_XPATH_ENABLED) Register a new namespace. If @ns_uri is NULL it unregisters the namespace @@ -16821,7 +16869,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_XPATH_ENABLED) Register a new variable value. If @value is NULL it unregisters the variable @@ -16829,7 +16877,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_XPATH_ENABLED) register an external mechanism to do variable lookup @@ -16837,7 +16885,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_XPATH_ENABLED) Register a new variable value. If @value is NULL it unregisters the variable @@ -16846,140 +16894,140 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_XPATH_ENABLED) Cleanup the XPath context data associated to registered functions - + defined(LIBXML_XPATH_ENABLED) Cleanup the XPath context data associated to registered variables - + defined(LIBXML_XPATH_ENABLED) Cleanup the XPath context data associated to registered variables - + defined(LIBXML_XPATH_ENABLED) Initialize the context to the root of the document - + defined(LIBXML_XPATH_ENABLED) Implement the round() XPath function number round(number) The round function returns the number that is closest to the argument and that is an integer. If there are two such numbers, then the one that is even is returned. - + defined(LIBXML_XPATH_ENABLED) Implement the starts-with() XPath function boolean starts-with(string, string) The starts-with function returns true if the first argument string starts with the second argument string, and otherwise returns false. - + defined(LIBXML_XPATH_ENABLED) [30a] Float ::= Number ('e' Digits?)? [30] Number ::= Digits ('.' Digits?)? | '.' Digits [31] Digits ::= [0-9]+ Compile a Number in the string In complement of the Number expression, this function also handles negative values : '-' Number. - + defined(LIBXML_XPATH_ENABLED) Implement the string() XPath function string string(object?) The 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. - + defined(LIBXML_XPATH_ENABLED) Implement the string-length() XPath function number string-length(string?) The string-length returns the number of characters in the string (see [3.6 Strings]). If the argument is omitted, it defaults to the context node converted to a string, in other words the value of the context node. - + defined(LIBXML_XPATH_ENABLED) Implement the subtraction operation on XPath objects: The numeric operators convert their operands to numbers as if by calling the number function. - + defined(LIBXML_XPATH_ENABLED) Implement the substring-after() XPath function string substring-after(string, string) The substring-after function returns the substring of the first argument string that follows the first occurrence of the second argument string in the first argument string, or the empty stringi if the first argument string does not contain the second argument string. For example, substring-after("1999/04/01","/") returns 04/01, and substring-after("1999/04/01","19") returns 99/04/01. - + defined(LIBXML_XPATH_ENABLED) Implement the substring-before() XPath function string substring-before(string, string) The substring-before function returns the substring of the first argument string that precedes the first occurrence of the second argument string in the first argument string, or the empty string if the first argument string does not contain the second argument string. For example, substring-before("1999/04/01","/") returns 1999. - + defined(LIBXML_XPATH_ENABLED) Implement the substring() XPath function string substring(string, number, number?) The substring function returns the substring of the first argument starting at the position specified in the second argument with length specified in the third argument. For example, substring("12345",2,3) returns "234". If the third argument is not specified, it returns the substring starting at the position specified in the second argument and continuing to the end of the string. For example, substring("12345",2) returns "2345". More precisely, each character in the string (see [3.6 Strings]) is considered to have a numeric position: the position of the first character is 1, the position of the second character is 2 and so on. The returned substring contains those characters for which the position of the character is greater than or equal to the second argument and, if the third argument is specified, less than the sum of the second and third arguments; the comparisons and addition used for the above follow the standard IEEE 754 rules. Thus: - substring("12345", 1.5, 2.6) returns "234" - substring("12345", 0, 3) returns "12" - substring("12345", 0 div 0, 3) returns "" - substring("12345", 1, 0 div 0) returns "" - substring("12345", -42, 1 div 0) returns "12345" - substring("12345", -1 div 0, 1 div 0) returns "" - + defined(LIBXML_XPATH_ENABLED) Implement the sum() XPath function number sum(node-set) The sum function returns the sum of the values of the nodes in the argument node-set. - + defined(LIBXML_XPATH_ENABLED) Implements the EXSLT - Sets trailing() function: node-set set:trailing (node-set, node-set) @nodes1 and @nodes2 are sorted by document order, then #xmlXPathTrailingSorted is called. - + defined(LIBXML_XPATH_ENABLED) Implements the EXSLT - Sets trailing() function: node-set set:trailing (node-set, node-set) - + defined(LIBXML_XPATH_ENABLED) Implement the translate() XPath function string translate(string, string, string) The translate function returns the first argument string with occurrences of characters in the second argument string replaced by the character at the corresponding position in the third argument string. For example, translate("bar","abc","ABC") returns the string BAr. If there is a character in the second argument string with no character at a corresponding position in the third argument string (because the second argument string is longer than the third argument string), then occurrences of that character in the first argument string are removed. For example, translate("--aaa--","abc-","ABC") - + defined(LIBXML_XPATH_ENABLED) Implement the true() XPath function boolean true() - + defined(LIBXML_XPATH_ENABLED) Implement the unary - operation on an XPath object The numeric operators convert their operands to numbers as if by calling the number function. - + defined(LIBXML_XPATH_ENABLED) Search in the Variable array of the context for the given variable value. - + defined(LIBXML_XPATH_ENABLED) Prototype for callbacks used to plug variable lookup in the XPath engine. @@ -16987,7 +17035,7 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_XPATH_ENABLED) Search in the Variable array of the context for the given variable value. @@ -16995,31 +17043,31 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_XPATH_ENABLED) Wraps a string into an XPath object. - + defined(LIBXML_XPATH_ENABLED) Wraps the @val data into an XPath object. - + defined(LIBXML_XPATH_ENABLED) Wrap the Nodeset @val in a new xmlXPathObjectPtr - + defined(LIBXML_XPATH_ENABLED) Wraps the @val string into an XPath object. - + defined(LIBXML_XPATH_ENABLED) Formats an error message. @@ -17028,72 +17076,72 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_XPTR_ENABLED) Build a node list tree copy of the XPointer result. This will drop Attributes and Namespace declarations. - + defined(LIBXML_XPTR_ENABLED) Evaluate the XPath Location Path in the given context. - + defined(LIBXML_XPTR_ENABLED) [8] Predicate ::= '[' PredicateExpr ']' [9] PredicateExpr ::= Expr Evaluate a predicate as in xmlXPathEvalPredicate() but for a Location Set instead of a node set - + defined(LIBXML_XPTR_ENABLED) Free the LocationSet compound (not the actual ranges !). - + defined(LIBXML_XPTR_ENABLED) add a new xmlXPathObjectPtr to an existing LocationSet If the location already exist in the set @val is freed. - + defined(LIBXML_XPTR_ENABLED) Create a new xmlLocationSetPtr of type double and of value @val - + defined(LIBXML_XPTR_ENABLED) Removes an xmlXPathObjectPtr from an existing LocationSet - + defined(LIBXML_XPTR_ENABLED) Merges two rangesets, all ranges from @val2 are added to @val1 - + defined(LIBXML_XPTR_ENABLED) Removes an entry from an existing LocationSet list. - + defined(LIBXML_XPTR_ENABLED) Create a new xmlXPathObjectPtr of type range using a single nodes - + defined(LIBXML_XPTR_ENABLED) Create a new XPointer context @@ -17101,20 +17149,20 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_XPTR_ENABLED) Create a new xmlXPathObjectPtr of type LocationSet and initialize it with all the nodes from @set - + defined(LIBXML_XPTR_ENABLED) Create a new xmlXPathObjectPtr of type LocationSet and initialize it with the single range made of the two nodes @start and @end - + defined(LIBXML_XPTR_ENABLED) Create a new xmlXPathObjectPtr of type range @@ -17123,49 +17171,49 @@ actually an xmlCharEncoding'/> - + defined(LIBXML_XPTR_ENABLED) Create a new xmlXPathObjectPtr of type range from a not to an object - + defined(LIBXML_XPTR_ENABLED) Create a new xmlXPathObjectPtr of type range from a node to a point - + defined(LIBXML_XPTR_ENABLED) Create a new xmlXPathObjectPtr of type range using 2 nodes - + defined(LIBXML_XPTR_ENABLED) Create a new xmlXPathObjectPtr of type range from a point to a node - + defined(LIBXML_XPTR_ENABLED) Create a new xmlXPathObjectPtr of type range using 2 Points - + defined(LIBXML_XPTR_ENABLED) Implement the range-to() XPointer function - + defined(LIBXML_XPTR_ENABLED) Wrap the LocationSet @val in a new xmlXPathObjectPtr diff --git a/doc/libxml2.xsa b/doc/libxml2.xsa index aab08b1..475ec45 100644 --- a/doc/libxml2.xsa +++ b/doc/libxml2.xsa @@ -8,33 +8,33 @@ libxml2 - 2.6.17 - Jan 16 2005 + 2.6.18 + Mar 13 2005 http://xmlsoft.org/ - - build fixes: Windows, warnings removal (William Brack), - maintainer-clean dependency(William), build in a different directory - (William), fixing --with-minimum configure build (William), BeOS - build (Marcin Konicki), Python-2.4 detection (William), compilation - on AIX (Dan McNichol) - - bug fixes: xmlTextReaderHasAttributes (Rob Richards), xmlCtxtReadFile() - to use the catalog(s), loop on output (William Brack), XPath memory leak, - ID deallocation problem (Steve Shepard), debugDumpNode crash (William), - warning not using error callback (William), xmlStopParser bug (William), - UTF-16 with BOM on DTDs (William), namespace bug on empty elements - in push mode (Rob Richards), line and col computations fixups (Aleksey - Sanin), xmlURIEscape fix (William), xmlXPathErr on bad range (William), - patterns with too many steps, bug in RNG choice optimization, line - number sometimes missing. - - - improvements: XSD Schemas (Kasimier Buchcik), python generator (William), - xmlUTF8Strpos speedup (William), unicode Python strings (William), - XSD error reports (Kasimier Buchcik), Python __str__ call serialize(). - - - new APIs: added xmlDictExists(), GetLineNumber and GetColumnNumber - for the xmlReader (Aleksey Sanin), Dynamic Shared Libraries APIs - (mostly Joel Reed), error extraction API from regexps, new XMLSave - option for format (Phil Shafer) - - documentation: site improvement (John Fleck), FAQ entries (William). + - build fixes: warnings (Peter Breitenlohner), testapi.c generation, + Bakefile support (Francesco Montorsi), Windows compilation (Joel Reed), + some gcc4 fixes, HP-UX portability fixes (Rick Jones). + - bug fixes: xmlSchemaElementDump namespace (Kasimier Buchcik), push and + xmlreader stopping on non-fatal errors, thread support for dictionnaries + reference counting (Gary Coady), internal subset and push problem, + URL saved in xmlCopyDoc, various schemas bug fixes (Kasimier), Python + paths fixup (Stephane Bidoul), xmlGetNodePath and namespaces, + xmlSetNsProp fix (Mike Hommey), warning should not count as error + (William Brack), xmlCreatePushParser empty chunk, XInclude parser + flags (William), cleanup FTP and HTTP code to reuse the uri parsing + and IPv6 (William), xmlTextWriterStartAttributeNS fix (Rob Richards), + XMLLINT_INDENT being empty (William), xmlWriter bugs (Rob Richards), + multithreading on Windows (Rich Salz), xmlSearchNsByHref fix (Kasimier), + Python binding leak (Brent Hendricks), aliasing bug exposed by gcc4 + on s390, xmlTextReaderNext bug (Rob Richards), Schemas decimal type + fixes (William Brack), xmlByteConsumed static buffer (Ben Maurer). + - improvement: speedup parsing comments and DTDs, dictionnary support for + hash tables, Schemas Identity constraints (Kasimier), streaming XPath + subset, xmlTextReaderReadString added (Bjorn Reese), Schemas canonical + values handling (Kasimier), add xmlTextReaderByteConsumed (Aron + Stansvik), + - Documentation: Wiki support (Joel Reed) + diff --git a/doc/news.html b/doc/news.html index a07144b..8dbca54 100644 --- a/doc/news.html +++ b/doc/news.html @@ -12,7 +12,25 @@ to help those

The change log describes the recents commits -to the CVS code base.

There is the list of public releases:

2.6.18: Mar 13 2005

  • build fixes: warnings (Peter Breitenlohner), testapi.c generation, +to the CVS code base.

    There is the list of public releases:

    2.6.19: Apr 02 2005

    • build fixes: drop .la from RPMs, --with-minimum build fix (William + Brack), use XML_SOCKLEN_T instead of SOCKLEN_T because it breaks with + AIX 5.3 compiler, fixed elfgcchack.h generation and PLT reduction + code on Linux/ELF/gcc4
    • +
    • bug fixes: schemas type decimal fixups (William Brack), xmmlint return + code (Gerry Murphy), small schemas fixes (Matthew Burgess and + GUY Fabrice), workaround "DAV:" namespace brokeness in c14n (Aleksey + Sanin), segfault in Schemas (Kasimier Buchcik), Schemas attribute + validation (Kasimier), Prop related functions and xmlNewNodeEatName + (Rob Richards), HTML serialization of name attribute on a elements, + Python error handlers leaks and improvement (Brent Hendricks), + uninitialized variable in encoding code, Relax-NG validation bug, + potential crash if gnorableWhitespace is NULL, xmlSAXParseDoc and + xmlParseDoc signatures, switched back to assuming UTF-8 in case + no encoding is given at serialization time
    • +
    • improvements: lot of work on Schemas by Kasimier Buchcikii on facets + checking and also mixed handling.
    • +
    • +

    2.6.18: Mar 13 2005

    • build fixes: warnings (Peter Breitenlohner), testapi.c generation, Bakefile support (Francesco Montorsi), Windows compilation (Joel Reed), some gcc4 fixes, HP-UX portability fixes (Rick Jones).
    • bug fixes: xmlSchemaElementDump namespace (Kasimier Buchcik), push and diff --git a/doc/xml.html b/doc/xml.html index 3dc7fd9..97e7157 100644 --- a/doc/xml.html +++ b/doc/xml.html @@ -715,6 +715,27 @@ to the CVS code base.

      There is the list of public releases:

      +

      2.6.19: Apr 02 2005

      +
        +
      • build fixes: drop .la from RPMs, --with-minimum build fix (William + Brack), use XML_SOCKLEN_T instead of SOCKLEN_T because it breaks with + AIX 5.3 compiler, fixed elfgcchack.h generation and PLT reduction + code on Linux/ELF/gcc4
      • +
      • bug fixes: schemas type decimal fixups (William Brack), xmmlint return + code (Gerry Murphy), small schemas fixes (Matthew Burgess and + GUY Fabrice), workaround "DAV:" namespace brokeness in c14n (Aleksey + Sanin), segfault in Schemas (Kasimier Buchcik), Schemas attribute + validation (Kasimier), Prop related functions and xmlNewNodeEatName + (Rob Richards), HTML serialization of name attribute on a elements, + Python error handlers leaks and improvement (Brent Hendricks), + uninitialized variable in encoding code, Relax-NG validation bug, + potential crash if gnorableWhitespace is NULL, xmlSAXParseDoc and + xmlParseDoc signatures, switched back to assuming UTF-8 in case + no encoding is given at serialization time
      • +
      • improvements: lot of work on Schemas by Kasimier Buchcikii on facets + checking and also mixed handling.
      • +
      • +

      2.6.18: Mar 13 2005

      • build fixes: warnings (Peter Breitenlohner), testapi.c generation, -- cgit v1.2.3