From 259f0dfa8b4f29158954959b4d0d7c03dd1eab05 Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Wed, 18 Aug 2004 09:13:18 +0000 Subject: [PATCH] Applied patch from Torkel Lyng to add Schemas support to the Python * xmlschemas.c include/libxml/xmlschemas.h python/generator.py python/libxml.c python/libxml_wrap.h python/types.c python/tests/schema.py python/tests/Makefile.am: Applied patch from Torkel Lyng to add Schemas support to the Python bindings and extend the schemas error API, registered a new test. * doc/* elfgcchack.h: rebuilt to regenerate the bindings Daniel --- ChangeLog | 9 + doc/APIchunk0.html | 4 +- doc/APIchunk1.html | 4 + doc/APIchunk10.html | 36 +- doc/APIchunk11.html | 11 +- doc/APIchunk12.html | 10 +- doc/APIchunk13.html | 9 +- doc/APIchunk14.html | 5 +- doc/APIchunk15.html | 7 +- doc/APIchunk16.html | 1 + doc/APIchunk17.html | 2 + doc/APIchunk18.html | 2 + doc/APIchunk19.html | 7 +- doc/APIchunk2.html | 2 +- doc/APIchunk20.html | 11 +- doc/APIchunk21.html | 8 +- doc/APIchunk22.html | 65 +- doc/APIchunk23.html | 2 + doc/APIchunk24.html | 1 + doc/APIchunk25.html | 5 +- doc/APIchunk3.html | 3 + doc/APIchunk4.html | 1 - doc/APIchunk5.html | 1 + doc/APIchunk6.html | 3 +- doc/APIchunk8.html | 17 +- doc/APIchunk9.html | 9 +- doc/APIconstructors.html | 2 + doc/APIfiles.html | 43 + doc/APIfunctions.html | 22 +- doc/APIsymbols.html | 43 + doc/html/book1.html | 2 +- doc/html/index.html | 2 +- doc/html/libxml-DOCBparser.html | 42 +- doc/html/libxml-HTMLparser.html | 2 +- doc/html/libxml-HTMLtree.html | 2 +- doc/html/libxml-SAX.html | 156 +- doc/html/libxml-SAX2.html | 2 +- doc/html/libxml-c14n.html | 2 +- doc/html/libxml-catalog.html | 2 +- doc/html/libxml-chvalid.html | 2 +- doc/html/libxml-debugXML.html | 2 +- doc/html/libxml-dict.html | 2 +- doc/html/libxml-encoding.html | 2 +- doc/html/libxml-entities.html | 2 +- doc/html/libxml-globals.html | 2 +- doc/html/libxml-hash.html | 2 +- doc/html/libxml-lib.html | 2 +- doc/html/libxml-list.html | 2 +- doc/html/libxml-nanoftp.html | 2 +- doc/html/libxml-nanohttp.html | 2 +- doc/html/libxml-parser.html | 8 +- doc/html/libxml-parserInternals.html | 2 +- doc/html/libxml-pattern.html | 2 +- doc/html/libxml-relaxng.html | 2 +- doc/html/libxml-schemasInternals.html | 62 +- doc/html/libxml-threads.html | 2 +- doc/html/libxml-tree.html | 2 +- doc/html/libxml-uri.html | 2 +- doc/html/libxml-valid.html | 2 +- doc/html/libxml-xinclude.html | 2 +- doc/html/libxml-xlink.html | 2 +- doc/html/libxml-xmlIO.html | 2 +- doc/html/libxml-xmlautomata.html | 2 +- doc/html/libxml-xmlerror.html | 65 +- doc/html/libxml-xmlexports.html | 2 +- doc/html/libxml-xmlmemory.html | 2 +- doc/html/libxml-xmlreader.html | 2 +- doc/html/libxml-xmlregexp.html | 2 +- doc/html/libxml-xmlsave.html | 2 +- doc/html/libxml-xmlschemas.html | 30 +- doc/html/libxml-xmlschemastypes.html | 23 +- doc/html/libxml-xmlstring.html | 2 +- doc/html/libxml-xmlunicode.html | 2 +- doc/html/libxml-xmlversion.html | 2 +- doc/html/libxml-xmlwriter.html | 2 +- doc/html/libxml-xpath.html | 2 +- doc/html/libxml-xpathInternals.html | 2 +- doc/html/libxml-xpointer.html | 2 +- doc/libxml2-api.xml | 2867 +++++++++++++------------ doc/libxml2-refs.xml | 387 ++-- elfgcchack.h | 34 + include/libxml/xmlschemas.h | 11 + python/generator.py | 10 + python/libxml.c | 165 ++ python/libxml2class.txt | 21 + python/libxml_wrap.h | 30 + python/tests/Makefile.am | 1 + python/tests/schema.py | 52 + python/types.c | 57 + win32/libxml2.def.src | 16 + xmlschemas.c | 54 + 91 files changed, 2706 insertions(+), 1812 deletions(-) create mode 100755 python/tests/schema.py diff --git a/ChangeLog b/ChangeLog index b7cfe6e9..b2b90292 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +Wed Aug 18 11:14:06 CEST 2004 Daniel Veillard + + * xmlschemas.c include/libxml/xmlschemas.h python/generator.py + python/libxml.c python/libxml_wrap.h python/types.c + python/tests/schema.py python/tests/Makefile.am: Applied patch + from Torkel Lyng to add Schemas support to the Python bindings + and extend the schemas error API, registered a new test. + * doc/* elfgcchack.h: rebuilt to regenerate the bindings + Mon Aug 16 14:36:25 CEST 2004 Daniel Veillard * debugXML.c: added help for new set shell command diff --git a/doc/APIchunk0.html b/doc/APIchunk0.html index 555a1e05..f249ca0a 100644 --- a/doc/APIchunk0.html +++ b/doc/APIchunk0.html @@ -58,10 +58,9 @@ A:link, A:visited, A:active { text-decoration: underline } xmlOutputWriteCallback
xmlRelaxNGValidateDoc
xmlSchemaValPredefTypeNode
-xmlSchemaValidateDoc
+xmlSchemaValPredefTypeNodeNoNorm
xmlSchemaValidateFacet
xmlSchemaValidatePredefinedType
-xmlSchemaValidateStream
xmlValidateNCName
xmlValidateNMToken
xmlValidateName
@@ -209,6 +208,7 @@ A:link, A:visited, A:active { text-decoration: underline }
Balanced
xmlParseBalancedChunkMemory
xmlParseBalancedChunkMemoryRecover
xmlParseEntity
+xmlParseInNodeContext
xmlSAXParseEntity
Base
_xmlParserInput
xmlNodeGetBase
diff --git a/doc/APIchunk1.html b/doc/APIchunk1.html index b1cbd066..92948607 100644 --- a/doc/APIchunk1.html +++ b/doc/APIchunk1.html @@ -63,6 +63,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlParseBalancedChunkMemoryRecover
xmlParseCDSect
xmlParseContent
+xmlParseInNodeContext
CDStart
xmlParseCDSect
CData
xmlParseCDSect
xmlRelaxNGValidatePushCData
@@ -154,6 +155,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlParseBalancedChunkMemoryRecover
xmlParseCharData
xmlParseContent
+xmlParseInNodeContext
CharRef
htmlParseCharRef
xmlCharEncOutFunc
xmlDecodeEntities
@@ -189,6 +191,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlParseBalancedChunkMemory
xmlParseBalancedChunkMemoryRecover
xmlParseChunk
+xmlParseInNodeContext
Cleanup
xmlCleanupCharEncodingHandlers
xmlCleanupParser
xmlCleanupPredefinedEntities
@@ -228,6 +231,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlParseBalancedChunkMemoryRecover
xmlParseComment
xmlParseContent
+xmlParseInNodeContext
xmlParseMarkupDecl
xmlParseMisc
Compare
xmlParseCharEncoding
diff --git a/doc/APIchunk10.html b/doc/APIchunk10.html index 1e47c61d..4a94fbd7 100644 --- a/doc/APIchunk10.html +++ b/doc/APIchunk10.html @@ -59,33 +59,6 @@ A:link, A:visited, A:active { text-decoration: underline } xmlXPathEvalPredicate
xmlXPathEvaluatePredicateResult
xmlXPathIdFunction
-
callbacks
_xmlParserCtxt
-docbCreatePushParserCtxt
-docbSAXParseDoc
-docbSAXParseFile
-fatalErrorSAXFunc
-htmlCreatePushParserCtxt
-htmlSAXParseDoc
-htmlSAXParseFile
-xlinkNodeDetectFunc
-xmlCleanupOutputCallbacks
-xmlCreateIOParserCtxt
-xmlCreatePushParserCtxt
-xmlKeepBlanksDefault
-xmlNanoFTPGet
-xmlNanoFTPList
-xmlParseBalancedChunkMemory
-xmlParseBalancedChunkMemoryRecover
-xmlParseExternalEntity
-xmlRegExecPushString
-xmlRegExecPushString2
-xmlRelaxNGGetParserErrors
-xmlRelaxNGSetParserErrors
-xmlSAXUserParseFile
-xmlSAXUserParseMemory
-xmlSchemaSetParserErrors
-xmlXPathFuncLookupFunc
-xmlXPathVariableLookupFunc
calling
_xmlXPathContext
xmlBuildRelativeURI
xmlC14NDocDumpMemory
@@ -285,6 +258,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlParseChunk
xmlParseEntity
xmlParseExternalEntity
+xmlParseInNodeContext
xmlSAXParseEntity
cleanly
xmlCheckHTTPInput
cleans
xmlNanoFTPScanProxy
@@ -511,6 +485,7 @@ A:link, A:visited, A:active { text-decoration: underline }
computed
_xmlEntity
xmlByteConsumed
xmlSchemaValPredefTypeNode
+xmlSchemaValPredefTypeNodeNoNorm
xmlSchemaValidatePredefinedType
concat
xmlXPathConcatFunction
concatenated
xmlStrcat
@@ -543,12 +518,12 @@ A:link, A:visited, A:active { text-decoration: underline }
conforming
xmlRegexpCompile
conforms
xmlCheckLanguageID
xmlSchemaValPredefTypeNode
+xmlSchemaValPredefTypeNodeNoNorm
xmlSchemaValidatePredefinedType
xmlValidateNCName
xmlValidateNMToken
xmlValidateName
xmlValidateQName
-
conjunction
xmlSchemaIsBuiltInTypeFacet
connection
xmlNanoFTPClose
xmlNanoFTPCloseConnection
xmlNanoFTPConnect
@@ -670,6 +645,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlParseElementDecl
contextual
xmlRelaxNGGetParserErrors
xmlRelaxNGSetParserErrors
+xmlSchemaGetParserErrors
xmlSchemaSetParserErrors
continuing
xmlXPathSubstringFunction
contrary
xmlNodeListGetRawString
@@ -790,6 +766,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlRegisterNodeDefault
cross
xmlSearchNs
crossed
xmlAutomataNewOnceTrans
+
cshema
XML_SCHEMAS_FINAL_DEFAULT_LIST
ctrio
xmlXPathIsInf
xmlXPathIsNaN
ctxt-
docbFreeParserCtxt
@@ -800,7 +777,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlValidityErrorFunc
xmlValidityWarningFunc
cur
xmlXPathAxisFunc
-
currently
xmlGcMemGet
+
currently
XML_SCHEMAS_INCLUDING_CONVERT_NS
+xmlGcMemGet
xmlMemGet
xmlMemUsed
xmlOutputBufferCreateFilename
diff --git a/doc/APIchunk11.html b/doc/APIchunk11.html index 3d93f8ea..4363ea62 100644 --- a/doc/APIchunk11.html +++ b/doc/APIchunk11.html @@ -36,7 +36,7 @@ A:link, A:visited, A:active { text-decoration: underline } x-x y-z

Letter d:

dangerous
xmlTextReaderCurrentNode
-
database
xmlSchemaGetBuiltInListSimpleTypeItemType
+
datatype
xmlSchemaGetBuiltInListSimpleTypeItemType
day
ftpListCallback
day:minute
ftpListCallback
deactivated
xmlTextReaderRelaxNGSetSchema
@@ -99,7 +99,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlCatalogSetDebug
xmlXPathDebugDumpObject
decimal
xmlXPathStringFunction
-
decl
xmlAddAttributeDecl
+
decl
_xmlSchemaAttribute
+xmlAddAttributeDecl
xmlNewElementContent
declarations
_xmlXPathContext
htmlParseCharRef
@@ -163,6 +164,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlParseBalancedChunkMemory
xmlParseBalancedChunkMemoryRecover
xmlParseElementContentDecl
+xmlParseInNodeContext
+xmlSchemaGetBuiltInListSimpleTypeItemType
xmlSearchNs
xmlSearchNsByHref
xmlTextReaderIsDefault
@@ -409,6 +412,9 @@ A:link, A:visited, A:active { text-decoration: underline }
disable
xmlCatalogSetDebug
disabled
_xmlParserCtxt
disabling
xmlNoNetExternalEntityLoader
+
disallowed
XML_SCHEMAS_ELEM_BLOCK_EXTENSION
+XML_SCHEMAS_ELEM_BLOCK_RESTRICTION
+XML_SCHEMAS_ELEM_BLOCK_SUBSTITUTION
discard
xmlParserInputRead
discarding
xmlParseAttValue
xmlValidCtxtNormalizeAttributeValue
@@ -460,6 +466,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlResetLastError
xmlSaveDoc
xmlSaveTree
+xmlSchemaValPredefTypeNodeNoNorm
xmlURIEscape
xmlURIUnescapeString
xmlValidateAttributeDecl
diff --git a/doc/APIchunk12.html b/doc/APIchunk12.html index 8a45c82e..b95f20f3 100644 --- a/doc/APIchunk12.html +++ b/doc/APIchunk12.html @@ -42,6 +42,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlHashScanFull
xmlHashScanFull3
xmlParseAttributeType
+xmlSetGenericErrorFunc
+xmlSetStructuredErrorFunc
xmlValidateOneElement
xmlXPathIdFunction
xmlXPathSubstringFunction
@@ -69,7 +71,6 @@ A:link, A:visited, A:active { text-decoration: underline } xmlParseMarkupDecl
elements
XML_CATALOGS_NAMESPACE
XML_COMPLETE_ATTRS
-XML_SCHEMAS_ATTR_GLOBAL
XML_SCHEMAS_ATTR_NSDEFAULT
XML_SCHEMAS_ELEM_NSDEFAULT
XML_SCHEMAS_QUALIF_ELEM
@@ -248,6 +249,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlHashAddEntry3
xmlRelaxNGGetParserErrors
xmlRelaxNGSetParserErrors
+xmlSchemaGetParserErrors
xmlSchemaSetParserErrors
xmlShellCmd
escape
docbEncodeEntities
@@ -272,6 +274,7 @@ A:link, A:visited, A:active { text-decoration: underline }
established
xmlNanoFTPUpdateURL
etc
xmlDocGetRootElement
xmlDocSetRootElement
+xmlParseInNodeContext
evaluate
xmlXPathEvalExpr
evaluated
xmlXPathEvalPredicate
xmlXPathEvaluatePredicateResult
@@ -299,7 +302,6 @@ A:link, A:visited, A:active { text-decoration: underline } xmlTextWriterFullEndElement
xmlXPathRoundFunction
events
htmlSAXParseDoc
-xmlSchemaValidateStream
everywhere
xmlSAXParseFileWithData
xmlSAXParseMemoryWithData
exact
xmlGetBufferAllocationScheme
@@ -321,6 +323,7 @@ A:link, A:visited, A:active { text-decoration: underline }
excluding
IS_CHAR
xmlXPathNextFollowing
xmlXPathNextPreceding
+
exclusions
XML_SCHEMAS_ELEM_FINAL_ABSENT
exclusive
xmlC14NDocDumpMemory
xmlC14NDocSave
xmlC14NDocSaveTo
@@ -365,7 +368,8 @@ A:link, A:visited, A:active { text-decoration: underline } xlinkExtendedLinkSetFunk
xmlXPathNodeSetMerge
xmlXPtrLocationSetMerge
-
extension
XML_SCHEMAS_FINAL_DEFAULT_EXTENSION
+
extension
XML_SCHEMAS_BLOCK_DEFAULT_EXTENSION
+XML_SCHEMAS_FINAL_DEFAULT_EXTENSION
XML_SCHEMAS_TYPE_DERIVATION_METHOD_EXTENSION
XML_SCHEMAS_TYPE_FINAL_EXTENSION
extensions
_xmlSAXHandler
diff --git a/doc/APIchunk13.html b/doc/APIchunk13.html index c8d0dc79..bb0e4de2 100644 --- a/doc/APIchunk13.html +++ b/doc/APIchunk13.html @@ -43,7 +43,6 @@ A:link, A:visited, A:active { text-decoration: underline } _xmlSchemaFacetLink
xmlSchemaCheckFacet
xmlSchemaFreeFacet
-xmlSchemaIsBuiltInTypeFacet
xmlSchemaValidateFacet
xmlSchemaValidateListSimpleTypeFacet
facets
xmlSchemaCheckFacet
@@ -103,6 +102,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlSaveFileTo
xmlSaveFormatFile
xmlSaveFormatFileTo
+xmlSchemaGetParserErrors
fallback
XINCLUDE_FALLBACK
docbSAXParseDoc
docbSAXParseFile
@@ -158,8 +158,7 @@ A:link, A:visited, A:active { text-decoration: underline }
filled
xmlGetFeaturesList
fills
xmlParseURIReference
filters
xmlParseEncodingDecl
-
final
XML_SCHEMAS_TYPE_FINAL_DEFAULT
-XML_SCHEMAS_TYPE_FINAL_EXTENSION
+
final
XML_SCHEMAS_TYPE_FINAL_EXTENSION
XML_SCHEMAS_TYPE_FINAL_LIST
XML_SCHEMAS_TYPE_FINAL_RESTRICTION
XML_SCHEMAS_TYPE_FINAL_UNION
@@ -192,7 +191,8 @@ A:link, A:visited, A:active { text-decoration: underline }
fit
xmlCharEncFirstLine
xmlCharEncInFunc
xmlCharEncOutFunc
-
fixed
XML_SCHEMAS_ELEM_FIXED
+
fixed
XML_SCHEMAS_ATTR_FIXED
+XML_SCHEMAS_ELEM_FIXED
xmlParseDefaultDecl
flag
htmlSetMetaEncoding
initxmlDefaultSAXHandler
@@ -368,7 +368,6 @@ A:link, A:visited, A:active { text-decoration: underline } xmlRelaxNGSetParserErrors
xmlRelaxNGSetValidErrors
xmlSchemaSetParserErrors
-xmlSchemaSetValidErrors
xmlShellCmd
xmlSwitchEncoding
xmlSwitchInputEncoding
diff --git a/doc/APIchunk14.html b/doc/APIchunk14.html index 25e7b6de..bd6a539d 100644 --- a/doc/APIchunk14.html +++ b/doc/APIchunk14.html @@ -142,11 +142,13 @@ A:link, A:visited, A:active { text-decoration: underline } xmlCopyPropList
grammar:
xmlParseBalancedChunkMemory
xmlParseBalancedChunkMemoryRecover
+xmlParseInNodeContext
greater
xmlXPathCompareValues
xmlXPathFloorFunction
xmlXPathSubstringFunction
greater-than
xmlNewTextChild
-
group
_xmlSchemaAttribute
+
group
XML_SCHEMAS_ELEM_FINAL_ABSENT
+_xmlSchemaAttribute
_xmlSchemaAttributeGroup
ftpListCallback
groups
xmlParseElementChildrenContentDecl
@@ -180,6 +182,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlSAXParseFileWithData
xmlSAXParseMemory
xmlSAXParseMemoryWithData
+xmlSchemaGetParserErrors
xmlSchemaSetParserErrors
xmlSetGenericErrorFunc
xmlTextReaderPreserve
diff --git a/doc/APIchunk15.html b/doc/APIchunk15.html index 8b2c0b30..4a291293 100644 --- a/doc/APIchunk15.html +++ b/doc/APIchunk15.html @@ -147,7 +147,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlXIncludeProcessFlags
xmlXIncludeProcessTreeFlags
xmlXIncludeSetFlags
-
including
attribute
+
including
XML_SCHEMAS_INCLUDING_CONVERT_NS
+attribute
attributeSAXFunc
ftpListCallback
startElement
@@ -265,7 +266,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlNanoHTTPOpenRedir
xmlNewTextReader
xmlRelaxNGGetParserErrors
-xmlSchemaValidateStream
+xmlSchemaGetParserErrors
xmlXPathOrderDocElems
informations
_xmlAttr
_xmlDoc
@@ -287,7 +288,6 @@ A:link, A:visited, A:active { text-decoration: underline } xmlRelaxParserSetFlag
xmlSAX2EndElementNs
xmlSAX2StartElementNs
-xmlSchemaSetValidErrors
xmlShellDir
xmlXIncludeProcessNode
informative
_xmlError
@@ -495,6 +495,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlHashUpdateEntry2
xmlHashUpdateEntry3
xmlNanoFTPDele
+xmlSchemaGetBuiltInListSimpleTypeItemType
xmlXPathNodeSetItem
items
valuePush
xmlHashCopy
diff --git a/doc/APIchunk16.html b/doc/APIchunk16.html index 5925e83c..5fdd0c87 100644 --- a/doc/APIchunk16.html +++ b/doc/APIchunk16.html @@ -177,6 +177,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlXPathDebugDumpObject
lexical
xmlParseDefaultDecl
xmlSchemaValPredefTypeNode
+xmlSchemaValPredefTypeNodeNoNorm
xmlSchemaValidateFacet
xmlSchemaValidateListSimpleTypeFacet
xmlSchemaValidatePredefinedType
diff --git a/doc/APIchunk17.html b/doc/APIchunk17.html index e33e1b41..2abb3c69 100644 --- a/doc/APIchunk17.html +++ b/doc/APIchunk17.html @@ -261,6 +261,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlGetFeaturesList
moved
xmlTextReaderMoveToElement
much
xmlReconciliateNs
+
multi-threaded
xmlSetGenericErrorFunc
+xmlSetStructuredErrorFunc
multi-threading
xmlCleanupGlobals
xmlInitGlobals
multiple
xmlCurrentChar
diff --git a/doc/APIchunk18.html b/doc/APIchunk18.html index 87e4387a..b4d1e0fa 100644 --- a/doc/APIchunk18.html +++ b/doc/APIchunk18.html @@ -63,6 +63,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlDocCopyNode
xmlFreeNsList
xmlGetProp
+xmlParseInNodeContext
xmlReconciliateNs
naming
xmlChildrenNode
xmlRootNode
@@ -214,6 +215,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlParserInputBufferGrow
normalization
xmlNormalizeURIPath
xmlParseSDDecl
+xmlSchemaValPredefTypeNodeNoNorm
xmlValidCtxtNormalizeAttributeValue
xmlValidNormalizeAttributeValue
normalization:
xmlCurrentChar
diff --git a/doc/APIchunk19.html b/doc/APIchunk19.html index cb284a11..baa72dee 100644 --- a/doc/APIchunk19.html +++ b/doc/APIchunk19.html @@ -48,7 +48,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlXPathMultValues
xmlXPathSubValues
obligated
xmlParseEntityRef
-
obsolete
xmlNormalizeWindowsPath
+
obsolete
_xmlSchemaAttribute
+xmlNormalizeWindowsPath
obsolete:
XML_SCHEMAS_ELEM_TOPLEVEL
occupied
xmlCanonicPath
occur
xmlParseComment
@@ -219,7 +220,6 @@ A:link, A:visited, A:active { text-decoration: underline } xmlOutputBufferWriteEscape
xmlParseMisc
xmlPatterncompile
-xmlSchemaValidateStream
xmlShellSave
xmlShellValidate
xmlURIUnescapeString
@@ -258,7 +258,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlStrncat
xmlStrncatNew
xmlXPathObjectCopy
-
other
htmlAutoCloseTag
+
other
XML_SCHEMAS_INCLUDING_CONVERT_NS
+htmlAutoCloseTag
htmlIsAutoClosed
htmlNodeStatus
xmlCatalogAdd
diff --git a/doc/APIchunk2.html b/doc/APIchunk2.html index 253ef959..f3d78e44 100644 --- a/doc/APIchunk2.html +++ b/doc/APIchunk2.html @@ -89,6 +89,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlParserHandlePEReference
Data
xmlParseCDSect
Datatype
xmlRegexpCompile
+
Datatypes
xmlSchemaGetBuiltInListSimpleTypeItemType
Deallocate
xmlFreeAttributeTable
xmlFreeElementTable
xmlFreeEntitiesTable
@@ -342,7 +343,6 @@ A:link, A:visited, A:active { text-decoration: underline } xmlXPathEvaluatePredicateResult
xmlXPtrEval
xmlXPtrEvalRangePredicate
-
Evaluates
xmlSchemaIsBuiltInTypeFacet
Everything
_xmlParserCtxt
setDocumentLocator
setDocumentLocatorSAXFunc
diff --git a/doc/APIchunk20.html b/doc/APIchunk20.html index da5d8b7f..476ffa4f 100644 --- a/doc/APIchunk20.html +++ b/doc/APIchunk20.html @@ -79,6 +79,8 @@ A:link, A:visited, A:active { text-decoration: underline }
partial
xmlOutputBufferWrite
xmlOutputBufferWriteEscape
xmlOutputBufferWriteString
+
particle
_xmlSchemaAttribute
+_xmlSchemaElement
particular
_xmlNodeSet
pass
xmlCurrentChar
xmlRelaxParserSetFlag
@@ -193,11 +195,10 @@ A:link, A:visited, A:active { text-decoration: underline } xmlCharEncodingOutputFunc
xmlRelaxNGValidateDoc
xmlSchemaValPredefTypeNode
-xmlSchemaValidateDoc
+xmlSchemaValPredefTypeNodeNoNorm
xmlSchemaValidateFacet
xmlSchemaValidateListSimpleTypeFacet
xmlSchemaValidatePredefinedType
-xmlSchemaValidateStream
xmlTextReaderPreservePattern
xmlValidateNCName
xmlValidateNMToken
@@ -245,7 +246,6 @@ A:link, A:visited, A:active { text-decoration: underline } xmlPatternMatch
xmlRegNewExecCtxt
xmlRelaxNGNewValidCtxt
-xmlSchemaNewValidCtxt
xmlTextReaderRelaxNGSetSchema
xmlXPathDebugDumpCompExpr
precomputed
xmlSchemaValidateFacet
@@ -258,6 +258,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlInitializePredefinedEntities
xmlParseReference
xmlSchemaValPredefTypeNode
+xmlSchemaValPredefTypeNodeNoNorm
xmlSchemaValidatePredefinedType
predicate
xmlXPathEvalPredicate
xmlXPathEvaluatePredicateResult
@@ -320,8 +321,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlSAXDefaultVersion
xmlSubstituteEntitiesDefault
xmlXPathAxisFunc
-
primitive
XML_SCHEMAS_TYPE_BUILTIN_PRIMITIVE
-xmlXPathConvertFunc
+
primitive
xmlXPathConvertFunc
print
xmlShellPrintNode
xmlSnprintfElementContent
xmlSprintfElementContent
@@ -457,7 +457,6 @@ A:link, A:visited, A:active { text-decoration: underline } xmlOutputMatchCallback
xmlSaveFormatFile
xmlSaveFormatFileEnc
-xmlSchemaValidateStream
xmlUTF8Strloc
xmlUTF8Strpos
provides
endElementNsSAX2Func
diff --git a/doc/APIchunk21.html b/doc/APIchunk21.html index 0b0a6572..fb106894 100644 --- a/doc/APIchunk21.html +++ b/doc/APIchunk21.html @@ -136,8 +136,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlTextReaderReadString
xmlTextReaderRelaxNGSetSchema
reader-
xmlTextReaderGetRemainder
-
reading
xmlSchemaValidateStream
-xmlShell
+
reading
xmlShell
ready
INPUT_CHUNK
xmlAutomataCompile
realloc
_xmlBuffer
@@ -485,7 +484,6 @@ A:link, A:visited, A:active { text-decoration: underline } xmlRelaxNGFreeParserCtxt
xmlRelaxNGFreeValidCtxt
xmlSchemaFreeParserCtxt
-xmlSchemaFreeValidCtxt
xmlTextReaderClose
xmlXIncludeSetFlags
respecting
xmlValidGetValidElements
@@ -496,7 +494,9 @@ A:link, A:visited, A:active { text-decoration: underline }
restored
xmlTextReaderSetErrorHandler
xmlTextReaderSetStructuredErrorHandler
restrict
xmlParseExternalID
-
restriction
XML_SCHEMAS_FINAL_DEFAULT_RESTRICTION
+
restriction
XML_SCHEMAS_BLOCK_DEFAULT_RESTRICTION
+XML_SCHEMAS_ELEM_BLOCK_RESTRICTION
+XML_SCHEMAS_FINAL_DEFAULT_RESTRICTION
XML_SCHEMAS_TYPE_DERIVATION_METHOD_RESTRICTION
XML_SCHEMAS_TYPE_FINAL_RESTRICTION
results
xmlXPathEqualValues
diff --git a/doc/APIchunk22.html b/doc/APIchunk22.html index 2ff0f34b..bf8060aa 100644 --- a/doc/APIchunk22.html +++ b/doc/APIchunk22.html @@ -119,9 +119,7 @@ A:link, A:visited, A:active { text-decoration: underline }
schemas
xmlRelaxNGNewDocParserCtxt
xmlRelaxNGNewMemParserCtxt
xmlSchemaNewMemParserCtxt
-xmlSchemaValidateDoc
xmlSchemaValidateFacet
-xmlSchemaValidateStream
scheme
_xmlURI
xmlBufferSetAllocationScheme
xmlGetBufferAllocationScheme
@@ -166,7 +164,9 @@ A:link, A:visited, A:active { text-decoration: underline }
self
xmlXPathNextSelf
semantic
xmlXPathNodeSetFreeNs
separated
xmlLoadCatalogs
-
separately
xmlValidateAttributeDecl
+
separately
xmlSetGenericErrorFunc
+xmlSetStructuredErrorFunc
+xmlValidateAttributeDecl
xmlValidateOneAttribute
xmlValidateOneElement
xmlValidateOneNamespace
@@ -182,6 +182,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlParseAttValue
xmlParseBalancedChunkMemory
xmlParseBalancedChunkMemoryRecover
+xmlParseInNodeContext
xmlParserAddNodeInfo
xmlParserFindNodeInfoIndex
xmlUTF8Strlen
@@ -254,12 +255,6 @@ A:link, A:visited, A:active { text-decoration: underline } xmlShellSave
xmlShellValidate
xmlShellWrite
-
shema
XML_SCHEMAS_FINAL_DEFAULT_EXTENSION
-XML_SCHEMAS_FINAL_DEFAULT_LIST
-XML_SCHEMAS_FINAL_DEFAULT_RESTRICTION
-XML_SCHEMAS_FINAL_DEFAULT_UNION
-
shemas
XML_SCHEMAS_QUALIF_ATTR
-XML_SCHEMAS_QUALIF_ELEM
shorten
xmlDebugDumpString
shorthand
xmlTextReaderConstPrefix
xmlTextReaderPrefix
@@ -311,9 +306,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlNewMutex
xmlSchemaGetBuiltInListSimpleTypeItemType
xmlSchemaValidateListSimpleTypeFacet
-
simpleType
XML_SCHEMAS_TYPE_BUILTIN_PRIMITIVE
-XML_SCHEMAS_TYPE_FINAL_DEFAULT
-XML_SCHEMAS_TYPE_FINAL_LIST
+
simpleType
XML_SCHEMAS_TYPE_FINAL_LIST
XML_SCHEMAS_TYPE_FINAL_RESTRICTION
XML_SCHEMAS_TYPE_FINAL_UNION
XML_SCHEMAS_TYPE_VARIETY_ABSENT
@@ -405,28 +398,6 @@ A:link, A:visited, A:active { text-decoration: underline } xmlReaderNewIO
sourceforge
xmlXPathIsInf
xmlXPathIsNaN
-
space
_xmlParserCtxt
-xmlBufferGrow
-xmlBuildQName
-xmlCharEncodingInputFunc
-xmlCharEncodingOutputFunc
-xmlLoadCatalogs
-xmlNodeGetSpacePreserve
-xmlNodeSetSpacePreserve
-xmlParseAttValue
-xmlParseSDDecl
-xmlSchemaValPredefTypeNode
-xmlSchemaValidatePredefinedType
-xmlSearchNs
-xmlSkipBlankChars
-xmlTextReaderNormalization
-xmlValidCtxtNormalizeAttributeValue
-xmlValidNormalizeAttributeValue
-xmlValidateNCName
-xmlValidateNMToken
-xmlValidateName
-xmlValidateQName
-xmlXPathNormalizeFunction
spaces
_xmlParserCtxt
htmlDocContentDumpFormatOutput
htmlDocContentDumpOutput
@@ -477,7 +448,6 @@ A:link, A:visited, A:active { text-decoration: underline } _xmlXPathContext
xmlNoNetExternalEntityLoader
xmlParseNamespace
-xmlSchemaIsBuiltInTypeFacet
specification
XML_XML_NAMESPACE
xmlTextReaderNormalization
specifications
xmlParseSDDecl
@@ -694,6 +664,7 @@ A:link, A:visited, A:active { text-decoration: underline }
subset?
hasExternalSubsetSAXFunc
subsets
xmlGetParameterEntity
xmlValidateDtdFinal
+
substituion
XML_SCHEMAS_ELEM_BLOCK_SUBSTITUTION
substituted
XML_SUBSTITUTE_BOTH
XML_SUBSTITUTE_NONE
XML_SUBSTITUTE_PEREF
@@ -702,34 +673,16 @@ A:link, A:visited, A:active { text-decoration: underline } xmlNodeGetContent
xmlParseEntityValue
substituting
xmlSubstituteEntitiesDefault
-
substitution
_xmlEntity
-_xmlParserCtxt
-xmlDecodeEntities
-xmlEncodeEntitiesReentrant
-xmlEncodeSpecialChars
-xmlGetNoNsProp
-xmlGetNsProp
-xmlGetProp
-xmlHasNsProp
-xmlKeepBlanksDefault
-xmlLineNumbersDefault
-xmlParseAttValue
-xmlPedanticParserDefault
+
substitutions
XML_SCHEMAS_ELEM_BLOCK_EXTENSION
xmlStringDecodeEntities
xmlStringLenDecodeEntities
-xmlSubstituteEntitiesDefault
-xmlXIncludeProcess
-xmlXIncludeProcessFlags
-xmlXIncludeProcessNode
-xmlXIncludeProcessTree
-xmlXIncludeProcessTreeFlags
-
substitutions
xmlStringDecodeEntities
-xmlStringLenDecodeEntities
xmlXIncludeProcess
xmlXIncludeProcessFlags
xmlXIncludeProcessNode
xmlXIncludeProcessTree
xmlXIncludeProcessTreeFlags
+
substitutions:
XML_SCHEMAS_ELEM_BLOCK_RESTRICTION
+XML_SCHEMAS_ELEM_BLOCK_SUBSTITUTION
substring
xmlNodeAddContent
xmlNodeAddContentLen
xmlStrsub
diff --git a/doc/APIchunk23.html b/doc/APIchunk23.html index d6f98e23..842ee563 100644 --- a/doc/APIchunk23.html +++ b/doc/APIchunk23.html @@ -194,6 +194,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlIsMainThread
xmlLoadCatalog
xmlLoadCatalogs
+xmlSetGenericErrorFunc
+xmlSetStructuredErrorFunc
through
xmlBuildRelativeURI
xmlCreatePushParserCtxt
xmlDecodeEntities
diff --git a/doc/APIchunk24.html b/doc/APIchunk24.html index e1b2e2b3..df5a637d 100644 --- a/doc/APIchunk24.html +++ b/doc/APIchunk24.html @@ -186,6 +186,7 @@ A:link, A:visited, A:active { text-decoration: underline }

Letter v:

val1
xmlXPtrLocationSetMerge
validated
xmlCharInRange
validates
xmlSchemaValPredefTypeNode
+xmlSchemaValPredefTypeNodeNoNorm
xmlSchemaValidatePredefinedType
xmlValidateDocument
xmlValidateNCName
diff --git a/doc/APIchunk25.html b/doc/APIchunk25.html index a4a9ff85..d734f7c8 100644 --- a/doc/APIchunk25.html +++ b/doc/APIchunk25.html @@ -59,8 +59,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlRelaxNGSetParserErrors
xmlRelaxNGSetValidErrors
xmlSAX2InitDefaultSAXHandler
+xmlSchemaGetParserErrors
xmlSchemaSetParserErrors
-xmlSchemaSetValidErrors
xmlSearchNs
xmlTextReaderSetErrorHandler
xmlTextReaderSetStructuredErrorHandler
@@ -88,9 +88,11 @@ A:link, A:visited, A:active { text-decoration: underline } xmlParseBalancedChunkMemoryRecover
xmlParseCtxtExternalEntity
xmlParseExternalEntity
+xmlParseInNodeContext
xmlSAX2StartElementNs
well-balanced
xmlParseBalancedChunkMemory
xmlParseBalancedChunkMemoryRecover
+xmlParseInNodeContext
well-formed
xmlParseCtxtExternalEntity
xmlParseEntityRef
xmlParseExtParsedEnt
@@ -175,6 +177,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlParseCharData
xmlParseComment
xmlParseCtxtExternalEntity
+xmlParseInNodeContext
xmlParseMarkupDecl
xmlParseSDDecl
xmlParserFindNodeInfo
diff --git a/doc/APIchunk3.html b/doc/APIchunk3.html index 792838c0..41806469 100644 --- a/doc/APIchunk3.html +++ b/doc/APIchunk3.html @@ -83,6 +83,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlParseComment
xmlParseElementChildrenContentDecl
xmlResetLastError
+xmlSetGenericErrorFunc
+xmlSetStructuredErrorFunc
xmlXPathSubstringAfterFunction
xmlXPathSubstringBeforeFunction
xmlXPathSubstringFunction
@@ -145,6 +147,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlRelaxNGGetValidErrors
xmlSAX2GetEntity
xmlSAX2GetParameterEntity
+xmlSchemaGetParserErrors
xmlTextReaderConstString
xmlTextReaderNodeType
xmlXPathGetContextNode
diff --git a/doc/APIchunk4.html b/doc/APIchunk4.html index 082a8bc3..7cced339 100644 --- a/doc/APIchunk4.html +++ b/doc/APIchunk4.html @@ -105,7 +105,6 @@ A:link, A:visited, A:active { text-decoration: underline } htmlEntityValueLookup
htmlTagLookup
xmlGetEncodingAlias
-xmlSchemaGetBuiltInListSimpleTypeItemType
xmlSchemaGetPredefinedType
Loose
_htmlElemDesc
LowSurrogates
xmlUCSIsLowSurrogates
diff --git a/doc/APIchunk5.html b/doc/APIchunk5.html index ab4f07ae..46dba93f 100644 --- a/doc/APIchunk5.html +++ b/doc/APIchunk5.html @@ -118,6 +118,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlParseDefaultDecl
xmlParseExternalEntity
xmlParseExternalID
+xmlParseInNodeContext
xmlParseQuotedString
xmlParseURI
xmlParseURIReference
diff --git a/doc/APIchunk6.html b/doc/APIchunk6.html index 6405972e..ee106b48 100644 --- a/doc/APIchunk6.html +++ b/doc/APIchunk6.html @@ -114,6 +114,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlParseCharRef
xmlParseContent
xmlParseEntityValue
+xmlParseInNodeContext
xmlParseReference
xmlParserHandleReference
xmlStringDecodeEntities
@@ -306,7 +307,6 @@ A:link, A:visited, A:active { text-decoration: underline } xmlSchemaNewDocParserCtxt
xmlSchemaNewMemParserCtxt
xmlSchemaNewParserCtxt
-xmlSchemaNewValidCtxt
Script
htmlIsScriptAttribute
Search
xmlFindCharEncodingHandler
xmlGetCharEncodingHandler
@@ -365,7 +365,6 @@ A:link, A:visited, A:active { text-decoration: underline } xmlSaveSetAttrEscape
xmlSaveSetEscape
xmlSchemaSetParserErrors
-xmlSchemaSetValidErrors
xmlSetBufferAllocationScheme
xmlSetEntityReferenceFunc
xmlSetNsProp
diff --git a/doc/APIchunk8.html b/doc/APIchunk8.html index 4251a7a3..0c31d9d9 100644 --- a/doc/APIchunk8.html +++ b/doc/APIchunk8.html @@ -39,8 +39,6 @@ A:link, A:visited, A:active { text-decoration: underline }
Validate
XML_SCHEMAS_ANY_LAX
xmlRelaxNGValidateDoc
xmlRelaxNGValidateFullElement
-xmlSchemaValidateDoc
-xmlSchemaValidateStream
xmlShellValidate
xmlValidateAttributeValue
xmlValidateNameValue
@@ -88,6 +86,7 @@ A:link, A:visited, A:active { text-decoration: underline }
Well
xmlParseBalancedChunkMemory
xmlParseBalancedChunkMemoryRecover
xmlParseEntity
+xmlParseInNodeContext
xmlRecoverDoc
xmlRecoverFile
xmlRecoverMemory
@@ -169,6 +168,7 @@ A:link, A:visited, A:active { text-decoration: underline }
XML_ELEMENT_DECL
_xmlElement
XML_ELEMENT_TYPE_xxx
xmlParseElementContentDecl
XML_ENTITY_DECL
_xmlEntity
+
XML_ERR_OK
xmlParseInNodeContext
XML_SCHEMAS_ELEM_GLOBAL
XML_SCHEMAS_ELEM_TOPLEVEL
XML_SUBSTITUTE_PEREF
xmlDecodeEntities
xmlStringDecodeEntities
@@ -178,6 +178,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlStringLenDecodeEntities
XML_xxx_yyy_ENTITY
xmlAddDocEntity
xmlAddDtdEntity
+
XMl-Schema
xmlSchemaGetParserErrors
XPATH
xmlXPathFreeCompExpr
XPATH_INVALID_ARITY
xmlXPathSetArityError
XPATH_INVALID_TYPE
xmlXPathSetTypeError
@@ -241,7 +242,10 @@ A:link, A:visited, A:active { text-decoration: underline } xmlTextWriterWriteRawLen
above
xmlParseMarkupDecl
xmlXPathSubstringFunction
-
absent
XML_SCHEMAS_TYPE_VARIETY_ABSENT
+
absent
XML_SCHEMAS_ELEM_BLOCK_ABSENT
+XML_SCHEMAS_ELEM_BLOCK_EXTENSION
+XML_SCHEMAS_ELEM_FINAL_ABSENT
+XML_SCHEMAS_TYPE_VARIETY_ABSENT
absoluteURI
xmlParseURI
xmlParseURIReference
abstract
XML_SCHEMAS_ELEM_ABSTRACT
@@ -428,8 +432,7 @@ A:link, A:visited, A:active { text-decoration: underline }
allocator
DEBUG_MEMORY
allocators
xmlGcMemGet
xmlGcMemSetup
-
allow
XML_SCHEMAS_ATTR_GLOBAL
-XML_SCHEMAS_ATTR_NSDEFAULT
+
allow
XML_SCHEMAS_ATTR_NSDEFAULT
XML_SCHEMAS_ELEM_NSDEFAULT
docbCreatePushParserCtxt
htmlAttrAllowed
@@ -460,6 +463,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlNodeDumpOutput
xmlParseBalancedChunkMemory
xmlParseBalancedChunkMemoryRecover
+xmlParseInNodeContext
xmlValidGetPotentialChildren
xmlXPathNormalizeFunction
allowing
xmlNoNetExternalEntityLoader
@@ -592,6 +596,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlParseAttValue
xmlSAX2ResolveEntity
xmlSetExternalEntityLoader
+
applications
xmlSetGenericErrorFunc
+xmlSetStructuredErrorFunc
applied
xmlHashCopy
xmlHashScan
xmlHashScan3
@@ -603,6 +609,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlListWalk
xmlParseMarkupDecl
xmlParseSDDecl
+xmlSchemaValPredefTypeNodeNoNorm
xmlValidateRoot
applying
xmlGetNsList
xmlXPathIdFunction
diff --git a/doc/APIchunk9.html b/doc/APIchunk9.html index 392f9107..81b8f4be 100644 --- a/doc/APIchunk9.html +++ b/doc/APIchunk9.html @@ -45,6 +45,7 @@ A:link, A:visited, A:active { text-decoration: underline }
bahaviour
xmlTextReaderNormalization
balanced
xmlParseBalancedChunkMemory
xmlParseBalancedChunkMemoryRecover
+xmlParseInNodeContext
bar
xmlXPathTranslateFunction
base64
xmlTextWriterWriteBase64
based
xmlGetCompressMode
@@ -54,7 +55,6 @@ A:link, A:visited, A:active { text-decoration: underline } xmlNewInputFromFile
xmlNewStringInputStream
xmlRelaxNGNewValidCtxt
-xmlSchemaNewValidCtxt
xmlSetCompressMode
xmlSetDocCompressMode
xmlStrcat
@@ -178,6 +178,9 @@ A:link, A:visited, A:active { text-decoration: underline }
bloc
xmlParseBalancedChunkMemory
xmlParseBalancedChunkMemoryRecover
xmlParseExternalEntity
+
blockDefault
XML_SCHEMAS_BLOCK_DEFAULT_EXTENSION
+XML_SCHEMAS_BLOCK_DEFAULT_RESTRICTION
+XML_SCHEMAS_BLOCK_DEFAULT_SUBSTITUTION
blocked
xmlGcMemSetup
xmlMemSetup
blocking
xmlNanoFTPRead
@@ -263,10 +266,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlSchemaGetBuiltInType
xmlSchemaParse
xmlTextReaderNextSibling
-
built-in
XML_SCHEMAS_TYPE_BUILTIN_PRIMITIVE
-xmlSchemaGetBuiltInListSimpleTypeItemType
+
built-in
xmlSchemaGetBuiltInListSimpleTypeItemType
xmlSchemaGetBuiltInType
-xmlSchemaIsBuiltInTypeFacet
builtin
initGenericErrorDefaultFunc
bunch
xmlParseNamespace
bypass
xmlParseCatalogFile
diff --git a/doc/APIconstructors.html b/doc/APIconstructors.html index 0bf62247..9a839cca 100644 --- a/doc/APIconstructors.html +++ b/doc/APIconstructors.html @@ -83,6 +83,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlSaveTree
xmlXPathOrderDocElems

Type unsigned long:

xmlParserFindNodeInfoIndex
+xmlSchemaGetFacetValueAsULong

Type void *:

xmlCatalogAddLocal
xmlFileOpen
xmlHashCopier
@@ -418,6 +419,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlCreatePushParserCtxt
xmlCreateURLParserCtxt
xmlNewParserCtxt
+

Type xmlParserErrors:

xmlParseInNodeContext

Type xmlParserInputBufferCreateFilenameFunc:

xmlParserInputBufferCreateFilenameDefault
xmlThrDefParserInputBufferCreateFilenameDefault

Type xmlParserInputBufferPtr:

xmlAllocParserInputBuffer
diff --git a/doc/APIfiles.html b/doc/APIfiles.html index ded3c987..24aad0cf 100644 --- a/doc/APIfiles.html +++ b/doc/APIfiles.html @@ -597,6 +597,7 @@ A:link, A:visited, A:active { text-decoration: underline } XML_PARSE_NOERROR
XML_PARSE_NONET
XML_PARSE_NOWARNING
+XML_PARSE_NOXINCNODE
XML_PARSE_NSCLEAN
XML_PARSE_PEDANTIC
XML_PARSE_PUSH_DOM
@@ -686,6 +687,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlParseExtParsedEnt
xmlParseExternalEntity
xmlParseFile
+xmlParseInNodeContext
xmlParseMemory
xmlParserAddNodeInfo
xmlParserFindNodeInfo
@@ -937,12 +939,17 @@ A:link, A:visited, A:active { text-decoration: underline } XML_SCHEMAS_ANY_STRICT
XML_SCHEMAS_ATTRGROUP_GLOBAL
XML_SCHEMAS_ATTRGROUP_WILDCARD_BUILDED
+XML_SCHEMAS_ATTR_FIXED
XML_SCHEMAS_ATTR_GLOBAL
+XML_SCHEMAS_ATTR_INTERNAL_RESOLVED
XML_SCHEMAS_ATTR_NSDEFAULT
XML_SCHEMAS_ATTR_USE_OPTIONAL
XML_SCHEMAS_ATTR_USE_PROHIBITED
XML_SCHEMAS_ATTR_USE_REQUIRED
XML_SCHEMAS_BASE64BINARY
+XML_SCHEMAS_BLOCK_DEFAULT_EXTENSION
+XML_SCHEMAS_BLOCK_DEFAULT_RESTRICTION
+XML_SCHEMAS_BLOCK_DEFAULT_SUBSTITUTION
XML_SCHEMAS_BOOLEAN
XML_SCHEMAS_BYTE
XML_SCHEMAS_DATE
@@ -951,9 +958,18 @@ A:link, A:visited, A:active { text-decoration: underline } XML_SCHEMAS_DOUBLE
XML_SCHEMAS_DURATION
XML_SCHEMAS_ELEM_ABSTRACT
+XML_SCHEMAS_ELEM_BLOCK_ABSENT
+XML_SCHEMAS_ELEM_BLOCK_EXTENSION
+XML_SCHEMAS_ELEM_BLOCK_RESTRICTION
+XML_SCHEMAS_ELEM_BLOCK_SUBSTITUTION
+XML_SCHEMAS_ELEM_CIRCULAR
XML_SCHEMAS_ELEM_DEFAULT
+XML_SCHEMAS_ELEM_FINAL_ABSENT
+XML_SCHEMAS_ELEM_FINAL_EXTENSION
+XML_SCHEMAS_ELEM_FINAL_RESTRICTION
XML_SCHEMAS_ELEM_FIXED
XML_SCHEMAS_ELEM_GLOBAL
+XML_SCHEMAS_ELEM_INTERNAL_RESOLVED
XML_SCHEMAS_ELEM_NILLABLE
XML_SCHEMAS_ELEM_NSDEFAULT
XML_SCHEMAS_ELEM_REF
@@ -978,6 +994,7 @@ A:link, A:visited, A:active { text-decoration: underline } XML_SCHEMAS_ID
XML_SCHEMAS_IDREF
XML_SCHEMAS_IDREFS
+XML_SCHEMAS_INCLUDING_CONVERT_NS
XML_SCHEMAS_INT
XML_SCHEMAS_INTEGER
XML_SCHEMAS_LANGUAGE
@@ -2030,6 +2047,11 @@ A:link, A:visited, A:active { text-decoration: underline } XML_SCHEMAP_ELEM_DEFAULT_FIXED
XML_SCHEMAP_ELEM_NONAME_NOREF
XML_SCHEMAP_EXTENSION_NO_BASE
+XML_SCHEMAP_E_PROPS_CORRECT_2
+XML_SCHEMAP_E_PROPS_CORRECT_3
+XML_SCHEMAP_E_PROPS_CORRECT_4
+XML_SCHEMAP_E_PROPS_CORRECT_5
+XML_SCHEMAP_E_PROPS_CORRECT_6
XML_SCHEMAP_FACET_NO_VALUE
XML_SCHEMAP_FAILED_BUILD_IMPORT
XML_SCHEMAP_FAILED_LOAD
@@ -2060,7 +2082,12 @@ A:link, A:visited, A:active { text-decoration: underline } XML_SCHEMAP_NOTHING_TO_PARSE
XML_SCHEMAP_NOTYPE_NOREF
XML_SCHEMAP_NOT_SCHEMA
+XML_SCHEMAP_NO_XMLNS
+XML_SCHEMAP_NO_XSI
XML_SCHEMAP_PREFIX_UNDEFINED
+XML_SCHEMAP_P_PROPS_CORRECT_1
+XML_SCHEMAP_P_PROPS_CORRECT_2_1
+XML_SCHEMAP_P_PROPS_CORRECT_2_2
XML_SCHEMAP_RECURSIVE
XML_SCHEMAP_REDEFINED_ATTR
XML_SCHEMAP_REDEFINED_ATTRGROUP
@@ -2072,13 +2099,24 @@ A:link, A:visited, A:active { text-decoration: underline } XML_SCHEMAP_REF_AND_SUBTYPE
XML_SCHEMAP_REGEXP_INVALID
XML_SCHEMAP_RESTRICTION_NONAME_NOREF
+XML_SCHEMAP_S4S_ATTR_INVALID_VALUE
XML_SCHEMAP_S4S_ATTR_MISSING
XML_SCHEMAP_S4S_ATTR_NOT_ALLOWED
XML_SCHEMAP_S4S_ELEM_MISSING
XML_SCHEMAP_S4S_ELEM_NOT_ALLOWED
XML_SCHEMAP_SIMPLETYPE_NONAME
+XML_SCHEMAP_SRC_ATTRIBUTE_1
+XML_SCHEMAP_SRC_ATTRIBUTE_2
+XML_SCHEMAP_SRC_ATTRIBUTE_3_1
+XML_SCHEMAP_SRC_ATTRIBUTE_3_2
+XML_SCHEMAP_SRC_ATTRIBUTE_4
+XML_SCHEMAP_SRC_ELEMENT_1
+XML_SCHEMAP_SRC_ELEMENT_2_1
+XML_SCHEMAP_SRC_ELEMENT_2_2
+XML_SCHEMAP_SRC_ELEMENT_3
XML_SCHEMAP_SRC_IMPORT_3_1
XML_SCHEMAP_SRC_IMPORT_3_2
+XML_SCHEMAP_SRC_INCLUDE
XML_SCHEMAP_SRC_LIST_ITEMTYPE_OR_SIMPLETYPE
XML_SCHEMAP_SRC_RESOLVE
XML_SCHEMAP_SRC_RESTRICTION_BASE_OR_SIMPLETYPE
@@ -2446,6 +2484,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlSchemaFree
xmlSchemaFreeParserCtxt
xmlSchemaFreeValidCtxt
+xmlSchemaGetParserErrors
+xmlSchemaGetValidErrors
xmlSchemaNewDocParserCtxt
xmlSchemaNewMemParserCtxt
xmlSchemaNewParserCtxt
@@ -2471,12 +2511,15 @@ A:link, A:visited, A:active { text-decoration: underline } xmlSchemaFreeValue
xmlSchemaGetBuiltInListSimpleTypeItemType
xmlSchemaGetBuiltInType
+xmlSchemaGetFacetValueAsULong
xmlSchemaGetPredefinedType
xmlSchemaInitTypes
xmlSchemaIsBuiltInTypeFacet
xmlSchemaNewFacet
xmlSchemaValPredefTypeNode
+xmlSchemaValPredefTypeNodeNoNorm
xmlSchemaValidateFacet
+xmlSchemaValidateLengthFacet
xmlSchemaValidateListSimpleTypeFacet
xmlSchemaValidatePredefinedType

Module xmlstring:

BAD_CAST
diff --git a/doc/APIfunctions.html b/doc/APIfunctions.html index 51215188..25002af4 100644 --- a/doc/APIfunctions.html +++ b/doc/APIfunctions.html @@ -327,7 +327,9 @@ A:link, A:visited, A:active { text-decoration: underline } xmlSchemaCollapseString
xmlSchemaGetPredefinedType
xmlSchemaValPredefTypeNode
+xmlSchemaValPredefTypeNodeNoNorm
xmlSchemaValidateFacet
+xmlSchemaValidateLengthFacet
xmlSchemaValidateListSimpleTypeFacet
xmlSchemaValidatePredefinedType
xmlSearchNs
@@ -573,7 +575,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlIsPubidChar

Type unsigned long:

ftpListCallback
xmlSchemaValidateListSimpleTypeFacet
-

Type unsigned long *:

xmlSchemaValidateListSimpleTypeFacet
+

Type unsigned long *:

xmlSchemaValidateLengthFacet
+xmlSchemaValidateListSimpleTypeFacet

Type va_list:

xmlStrVPrintf
xmlTextWriterWriteVFormatAttribute
xmlTextWriterWriteVFormatAttributeNS
@@ -823,6 +826,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlXPathWrapExternal

Type void **:

xmlRelaxNGGetParserErrors
xmlRelaxNGGetValidErrors
+xmlSchemaGetParserErrors
+xmlSchemaGetValidErrors
xmlTextReaderGetErrorHandler

Type xlinkActuate *:

xlinkExtendedLinkFunk

Type xlinkHandlerPtr:

xlinkSetDefaultHandler
@@ -1361,6 +1366,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlNodeSetLang
xmlNodeSetName
xmlNodeSetSpacePreserve
+xmlParseInNodeContext
xmlPatternMatch
xmlReconciliateNs
xmlRegisterNodeFunc
@@ -1370,6 +1376,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlReplaceNode
xmlSaveTree
xmlSchemaValPredefTypeNode
+xmlSchemaValPredefTypeNodeNoNorm
xmlSearchNs
xmlSearchNsByHref
xmlSetListDoc
@@ -1445,6 +1452,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlParseBalancedChunkMemoryRecover
xmlParseCtxtExternalEntity
xmlParseExternalEntity
+xmlParseInNodeContext

Type xmlNodeSetPtr:

xmlC14NDocDumpMemory
xmlC14NDocSave
xmlC14NDocSaveTo
@@ -1735,10 +1743,13 @@ A:link, A:visited, A:active { text-decoration: underline } xmlSaveTree

Type xmlSchemaFacetPtr:

xmlSchemaCheckFacet
xmlSchemaFreeFacet
+xmlSchemaGetFacetValueAsULong
xmlSchemaValidateFacet
+xmlSchemaValidateLengthFacet
xmlSchemaValidateListSimpleTypeFacet

Type xmlSchemaParserCtxtPtr:

xmlSchemaCheckFacet
xmlSchemaFreeParserCtxt
+xmlSchemaGetParserErrors
xmlSchemaParse
xmlSchemaSetParserErrors

Type xmlSchemaPtr:

xmlSchemaDump
@@ -1749,22 +1760,31 @@ A:link, A:visited, A:active { text-decoration: underline } xmlSchemaGetBuiltInListSimpleTypeItemType
xmlSchemaIsBuiltInTypeFacet
xmlSchemaValPredefTypeNode
+xmlSchemaValPredefTypeNodeNoNorm
xmlSchemaValidateFacet
+xmlSchemaValidateLengthFacet
xmlSchemaValidatePredefinedType

Type xmlSchemaValPtr:

xmlSchemaCompareValues
xmlSchemaFreeValue
xmlSchemaValidateFacet
+xmlSchemaValidateLengthFacet

Type xmlSchemaValPtr *:

xmlSchemaValPredefTypeNode
+xmlSchemaValPredefTypeNodeNoNorm
xmlSchemaValidatePredefinedType

Type xmlSchemaValType:

xmlSchemaGetBuiltInType

Type xmlSchemaValidCtxtPtr:

xmlSchemaFreeValidCtxt
+xmlSchemaGetValidErrors
xmlSchemaSetValidErrors
xmlSchemaValidateDoc
xmlSchemaValidateStream

Type xmlSchemaValidityErrorFunc:

xmlSchemaSetParserErrors
xmlSchemaSetValidErrors
+

Type xmlSchemaValidityErrorFunc *:

xmlSchemaGetParserErrors
+xmlSchemaGetValidErrors

Type xmlSchemaValidityWarningFunc:

xmlSchemaSetParserErrors
xmlSchemaSetValidErrors
+

Type xmlSchemaValidityWarningFunc *:

xmlSchemaGetParserErrors
+xmlSchemaGetValidErrors

Type xmlSchemaWildcardPtr:

xmlSchemaFreeWildcard

Type xmlShellCtxtPtr:

xmlShellBase
xmlShellCat
diff --git a/doc/APIsymbols.html b/doc/APIsymbols.html index 21e1c2d6..7c24ef6f 100644 --- a/doc/APIsymbols.html +++ b/doc/APIsymbols.html @@ -488,6 +488,7 @@ A:link, A:visited, A:active { text-decoration: underline } XML_PARSE_NOERROR
XML_PARSE_NONET
XML_PARSE_NOWARNING
+XML_PARSE_NOXINCNODE
XML_PARSE_NSCLEAN
XML_PARSE_PEDANTIC
XML_PARSE_PUSH_DOM
@@ -734,6 +735,11 @@ A:link, A:visited, A:active { text-decoration: underline } XML_SCHEMAP_ELEM_DEFAULT_FIXED
XML_SCHEMAP_ELEM_NONAME_NOREF
XML_SCHEMAP_EXTENSION_NO_BASE
+XML_SCHEMAP_E_PROPS_CORRECT_2
+XML_SCHEMAP_E_PROPS_CORRECT_3
+XML_SCHEMAP_E_PROPS_CORRECT_4
+XML_SCHEMAP_E_PROPS_CORRECT_5
+XML_SCHEMAP_E_PROPS_CORRECT_6
XML_SCHEMAP_FACET_NO_VALUE
XML_SCHEMAP_FAILED_BUILD_IMPORT
XML_SCHEMAP_FAILED_LOAD
@@ -764,7 +770,12 @@ A:link, A:visited, A:active { text-decoration: underline } XML_SCHEMAP_NOTHING_TO_PARSE
XML_SCHEMAP_NOTYPE_NOREF
XML_SCHEMAP_NOT_SCHEMA
+XML_SCHEMAP_NO_XMLNS
+XML_SCHEMAP_NO_XSI
XML_SCHEMAP_PREFIX_UNDEFINED
+XML_SCHEMAP_P_PROPS_CORRECT_1
+XML_SCHEMAP_P_PROPS_CORRECT_2_1
+XML_SCHEMAP_P_PROPS_CORRECT_2_2
XML_SCHEMAP_RECURSIVE
XML_SCHEMAP_REDEFINED_ATTR
XML_SCHEMAP_REDEFINED_ATTRGROUP
@@ -776,13 +787,24 @@ A:link, A:visited, A:active { text-decoration: underline } XML_SCHEMAP_REF_AND_SUBTYPE
XML_SCHEMAP_REGEXP_INVALID
XML_SCHEMAP_RESTRICTION_NONAME_NOREF
+XML_SCHEMAP_S4S_ATTR_INVALID_VALUE
XML_SCHEMAP_S4S_ATTR_MISSING
XML_SCHEMAP_S4S_ATTR_NOT_ALLOWED
XML_SCHEMAP_S4S_ELEM_MISSING
XML_SCHEMAP_S4S_ELEM_NOT_ALLOWED
XML_SCHEMAP_SIMPLETYPE_NONAME
+XML_SCHEMAP_SRC_ATTRIBUTE_1
+XML_SCHEMAP_SRC_ATTRIBUTE_2
+XML_SCHEMAP_SRC_ATTRIBUTE_3_1
+XML_SCHEMAP_SRC_ATTRIBUTE_3_2
+XML_SCHEMAP_SRC_ATTRIBUTE_4
+XML_SCHEMAP_SRC_ELEMENT_1
+XML_SCHEMAP_SRC_ELEMENT_2_1
+XML_SCHEMAP_SRC_ELEMENT_2_2
+XML_SCHEMAP_SRC_ELEMENT_3
XML_SCHEMAP_SRC_IMPORT_3_1
XML_SCHEMAP_SRC_IMPORT_3_2
+XML_SCHEMAP_SRC_INCLUDE
XML_SCHEMAP_SRC_LIST_ITEMTYPE_OR_SIMPLETYPE
XML_SCHEMAP_SRC_RESOLVE
XML_SCHEMAP_SRC_RESTRICTION_BASE_OR_SIMPLETYPE
@@ -838,12 +860,17 @@ A:link, A:visited, A:active { text-decoration: underline } XML_SCHEMAS_ANY_STRICT
XML_SCHEMAS_ATTRGROUP_GLOBAL
XML_SCHEMAS_ATTRGROUP_WILDCARD_BUILDED
+XML_SCHEMAS_ATTR_FIXED
XML_SCHEMAS_ATTR_GLOBAL
+XML_SCHEMAS_ATTR_INTERNAL_RESOLVED
XML_SCHEMAS_ATTR_NSDEFAULT
XML_SCHEMAS_ATTR_USE_OPTIONAL
XML_SCHEMAS_ATTR_USE_PROHIBITED
XML_SCHEMAS_ATTR_USE_REQUIRED
XML_SCHEMAS_BASE64BINARY
+XML_SCHEMAS_BLOCK_DEFAULT_EXTENSION
+XML_SCHEMAS_BLOCK_DEFAULT_RESTRICTION
+XML_SCHEMAS_BLOCK_DEFAULT_SUBSTITUTION
XML_SCHEMAS_BOOLEAN
XML_SCHEMAS_BYTE
XML_SCHEMAS_DATE
@@ -852,9 +879,18 @@ A:link, A:visited, A:active { text-decoration: underline } XML_SCHEMAS_DOUBLE
XML_SCHEMAS_DURATION
XML_SCHEMAS_ELEM_ABSTRACT
+XML_SCHEMAS_ELEM_BLOCK_ABSENT
+XML_SCHEMAS_ELEM_BLOCK_EXTENSION
+XML_SCHEMAS_ELEM_BLOCK_RESTRICTION
+XML_SCHEMAS_ELEM_BLOCK_SUBSTITUTION
+XML_SCHEMAS_ELEM_CIRCULAR
XML_SCHEMAS_ELEM_DEFAULT
+XML_SCHEMAS_ELEM_FINAL_ABSENT
+XML_SCHEMAS_ELEM_FINAL_EXTENSION
+XML_SCHEMAS_ELEM_FINAL_RESTRICTION
XML_SCHEMAS_ELEM_FIXED
XML_SCHEMAS_ELEM_GLOBAL
+XML_SCHEMAS_ELEM_INTERNAL_RESOLVED
XML_SCHEMAS_ELEM_NILLABLE
XML_SCHEMAS_ELEM_NSDEFAULT
XML_SCHEMAS_ELEM_REF
@@ -905,6 +941,7 @@ A:link, A:visited, A:active { text-decoration: underline } XML_SCHEMAS_ID
XML_SCHEMAS_IDREF
XML_SCHEMAS_IDREFS
+XML_SCHEMAS_INCLUDING_CONVERT_NS
XML_SCHEMAS_INT
XML_SCHEMAS_INTEGER
XML_SCHEMAS_LANGUAGE
@@ -2069,6 +2106,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlParseExternalID
xmlParseExternalSubset
xmlParseFile
+xmlParseInNodeContext
xmlParseMarkupDecl
xmlParseMemory
xmlParseMisc
@@ -2343,7 +2381,10 @@ A:link, A:visited, A:active { text-decoration: underline } xmlSchemaFreeWildcard
xmlSchemaGetBuiltInListSimpleTypeItemType
xmlSchemaGetBuiltInType
+xmlSchemaGetFacetValueAsULong
+xmlSchemaGetParserErrors
xmlSchemaGetPredefinedType
+xmlSchemaGetValidErrors
xmlSchemaInitTypes
xmlSchemaIsBuiltInTypeFacet
xmlSchemaNewDocParserCtxt
@@ -2366,6 +2407,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlSchemaTypeType
xmlSchemaVal
xmlSchemaValPredefTypeNode
+xmlSchemaValPredefTypeNodeNoNorm
xmlSchemaValPtr
xmlSchemaValType
xmlSchemaValidCtxt
@@ -2373,6 +2415,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlSchemaValidError
xmlSchemaValidateDoc
xmlSchemaValidateFacet
+xmlSchemaValidateLengthFacet
xmlSchemaValidateListSimpleTypeFacet
xmlSchemaValidatePredefinedType
xmlSchemaValidateStream
diff --git a/doc/html/book1.html b/doc/html/book1.html index b976eef5..3f1deee1 100644 --- a/doc/html/book1.html +++ b/doc/html/book1.html @@ -10,4 +10,4 @@ A:link, A:visited, A:active { text-decoration: underline } Reference Manual for libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Reference Manual for libxml2

API Menu
API Indexes
Related links

Table of Contents

  • DOCBparser: old DocBook SGML parser
  • HTMLparser: interface for an HTML 4.0 non-verifying parser
  • HTMLtree: specific APIs to process HTML tree, especially serialization
  • SAX: Old SAX version 1 handler, deprecated
  • SAX2: SAX2 parser interface used to build the DOM tree
  • c14n: Provide Canonical XML and Exclusive XML Canonicalization
  • catalog: interfaces to the Catalog handling system
  • chvalid: Unicode character range checking
  • debugXML: Tree debugging APIs
  • dict: string dictionnary
  • encoding: interface for the encoding conversion functions
  • entities: interface for the XML entities handling
  • globals: interface for all global variables of the library
  • hash: chained hash tables
  • list: lists interfaces
  • nanoftp: minimal FTP implementation
  • nanohttp: minimal HTTP implementation
  • parser: the core parser module
  • parserInternals: internals routines exported by the parser.
  • pattern: pattern expression handling
  • relaxng: implementation of the Relax-NG validation
  • schemasInternals: internal interfaces for XML Schemas
  • threads: interfaces for thread handling
  • tree: interfaces for tree manipulation
  • uri: library of generic URI related routines
  • valid: The DTD validation
  • xinclude: implementation of XInclude
  • xlink: unfinished XLink detection module
  • xmlIO: interface for the I/O interfaces used by the parser
  • xmlautomata: API to build regexp automata
  • xmlerror: error handling
  • xmlexports: macros for marking symbols as exportable/importable.
  • xmlmemory: interface for the memory allocator
  • xmlreader: the XMLReader implementation
  • xmlregexp: regular expressions handling
  • xmlsave: the XML document serializer
  • xmlschemas: incomplete XML Schemas structure implementation
  • xmlschemastypes: implementation of XML Schema Datatypes
  • xmlstring: set of routines to process strings
  • xmlunicode: Unicode character APIs
  • xmlversion: compile-time version informations
  • xmlwriter: text writing API for XML
  • xpath: XML Path Language implementation
  • xpathInternals: internal interfaces for XML Path Language implementation
  • xpointer: API to handle XML Pointers

Daniel Veillard

+ Reference Manual for libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Reference Manual for libxml2

API Menu
API Indexes
Related links

Table of Contents

  • DOCBparser: old DocBook SGML parser
  • HTMLparser: interface for an HTML 4.0 non-verifying parser
  • HTMLtree: specific APIs to process HTML tree, especially serialization
  • SAX: Old SAX version 1 handler, deprecated
  • SAX2: SAX2 parser interface used to build the DOM tree
  • c14n: Provide Canonical XML and Exclusive XML Canonicalization
  • catalog: interfaces to the Catalog handling system
  • chvalid: Unicode character range checking
  • debugXML: Tree debugging APIs
  • dict: string dictionnary
  • encoding: interface for the encoding conversion functions
  • entities: interface for the XML entities handling
  • globals: interface for all global variables of the library
  • hash: chained hash tables
  • list: lists interfaces
  • nanoftp: minimal FTP implementation
  • nanohttp: minimal HTTP implementation
  • parser: the core parser module
  • parserInternals: internals routines exported by the parser.
  • pattern: pattern expression handling
  • relaxng: implementation of the Relax-NG validation
  • schemasInternals: internal interfaces for XML Schemas
  • threads: interfaces for thread handling
  • tree: interfaces for tree manipulation
  • uri: library of generic URI related routines
  • valid: The DTD validation
  • xinclude: implementation of XInclude
  • xlink: unfinished XLink detection module
  • xmlIO: interface for the I/O interfaces used by the parser
  • xmlautomata: API to build regexp automata
  • xmlerror: error handling
  • xmlexports: macros for marking symbols as exportable/importable.
  • xmlmemory: interface for the memory allocator
  • xmlreader: the XMLReader implementation
  • xmlregexp: regular expressions handling
  • xmlsave: the XML document serializer
  • xmlschemas: incomplete XML Schemas structure implementation
  • xmlschemastypes: implementation of XML Schema Datatypes
  • xmlstring: set of routines to process strings
  • xmlunicode: Unicode character APIs
  • xmlversion: compile-time version informations
  • xmlwriter: text writing API for XML
  • xpath: XML Path Language implementation
  • xpathInternals: internal interfaces for XML Path Language implementation
  • xpointer: API to handle XML Pointers

Daniel Veillard

diff --git a/doc/html/index.html b/doc/html/index.html index b976eef5..3f1deee1 100644 --- a/doc/html/index.html +++ b/doc/html/index.html @@ -10,4 +10,4 @@ A:link, A:visited, A:active { text-decoration: underline } Reference Manual for libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Reference Manual for libxml2

API Menu
API Indexes
Related links

Table of Contents

  • DOCBparser: old DocBook SGML parser
  • HTMLparser: interface for an HTML 4.0 non-verifying parser
  • HTMLtree: specific APIs to process HTML tree, especially serialization
  • SAX: Old SAX version 1 handler, deprecated
  • SAX2: SAX2 parser interface used to build the DOM tree
  • c14n: Provide Canonical XML and Exclusive XML Canonicalization
  • catalog: interfaces to the Catalog handling system
  • chvalid: Unicode character range checking
  • debugXML: Tree debugging APIs
  • dict: string dictionnary
  • encoding: interface for the encoding conversion functions
  • entities: interface for the XML entities handling
  • globals: interface for all global variables of the library
  • hash: chained hash tables
  • list: lists interfaces
  • nanoftp: minimal FTP implementation
  • nanohttp: minimal HTTP implementation
  • parser: the core parser module
  • parserInternals: internals routines exported by the parser.
  • pattern: pattern expression handling
  • relaxng: implementation of the Relax-NG validation
  • schemasInternals: internal interfaces for XML Schemas
  • threads: interfaces for thread handling
  • tree: interfaces for tree manipulation
  • uri: library of generic URI related routines
  • valid: The DTD validation
  • xinclude: implementation of XInclude
  • xlink: unfinished XLink detection module
  • xmlIO: interface for the I/O interfaces used by the parser
  • xmlautomata: API to build regexp automata
  • xmlerror: error handling
  • xmlexports: macros for marking symbols as exportable/importable.
  • xmlmemory: interface for the memory allocator
  • xmlreader: the XMLReader implementation
  • xmlregexp: regular expressions handling
  • xmlsave: the XML document serializer
  • xmlschemas: incomplete XML Schemas structure implementation
  • xmlschemastypes: implementation of XML Schema Datatypes
  • xmlstring: set of routines to process strings
  • xmlunicode: Unicode character APIs
  • xmlversion: compile-time version informations
  • xmlwriter: text writing API for XML
  • xpath: XML Path Language implementation
  • xpathInternals: internal interfaces for XML Path Language implementation
  • xpointer: API to handle XML Pointers

Daniel Veillard

+ Reference Manual for libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Reference Manual for libxml2

API Menu
API Indexes
Related links

Table of Contents

  • DOCBparser: old DocBook SGML parser
  • HTMLparser: interface for an HTML 4.0 non-verifying parser
  • HTMLtree: specific APIs to process HTML tree, especially serialization
  • SAX: Old SAX version 1 handler, deprecated
  • SAX2: SAX2 parser interface used to build the DOM tree
  • c14n: Provide Canonical XML and Exclusive XML Canonicalization
  • catalog: interfaces to the Catalog handling system
  • chvalid: Unicode character range checking
  • debugXML: Tree debugging APIs
  • dict: string dictionnary
  • encoding: interface for the encoding conversion functions
  • entities: interface for the XML entities handling
  • globals: interface for all global variables of the library
  • hash: chained hash tables
  • list: lists interfaces
  • nanoftp: minimal FTP implementation
  • nanohttp: minimal HTTP implementation
  • parser: the core parser module
  • parserInternals: internals routines exported by the parser.
  • pattern: pattern expression handling
  • relaxng: implementation of the Relax-NG validation
  • schemasInternals: internal interfaces for XML Schemas
  • threads: interfaces for thread handling
  • tree: interfaces for tree manipulation
  • uri: library of generic URI related routines
  • valid: The DTD validation
  • xinclude: implementation of XInclude
  • xlink: unfinished XLink detection module
  • xmlIO: interface for the I/O interfaces used by the parser
  • xmlautomata: API to build regexp automata
  • xmlerror: error handling
  • xmlexports: macros for marking symbols as exportable/importable.
  • xmlmemory: interface for the memory allocator
  • xmlreader: the XMLReader implementation
  • xmlregexp: regular expressions handling
  • xmlsave: the XML document serializer
  • xmlschemas: incomplete XML Schemas structure implementation
  • xmlschemastypes: implementation of XML Schema Datatypes
  • xmlstring: set of routines to process strings
  • xmlunicode: Unicode character APIs
  • xmlversion: compile-time version informations
  • xmlwriter: text writing API for XML
  • xpath: XML Path Language implementation
  • xpathInternals: internal interfaces for XML Path Language implementation
  • xpointer: API to handle XML Pointers

Daniel Veillard

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

Module DOCBparser from libxml2

API Menu
API Indexes
Related links

This module is deprecated

interface for a DocBook SGML non-verifying parser This code is DEPRECATED, and should not be used anymore.

Table of Contents

Typedef xmlParserInputPtr docbParserInputPtr
+    Module DOCBparser from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module DOCBparser from libxml2

API Menu
API Indexes
Related links

This module is deprecated

interface for a DocBook SGML non-verifying parser This code is DEPRECATED, and should not be used anymore.

Table of Contents

Typedef xmlParserInput docbParserInput
+
Typedef xmlParserInputPtr docbParserInputPtr
 
Typedef xmlParserCtxt docbParserCtxt
 
Typedef xmlParserCtxtPtr docbParserCtxtPtr
-
Typedef xmlParserInput docbParserInput
 
Typedef xmlDocPtr docbDocPtr
 
Typedef xmlSAXHandler docbSAXHandler
 
Typedef xmlSAXHandlerPtr docbSAXHandlerPtr
-
void	docbFreeParserCtxt		(docbParserCtxtPtr ctxt)
-
docbDocPtr	docbParseDoc		(xmlChar * cur, 
const char * encoding)
-
docbParserCtxtPtr	docbCreateFileParserCtxt	(const char * filename, 
const char * encoding)
-
docbDocPtr	docbSAXParseFile	(const char * filename, 
const char * encoding,
docbSAXHandlerPtr sax,
void * userData)
-
docbDocPtr	docbSAXParseDoc		(xmlChar * cur, 
const char * encoding,
docbSAXHandlerPtr sax,
void * userData)
-
docbParserCtxtPtr	docbCreatePushParserCtxt	(docbSAXHandlerPtr sax, 
void * user_data,
const char * chunk,
int size,
const char * filename,
xmlCharEncoding enc)
+
docbParserCtxtPtr	docbCreatePushParserCtxt	(docbSAXHandlerPtr sax, 
void * user_data,
const char * chunk,
int size,
const char * filename,
xmlCharEncoding enc)
int	docbEncodeEntities		(unsigned char * out, 
int * outlen,
const unsigned char * in,
int * inlen,
int quoteChar)
docbDocPtr	docbParseFile		(const char * filename, 
const char * encoding)
int	docbParseDocument		(docbParserCtxtPtr ctxt)
+
docbParserCtxtPtr	docbCreateFileParserCtxt	(const char * filename, 
const char * encoding)
+
docbDocPtr	docbParseDoc		(xmlChar * cur, 
const char * encoding)
+
docbDocPtr	docbSAXParseDoc		(xmlChar * cur, 
const char * encoding,
docbSAXHandlerPtr sax,
void * userData)
+
docbDocPtr	docbSAXParseFile	(const char * filename, 
const char * encoding,
docbSAXHandlerPtr sax,
void * userData)
int	docbParseChunk			(docbParserCtxtPtr ctxt, 
const char * chunk,
int size,
int terminate)
+
void	docbFreeParserCtxt		(docbParserCtxtPtr ctxt)

Description

-

Function: docbFreeParserCtxt

void	docbFreeParserCtxt		(docbParserCtxtPtr ctxt)
-

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

-
ctxt:an SGML parser context

Function: docbParseDoc

docbDocPtr	docbParseDoc		(xmlChar * cur, 
const char * encoding)
-

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

-
cur:a pointer to an array of xmlChar
encoding:a free form C string describing the SGML document encoding, or NULL
Returns:the resulting document tree

Function: docbCreateFileParserCtxt

docbParserCtxtPtr	docbCreateFileParserCtxt	(const char * filename, 
const char * encoding)
-

Create a parser context for a file content. Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time.

-
filename:the filename
encoding:the SGML document encoding, or NULL
Returns:the new parser context or NULL

Function: docbSAXParseFile

docbDocPtr	docbSAXParseFile	(const char * filename, 
const char * encoding,
docbSAXHandlerPtr sax,
void * userData)
-

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.

-
filename:the filename
encoding:a free form C string describing the SGML document encoding, or NULL
sax:the SAX handler block
userData:if using SAX, this pointer will be provided on callbacks.
Returns:the resulting document tree

Function: docbSAXParseDoc

docbDocPtr	docbSAXParseDoc		(xmlChar * cur, 
const char * encoding,
docbSAXHandlerPtr sax,
void * userData)
-

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.

-
cur:a pointer to an array of xmlChar
encoding:a free form C string describing the SGML document encoding, or NULL
sax:the SAX handler block
userData:if using SAX, this pointer will be provided on callbacks.
Returns:the resulting document tree

Function: docbCreatePushParserCtxt

docbParserCtxtPtr	docbCreatePushParserCtxt	(docbSAXHandlerPtr sax, 
void * user_data,
const char * chunk,
int size,
const char * filename,
xmlCharEncoding enc)
+

Function: docbCreatePushParserCtxt

docbParserCtxtPtr	docbCreatePushParserCtxt	(docbSAXHandlerPtr sax, 
void * user_data,
const char * chunk,
int size,
const char * filename,
xmlCharEncoding enc)

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.

sax:a SAX handler
user_data:The user data returned on SAX callbacks
chunk:a pointer to an array of chars
size:number of chars in the array
filename:an optional file name or URI
enc:an optional encoding
Returns:the new parser context or NULL

Function: docbEncodeEntities

int	docbEncodeEntities		(unsigned char * out, 
int * outlen,
const unsigned char * in,
int * inlen,
int quoteChar)

Take a block of UTF-8 chars in and try to convert it to an ASCII plus SGML entities block of chars out.

@@ -46,6 +36,16 @@ A:link, A:visited, A:active { text-decoration: underline }

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.

filename:the filename
encoding:a free form C string describing document encoding, or NULL
Returns:the resulting document tree

Function: docbParseDocument

int	docbParseDocument		(docbParserCtxtPtr ctxt)

parse an SGML document (and build a tree if using the standard SAX interface).

-
ctxt:an SGML parser context
Returns:0, -1 in case of error. the parser context is augmented as a result of the parsing.

Function: docbParseChunk

int	docbParseChunk			(docbParserCtxtPtr ctxt, 
const char * chunk,
int size,
int terminate)
+
ctxt:an SGML parser context
Returns:0, -1 in case of error. the parser context is augmented as a result of the parsing.

Function: docbCreateFileParserCtxt

docbParserCtxtPtr	docbCreateFileParserCtxt	(const char * filename, 
const char * encoding)
+

Create a parser context for a file content. Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time.

+
filename:the filename
encoding:the SGML document encoding, or NULL
Returns:the new parser context or NULL

Function: docbParseDoc

docbDocPtr	docbParseDoc		(xmlChar * cur, 
const char * encoding)
+

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

+
cur:a pointer to an array of xmlChar
encoding:a free form C string describing the SGML document encoding, or NULL
Returns:the resulting document tree

Function: docbSAXParseDoc

docbDocPtr	docbSAXParseDoc		(xmlChar * cur, 
const char * encoding,
docbSAXHandlerPtr sax,
void * userData)
+

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.

+
cur:a pointer to an array of xmlChar
encoding:a free form C string describing the SGML document encoding, or NULL
sax:the SAX handler block
userData:if using SAX, this pointer will be provided on callbacks.
Returns:the resulting document tree

Function: docbSAXParseFile

docbDocPtr	docbSAXParseFile	(const char * filename, 
const char * encoding,
docbSAXHandlerPtr sax,
void * userData)
+

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.

+
filename:the filename
encoding:a free form C string describing the SGML document encoding, or NULL
sax:the SAX handler block
userData:if using SAX, this pointer will be provided on callbacks.
Returns:the resulting document tree

Function: docbParseChunk

int	docbParseChunk			(docbParserCtxtPtr ctxt, 
const char * chunk,
int size,
int terminate)

Parse a Chunk of memory

-
ctxt:an XML parser context
chunk:an char array
size:the size in byte of the chunk
terminate:last chunk indicator
Returns:zero if no error, the xmlParserErrors otherwise.

Daniel Veillard

+
ctxt:an XML parser context
chunk:an char array
size:the size in byte of the chunk
terminate:last chunk indicator
Returns:zero if no error, the xmlParserErrors otherwise.

Function: docbFreeParserCtxt

void	docbFreeParserCtxt		(docbParserCtxtPtr ctxt)
+

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

+
ctxt:an SGML parser context

Daniel Veillard

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

Module HTMLparser from libxml2

API Menu
API Indexes
Related links

this module implements an HTML 4.0 non-verifying parser with API compatible with the XML parser ones. It should be able to parse "real world" HTML, even if severely broken from a specification point of view.

Table of Contents

#define htmlDefaultSubelement
#define htmlElementAllowedHereDesc
#define htmlRequiredAttrs
Typedef xmlDocPtr htmlDocPtr
+    Module HTMLparser from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module HTMLparser from libxml2

API Menu
API Indexes
Related links

this module implements an HTML 4.0 non-verifying parser with API compatible with the XML parser ones. It should be able to parse "real world" HTML, even if severely broken from a specification point of view.

Table of Contents

#define htmlDefaultSubelement
#define htmlElementAllowedHereDesc
#define htmlRequiredAttrs
Typedef xmlDocPtr htmlDocPtr
 
Structure htmlElemDesc
struct _htmlElemDesc
Typedef htmlElemDesc * htmlElemDescPtr
 
Structure htmlEntityDesc
struct _htmlEntityDesc diff --git a/doc/html/libxml-HTMLtree.html b/doc/html/libxml-HTMLtree.html index bf0ee0e9..670ab86d 100644 --- a/doc/html/libxml-HTMLtree.html +++ b/doc/html/libxml-HTMLtree.html @@ -10,7 +10,7 @@ A:link, A:visited, A:active { text-decoration: underline } Module HTMLtree from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module HTMLtree from libxml2

API Menu
API Indexes
Related links

this module implements a few function needed to process tree in an HTML specific way.

Table of Contents

#define HTML_COMMENT_NODE
#define HTML_ENTITY_REF_NODE
#define HTML_PI_NODE
#define HTML_PRESERVE_NODE
#define HTML_TEXT_NODE
void	htmlDocContentDumpFormatOutput	(xmlOutputBufferPtr buf, 
xmlDocPtr cur,
const char * encoding,
int format)
+ Module HTMLtree from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module HTMLtree from libxml2

API Menu
API Indexes
Related links

this module implements a few function needed to process tree in an HTML specific way.

Table of Contents

#define HTML_COMMENT_NODE
#define HTML_ENTITY_REF_NODE
#define HTML_PI_NODE
#define HTML_PRESERVE_NODE
#define HTML_TEXT_NODE
void	htmlDocContentDumpFormatOutput	(xmlOutputBufferPtr buf, 
xmlDocPtr cur,
const char * encoding,
int format)
void	htmlDocContentDumpOutput	(xmlOutputBufferPtr buf, 
xmlDocPtr cur,
const char * encoding)
int	htmlDocDump			(FILE * f, 
xmlDocPtr cur)
void	htmlDocDumpMemory		(xmlDocPtr cur, 
xmlChar ** mem,
int * size)
diff --git a/doc/html/libxml-SAX.html b/doc/html/libxml-SAX.html index d22169a4..944b143b 100644 --- a/doc/html/libxml-SAX.html +++ b/doc/html/libxml-SAX.html @@ -10,113 +10,113 @@ A:link, A:visited, A:active { text-decoration: underline } Module SAX from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module SAX from libxml2

API Menu
API Indexes
Related links

This module is deprecated

DEPRECATED set of SAX version 1 interfaces used to build the DOM tree.

Table of Contents

void	comment			(void * ctx, 
const xmlChar * value)
+ Module SAX from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module SAX from libxml2

API Menu
API Indexes
Related links

This module is deprecated

DEPRECATED set of SAX version 1 interfaces used to build the DOM tree.

Table of Contents

void	cdataBlock			(void * ctx, 
const xmlChar * value,
int len)
+
void	comment			(void * ctx, 
const xmlChar * value)
int	checkNamespace			(void * ctx, 
xmlChar * namespace)
-
int	getColumnNumber			(void * ctx)
-
void	entityDecl			(void * ctx, 
const xmlChar * name,
int type,
const xmlChar * publicId,
const xmlChar * systemId,
xmlChar * content)
-
void	attribute			(void * ctx, 
const xmlChar * fullname,
const xmlChar * value)
-
xmlNsPtr	getNamespace		(void * ctx)
-
void	setDocumentLocator		(void * ctx, 
xmlSAXLocatorPtr loc)
-
void	initxmlDefaultSAXHandler	(xmlSAXHandlerV1 * hdlr, 
int warning)
-
void	ignorableWhitespace		(void * ctx, 
const xmlChar * ch,
int len)
-
int	hasExternalSubset		(void * ctx)
-
void	unparsedEntityDecl		(void * ctx, 
const xmlChar * name,
const xmlChar * publicId,
const xmlChar * systemId,
const xmlChar * notationName)
-
void	globalNamespace			(void * ctx, 
const xmlChar * href,
const xmlChar * prefix)
-
int	hasInternalSubset		(void * ctx)
-
void	reference			(void * ctx, 
const xmlChar * name)
-
void	notationDecl			(void * ctx, 
const xmlChar * name,
const xmlChar * publicId,
const xmlChar * systemId)
-
const xmlChar *	getSystemId		(void * ctx)
-
void	externalSubset			(void * ctx, 
const xmlChar * name,
const xmlChar * ExternalID,
const xmlChar * SystemID)
-
xmlParserInputPtr	resolveEntity	(void * ctx, 
const xmlChar * publicId,
const xmlChar * systemId)
-
void	startDocument			(void * ctx)
-
void	setNamespace			(void * ctx, 
const xmlChar * name)
-
void	cdataBlock			(void * ctx, 
const xmlChar * value,
int len)
-
const xmlChar *	getPublicId		(void * ctx)
+
void	startElement			(void * ctx, 
const xmlChar * fullname,
const xmlChar ** atts)
void	inithtmlDefaultSAXHandler	(xmlSAXHandlerV1 * hdlr)
-
void	processingInstruction		(void * ctx, 
const xmlChar * target,
const xmlChar * data)
+
int	getColumnNumber			(void * ctx)
void	endElement			(void * ctx, 
const xmlChar * name)
+
void	attribute			(void * ctx, 
const xmlChar * fullname,
const xmlChar * value)
void	namespaceDecl			(void * ctx, 
const xmlChar * href,
const xmlChar * prefix)
+
xmlNsPtr	getNamespace		(void * ctx)
void	initdocbDefaultSAXHandler	(xmlSAXHandlerV1 * hdlr)
+
void	setDocumentLocator		(void * ctx, 
xmlSAXLocatorPtr loc)
+
const xmlChar *	getPublicId		(void * ctx)
xmlEntityPtr	getEntity		(void * ctx, 
const xmlChar * name)
void	characters			(void * ctx, 
const xmlChar * ch,
int len)
void	elementDecl			(void * ctx, 
const xmlChar * name,
int type,
xmlElementContentPtr content)
-
void	startElement			(void * ctx, 
const xmlChar * fullname,
const xmlChar ** atts)
+
void	ignorableWhitespace		(void * ctx, 
const xmlChar * ch,
int len)
+
int	hasExternalSubset		(void * ctx)
+
int	isStandalone			(void * ctx)
+
void	unparsedEntityDecl		(void * ctx, 
const xmlChar * name,
const xmlChar * publicId,
const xmlChar * systemId,
const xmlChar * notationName)
+
void	reference			(void * ctx, 
const xmlChar * name)
+
void	globalNamespace			(void * ctx, 
const xmlChar * href,
const xmlChar * prefix)
+
void	initxmlDefaultSAXHandler	(xmlSAXHandlerV1 * hdlr, 
int warning)
+
int	hasInternalSubset		(void * ctx)
+
void	processingInstruction		(void * ctx, 
const xmlChar * target,
const xmlChar * data)
xmlEntityPtr	getParameterEntity	(void * ctx, 
const xmlChar * name)
void	attributeDecl			(void * ctx, 
const xmlChar * elem,
const xmlChar * fullname,
int type,
int def,
const xmlChar * defaultValue,
xmlEnumerationPtr tree)
-
int	isStandalone			(void * ctx)
+
void	notationDecl			(void * ctx, 
const xmlChar * name,
const xmlChar * publicId,
const xmlChar * systemId)
+
void	entityDecl			(void * ctx, 
const xmlChar * name,
int type,
const xmlChar * publicId,
const xmlChar * systemId,
xmlChar * content)
+
void	setNamespace			(void * ctx, 
const xmlChar * name)
+
void	externalSubset			(void * ctx, 
const xmlChar * name,
const xmlChar * ExternalID,
const xmlChar * SystemID)
+
xmlParserInputPtr	resolveEntity	(void * ctx, 
const xmlChar * publicId,
const xmlChar * systemId)
+
const xmlChar *	getSystemId		(void * ctx)
+
void	startDocument			(void * ctx)
void	internalSubset			(void * ctx, 
const xmlChar * name,
const xmlChar * ExternalID,
const xmlChar * SystemID)
void	endDocument			(void * ctx)
int	getLineNumber			(void * ctx)

Description

-

Function: comment

void	comment			(void * ctx, 
const xmlChar * value)
+

Function: cdataBlock

void	cdataBlock			(void * ctx, 
const xmlChar * value,
int len)
+

called when a pcdata block has been parsed DEPRECATED: use xmlSAX2CDataBlock()

+
ctx:the user data (XML parser context)
value:The pcdata content
len:the block length

Function: comment

void	comment			(void * ctx, 
const xmlChar * value)

A comment has been parsed. DEPRECATED: use xmlSAX2Comment()

ctx:the user data (XML parser context)
value:the comment content

Function: checkNamespace

int	checkNamespace			(void * ctx, 
xmlChar * namespace)

Check that the current element namespace is the same as the one read upon parsing. DEPRECATED

-
ctx:the user data (XML parser context)
namespace:the namespace to check against
Returns:1 if true 0 otherwise

Function: getColumnNumber

int	getColumnNumber			(void * ctx)
-

Provide the column number of the current parsing point. DEPRECATED: use xmlSAX2GetColumnNumber()

-
ctx:the user data (XML parser context)
Returns:an int

Function: entityDecl

void	entityDecl			(void * ctx, 
const xmlChar * name,
int type,
const xmlChar * publicId,
const xmlChar * systemId,
xmlChar * content)
-

An entity definition has been parsed DEPRECATED: use xmlSAX2EntityDecl()

-
ctx:the user data (XML parser context)
name:the entity name
type:the entity type
publicId:The public ID of the entity
systemId:The system ID of the entity
content:the entity value (without processing).

Function: attribute

void	attribute			(void * ctx, 
const xmlChar * fullname,
const xmlChar * value)
-

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()

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

Function: getNamespace

xmlNsPtr	getNamespace		(void * ctx)
-

Get the current element namespace. DEPRECATED

-
ctx:the user data (XML parser context)
Returns:the xmlNsPtr or NULL if none

Function: setDocumentLocator

void	setDocumentLocator		(void * ctx, 
xmlSAXLocatorPtr loc)
-

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

-
ctx:the user data (XML parser context)
loc:A SAX Locator

Function: initxmlDefaultSAXHandler

void	initxmlDefaultSAXHandler	(xmlSAXHandlerV1 * hdlr, 
int warning)
-

Initialize the default XML SAX version 1 handler DEPRECATED: use xmlSAX2InitDefaultSAXHandler() for the new SAX2 blocks

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

Function: ignorableWhitespace

void	ignorableWhitespace		(void * ctx, 
const xmlChar * ch,
int len)
-

receiving some ignorable whitespaces from the parser. UNUSED: by default the DOM building will use characters DEPRECATED: use xmlSAX2IgnorableWhitespace()

-
ctx:the user data (XML parser context)
ch:a xmlChar string
len:the number of xmlChar

Function: hasExternalSubset

int	hasExternalSubset		(void * ctx)
-

Does this document has an external subset DEPRECATED: use xmlSAX2HasExternalSubset()

-
ctx:the user data (XML parser context)
Returns:1 if true

Function: unparsedEntityDecl

void	unparsedEntityDecl		(void * ctx, 
const xmlChar * name,
const xmlChar * publicId,
const xmlChar * systemId,
const xmlChar * notationName)
-

What to do when an unparsed entity declaration is parsed DEPRECATED: use xmlSAX2UnparsedEntityDecl()

-
ctx:the user data (XML parser context)
name:The name of the entity
publicId:The public ID of the entity
systemId:The system ID of the entity
notationName:the name of the notation

Function: globalNamespace

void	globalNamespace			(void * ctx, 
const xmlChar * href,
const xmlChar * prefix)
-

An old global namespace has been parsed. DEPRECATED

-
ctx:the user data (XML parser context)
href:the namespace associated URN
prefix:the namespace prefix

Function: hasInternalSubset

int	hasInternalSubset		(void * ctx)
-

Does this document has an internal subset DEPRECATED: use xmlSAX2HasInternalSubset()

-
ctx:the user data (XML parser context)
Returns:1 if true

Function: reference

void	reference			(void * ctx, 
const xmlChar * name)
-

called when an entity reference is detected. DEPRECATED: use xmlSAX2Reference()

-
ctx:the user data (XML parser context)
name:The entity name

Function: notationDecl

void	notationDecl			(void * ctx, 
const xmlChar * name,
const xmlChar * publicId,
const xmlChar * systemId)
-

What to do when a notation declaration has been parsed. DEPRECATED: use xmlSAX2NotationDecl()

-
ctx:the user data (XML parser context)
name:The name of the notation
publicId:The public ID of the entity
systemId:The system ID of the entity

Function: getSystemId

const xmlChar *	getSystemId		(void * ctx)
-

Provides the system ID, basically URL or filename e.g. http://www.sgmlsource.com/dtds/memo.dtd DEPRECATED: use xmlSAX2GetSystemId()

-
ctx:the user data (XML parser context)
Returns:a xmlChar *

Function: externalSubset

void	externalSubset			(void * ctx, 
const xmlChar * name,
const xmlChar * ExternalID,
const xmlChar * SystemID)
-

Callback on external subset declaration. DEPRECATED: use xmlSAX2ExternalSubset()

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

Function: resolveEntity

xmlParserInputPtr	resolveEntity	(void * ctx, 
const xmlChar * publicId,
const xmlChar * systemId)
-

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()

-
ctx:the user data (XML parser context)
publicId:The public ID of the entity
systemId:The system ID of the entity
Returns:the xmlParserInputPtr if inlined or NULL for DOM behaviour.

Function: startDocument

void	startDocument			(void * ctx)
-

called when the document start being processed. DEPRECATED: use xmlSAX2StartDocument()

-
ctx:the user data (XML parser context)

Function: setNamespace

void	setNamespace			(void * ctx, 
const xmlChar * name)
-

Set the current element namespace. DEPRECATED

-
ctx:the user data (XML parser context)
name:the namespace prefix

Function: cdataBlock

void	cdataBlock			(void * ctx, 
const xmlChar * value,
int len)
-

called when a pcdata block has been parsed DEPRECATED: use xmlSAX2CDataBlock()

-
ctx:the user data (XML parser context)
value:The pcdata content
len:the block length

Function: getPublicId

const xmlChar *	getPublicId		(void * ctx)
-

Provides the public ID e.g. "-//SGMLSOURCE//DTD DEMO//EN" DEPRECATED: use xmlSAX2GetPublicId()

-
ctx:the user data (XML parser context)
Returns:a xmlChar *

Function: inithtmlDefaultSAXHandler

void	inithtmlDefaultSAXHandler	(xmlSAXHandlerV1 * hdlr)
+
ctx:the user data (XML parser context)
namespace:the namespace to check against
Returns:1 if true 0 otherwise

Function: startElement

void	startElement			(void * ctx, 
const xmlChar * fullname,
const xmlChar ** atts)
+

called when an opening tag has been processed. DEPRECATED: use xmlSAX2StartElement()

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

Function: inithtmlDefaultSAXHandler

void	inithtmlDefaultSAXHandler	(xmlSAXHandlerV1 * hdlr)

Initialize the default HTML SAX version 1 handler DEPRECATED: use xmlSAX2InitHtmlDefaultSAXHandler() for the new SAX2 blocks

-
hdlr:the SAX handler

Function: processingInstruction

void	processingInstruction		(void * ctx, 
const xmlChar * target,
const xmlChar * data)
-

A processing instruction has been parsed. DEPRECATED: use xmlSAX2ProcessingInstruction()

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

Function: endElement

void	endElement			(void * ctx, 
const xmlChar * name)
+
hdlr:the SAX handler

Function: getColumnNumber

int	getColumnNumber			(void * ctx)
+

Provide the column number of the current parsing point. DEPRECATED: use xmlSAX2GetColumnNumber()

+
ctx:the user data (XML parser context)
Returns:an int

Function: endElement

void	endElement			(void * ctx, 
const xmlChar * name)

called when the end of an element has been detected. DEPRECATED: use xmlSAX2EndElement()

-
ctx:the user data (XML parser context)
name:The element name

Function: namespaceDecl

void	namespaceDecl			(void * ctx, 
const xmlChar * href,
const xmlChar * prefix)
+
ctx:the user data (XML parser context)
name:The element name

Function: attribute

void	attribute			(void * ctx, 
const xmlChar * fullname,
const xmlChar * value)
+

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()

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

Function: namespaceDecl

void	namespaceDecl			(void * ctx, 
const xmlChar * href,
const xmlChar * prefix)

A namespace has been parsed. DEPRECATED

-
ctx:the user data (XML parser context)
href:the namespace associated URN
prefix:the namespace prefix

Function: initdocbDefaultSAXHandler

void	initdocbDefaultSAXHandler	(xmlSAXHandlerV1 * hdlr)
+
ctx:the user data (XML parser context)
href:the namespace associated URN
prefix:the namespace prefix

Function: getNamespace

xmlNsPtr	getNamespace		(void * ctx)
+

Get the current element namespace. DEPRECATED

+
ctx:the user data (XML parser context)
Returns:the xmlNsPtr or NULL if none

Function: initdocbDefaultSAXHandler

void	initdocbDefaultSAXHandler	(xmlSAXHandlerV1 * hdlr)

Initialize the default DocBook SAX version 1 handler DEPRECATED: use xmlSAX2InitDocbDefaultSAXHandler() for the new SAX2 blocks

-
hdlr:the SAX handler

Function: getEntity

xmlEntityPtr	getEntity		(void * ctx, 
const xmlChar * name)
+
hdlr:the SAX handler

Function: setDocumentLocator

void	setDocumentLocator		(void * ctx, 
xmlSAXLocatorPtr loc)
+

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

+
ctx:the user data (XML parser context)
loc:A SAX Locator

Function: getPublicId

const xmlChar *	getPublicId		(void * ctx)
+

Provides the public ID e.g. "-//SGMLSOURCE//DTD DEMO//EN" DEPRECATED: use xmlSAX2GetPublicId()

+
ctx:the user data (XML parser context)
Returns:a xmlChar *

Function: getEntity

xmlEntityPtr	getEntity		(void * ctx, 
const xmlChar * name)

Get an entity by name DEPRECATED: use xmlSAX2GetEntity()

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

Function: characters

void	characters			(void * ctx, 
const xmlChar * ch,
int len)

receiving some chars from the parser. DEPRECATED: use xmlSAX2Characters()

ctx:the user data (XML parser context)
ch:a xmlChar string
len:the number of xmlChar

Function: elementDecl

void	elementDecl			(void * ctx, 
const xmlChar * name,
int type,
xmlElementContentPtr content)

An element definition has been parsed DEPRECATED: use xmlSAX2ElementDecl()

-
ctx:the user data (XML parser context)
name:the element name
type:the element type
content:the element value tree

Function: startElement

void	startElement			(void * ctx, 
const xmlChar * fullname,
const xmlChar ** atts)
-

called when an opening tag has been processed. DEPRECATED: use xmlSAX2StartElement()

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

Function: getParameterEntity

xmlEntityPtr	getParameterEntity	(void * ctx, 
const xmlChar * name)
+
ctx:the user data (XML parser context)
name:the element name
type:the element type
content:the element value tree

Function: ignorableWhitespace

void	ignorableWhitespace		(void * ctx, 
const xmlChar * ch,
int len)
+

receiving some ignorable whitespaces from the parser. UNUSED: by default the DOM building will use characters DEPRECATED: use xmlSAX2IgnorableWhitespace()

+
ctx:the user data (XML parser context)
ch:a xmlChar string
len:the number of xmlChar

Function: hasExternalSubset

int	hasExternalSubset		(void * ctx)
+

Does this document has an external subset DEPRECATED: use xmlSAX2HasExternalSubset()

+
ctx:the user data (XML parser context)
Returns:1 if true

Function: isStandalone

int	isStandalone			(void * ctx)
+

Is this document tagged standalone ? DEPRECATED: use xmlSAX2IsStandalone()

+
ctx:the user data (XML parser context)
Returns:1 if true

Function: unparsedEntityDecl

void	unparsedEntityDecl		(void * ctx, 
const xmlChar * name,
const xmlChar * publicId,
const xmlChar * systemId,
const xmlChar * notationName)
+

What to do when an unparsed entity declaration is parsed DEPRECATED: use xmlSAX2UnparsedEntityDecl()

+
ctx:the user data (XML parser context)
name:The name of the entity
publicId:The public ID of the entity
systemId:The system ID of the entity
notationName:the name of the notation

Function: reference

void	reference			(void * ctx, 
const xmlChar * name)
+

called when an entity reference is detected. DEPRECATED: use xmlSAX2Reference()

+
ctx:the user data (XML parser context)
name:The entity name

Function: globalNamespace

void	globalNamespace			(void * ctx, 
const xmlChar * href,
const xmlChar * prefix)
+

An old global namespace has been parsed. DEPRECATED

+
ctx:the user data (XML parser context)
href:the namespace associated URN
prefix:the namespace prefix

Function: initxmlDefaultSAXHandler

void	initxmlDefaultSAXHandler	(xmlSAXHandlerV1 * hdlr, 
int warning)
+

Initialize the default XML SAX version 1 handler DEPRECATED: use xmlSAX2InitDefaultSAXHandler() for the new SAX2 blocks

+
hdlr:the SAX handler
warning:flag if non-zero sets the handler warning procedure

Function: hasInternalSubset

int	hasInternalSubset		(void * ctx)
+

Does this document has an internal subset DEPRECATED: use xmlSAX2HasInternalSubset()

+
ctx:the user data (XML parser context)
Returns:1 if true

Function: processingInstruction

void	processingInstruction		(void * ctx, 
const xmlChar * target,
const xmlChar * data)
+

A processing instruction has been parsed. DEPRECATED: use xmlSAX2ProcessingInstruction()

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

Function: getParameterEntity

xmlEntityPtr	getParameterEntity	(void * ctx, 
const xmlChar * name)

Get a parameter entity by name DEPRECATED: use xmlSAX2GetParameterEntity()

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

Function: attributeDecl

void	attributeDecl			(void * ctx, 
const xmlChar * elem,
const xmlChar * fullname,
int type,
int def,
const xmlChar * defaultValue,
xmlEnumerationPtr tree)

An attribute definition has been parsed DEPRECATED: use xmlSAX2AttributeDecl()

-
ctx:the user data (XML parser context)
elem:the name of the element
fullname:the attribute name
type:the attribute type
def:the type of default value
defaultValue:the attribute default value
tree:the tree of enumerated value set

Function: isStandalone

int	isStandalone			(void * ctx)
-

Is this document tagged standalone ? DEPRECATED: use xmlSAX2IsStandalone()

-
ctx:the user data (XML parser context)
Returns:1 if true

Function: internalSubset

void	internalSubset			(void * ctx, 
const xmlChar * name,
const xmlChar * ExternalID,
const xmlChar * SystemID)
+
ctx:the user data (XML parser context)
elem:the name of the element
fullname:the attribute name
type:the attribute type
def:the type of default value
defaultValue:the attribute default value
tree:the tree of enumerated value set

Function: notationDecl

void	notationDecl			(void * ctx, 
const xmlChar * name,
const xmlChar * publicId,
const xmlChar * systemId)
+

What to do when a notation declaration has been parsed. DEPRECATED: use xmlSAX2NotationDecl()

+
ctx:the user data (XML parser context)
name:The name of the notation
publicId:The public ID of the entity
systemId:The system ID of the entity

Function: entityDecl

void	entityDecl			(void * ctx, 
const xmlChar * name,
int type,
const xmlChar * publicId,
const xmlChar * systemId,
xmlChar * content)
+

An entity definition has been parsed DEPRECATED: use xmlSAX2EntityDecl()

+
ctx:the user data (XML parser context)
name:the entity name
type:the entity type
publicId:The public ID of the entity
systemId:The system ID of the entity
content:the entity value (without processing).

Function: setNamespace

void	setNamespace			(void * ctx, 
const xmlChar * name)
+

Set the current element namespace. DEPRECATED

+
ctx:the user data (XML parser context)
name:the namespace prefix

Function: externalSubset

void	externalSubset			(void * ctx, 
const xmlChar * name,
const xmlChar * ExternalID,
const xmlChar * SystemID)
+

Callback on external subset declaration. DEPRECATED: use xmlSAX2ExternalSubset()

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

Function: resolveEntity

xmlParserInputPtr	resolveEntity	(void * ctx, 
const xmlChar * publicId,
const xmlChar * systemId)
+

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()

+
ctx:the user data (XML parser context)
publicId:The public ID of the entity
systemId:The system ID of the entity
Returns:the xmlParserInputPtr if inlined or NULL for DOM behaviour.

Function: getSystemId

const xmlChar *	getSystemId		(void * ctx)
+

Provides the system ID, basically URL or filename e.g. http://www.sgmlsource.com/dtds/memo.dtd DEPRECATED: use xmlSAX2GetSystemId()

+
ctx:the user data (XML parser context)
Returns:a xmlChar *

Function: startDocument

void	startDocument			(void * ctx)
+

called when the document start being processed. DEPRECATED: use xmlSAX2StartDocument()

+
ctx:the user data (XML parser context)

Function: internalSubset

void	internalSubset			(void * ctx, 
const xmlChar * name,
const xmlChar * ExternalID,
const xmlChar * SystemID)

Callback on internal subset declaration. DEPRECATED: use xmlSAX2InternalSubset()

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

Function: endDocument

void	endDocument			(void * ctx)

called when the document end has been detected. DEPRECATED: use xmlSAX2EndDocument()

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

Module SAX2 from libxml2

API Menu
API Indexes
Related links

those are the default SAX2 interfaces used by the library when building DOM tree.

Table of Contents

void	docbDefaultSAXHandlerInit	(void)
+ Module SAX2 from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module SAX2 from libxml2

API Menu
API Indexes
Related links

those are the default SAX2 interfaces used by the library when building DOM tree.

Table of Contents

void	docbDefaultSAXHandlerInit	(void)
void	htmlDefaultSAXHandlerInit	(void)
void	xmlDefaultSAXHandlerInit	(void)
void	xmlSAX2AttributeDecl		(void * ctx, 
const xmlChar * elem,
const xmlChar * fullname,
int type,
int def,
const xmlChar * defaultValue,
xmlEnumerationPtr tree)
diff --git a/doc/html/libxml-c14n.html b/doc/html/libxml-c14n.html index d2171c15..d375dd25 100644 --- a/doc/html/libxml-c14n.html +++ b/doc/html/libxml-c14n.html @@ -10,7 +10,7 @@ A:link, A:visited, A:active { text-decoration: underline } Module c14n from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module c14n from libxml2

API Menu
API Indexes
Related links

the c14n modules provides a "Canonical XML" implementation

Table of Contents

int	xmlC14NDocDumpMemory		(xmlDocPtr doc, 
xmlNodeSetPtr nodes,
int exclusive,
xmlChar ** inclusive_ns_prefixes,
int with_comments,
xmlChar ** doc_txt_ptr)
+ Module c14n from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module c14n from libxml2

API Menu
API Indexes
Related links

the c14n modules provides a "Canonical XML" implementation

Table of Contents

int	xmlC14NDocDumpMemory		(xmlDocPtr doc, 
xmlNodeSetPtr nodes,
int exclusive,
xmlChar ** inclusive_ns_prefixes,
int with_comments,
xmlChar ** doc_txt_ptr)
int	xmlC14NDocSave			(xmlDocPtr doc, 
xmlNodeSetPtr nodes,
int exclusive,
xmlChar ** inclusive_ns_prefixes,
int with_comments,
const char * filename,
int compression)
int	xmlC14NDocSaveTo		(xmlDocPtr doc, 
xmlNodeSetPtr nodes,
int exclusive,
xmlChar ** inclusive_ns_prefixes,
int with_comments,
xmlOutputBufferPtr buf)
int	xmlC14NExecute			(xmlDocPtr doc, 
xmlC14NIsVisibleCallback is_visible_callback,
void * user_data,
int exclusive,
xmlChar ** inclusive_ns_prefixes,
int with_comments,
xmlOutputBufferPtr buf)
diff --git a/doc/html/libxml-catalog.html b/doc/html/libxml-catalog.html index 13d5e997..98499321 100644 --- a/doc/html/libxml-catalog.html +++ b/doc/html/libxml-catalog.html @@ -10,7 +10,7 @@ A:link, A:visited, A:active { text-decoration: underline } Module catalog from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module catalog from libxml2

API Menu
API Indexes
Related links

the catalog module implements the support for XML Catalogs and SGML catalogs

Table of Contents

#define XML_CATALOGS_NAMESPACE
#define XML_CATALOG_PI
Structure xmlCatalog
struct _xmlCatalog + Module catalog from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module catalog from libxml2

API Menu
API Indexes
Related links

the catalog module implements the support for XML Catalogs and SGML catalogs

Table of Contents

#define XML_CATALOGS_NAMESPACE
#define XML_CATALOG_PI
Structure xmlCatalog
struct _xmlCatalog The content of this structure is not made public by the API.
Enum xmlCatalogAllow
 
Enum xmlCatalogPrefer
diff --git a/doc/html/libxml-chvalid.html b/doc/html/libxml-chvalid.html
index f300e2b9..57a4bca5 100644
--- a/doc/html/libxml-chvalid.html
+++ b/doc/html/libxml-chvalid.html
@@ -10,7 +10,7 @@ A:link, A:visited, A:active { text-decoration: underline }
 Module chvalid from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module chvalid from libxml2

API Menu
API Indexes
Related links

this module exports interfaces for the character range validation APIs This file is automatically generated from the cvs source definition files using the genChRanges.py Python script

Table of Contents

#define xmlIsBaseCharQ
#define xmlIsBaseChar_ch
#define xmlIsBlankQ
#define xmlIsBlank_ch
#define xmlIsCharQ
#define xmlIsChar_ch
#define xmlIsCombiningQ
#define xmlIsDigitQ
#define xmlIsDigit_ch
#define xmlIsExtenderQ
#define xmlIsExtender_ch
#define xmlIsIdeographicQ
#define xmlIsPubidCharQ
#define xmlIsPubidChar_ch
Structure xmlChLRange
struct _xmlChLRange + Module chvalid from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module chvalid from libxml2

API Menu
API Indexes
Related links

this module exports interfaces for the character range validation APIs This file is automatically generated from the cvs source definition files using the genChRanges.py Python script

Table of Contents

#define xmlIsBaseCharQ
#define xmlIsBaseChar_ch
#define xmlIsBlankQ
#define xmlIsBlank_ch
#define xmlIsCharQ
#define xmlIsChar_ch
#define xmlIsCombiningQ
#define xmlIsDigitQ
#define xmlIsDigit_ch
#define xmlIsExtenderQ
#define xmlIsExtender_ch
#define xmlIsIdeographicQ
#define xmlIsPubidCharQ
#define xmlIsPubidChar_ch
Structure xmlChLRange
struct _xmlChLRange
Typedef xmlChLRange * xmlChLRangePtr
 
Structure xmlChRangeGroup
struct _xmlChRangeGroup
Typedef xmlChRangeGroup * xmlChRangeGroupPtr
diff --git a/doc/html/libxml-debugXML.html b/doc/html/libxml-debugXML.html
index e91d8289..1d77f39a 100644
--- a/doc/html/libxml-debugXML.html
+++ b/doc/html/libxml-debugXML.html
@@ -10,7 +10,7 @@ A:link, A:visited, A:active { text-decoration: underline }
 Module debugXML from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module debugXML from libxml2

API Menu
API Indexes
Related links

Interfaces to a set of routines used for debugging the tree produced by the XML parser.

Table of Contents

Structure xmlShellCtxt
struct _xmlShellCtxt + Module debugXML from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module debugXML from libxml2

API Menu
API Indexes
Related links

Interfaces to a set of routines used for debugging the tree produced by the XML parser.

Table of Contents

Structure xmlShellCtxt
struct _xmlShellCtxt
Typedef xmlShellCtxt * xmlShellCtxtPtr
 
const char *	xmlBoolToText		(int boolval)
void	xmlDebugDumpAttr		(FILE * output, 
xmlAttrPtr attr,
int depth)
diff --git a/doc/html/libxml-dict.html b/doc/html/libxml-dict.html index 83d3f897..3853b1df 100644 --- a/doc/html/libxml-dict.html +++ b/doc/html/libxml-dict.html @@ -10,7 +10,7 @@ A:link, A:visited, A:active { text-decoration: underline } Module dict from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module dict from libxml2

API Menu
API Indexes
Related links

dictionary of reusable strings, just used to avoid allocation and freeing operations.

Table of Contents

Structure xmlDict
struct _xmlDict + Module dict from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module dict from libxml2

API Menu
API Indexes
Related links

dictionary of reusable strings, just used to avoid allocation and freeing operations.

Table of Contents

Structure xmlDict
struct _xmlDict The content of this structure is not made public by the API.
Typedef xmlDict * xmlDictPtr
 
xmlDictPtr	xmlDictCreate		(void)
diff --git a/doc/html/libxml-encoding.html b/doc/html/libxml-encoding.html index d2862fce..839bdbfa 100644 --- a/doc/html/libxml-encoding.html +++ b/doc/html/libxml-encoding.html @@ -10,7 +10,7 @@ A:link, A:visited, A:active { text-decoration: underline } Module encoding from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module encoding from libxml2

API Menu
API Indexes
Related links

interface for the encoding conversion functions needed for XML basic encoding and iconv() support. Related specs are rfc2044 (UTF-8 and UTF-16) F. Yergeau Alis Technologies [ISO-10646] UTF-8 and UTF-16 in Annexes [ISO-8859-1] ISO Latin-1 characters codes. [UNICODE] The Unicode Consortium, "The Unicode Standard -- Worldwide Character Encoding -- Version 1.0", Addison- Wesley, Volume 1, 1991, Volume 2, 1992. UTF-8 is described in Unicode Technical Report #4. [US-ASCII] Coded Character Set--7-bit American Standard Code for Information Interchange, ANSI X3.4-1986.

Table of Contents

Enum xmlCharEncoding
+    Module encoding from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module encoding from libxml2

API Menu
API Indexes
Related links

interface for the encoding conversion functions needed for XML basic encoding and iconv() support. Related specs are rfc2044 (UTF-8 and UTF-16) F. Yergeau Alis Technologies [ISO-10646] UTF-8 and UTF-16 in Annexes [ISO-8859-1] ISO Latin-1 characters codes. [UNICODE] The Unicode Consortium, "The Unicode Standard -- Worldwide Character Encoding -- Version 1.0", Addison- Wesley, Volume 1, 1991, Volume 2, 1992. UTF-8 is described in Unicode Technical Report #4. [US-ASCII] Coded Character Set--7-bit American Standard Code for Information Interchange, ANSI X3.4-1986.

Table of Contents

Enum xmlCharEncoding
 
Structure xmlCharEncodingHandler
struct _xmlCharEncodingHandler
Typedef xmlCharEncodingHandler * xmlCharEncodingHandlerPtr
 
int	UTF8Toisolat1			(unsigned char * out, 
int * outlen,
const unsigned char * in,
int * inlen)
diff --git a/doc/html/libxml-entities.html b/doc/html/libxml-entities.html index 9ef6b5e1..b7e80c94 100644 --- a/doc/html/libxml-entities.html +++ b/doc/html/libxml-entities.html @@ -10,7 +10,7 @@ A:link, A:visited, A:active { text-decoration: underline } Module entities from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module entities from libxml2

API Menu
API Indexes
Related links

this module provides some of the entity API needed for the parser and applications.

Table of Contents

Structure xmlEntitiesTable
struct _xmlHashTable + Module entities from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module entities from libxml2

API Menu
API Indexes
Related links

this module provides some of the entity API needed for the parser and applications.

Table of Contents

Structure xmlEntitiesTable
struct _xmlHashTable The content of this structure is not made public by the API.
Typedef xmlEntitiesTable * xmlEntitiesTablePtr
 
Enum xmlEntityType
diff --git a/doc/html/libxml-globals.html b/doc/html/libxml-globals.html
index e5daec85..4cd67216 100644
--- a/doc/html/libxml-globals.html
+++ b/doc/html/libxml-globals.html
@@ -10,7 +10,7 @@ A:link, A:visited, A:active { text-decoration: underline }
 Module globals from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module globals from libxml2

API Menu
API Indexes
Related links

all the global variables and thread handling for those variables is handled by this module. The bottom of this file is automatically generated by build_glob.py based on the description file global.data

Table of Contents

Structure xmlGlobalState
struct _xmlGlobalState + Module globals from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module globals from libxml2

API Menu
API Indexes
Related links

all the global variables and thread handling for those variables is handled by this module. The bottom of this file is automatically generated by build_glob.py based on the description file global.data

Table of Contents

Structure xmlGlobalState
struct _xmlGlobalState
Typedef xmlGlobalState * xmlGlobalStatePtr
 
void	xmlCleanupGlobals		(void)
xmlDeregisterNodeFunc	xmlDeregisterNodeDefault	(xmlDeregisterNodeFunc func)
diff --git a/doc/html/libxml-hash.html b/doc/html/libxml-hash.html index 05bd5860..84863d9f 100644 --- a/doc/html/libxml-hash.html +++ b/doc/html/libxml-hash.html @@ -10,7 +10,7 @@ A:link, A:visited, A:active { text-decoration: underline } Module hash from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module hash from libxml2

API Menu
API Indexes
Related links

Table of Contents

Structure xmlHashTable
struct _xmlHashTable + Module hash from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module hash from libxml2

API Menu
API Indexes
Related links

Table of Contents

Structure xmlHashTable
struct _xmlHashTable The content of this structure is not made public by the API.
Typedef xmlHashTable * xmlHashTablePtr
 
int	xmlHashAddEntry			(xmlHashTablePtr table, 
const xmlChar * name,
void * userdata)
diff --git a/doc/html/libxml-lib.html b/doc/html/libxml-lib.html index b976eef5..3f1deee1 100644 --- a/doc/html/libxml-lib.html +++ b/doc/html/libxml-lib.html @@ -10,4 +10,4 @@ A:link, A:visited, A:active { text-decoration: underline } Reference Manual for libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Reference Manual for libxml2

API Menu
API Indexes
Related links

Table of Contents

  • DOCBparser: old DocBook SGML parser
  • HTMLparser: interface for an HTML 4.0 non-verifying parser
  • HTMLtree: specific APIs to process HTML tree, especially serialization
  • SAX: Old SAX version 1 handler, deprecated
  • SAX2: SAX2 parser interface used to build the DOM tree
  • c14n: Provide Canonical XML and Exclusive XML Canonicalization
  • catalog: interfaces to the Catalog handling system
  • chvalid: Unicode character range checking
  • debugXML: Tree debugging APIs
  • dict: string dictionnary
  • encoding: interface for the encoding conversion functions
  • entities: interface for the XML entities handling
  • globals: interface for all global variables of the library
  • hash: chained hash tables
  • list: lists interfaces
  • nanoftp: minimal FTP implementation
  • nanohttp: minimal HTTP implementation
  • parser: the core parser module
  • parserInternals: internals routines exported by the parser.
  • pattern: pattern expression handling
  • relaxng: implementation of the Relax-NG validation
  • schemasInternals: internal interfaces for XML Schemas
  • threads: interfaces for thread handling
  • tree: interfaces for tree manipulation
  • uri: library of generic URI related routines
  • valid: The DTD validation
  • xinclude: implementation of XInclude
  • xlink: unfinished XLink detection module
  • xmlIO: interface for the I/O interfaces used by the parser
  • xmlautomata: API to build regexp automata
  • xmlerror: error handling
  • xmlexports: macros for marking symbols as exportable/importable.
  • xmlmemory: interface for the memory allocator
  • xmlreader: the XMLReader implementation
  • xmlregexp: regular expressions handling
  • xmlsave: the XML document serializer
  • xmlschemas: incomplete XML Schemas structure implementation
  • xmlschemastypes: implementation of XML Schema Datatypes
  • xmlstring: set of routines to process strings
  • xmlunicode: Unicode character APIs
  • xmlversion: compile-time version informations
  • xmlwriter: text writing API for XML
  • xpath: XML Path Language implementation
  • xpathInternals: internal interfaces for XML Path Language implementation
  • xpointer: API to handle XML Pointers

Daniel Veillard

+ Reference Manual for libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Reference Manual for libxml2

API Menu
API Indexes
Related links

Table of Contents

  • DOCBparser: old DocBook SGML parser
  • HTMLparser: interface for an HTML 4.0 non-verifying parser
  • HTMLtree: specific APIs to process HTML tree, especially serialization
  • SAX: Old SAX version 1 handler, deprecated
  • SAX2: SAX2 parser interface used to build the DOM tree
  • c14n: Provide Canonical XML and Exclusive XML Canonicalization
  • catalog: interfaces to the Catalog handling system
  • chvalid: Unicode character range checking
  • debugXML: Tree debugging APIs
  • dict: string dictionnary
  • encoding: interface for the encoding conversion functions
  • entities: interface for the XML entities handling
  • globals: interface for all global variables of the library
  • hash: chained hash tables
  • list: lists interfaces
  • nanoftp: minimal FTP implementation
  • nanohttp: minimal HTTP implementation
  • parser: the core parser module
  • parserInternals: internals routines exported by the parser.
  • pattern: pattern expression handling
  • relaxng: implementation of the Relax-NG validation
  • schemasInternals: internal interfaces for XML Schemas
  • threads: interfaces for thread handling
  • tree: interfaces for tree manipulation
  • uri: library of generic URI related routines
  • valid: The DTD validation
  • xinclude: implementation of XInclude
  • xlink: unfinished XLink detection module
  • xmlIO: interface for the I/O interfaces used by the parser
  • xmlautomata: API to build regexp automata
  • xmlerror: error handling
  • xmlexports: macros for marking symbols as exportable/importable.
  • xmlmemory: interface for the memory allocator
  • xmlreader: the XMLReader implementation
  • xmlregexp: regular expressions handling
  • xmlsave: the XML document serializer
  • xmlschemas: incomplete XML Schemas structure implementation
  • xmlschemastypes: implementation of XML Schema Datatypes
  • xmlstring: set of routines to process strings
  • xmlunicode: Unicode character APIs
  • xmlversion: compile-time version informations
  • xmlwriter: text writing API for XML
  • xpath: XML Path Language implementation
  • xpathInternals: internal interfaces for XML Path Language implementation
  • xpointer: API to handle XML Pointers

Daniel Veillard

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

Module list from libxml2

API Menu
API Indexes
Related links

this module implement the list support used in various place in the library.

Table of Contents

Structure xmlLink
struct _xmlLink + Module list from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module list from libxml2

API Menu
API Indexes
Related links

this module implement the list support used in various place in the library.

Table of Contents

Structure xmlLink
struct _xmlLink The content of this structure is not made public by the API.
Typedef xmlLink * xmlLinkPtr
 
Structure xmlList
struct _xmlList diff --git a/doc/html/libxml-nanoftp.html b/doc/html/libxml-nanoftp.html index 07c7f1b3..9fc521bf 100644 --- a/doc/html/libxml-nanoftp.html +++ b/doc/html/libxml-nanoftp.html @@ -10,7 +10,7 @@ A:link, A:visited, A:active { text-decoration: underline } Module nanoftp from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module nanoftp from libxml2

API Menu
API Indexes
Related links

minimal FTP implementation allowing to fetch resources like external subset.

Table of Contents

Function type: ftpDataCallback
+    Module nanoftp from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module nanoftp from libxml2

API Menu
API Indexes
Related links

minimal FTP implementation allowing to fetch resources like external subset.

Table of Contents

Function type: ftpDataCallback
 void	ftpDataCallback			(void * userData, 
const char * data,
int len)
Function type: ftpListCallback
diff --git a/doc/html/libxml-nanohttp.html b/doc/html/libxml-nanohttp.html
index 0ca2e0f2..1b5f919e 100644
--- a/doc/html/libxml-nanohttp.html
+++ b/doc/html/libxml-nanohttp.html
@@ -10,7 +10,7 @@ A:link, A:visited, A:active { text-decoration: underline }
 Module nanohttp from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module nanohttp from libxml2

API Menu
API Indexes
Related links

minimal HTTP implementation allowing to fetch resources like external subset.

Table of Contents

const char *	xmlNanoHTTPAuthHeader	(void * ctx)
+ Module nanohttp from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module nanohttp from libxml2

API Menu
API Indexes
Related links

minimal HTTP implementation allowing to fetch resources like external subset.

Table of Contents

const char *	xmlNanoHTTPAuthHeader	(void * ctx)
void	xmlNanoHTTPCleanup		(void)
void	xmlNanoHTTPClose		(void * ctx)
const char *	xmlNanoHTTPEncoding	(void * ctx)
diff --git a/doc/html/libxml-parser.html b/doc/html/libxml-parser.html index 4bed32bd..1106fb99 100644 --- a/doc/html/libxml-parser.html +++ b/doc/html/libxml-parser.html @@ -10,7 +10,7 @@ A:link, A:visited, A:active { text-decoration: underline } Module parser from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module parser from libxml2

API Menu
API Indexes
Related links

Interfaces, constants and types related to the XML parser

Table of Contents

#define XML_COMPLETE_ATTRS
#define XML_DEFAULT_VERSION
#define XML_DETECT_IDS
#define XML_SAX2_MAGIC
#define XML_SKIP_IDS
Enum xmlParserInputState
+    Module parser from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module parser from libxml2

API Menu
API Indexes
Related links

Interfaces, constants and types related to the XML parser

Table of Contents

#define XML_COMPLETE_ATTRS
#define XML_DEFAULT_VERSION
#define XML_DETECT_IDS
#define XML_SAX2_MAGIC
#define XML_SKIP_IDS
Enum xmlParserInputState
 
Enum xmlParserMode
 
Structure xmlParserNodeInfo
struct _xmlParserNodeInfo
Typedef xmlParserNodeInfo * xmlParserNodeInfoPtr
@@ -151,6 +151,7 @@ void	warningSAXFunc			(void * ctx, 
con
int	xmlParseExtParsedEnt		(xmlParserCtxtPtr ctxt)
int	xmlParseExternalEntity		(xmlDocPtr doc, 
xmlSAXHandlerPtr sax,
void * user_data,
int depth,
const xmlChar * URL,
const xmlChar * ID,
xmlNodePtr * lst)
xmlDocPtr	xmlParseFile		(const char * filename)
+
xmlParserErrors	xmlParseInNodeContext	(xmlNodePtr node, 
const char * data,
int datalen,
int options,
xmlNodePtr * lst)
xmlDocPtr	xmlParseMemory		(const char * buffer, 
int size)
void	xmlParserAddNodeInfo		(xmlParserCtxtPtr ctxt, 
const xmlParserNodeInfoPtr info)
const xmlParserNodeInfo *	xmlParserFindNodeInfo	(const xmlParserCtxtPtr ctx, 
const xmlNodePtr node)
@@ -243,6 +244,7 @@ void xmlParserInputDeallocate (XML_PARSE_NODICT = 4096 : Do not reuse the context dictionnary XML_PARSE_NSCLEAN = 8192 : remove redundant namespaces declarations XML_PARSE_NOCDATA = 16384 : merge CDATA as text nodes + XML_PARSE_NOXINCNODE = 32768 : do not generate XINCLUDE START/END nodes }

Structure xmlSAXHandlerV1

Structure xmlSAXHandlerV1
struct _xmlSAXHandlerV1 { internalSubsetSAXFunc internalSubset @@ -444,7 +446,9 @@ void warningSAXFunc (void * ctx,
const char * msg,
...

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

doc:the document the chunk pertains to
sax:the SAX handler bloc (possibly NULL)
user_data:The user data returned on SAX callbacks (possibly NULL)
depth:Used for loop detection, use 0
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: xmlParseFile

xmlDocPtr	xmlParseFile		(const char * filename)

parse an XML file and build a tree. Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time.

-
filename:the filename
Returns:the resulting document tree if the file was wellformed, NULL otherwise.

Function: xmlParseMemory

xmlDocPtr	xmlParseMemory		(const char * buffer, 
int size)
+
filename:the filename
Returns:the resulting document tree if the file was wellformed, NULL otherwise.

Function: xmlParseInNodeContext

xmlParserErrors	xmlParseInNodeContext	(xmlNodePtr node, 
const char * data,
int datalen,
int options,
xmlNodePtr * lst)
+

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)*

+
node:the context node
data:the input string
datalen:the input string length in bytes
options:a combination of xmlParserOption
lst:the return value for the set of parsed nodes
Returns:XML_ERR_OK if the chunk is well balanced, and the parser error code otherwise

Function: xmlParseMemory

xmlDocPtr	xmlParseMemory		(const char * buffer, 
int size)

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

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

Function: xmlParserAddNodeInfo

void	xmlParserAddNodeInfo		(xmlParserCtxtPtr ctxt, 
const xmlParserNodeInfoPtr info)

Insert node info record into the sorted sequence

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

Module parserInternals from libxml2

API Menu
API Indexes
Related links

this module exports a number of internal parsing routines they are not really all intended for applications but can prove useful doing low level processing.

Table of Contents

#define INPUT_CHUNK
#define IS_BASECHAR
#define IS_BLANK
#define IS_BLANK_CH
#define IS_BYTE_CHAR
#define IS_CHAR
#define IS_CHAR_CH
#define IS_COMBINING
#define IS_COMBINING_CH
#define IS_DIGIT
#define IS_DIGIT_CH
#define IS_EXTENDER
#define IS_EXTENDER_CH
#define IS_IDEOGRAPHIC
#define IS_LETTER
#define IS_LETTER_CH
#define IS_PUBIDCHAR
#define IS_PUBIDCHAR_CH
#define MOVETO_ENDTAG
#define MOVETO_STARTTAG
#define SKIP_EOL
#define XML_MAX_NAMELEN
#define XML_SUBSTITUTE_BOTH
#define XML_SUBSTITUTE_NONE
#define XML_SUBSTITUTE_PEREF
#define XML_SUBSTITUTE_REF
htmlParserCtxtPtr	htmlCreateFileParserCtxt	(const char * filename, 
const char * encoding)
+ Module parserInternals from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module parserInternals from libxml2

API Menu
API Indexes
Related links

this module exports a number of internal parsing routines they are not really all intended for applications but can prove useful doing low level processing.

Table of Contents

#define INPUT_CHUNK
#define IS_BASECHAR
#define IS_BLANK
#define IS_BLANK_CH
#define IS_BYTE_CHAR
#define IS_CHAR
#define IS_CHAR_CH
#define IS_COMBINING
#define IS_COMBINING_CH
#define IS_DIGIT
#define IS_DIGIT_CH
#define IS_EXTENDER
#define IS_EXTENDER_CH
#define IS_IDEOGRAPHIC
#define IS_LETTER
#define IS_LETTER_CH
#define IS_PUBIDCHAR
#define IS_PUBIDCHAR_CH
#define MOVETO_ENDTAG
#define MOVETO_STARTTAG
#define SKIP_EOL
#define XML_MAX_NAMELEN
#define XML_SUBSTITUTE_BOTH
#define XML_SUBSTITUTE_NONE
#define XML_SUBSTITUTE_PEREF
#define XML_SUBSTITUTE_REF
htmlParserCtxtPtr	htmlCreateFileParserCtxt	(const char * filename, 
const char * encoding)
void	htmlInitAutoClose		(void)
xmlParserInputPtr	inputPop	(xmlParserCtxtPtr ctxt)
int	inputPush			(xmlParserCtxtPtr ctxt, 
xmlParserInputPtr value)
diff --git a/doc/html/libxml-pattern.html b/doc/html/libxml-pattern.html index 88cd36c9..e2400610 100644 --- a/doc/html/libxml-pattern.html +++ b/doc/html/libxml-pattern.html @@ -10,7 +10,7 @@ A:link, A:visited, A:active { text-decoration: underline } Module pattern from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module pattern from libxml2

API Menu
API Indexes
Related links

allows to compile and test pattern expressions for nodes either in a tree or based on a parser state.

Table of Contents

Structure xmlPattern
struct _xmlPattern + Module pattern from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module pattern from libxml2

API Menu
API Indexes
Related links

allows to compile and test pattern expressions for nodes either in a tree or based on a parser state.

Table of Contents

Structure xmlPattern
struct _xmlPattern The content of this structure is not made public by the API.
Typedef xmlPattern * xmlPatternPtr
 
void	xmlFreePattern			(xmlPatternPtr comp)
diff --git a/doc/html/libxml-relaxng.html b/doc/html/libxml-relaxng.html index 04806ecf..6e20a122 100644 --- a/doc/html/libxml-relaxng.html +++ b/doc/html/libxml-relaxng.html @@ -10,7 +10,7 @@ A:link, A:visited, A:active { text-decoration: underline } Module relaxng from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module relaxng from libxml2

API Menu
API Indexes
Related links

implementation of the Relax-NG validation

Table of Contents

Structure xmlRelaxNG
struct _xmlRelaxNG + Module relaxng from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module relaxng from libxml2

API Menu
API Indexes
Related links

implementation of the Relax-NG validation

Table of Contents

Structure xmlRelaxNG
struct _xmlRelaxNG The content of this structure is not made public by the API.
Structure xmlRelaxNGParserCtxt
struct _xmlRelaxNGParserCtxt The content of this structure is not made public by the API. diff --git a/doc/html/libxml-schemasInternals.html b/doc/html/libxml-schemasInternals.html index 4b453523..82735373 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_WILDCARD_BUILDED
#define XML_SCHEMAS_ATTR_GLOBAL
#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_ELEM_ABSTRACT
#define XML_SCHEMAS_ELEM_DEFAULT
#define XML_SCHEMAS_ELEM_FIXED
#define XML_SCHEMAS_ELEM_GLOBAL
#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_QUALIF_ATTR
#define XML_SCHEMAS_QUALIF_ELEM
#define XML_SCHEMAS_TYPE_BUILTIN_PRIMITIVE
#define XML_SCHEMAS_TYPE_DERIVATION_METHOD_EXTENSION
#define XML_SCHEMAS_TYPE_DERIVATION_METHOD_RESTRICTION
#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_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_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_BUILTIN_PRIMITIVE
#define XML_SCHEMAS_TYPE_DERIVATION_METHOD_EXTENSION
#define XML_SCHEMAS_TYPE_DERIVATION_METHOD_RESTRICTION
#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_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 @@ -51,15 +51,29 @@ The content of this structure is not made public by the API.

Macro: XML_SCHEMAS_ANY_STRICT

#define XML_SCHEMAS_ANY_STRICT

Used by wildcards. Apply strict validation rules

Macro: XML_SCHEMAS_ATTRGROUP_GLOBAL

#define XML_SCHEMAS_ATTRGROUP_GLOBAL

The attribute wildcard has been already builded.

Macro: XML_SCHEMAS_ATTRGROUP_WILDCARD_BUILDED

#define XML_SCHEMAS_ATTRGROUP_WILDCARD_BUILDED

The attribute wildcard has been already builded.

-

Macro: XML_SCHEMAS_ATTR_GLOBAL

#define XML_SCHEMAS_ATTR_GLOBAL

allow elements in no namespace

+

Macro: XML_SCHEMAS_ATTR_FIXED

#define XML_SCHEMAS_ATTR_FIXED

the attribute has a fixed value

+

Macro: XML_SCHEMAS_ATTR_GLOBAL

#define XML_SCHEMAS_ATTR_GLOBAL

+

Macro: XML_SCHEMAS_ATTR_INTERNAL_RESOLVED

#define XML_SCHEMAS_ATTR_INTERNAL_RESOLVED

Macro: XML_SCHEMAS_ATTR_NSDEFAULT

#define XML_SCHEMAS_ATTR_NSDEFAULT

allow elements in no namespace

Macro: XML_SCHEMAS_ATTR_USE_OPTIONAL

#define XML_SCHEMAS_ATTR_USE_OPTIONAL

The attribute is optional.

Macro: XML_SCHEMAS_ATTR_USE_PROHIBITED

#define XML_SCHEMAS_ATTR_USE_PROHIBITED

Used by wildcards. The attribute is prohibited.

Macro: XML_SCHEMAS_ATTR_USE_REQUIRED

#define XML_SCHEMAS_ATTR_USE_REQUIRED

The attribute is required.

+

Macro: XML_SCHEMAS_BLOCK_DEFAULT_EXTENSION

#define XML_SCHEMAS_BLOCK_DEFAULT_EXTENSION

the schema has "extension" in the set of blockDefault.

+

Macro: XML_SCHEMAS_BLOCK_DEFAULT_RESTRICTION

#define XML_SCHEMAS_BLOCK_DEFAULT_RESTRICTION

the schema has "restriction" in the set of blockDefault.

+

Macro: XML_SCHEMAS_BLOCK_DEFAULT_SUBSTITUTION

#define XML_SCHEMAS_BLOCK_DEFAULT_SUBSTITUTION

the schema has "substitution" in the set of blockDefault.

Macro: XML_SCHEMAS_ELEM_ABSTRACT

#define XML_SCHEMAS_ELEM_ABSTRACT

the element is abstract

+

Macro: XML_SCHEMAS_ELEM_BLOCK_ABSENT

#define XML_SCHEMAS_ELEM_BLOCK_ABSENT

the "block" attribute is absent

+

Macro: XML_SCHEMAS_ELEM_BLOCK_EXTENSION

#define XML_SCHEMAS_ELEM_BLOCK_EXTENSION

disallowed substitutions are absent

+

Macro: XML_SCHEMAS_ELEM_BLOCK_RESTRICTION

#define XML_SCHEMAS_ELEM_BLOCK_RESTRICTION

disallowed substitutions: "restriction"

+

Macro: XML_SCHEMAS_ELEM_BLOCK_SUBSTITUTION

#define XML_SCHEMAS_ELEM_BLOCK_SUBSTITUTION

disallowed substitutions: "substituion"

+

Macro: XML_SCHEMAS_ELEM_CIRCULAR

#define XML_SCHEMAS_ELEM_CIRCULAR

Macro: XML_SCHEMAS_ELEM_DEFAULT

#define XML_SCHEMAS_ELEM_DEFAULT

the element has a default value

+

Macro: XML_SCHEMAS_ELEM_FINAL_ABSENT

#define XML_SCHEMAS_ELEM_FINAL_ABSENT

substitution group exclusions are absent

+

Macro: XML_SCHEMAS_ELEM_FINAL_EXTENSION

#define XML_SCHEMAS_ELEM_FINAL_EXTENSION

+

Macro: XML_SCHEMAS_ELEM_FINAL_RESTRICTION

#define XML_SCHEMAS_ELEM_FINAL_RESTRICTION

Macro: XML_SCHEMAS_ELEM_FIXED

#define XML_SCHEMAS_ELEM_FIXED

the element has a fixed value

Macro: XML_SCHEMAS_ELEM_GLOBAL

#define XML_SCHEMAS_ELEM_GLOBAL

the element is global

+

Macro: XML_SCHEMAS_ELEM_INTERNAL_RESOLVED

#define XML_SCHEMAS_ELEM_INTERNAL_RESOLVED

Macro: XML_SCHEMAS_ELEM_NILLABLE

#define XML_SCHEMAS_ELEM_NILLABLE

the element is nillable

Macro: XML_SCHEMAS_ELEM_NSDEFAULT

#define XML_SCHEMAS_ELEM_NSDEFAULT

allow elements in no namespace Obsolete, not used anymore.

Macro: XML_SCHEMAS_ELEM_REF

#define XML_SCHEMAS_ELEM_REF

the element is a reference to a type

@@ -68,16 +82,17 @@ The content of this structure is not made public by the API.

Macro: XML_SCHEMAS_FACET_PRESERVE

#define XML_SCHEMAS_FACET_PRESERVE

preserve the type of the facet

Macro: XML_SCHEMAS_FACET_REPLACE

#define XML_SCHEMAS_FACET_REPLACE

replace the type of the facet

Macro: XML_SCHEMAS_FACET_UNKNOWN

#define XML_SCHEMAS_FACET_UNKNOWN

unknown facet handling

-

Macro: XML_SCHEMAS_FINAL_DEFAULT_EXTENSION

#define XML_SCHEMAS_FINAL_DEFAULT_EXTENSION

the shema has "extension" in the set of finalDefault.

-

Macro: XML_SCHEMAS_FINAL_DEFAULT_LIST

#define XML_SCHEMAS_FINAL_DEFAULT_LIST

the shema has "list" in the set of finalDefault.

-

Macro: XML_SCHEMAS_FINAL_DEFAULT_RESTRICTION

#define XML_SCHEMAS_FINAL_DEFAULT_RESTRICTION

the shema has "restriction" in the set of finalDefault.

-

Macro: XML_SCHEMAS_FINAL_DEFAULT_UNION

#define XML_SCHEMAS_FINAL_DEFAULT_UNION

the shema has "union" in the set of finalDefault.

-

Macro: XML_SCHEMAS_QUALIF_ATTR

#define XML_SCHEMAS_QUALIF_ATTR

the shemas requires qualified attributes

-

Macro: XML_SCHEMAS_QUALIF_ELEM

#define XML_SCHEMAS_QUALIF_ELEM

the shemas requires qualified elements

-

Macro: XML_SCHEMAS_TYPE_BUILTIN_PRIMITIVE

#define XML_SCHEMAS_TYPE_BUILTIN_PRIMITIVE

the simpleType is a built-in primitive.

+

Macro: XML_SCHEMAS_FINAL_DEFAULT_EXTENSION

#define XML_SCHEMAS_FINAL_DEFAULT_EXTENSION

the schema has "extension" in the set of finalDefault.

+

Macro: XML_SCHEMAS_FINAL_DEFAULT_LIST

#define XML_SCHEMAS_FINAL_DEFAULT_LIST

the cshema has "list" in the set of finalDefault.

+

Macro: XML_SCHEMAS_FINAL_DEFAULT_RESTRICTION

#define XML_SCHEMAS_FINAL_DEFAULT_RESTRICTION

the schema has "restriction" in the set of finalDefault.

+

Macro: XML_SCHEMAS_FINAL_DEFAULT_UNION

#define XML_SCHEMAS_FINAL_DEFAULT_UNION

the schema has "union" in the set of finalDefault.

+

Macro: XML_SCHEMAS_INCLUDING_CONVERT_NS

#define XML_SCHEMAS_INCLUDING_CONVERT_NS

the schema is currently including an other schema with no target namespace.

+

Macro: XML_SCHEMAS_QUALIF_ATTR

#define XML_SCHEMAS_QUALIF_ATTR

the schema requires qualified attributes

+

Macro: XML_SCHEMAS_QUALIF_ELEM

#define XML_SCHEMAS_QUALIF_ELEM

the schema requires qualified elements

+

Macro: XML_SCHEMAS_TYPE_BUILTIN_PRIMITIVE

#define XML_SCHEMAS_TYPE_BUILTIN_PRIMITIVE

Macro: XML_SCHEMAS_TYPE_DERIVATION_METHOD_EXTENSION

#define XML_SCHEMAS_TYPE_DERIVATION_METHOD_EXTENSION

the simple or complex type has a derivation method of "extension".

Macro: XML_SCHEMAS_TYPE_DERIVATION_METHOD_RESTRICTION

#define XML_SCHEMAS_TYPE_DERIVATION_METHOD_RESTRICTION

the simple or complex type has a derivation method of "restriction".

-

Macro: XML_SCHEMAS_TYPE_FINAL_DEFAULT

#define XML_SCHEMAS_TYPE_FINAL_DEFAULT

the simpleType has a final of "default".

+

Macro: XML_SCHEMAS_TYPE_FINAL_DEFAULT

#define XML_SCHEMAS_TYPE_FINAL_DEFAULT

Macro: XML_SCHEMAS_TYPE_FINAL_EXTENSION

#define XML_SCHEMAS_TYPE_FINAL_EXTENSION

the complexType has a final of "extension".

Macro: XML_SCHEMAS_TYPE_FINAL_LIST

#define XML_SCHEMAS_TYPE_FINAL_LIST

the simpleType has a final of "list".

Macro: XML_SCHEMAS_TYPE_FINAL_RESTRICTION

#define XML_SCHEMAS_TYPE_FINAL_RESTRICTION

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

@@ -96,20 +111,21 @@ The content of this structure is not made public by the API. }

Structure xmlSchemaAttribute

Structure xmlSchemaAttribute
struct _xmlSchemaAttribute { xmlSchemaTypeType type : The kind of type struct _xmlSchemaAttribute * next : the next attribute if in a group ... - const xmlChar * name + const xmlChar * name : name of the declaration or empty if par const xmlChar * id - const xmlChar * ref - const xmlChar * refNs - const xmlChar * typeName - const xmlChar * typeNs + const xmlChar * ref : the local name of the attribute decl. i + const xmlChar * refNs : the ns URI of the attribute decl. if a + const xmlChar * typeName : the local name of the type definition + const xmlChar * typeNs : the ns URI of the type definition xmlSchemaAnnotPtr annot - xmlSchemaTypePtr base + xmlSchemaTypePtr base : obsolete, not used int occurs const xmlChar * defValue - xmlSchemaTypePtr subtypes + xmlSchemaTypePtr subtypes : the type definition xmlNodePtr node const xmlChar * targetNamespace int flags + const xmlChar * refPrefix }

Structure xmlSchemaAttributeGroup

Structure xmlSchemaAttributeGroup
struct _xmlSchemaAttributeGroup { xmlSchemaTypeType type : The kind of type struct _xmlSchemaAttribute * next : the next attribute if in a group ... @@ -122,6 +138,7 @@ The content of this structure is not made public by the API. xmlNodePtr node int flags xmlSchemaWildcardPtr attributeWildcard + const xmlChar * refPrefix }

Structure xmlSchemaAttributeLink

Structure xmlSchemaAttributeLink
struct _xmlSchemaAttributeLink { struct _xmlSchemaAttributeLink * next : the next attribute link ... struct _xmlSchemaAttribute * attr : the linked attribute @@ -140,10 +157,10 @@ The content of this structure is not made public by the API. struct _xmlSchemaType * next : the next type if in a sequence ... const xmlChar * name const xmlChar * id - const xmlChar * ref - const xmlChar * refNs + const xmlChar * ref : the local name of the element declarati + const xmlChar * refNs : the ns URI of the element declaration i xmlSchemaAnnotPtr annot - xmlSchemaTypePtr subtypes + xmlSchemaTypePtr subtypes : the type definition xmlSchemaAttributePtr attributes xmlNodePtr node int minOccurs @@ -156,9 +173,10 @@ The content of this structure is not made public by the API. const xmlChar * substGroupNs const xmlChar * scope const xmlChar * value - struct _xmlSchemaElement * refDecl + struct _xmlSchemaElement * refDecl : the element declaration if a particle xmlRegexpPtr contModel xmlSchemaContentType contentType + const xmlChar * refPrefix }

Structure xmlSchemaFacet

Structure xmlSchemaFacet
struct _xmlSchemaFacet { xmlSchemaTypeType type : The kind of type struct _xmlSchemaFacet * next : the next type if in a sequence ... @@ -204,6 +222,8 @@ The content of this structure is not made public by the API. int builtInType xmlSchemaTypeLinkPtr memberTypes xmlSchemaFacetLinkPtr facetSet + const xmlChar * refPrefix + xmlSchemaTypePtr contentTypeDef }

Structure xmlSchemaTypeLink

Structure xmlSchemaTypeLink
struct _xmlSchemaTypeLink { struct _xmlSchemaTypeLink * next : the next type link ... xmlSchemaTypePtr type : the linked typ diff --git a/doc/html/libxml-threads.html b/doc/html/libxml-threads.html index 0015449c..46c7df98 100644 --- a/doc/html/libxml-threads.html +++ b/doc/html/libxml-threads.html @@ -10,7 +10,7 @@ A:link, A:visited, A:active { text-decoration: underline } Module threads from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module threads from libxml2

API Menu
API Indexes
Related links

set of generic threading related routines should work with pthreads, Windows native or TLS threads

Table of Contents

Structure xmlMutex
struct _xmlMutex + Module threads from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module threads from libxml2

API Menu
API Indexes
Related links

set of generic threading related routines should work with pthreads, Windows native or TLS threads

Table of Contents

Structure xmlMutex
struct _xmlMutex The content of this structure is not made public by the API.
Typedef xmlMutex * xmlMutexPtr
 
Structure xmlRMutex
struct _xmlRMutex diff --git a/doc/html/libxml-tree.html b/doc/html/libxml-tree.html index 3d85d465..cf95b31e 100644 --- a/doc/html/libxml-tree.html +++ b/doc/html/libxml-tree.html @@ -10,7 +10,7 @@ A:link, A:visited, A:active { text-decoration: underline } Module tree from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module tree from libxml2

API Menu
API Indexes
Related links

this module describes the structures found in an tree resulting from an XML or HTML parsing, as well as the API provided for various processing on that tree

Table of Contents

#define BASE_BUFFER_SIZE
#define XML_GET_CONTENT
#define XML_GET_LINE
#define XML_LOCAL_NAMESPACE
#define XML_XML_ID
#define XML_XML_NAMESPACE
#define xmlChildrenNode
#define xmlRootNode
Structure xmlAttr
struct _xmlAttr + Module tree from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module tree from libxml2

API Menu
API Indexes
Related links

this module describes the structures found in an tree resulting from an XML or HTML parsing, as well as the API provided for various processing on that tree

Table of Contents

#define BASE_BUFFER_SIZE
#define XML_GET_CONTENT
#define XML_GET_LINE
#define XML_LOCAL_NAMESPACE
#define XML_XML_ID
#define XML_XML_NAMESPACE
#define xmlChildrenNode
#define xmlRootNode
Structure xmlAttr
struct _xmlAttr
Typedef xmlAttr * xmlAttrPtr
 
Structure xmlAttribute
struct _xmlAttribute
Enum xmlAttributeDefault
diff --git a/doc/html/libxml-uri.html b/doc/html/libxml-uri.html
index c0af2aa3..0c17edd6 100644
--- a/doc/html/libxml-uri.html
+++ b/doc/html/libxml-uri.html
@@ -10,7 +10,7 @@ A:link, A:visited, A:active { text-decoration: underline }
 Module uri from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module uri from libxml2

API Menu
API Indexes
Related links

library of generic URI related routines Implements RFC 2396

Table of Contents

Structure xmlURI
struct _xmlURI + Module uri from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module uri from libxml2

API Menu
API Indexes
Related links

library of generic URI related routines Implements RFC 2396

Table of Contents

Structure xmlURI
struct _xmlURI
Typedef xmlURI * xmlURIPtr
 
xmlChar *	xmlBuildRelativeURI	(const xmlChar * URI, 
const xmlChar * base)
xmlChar *	xmlBuildURI		(const xmlChar * URI, 
const xmlChar * base)
diff --git a/doc/html/libxml-valid.html b/doc/html/libxml-valid.html index 73698c7a..a249f3a8 100644 --- a/doc/html/libxml-valid.html +++ b/doc/html/libxml-valid.html @@ -10,7 +10,7 @@ A:link, A:visited, A:active { text-decoration: underline } Module valid from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module valid from libxml2

API Menu
API Indexes
Related links

API for the DTD handling and the validity checking

Table of Contents

Structure xmlAttributeTable
struct _xmlHashTable + Module valid from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module valid from libxml2

API Menu
API Indexes
Related links

API for the DTD handling and the validity checking

Table of Contents

Structure xmlAttributeTable
struct _xmlHashTable The content of this structure is not made public by the API.
Typedef xmlAttributeTable * xmlAttributeTablePtr
 
Structure xmlElementTable
struct _xmlHashTable diff --git a/doc/html/libxml-xinclude.html b/doc/html/libxml-xinclude.html index ccfafc14..2eac5f56 100644 --- a/doc/html/libxml-xinclude.html +++ b/doc/html/libxml-xinclude.html @@ -10,7 +10,7 @@ A:link, A:visited, A:active { text-decoration: underline } Module xinclude from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module xinclude from libxml2

API Menu
API Indexes
Related links

API to handle XInclude processing, implements the World Wide Web Consortium Last Call Working Draft 10 November 2003

Table of Contents

#define XINCLUDE_FALLBACK
#define XINCLUDE_HREF
#define XINCLUDE_NODE
#define XINCLUDE_NS
#define XINCLUDE_OLD_NS
#define XINCLUDE_PARSE
#define XINCLUDE_PARSE_ENCODING
#define XINCLUDE_PARSE_TEXT
#define XINCLUDE_PARSE_XML
#define XINCLUDE_PARSE_XPOINTER
Structure xmlXIncludeCtxt
struct _xmlXIncludeCtxt + Module xinclude from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module xinclude from libxml2

API Menu
API Indexes
Related links

API to handle XInclude processing, implements the World Wide Web Consortium Last Call Working Draft 10 November 2003

Table of Contents

#define XINCLUDE_FALLBACK
#define XINCLUDE_HREF
#define XINCLUDE_NODE
#define XINCLUDE_NS
#define XINCLUDE_OLD_NS
#define XINCLUDE_PARSE
#define XINCLUDE_PARSE_ENCODING
#define XINCLUDE_PARSE_TEXT
#define XINCLUDE_PARSE_XML
#define XINCLUDE_PARSE_XPOINTER
Structure xmlXIncludeCtxt
struct _xmlXIncludeCtxt The content of this structure is not made public by the API.
Typedef xmlXIncludeCtxt * xmlXIncludeCtxtPtr
 
void	xmlXIncludeFreeContext		(xmlXIncludeCtxtPtr ctxt)
diff --git a/doc/html/libxml-xlink.html b/doc/html/libxml-xlink.html index 0759278e..e1949a09 100644 --- a/doc/html/libxml-xlink.html +++ b/doc/html/libxml-xlink.html @@ -10,7 +10,7 @@ A:link, A:visited, A:active { text-decoration: underline } Module xlink from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module xlink from libxml2

API Menu
API Indexes
Related links

unfinished XLink detection module

Table of Contents

Enum xlinkActuate
+    Module xlink from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module xlink from libxml2

API Menu
API Indexes
Related links

unfinished XLink detection module

Table of Contents

Enum xlinkActuate
 
Typedef xmlChar * xlinkHRef
 
Structure xlinkHandler
struct _xlinkHandler
Typedef xlinkHandler * xlinkHandlerPtr
diff --git a/doc/html/libxml-xmlIO.html b/doc/html/libxml-xmlIO.html
index 8c139e03..1e3b3c3b 100644
--- a/doc/html/libxml-xmlIO.html
+++ b/doc/html/libxml-xmlIO.html
@@ -10,7 +10,7 @@ A:link, A:visited, A:active { text-decoration: underline }
 Module xmlIO from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module xmlIO from libxml2

API Menu
API Indexes
Related links

interface for the I/O interfaces used by the parser

Table of Contents

xmlOutputBufferPtr	xmlAllocOutputBuffer	(xmlCharEncodingHandlerPtr encoder)
+ Module xmlIO from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module xmlIO from libxml2

API Menu
API Indexes
Related links

interface for the I/O interfaces used by the parser

Table of Contents

xmlOutputBufferPtr	xmlAllocOutputBuffer	(xmlCharEncodingHandlerPtr encoder)
xmlParserInputBufferPtr	xmlAllocParserInputBuffer	(xmlCharEncoding enc)
int	xmlCheckFilename		(const char * path)
xmlParserInputPtr	xmlCheckHTTPInput	(xmlParserCtxtPtr ctxt, 
xmlParserInputPtr ret)
diff --git a/doc/html/libxml-xmlautomata.html b/doc/html/libxml-xmlautomata.html index 92ecac22..f791881e 100644 --- a/doc/html/libxml-xmlautomata.html +++ b/doc/html/libxml-xmlautomata.html @@ -10,7 +10,7 @@ A:link, A:visited, A:active { text-decoration: underline } Module xmlautomata from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module xmlautomata from libxml2

API Menu
API Indexes
Related links

the API to build regexp automata

Table of Contents

Structure xmlAutomata
struct _xmlAutomata + Module xmlautomata from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module xmlautomata from libxml2

API Menu
API Indexes
Related links

the API to build regexp automata

Table of Contents

Structure xmlAutomata
struct _xmlAutomata The content of this structure is not made public by the API.
Typedef xmlAutomata * xmlAutomataPtr
 
Structure xmlAutomataState
struct _xmlAutomataState diff --git a/doc/html/libxml-xmlerror.html b/doc/html/libxml-xmlerror.html index ac0cff77..329adfda 100644 --- a/doc/html/libxml-xmlerror.html +++ b/doc/html/libxml-xmlerror.html @@ -10,7 +10,7 @@ A:link, A:visited, A:active { text-decoration: underline } Module xmlerror from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module xmlerror from libxml2

API Menu
API Indexes
Related links

the API used to report errors

Table of Contents

Structure xmlError
struct _xmlError + Module xmlerror from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module xmlerror from libxml2

API Menu
API Indexes
Related links

the API used to report errors

Table of Contents

Structure xmlError
struct _xmlError
Enum xmlErrorDomain
 
Enum xmlErrorLevel
 
Typedef xmlError * xmlErrorPtr
@@ -34,7 +34,7 @@ void	xmlGenericErrorFunc		(void * ctx, 
void	xmlSetGenericErrorFunc		(void * ctx, 
xmlGenericErrorFunc handler)
void	xmlSetStructuredErrorFunc	(void * ctx, 
xmlStructuredErrorFunc handler)
Function type: xmlStructuredErrorFunc
-void	xmlStructuredErrorFunc		(void * userData, 
xmlErrorPtr error) +void xmlStructuredErrorFunc (void * userData,
xmlErrorPtr xmlerr)

Description

Structure xmlError

Structure xmlError
struct _xmlError { @@ -631,22 +631,22 @@ void xmlStructuredErrorFunc (void * userD XML_SCHEMAP_SRC_SIMPLE_TYPE_3 = 3002 : 3002 XML_SCHEMAP_SRC_SIMPLE_TYPE_4 = 3003 : 3003 XML_SCHEMAP_SRC_RESOLVE = 3004 : 3004 - XML_SCHEMAP_SRC_RESTRICTION_BASE_OR_SIMPLETYPE = 3005 : 3004 - XML_SCHEMAP_SRC_LIST_ITEMTYPE_OR_SIMPLETYPE = 3006 : 3005 - XML_SCHEMAP_SRC_UNION_MEMBERTYPES_OR_SIMPLETYPES = 3007 : 3006 - XML_SCHEMAP_ST_PROPS_CORRECT_1 = 3008 : 3007 - XML_SCHEMAP_ST_PROPS_CORRECT_2 = 3009 : 3008 - XML_SCHEMAP_ST_PROPS_CORRECT_3 = 3010 : 3009 - XML_SCHEMAP_COS_ST_RESTRICTS_1_1 = 3011 : 3010 - XML_SCHEMAP_COS_ST_RESTRICTS_1_2 = 3012 : 3011 - XML_SCHEMAP_COS_ST_RESTRICTS_1_3_1 = 3013 : 3012 - XML_SCHEMAP_COS_ST_RESTRICTS_1_3_2 = 3014 : 3013 - XML_SCHEMAP_COS_ST_RESTRICTS_2_1 = 3015 : 3014 - XML_SCHEMAP_COS_ST_RESTRICTS_2_3_1_1 = 3016 : 3015 - XML_SCHEMAP_COS_ST_RESTRICTS_2_3_1_2 = 3017 : 3016 - XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_1 = 3018 : 3017 - XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_2 = 3019 : 3018 - XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_3 = 3020 : 3019 + XML_SCHEMAP_SRC_RESTRICTION_BASE_OR_SIMPLETYPE = 3005 : 3005 + XML_SCHEMAP_SRC_LIST_ITEMTYPE_OR_SIMPLETYPE = 3006 : 3006 + XML_SCHEMAP_SRC_UNION_MEMBERTYPES_OR_SIMPLETYPES = 3007 : 3007 + XML_SCHEMAP_ST_PROPS_CORRECT_1 = 3008 : 3008 + XML_SCHEMAP_ST_PROPS_CORRECT_2 = 3009 : 3009 + XML_SCHEMAP_ST_PROPS_CORRECT_3 = 3010 : 3010 + XML_SCHEMAP_COS_ST_RESTRICTS_1_1 = 3011 : 3011 + XML_SCHEMAP_COS_ST_RESTRICTS_1_2 = 3012 : 3012 + XML_SCHEMAP_COS_ST_RESTRICTS_1_3_1 = 3013 : 3013 + XML_SCHEMAP_COS_ST_RESTRICTS_1_3_2 = 3014 : 3014 + XML_SCHEMAP_COS_ST_RESTRICTS_2_1 = 3015 : 3015 + XML_SCHEMAP_COS_ST_RESTRICTS_2_3_1_1 = 3016 : 3016 + XML_SCHEMAP_COS_ST_RESTRICTS_2_3_1_2 = 3017 : 3017 + XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_1 = 3018 : 3018 + XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_2 = 3019 : 3019 + XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_3 = 3020 : 3020 XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_4 = 3021 : 3021 XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_5 = 3022 : 3022 XML_SCHEMAP_COS_ST_RESTRICTS_3_1 = 3023 : 3023 @@ -663,6 +663,27 @@ void xmlStructuredErrorFunc (void * userD XML_SCHEMAP_S4S_ELEM_MISSING = 3034 : 3034 XML_SCHEMAP_S4S_ATTR_NOT_ALLOWED = 3035 : 3035 XML_SCHEMAP_S4S_ATTR_MISSING = 3036 : 3036 + XML_SCHEMAP_S4S_ATTR_INVALID_VALUE = 3037 : 3037 + XML_SCHEMAP_SRC_ELEMENT_1 = 3038 : 3038 + XML_SCHEMAP_SRC_ELEMENT_2_1 = 3039 : 3039 + XML_SCHEMAP_SRC_ELEMENT_2_2 = 3040 : 3040 + XML_SCHEMAP_SRC_ELEMENT_3 = 3041 : 3041 + XML_SCHEMAP_P_PROPS_CORRECT_1 = 3042 : 3042 + XML_SCHEMAP_P_PROPS_CORRECT_2_1 = 3043 : 3043 + XML_SCHEMAP_P_PROPS_CORRECT_2_2 = 3044 : 3044 + XML_SCHEMAP_E_PROPS_CORRECT_2 = 3045 : 3045 + XML_SCHEMAP_E_PROPS_CORRECT_3 = 3046 : 3046 + XML_SCHEMAP_E_PROPS_CORRECT_4 = 3047 : 3047 + XML_SCHEMAP_E_PROPS_CORRECT_5 = 3048 : 3048 + XML_SCHEMAP_E_PROPS_CORRECT_6 = 3049 : 3049 + XML_SCHEMAP_SRC_INCLUDE = 3050 : 3050 + XML_SCHEMAP_SRC_ATTRIBUTE_1 = 3051 : 3051 + XML_SCHEMAP_SRC_ATTRIBUTE_2 = 3052 : 3052 + XML_SCHEMAP_SRC_ATTRIBUTE_3_1 = 3053 : 3053 + XML_SCHEMAP_SRC_ATTRIBUTE_3_2 = 3054 : 3054 + XML_SCHEMAP_SRC_ATTRIBUTE_4 = 3055 : 3055 + XML_SCHEMAP_NO_XMLNS = 3056 : 3056 + XML_SCHEMAP_NO_XSI = 3057 : 3057 }

Function: initGenericErrorDefaultFunc

void	initGenericErrorDefaultFunc	(xmlGenericErrorFunc * handler)

Set or reset (if NULL) the default handler for generic errors to the builtin error function.

@@ -694,10 +715,10 @@ void xmlGenericErrorFunc (void * ctx,
const char * msg,
err:pointer to the error.

Function: xmlResetLastError

void	xmlResetLastError		(void)

Cleanup the last global error registered. For parsing error this does not change the well-formedness result.

Function: xmlSetGenericErrorFunc

void	xmlSetGenericErrorFunc		(void * ctx, 
xmlGenericErrorFunc handler)
-

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.

+

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.

ctx:the new error handling context
handler:the new handler function

Function: xmlSetStructuredErrorFunc

void	xmlSetStructuredErrorFunc	(void * ctx, 
xmlStructuredErrorFunc handler)
-

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

+

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.

ctx:the new error handling context
handler:the new handler function

Function type: xmlStructuredErrorFunc

Function type: xmlStructuredErrorFunc
-void	xmlStructuredErrorFunc		(void * userData, 
xmlErrorPtr error) -

Signature of the function to use when there is an error and the module handles the new error reporting mechanism.

userData:user provided data for the error callback
error:the error being raised.

+void xmlStructuredErrorFunc (void * userData,
xmlErrorPtr xmlerr) +

Signature of the function to use when there is an error and the module handles the new error reporting mechanism.

userData:user provided data for the error callback
xmlerr:the error being raised.

Daniel Veillard

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

Module xmlexports from libxml2

API Menu
API Indexes
Related links

macros for marking symbols as exportable/importable.

Table of Contents

#define LIBXML_DLL_IMPORT
#define XMLCALL
#define XMLPUBFUN
#define XMLPUBVAR
#define _REENTRANT

Description

+ Module xmlexports from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module xmlexports from libxml2

API Menu
API Indexes
Related links

macros for marking symbols as exportable/importable.

Table of Contents

#define LIBXML_DLL_IMPORT
#define XMLCALL
#define XMLPUBFUN
#define XMLPUBVAR
#define _REENTRANT

Description

Macro: LIBXML_DLL_IMPORT

#define LIBXML_DLL_IMPORT

Macro: XMLCALL

#define XMLCALL

Macro: XMLPUBFUN

#define XMLPUBFUN

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

Module xmlmemory from libxml2

API Menu
API Indexes
Related links

provides interfaces for the memory allocator, including debugging capabilities.

Table of Contents

#define DEBUG_MEMORY
Variable xmlMallocFunc xmlMalloc
+    Module xmlmemory from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module xmlmemory from libxml2

API Menu
API Indexes
Related links

provides interfaces for the memory allocator, including debugging capabilities.

Table of Contents

#define DEBUG_MEMORY
Variable xmlMallocFunc xmlMalloc
 
 
Variable xmlMallocFunc xmlMallocAtomic
 
diff --git a/doc/html/libxml-xmlreader.html b/doc/html/libxml-xmlreader.html
index d1609081..164d55c2 100644
--- a/doc/html/libxml-xmlreader.html
+++ b/doc/html/libxml-xmlreader.html
@@ -10,7 +10,7 @@ A:link, A:visited, A:active { text-decoration: underline }
 Module xmlreader from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module xmlreader from libxml2

API Menu
API Indexes
Related links

API of the XML streaming API based on C# interfaces.

Table of Contents

Enum xmlParserProperties
+    Module xmlreader from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module xmlreader from libxml2

API Menu
API Indexes
Related links

API of the XML streaming API based on C# interfaces.

Table of Contents

Enum xmlParserProperties
 
Enum xmlParserSeverities
 
Enum xmlReaderTypes
 
Structure xmlTextReader
struct _xmlTextReader diff --git a/doc/html/libxml-xmlregexp.html b/doc/html/libxml-xmlregexp.html index 6db8806e..51d38edd 100644 --- a/doc/html/libxml-xmlregexp.html +++ b/doc/html/libxml-xmlregexp.html @@ -10,7 +10,7 @@ A:link, A:visited, A:active { text-decoration: underline } Module xmlregexp from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module xmlregexp from libxml2

API Menu
API Indexes
Related links

basic API for libxml regular expressions handling used for XML Schemas and validation.

Table of Contents

Structure xmlRegExecCtxt
struct _xmlRegExecCtxt + Module xmlregexp from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module xmlregexp from libxml2

API Menu
API Indexes
Related links

basic API for libxml regular expressions handling used for XML Schemas and validation.

Table of Contents

Structure xmlRegExecCtxt
struct _xmlRegExecCtxt The content of this structure is not made public by the API.
Typedef xmlRegExecCtxt * xmlRegExecCtxtPtr
 
Structure xmlRegexp
struct _xmlRegexp diff --git a/doc/html/libxml-xmlsave.html b/doc/html/libxml-xmlsave.html index f2fc6760..3716a11f 100644 --- a/doc/html/libxml-xmlsave.html +++ b/doc/html/libxml-xmlsave.html @@ -10,7 +10,7 @@ A:link, A:visited, A:active { text-decoration: underline } Module xmlsave from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module xmlsave from libxml2

API Menu
API Indexes
Related links

API to save document or subtree of document

Table of Contents

Structure xmlSaveCtxt
struct _xmlSaveCtxt + Module xmlsave from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module xmlsave from libxml2

API Menu
API Indexes
Related links

API to save document or subtree of document

Table of Contents

Structure xmlSaveCtxt
struct _xmlSaveCtxt The content of this structure is not made public by the API.
Typedef xmlSaveCtxt * xmlSaveCtxtPtr
 
int	xmlSaveClose			(xmlSaveCtxtPtr ctxt)
diff --git a/doc/html/libxml-xmlschemas.html b/doc/html/libxml-xmlschemas.html index c60e57b8..364eda19 100644 --- a/doc/html/libxml-xmlschemas.html +++ b/doc/html/libxml-xmlschemas.html @@ -10,7 +10,7 @@ A:link, A:visited, A:active { text-decoration: underline } Module xmlschemas from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module xmlschemas from libxml2

API Menu
API Indexes
Related links

interface to the XML Schemas handling and schema validity checking, it is incomplete right now.

Table of Contents

Structure xmlSchema
struct _xmlSchema + Module xmlschemas from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module xmlschemas from libxml2

API Menu
API Indexes
Related links

interface to the XML Schemas handling and schema validity checking, it is incomplete right now.

Table of Contents

Structure xmlSchema
struct _xmlSchema
Structure xmlSchemaParserCtxt
struct _xmlSchemaParserCtxt The content of this structure is not made public by the API.
Typedef xmlSchemaParserCtxt * xmlSchemaParserCtxtPtr
@@ -23,6 +23,8 @@ The content of this structure is not made public by the API.
 
void	xmlSchemaFree			(xmlSchemaPtr schema)
void	xmlSchemaFreeParserCtxt		(xmlSchemaParserCtxtPtr ctxt)
void	xmlSchemaFreeValidCtxt		(xmlSchemaValidCtxtPtr ctxt)
+
int	xmlSchemaGetParserErrors	(xmlSchemaParserCtxtPtr ctxt, 
xmlSchemaValidityErrorFunc * err,
xmlSchemaValidityWarningFunc * warn,
void ** ctx)
+
int	xmlSchemaGetValidErrors		(xmlSchemaValidCtxtPtr ctxt, 
xmlSchemaValidityErrorFunc * err,
xmlSchemaValidityWarningFunc * warn,
void ** ctx)
xmlSchemaParserCtxtPtr	xmlSchemaNewDocParserCtxt	(xmlDocPtr doc)
xmlSchemaParserCtxtPtr	xmlSchemaNewMemParserCtxt	(const char * buffer, 
int size)
xmlSchemaParserCtxtPtr	xmlSchemaNewParserCtxt	(const char * URL)
@@ -30,7 +32,7 @@ The content of this structure is not made public by the API.
xmlSchemaPtr	xmlSchemaParse		(xmlSchemaParserCtxtPtr ctxt)
void	xmlSchemaSetParserErrors	(xmlSchemaParserCtxtPtr ctxt, 
xmlSchemaValidityErrorFunc err,
xmlSchemaValidityWarningFunc warn,
void * ctx)
void	xmlSchemaSetValidErrors		(xmlSchemaValidCtxtPtr ctxt, 
xmlSchemaValidityErrorFunc err,
xmlSchemaValidityWarningFunc warn,
void * ctx)
-
int	xmlSchemaValidateDoc		(xmlSchemaValidCtxtPtr ctxt, 
xmlDocPtr doc)
+
int	xmlSchemaValidateDoc		(xmlSchemaValidCtxtPtr ctxt, 
xmlDocPtr instance)
int	xmlSchemaValidateStream		(xmlSchemaValidCtxtPtr ctxt, 
xmlParserInputBufferPtr input,
xmlCharEncoding enc,
xmlSAXHandlerPtr sax,
void * user_data)
Function type: xmlSchemaValidityErrorFunc
 void	xmlSchemaValidityErrorFunc	(void * ctx, 
const char * msg,
... ...) @@ -97,26 +99,30 @@ The content of this structure is not made public by the API.
schema:a schema structure

Function: xmlSchemaFreeParserCtxt

void	xmlSchemaFreeParserCtxt		(xmlSchemaParserCtxtPtr ctxt)

Free the resources associated to the schema parser context

ctxt:the schema parser context

Function: xmlSchemaFreeValidCtxt

void	xmlSchemaFreeValidCtxt		(xmlSchemaValidCtxtPtr ctxt)
-

Free the resources associated to the schema validation context

-
ctxt:the schema validation context

Function: xmlSchemaNewDocParserCtxt

xmlSchemaParserCtxtPtr	xmlSchemaNewDocParserCtxt	(xmlDocPtr doc)
+

+
ctxt:

Function: xmlSchemaGetParserErrors

int	xmlSchemaGetParserErrors	(xmlSchemaParserCtxtPtr ctxt, 
xmlSchemaValidityErrorFunc * err,
xmlSchemaValidityWarningFunc * warn,
void ** ctx)
+

Get the callback information used to handle errors for a parser context

+
ctxt:a XMl-Schema parser context
err:the error callback result
warn:the warning callback result
ctx:contextual data for the callbacks result
Returns:-1 in case of failure, 0 otherwise

Function: xmlSchemaGetValidErrors

int	xmlSchemaGetValidErrors		(xmlSchemaValidCtxtPtr ctxt, 
xmlSchemaValidityErrorFunc * err,
xmlSchemaValidityWarningFunc * warn,
void ** ctx)
+

+
ctxt:
err:
warn:
ctx:
Returns:

Function: xmlSchemaNewDocParserCtxt

xmlSchemaParserCtxtPtr	xmlSchemaNewDocParserCtxt	(xmlDocPtr doc)

Create an XML Schemas parse context for that document. NB. The document may be modified during the parsing process.

doc:a preparsed document tree
Returns:the parser context or NULL in case of error

Function: xmlSchemaNewMemParserCtxt

xmlSchemaParserCtxtPtr	xmlSchemaNewMemParserCtxt	(const char * buffer, 
int size)

Create an XML Schemas parse context for that memory buffer expected to contain an XML Schemas file.

buffer:a pointer to a char array containing the schemas
size:the size of the array
Returns:the parser context or NULL in case of error

Function: xmlSchemaNewParserCtxt

xmlSchemaParserCtxtPtr	xmlSchemaNewParserCtxt	(const char * URL)

Create an XML Schemas parse context for that file/resource expected to contain an XML Schemas file.

URL:the location of the schema
Returns:the parser context or NULL in case of error

Function: xmlSchemaNewValidCtxt

xmlSchemaValidCtxtPtr	xmlSchemaNewValidCtxt	(xmlSchemaPtr schema)
-

Create an XML Schemas validation context based on the given schema

-
schema:a precompiled XML Schemas
Returns:the validation context or NULL in case of error

Function: xmlSchemaParse

xmlSchemaPtr	xmlSchemaParse		(xmlSchemaParserCtxtPtr ctxt)
+

+
schema:
Returns:

Function: xmlSchemaParse

xmlSchemaPtr	xmlSchemaParse		(xmlSchemaParserCtxtPtr ctxt)

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

ctxt:a schema validation context
Returns:the internal XML Schema structure built from the resource or NULL in case of error

Function: xmlSchemaSetParserErrors

void	xmlSchemaSetParserErrors	(xmlSchemaParserCtxtPtr ctxt, 
xmlSchemaValidityErrorFunc err,
xmlSchemaValidityWarningFunc warn,
void * ctx)

Set the callback functions used to handle errors for a validation context

ctxt:a schema validation context
err:the error callback
warn:the warning callback
ctx:contextual data for the callbacks

Function: xmlSchemaSetValidErrors

void	xmlSchemaSetValidErrors		(xmlSchemaValidCtxtPtr ctxt, 
xmlSchemaValidityErrorFunc err,
xmlSchemaValidityWarningFunc warn,
void * ctx)
-

Set the error and warning callback informations

-
ctxt:a schema validation context
err:the error function
warn:the warning function
ctx:the functions context

Function: xmlSchemaValidateDoc

int	xmlSchemaValidateDoc		(xmlSchemaValidCtxtPtr ctxt, 
xmlDocPtr doc)
-

Validate a document tree in memory.

-
ctxt:a schema validation context
doc:a parsed document tree
Returns:0 if the document is schemas valid, a positive error code number otherwise and -1 in case of internal or API error.

Function: xmlSchemaValidateStream

int	xmlSchemaValidateStream		(xmlSchemaValidCtxtPtr ctxt, 
xmlParserInputBufferPtr input,
xmlCharEncoding enc,
xmlSAXHandlerPtr sax,
void * user_data)
-

Validate a document tree in memory.

-
ctxt:a schema validation context
input:the input to use for reading the data
enc:an optional encoding information
sax:a SAX handler for the resulting events
user_data:the context to provide to the SAX handler.
Returns:0 if the document is schemas valid, a positive error code number otherwise and -1 in case of internal or API error.

Function type: xmlSchemaValidityErrorFunc

Function type: xmlSchemaValidityErrorFunc
+

+
ctxt:
err:
warn:
ctx:

Function: xmlSchemaValidateDoc

int	xmlSchemaValidateDoc		(xmlSchemaValidCtxtPtr ctxt, 
xmlDocPtr instance)
+

+
ctxt:
instance:
Returns:

Function: xmlSchemaValidateStream

int	xmlSchemaValidateStream		(xmlSchemaValidCtxtPtr ctxt, 
xmlParserInputBufferPtr input,
xmlCharEncoding enc,
xmlSAXHandlerPtr sax,
void * user_data)
+

+
ctxt:
input:
enc:
sax:
user_data:
Returns:

Function type: xmlSchemaValidityErrorFunc

Function type: xmlSchemaValidityErrorFunc
 void	xmlSchemaValidityErrorFunc	(void * ctx, 
const char * msg,
... ...)

ctx:
msg:
...:

Function type: xmlSchemaValidityWarningFunc

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

Module xmlschemastypes from libxml2

API Menu
API Indexes
Related links

module providing the XML Schema Datatypes implementation both definition and validity checking

Table of Contents

int	xmlSchemaCheckFacet		(xmlSchemaFacetPtr facet, 
xmlSchemaTypePtr typeDecl,
xmlSchemaParserCtxtPtr ctxt,
const xmlChar * name)
+ Module xmlschemastypes from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module xmlschemastypes from libxml2

API Menu
API Indexes
Related links

module providing the XML Schema Datatypes implementation both definition and validity checking

Table of Contents

int	xmlSchemaCheckFacet		(xmlSchemaFacetPtr facet, 
xmlSchemaTypePtr typeDecl,
xmlSchemaParserCtxtPtr ctxt,
const xmlChar * name)
void	xmlSchemaCleanupTypes		(void)
xmlChar *	xmlSchemaCollapseString	(const xmlChar * value)
int	xmlSchemaCompareValues		(xmlSchemaValPtr x, 
xmlSchemaValPtr y)
@@ -18,12 +18,15 @@ A:link, A:visited, A:active { text-decoration: underline }
void	xmlSchemaFreeValue		(xmlSchemaValPtr value)
xmlSchemaTypePtr	xmlSchemaGetBuiltInListSimpleTypeItemType	(xmlSchemaTypePtr type)
xmlSchemaTypePtr	xmlSchemaGetBuiltInType	(xmlSchemaValType type)
+
unsigned long	xmlSchemaGetFacetValueAsULong	(xmlSchemaFacetPtr facet)
xmlSchemaTypePtr	xmlSchemaGetPredefinedType	(const xmlChar * name, 
const xmlChar * ns)
void	xmlSchemaInitTypes		(void)
int	xmlSchemaIsBuiltInTypeFacet	(xmlSchemaTypePtr type, 
int facetType)
xmlSchemaFacetPtr	xmlSchemaNewFacet	(void)
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	xmlSchemaValidateLengthFacet	(xmlSchemaTypePtr type, 
xmlSchemaFacetPtr facet,
const xmlChar * value,
xmlSchemaValPtr val,
unsigned long * length)
int	xmlSchemaValidateListSimpleTypeFacet	(xmlSchemaFacetPtr facet, 
const xmlChar * value,
unsigned long actualLen,
unsigned long * expectedLen)
int	xmlSchemaValidatePredefinedType	(xmlSchemaTypePtr type, 
const xmlChar * value,
xmlSchemaValPtr * val)

Description

@@ -40,22 +43,28 @@ A:link, A:visited, A:active { text-decoration: underline }
facet:a schema facet structure

Function: xmlSchemaFreeValue

void	xmlSchemaFreeValue		(xmlSchemaValPtr value)

Cleanup the default XML Schemas type library

value:the value to free

Function: xmlSchemaGetBuiltInListSimpleTypeItemType

xmlSchemaTypePtr	xmlSchemaGetBuiltInListSimpleTypeItemType	(xmlSchemaTypePtr type)
-

Lookup a type in the built-in type database hierarchy of XML Schema Part 2:Datatypes.

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

Function: xmlSchemaGetBuiltInType

xmlSchemaTypePtr	xmlSchemaGetBuiltInType	(xmlSchemaValType type)
+

+
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: xmlSchemaGetPredefinedType

xmlSchemaTypePtr	xmlSchemaGetPredefinedType	(const xmlChar * name, 
const xmlChar * ns)
+
type:the type of the built in type
Returns:the type if found, NULL otherwise.

Function: xmlSchemaGetFacetValueAsULong

unsigned long	xmlSchemaGetFacetValueAsULong	(xmlSchemaFacetPtr facet)
+

+
facet:
Returns:

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)

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.

-
type:the built-in type
facetType:the facet type
Returns:1 if the facet can be used with the given built-in type, 0 otherwise and -1 in case the type is not a built-in type.

Function: xmlSchemaNewFacet

xmlSchemaFacetPtr	xmlSchemaNewFacet	(void)
+

+
type:
facetType:
Returns:

Function: xmlSchemaNewFacet

xmlSchemaFacetPtr	xmlSchemaNewFacet	(void)

Allocate a new Facet structure.

Returns:the newly allocated structure or NULL in case or error

Function: xmlSchemaValPredefTypeNode

int	xmlSchemaValPredefTypeNode	(xmlSchemaTypePtr type, 
const xmlChar * value,
xmlSchemaValPtr * val,
xmlNodePtr node)

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

+
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: xmlSchemaValPredefTypeNodeNoNorm

int	xmlSchemaValPredefTypeNodeNoNorm	(xmlSchemaTypePtr type, 
const xmlChar * value,
xmlSchemaValPtr * val,
xmlNodePtr node)
+

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: xmlSchemaValidateListSimpleTypeFacet

int	xmlSchemaValidateListSimpleTypeFacet	(xmlSchemaFacetPtr facet, 
const xmlChar * value,
unsigned long actualLen,
unsigned long * expectedLen)
+
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)
+

+
type:
facet:
value:
val:
length:
Returns:

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/html/libxml-xmlstring.html b/doc/html/libxml-xmlstring.html index dc30ec53..47029d9f 100644 --- a/doc/html/libxml-xmlstring.html +++ b/doc/html/libxml-xmlstring.html @@ -10,7 +10,7 @@ A:link, A:visited, A:active { text-decoration: underline } Module xmlstring from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module xmlstring from libxml2

API Menu
API Indexes
Related links

type and interfaces needed for the internal string handling of the library, especially UTF8 processing.

Table of Contents

#define BAD_CAST
Typedef unsigned char xmlChar
+    Module xmlstring from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module xmlstring from libxml2

API Menu
API Indexes
Related links

type and interfaces needed for the internal string handling of the library, especially UTF8 processing.

Table of Contents

#define BAD_CAST
Typedef unsigned char xmlChar
 
xmlChar *	xmlCharStrdup		(const char * cur)
xmlChar *	xmlCharStrndup		(const char * cur, 
int len)
int	xmlCheckUTF8			(const unsigned char * utf)
diff --git a/doc/html/libxml-xmlunicode.html b/doc/html/libxml-xmlunicode.html index 01b263e3..f0b621a0 100644 --- a/doc/html/libxml-xmlunicode.html +++ b/doc/html/libxml-xmlunicode.html @@ -10,7 +10,7 @@ A:link, A:visited, A:active { text-decoration: underline } Module xmlunicode from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module xmlunicode from libxml2

API Menu
API Indexes
Related links

API for the Unicode character APIs This file is automatically generated from the UCS description files of the Unicode Character Database

Table of Contents

int	xmlUCSIsAegeanNumbers		(int code)
+ Module xmlunicode from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module xmlunicode from libxml2

API Menu
API Indexes
Related links

API for the Unicode character APIs This file is automatically generated from the UCS description files of the Unicode Character Database

Table of Contents

int	xmlUCSIsAegeanNumbers		(int code)
int	xmlUCSIsAlphabeticPresentationForms	(int code)
int	xmlUCSIsArabic			(int code)
int	xmlUCSIsArabicPresentationFormsA	(int code)
diff --git a/doc/html/libxml-xmlversion.html b/doc/html/libxml-xmlversion.html index 7f6c032f..cffc9ff1 100644 --- a/doc/html/libxml-xmlversion.html +++ b/doc/html/libxml-xmlversion.html @@ -10,7 +10,7 @@ A:link, A:visited, A:active { text-decoration: underline } Module xmlversion from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module xmlversion from libxml2

API Menu
API Indexes
Related links

compile-time version informations for the XML library

Table of Contents

#define ATTRIBUTE_UNUSED
#define DEBUG_MEMORY_LOCATION
#define LIBXML_AUTOMATA_ENABLED
#define LIBXML_C14N_ENABLED
#define LIBXML_CATALOG_ENABLED
#define LIBXML_DEBUG_ENABLED
#define LIBXML_DOCB_ENABLED
#define LIBXML_DOTTED_VERSION
#define LIBXML_FTP_ENABLED
#define LIBXML_HTML_ENABLED
#define LIBXML_HTTP_ENABLED
#define LIBXML_ICONV_ENABLED
#define LIBXML_ISO8859X_ENABLED
#define LIBXML_LEGACY_ENABLED
#define LIBXML_OUTPUT_ENABLED
#define LIBXML_PATTERN_ENABLED
#define LIBXML_PUSH_ENABLED
#define LIBXML_READER_ENABLED
#define LIBXML_REGEXP_ENABLED
#define LIBXML_SAX1_ENABLED
#define LIBXML_SCHEMAS_ENABLED
#define LIBXML_TEST_VERSION
#define LIBXML_THREAD_ENABLED
#define LIBXML_TREE_ENABLED
#define LIBXML_UNICODE_ENABLED
#define LIBXML_VALID_ENABLED
#define LIBXML_VERSION
#define LIBXML_VERSION_STRING
#define LIBXML_WRITER_ENABLED
#define LIBXML_XINCLUDE_ENABLED
#define LIBXML_XPATH_ENABLED
#define LIBXML_XPTR_ENABLED
#define WITHOUT_TRIO
#define WITH_TRIO
void	xmlCheckVersion			(int version)
+ Module xmlversion from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module xmlversion from libxml2

API Menu
API Indexes
Related links

compile-time version informations for the XML library

Table of Contents

#define ATTRIBUTE_UNUSED
#define DEBUG_MEMORY_LOCATION
#define LIBXML_AUTOMATA_ENABLED
#define LIBXML_C14N_ENABLED
#define LIBXML_CATALOG_ENABLED
#define LIBXML_DEBUG_ENABLED
#define LIBXML_DOCB_ENABLED
#define LIBXML_DOTTED_VERSION
#define LIBXML_FTP_ENABLED
#define LIBXML_HTML_ENABLED
#define LIBXML_HTTP_ENABLED
#define LIBXML_ICONV_ENABLED
#define LIBXML_ISO8859X_ENABLED
#define LIBXML_LEGACY_ENABLED
#define LIBXML_OUTPUT_ENABLED
#define LIBXML_PATTERN_ENABLED
#define LIBXML_PUSH_ENABLED
#define LIBXML_READER_ENABLED
#define LIBXML_REGEXP_ENABLED
#define LIBXML_SAX1_ENABLED
#define LIBXML_SCHEMAS_ENABLED
#define LIBXML_TEST_VERSION
#define LIBXML_THREAD_ENABLED
#define LIBXML_TREE_ENABLED
#define LIBXML_UNICODE_ENABLED
#define LIBXML_VALID_ENABLED
#define LIBXML_VERSION
#define LIBXML_VERSION_STRING
#define LIBXML_WRITER_ENABLED
#define LIBXML_XINCLUDE_ENABLED
#define LIBXML_XPATH_ENABLED
#define LIBXML_XPTR_ENABLED
#define WITHOUT_TRIO
#define WITH_TRIO
void	xmlCheckVersion			(int version)

Description

Macro: ATTRIBUTE_UNUSED

#define ATTRIBUTE_UNUSED

Macro used to signal to GCC unused function parameters

Macro: DEBUG_MEMORY_LOCATION

#define DEBUG_MEMORY_LOCATION

Whether the memory debugging is configured in

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

Module xmlwriter from libxml2

API Menu
API Indexes
Related links

text writing API for XML

Table of Contents

#define xmlTextWriterWriteDocType
#define xmlTextWriterWriteProcessingInstruction
Structure xmlTextWriter
struct _xmlTextWriter + Module xmlwriter from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module xmlwriter from libxml2

API Menu
API Indexes
Related links

text writing API for XML

Table of Contents

#define xmlTextWriterWriteDocType
#define xmlTextWriterWriteProcessingInstruction
Structure xmlTextWriter
struct _xmlTextWriter The content of this structure is not made public by the API.
Typedef xmlTextWriter * xmlTextWriterPtr
 
void	xmlFreeTextWriter		(xmlTextWriterPtr writer)
diff --git a/doc/html/libxml-xpath.html b/doc/html/libxml-xpath.html index 96bf509c..27de3f61 100644 --- a/doc/html/libxml-xpath.html +++ b/doc/html/libxml-xpath.html @@ -10,7 +10,7 @@ A:link, A:visited, A:active { text-decoration: underline } Module xpath from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module xpath from libxml2

API Menu
API Indexes
Related links

API for the XML Path Language implementation XML Path Language implementation XPath is a language for addressing parts of an XML document, designed to be used by both XSLT and XPointer

Table of Contents

#define xmlXPathNodeSetGetLength
#define xmlXPathNodeSetIsEmpty
#define xmlXPathNodeSetItem
Structure xmlNodeSet
struct _xmlNodeSet + Module xpath from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module xpath from libxml2

API Menu
API Indexes
Related links

API for the XML Path Language implementation XML Path Language implementation XPath is a language for addressing parts of an XML document, designed to be used by both XSLT and XPointer

Table of Contents

#define xmlXPathNodeSetGetLength
#define xmlXPathNodeSetIsEmpty
#define xmlXPathNodeSetItem
Structure xmlNodeSet
struct _xmlNodeSet
Typedef xmlNodeSet * xmlNodeSetPtr
 
Structure xmlXPathAxis
struct _xmlXPathAxis
Typedef xmlXPathAxis * xmlXPathAxisPtr
diff --git a/doc/html/libxml-xpathInternals.html b/doc/html/libxml-xpathInternals.html
index a0ca5109..b67ff115 100644
--- a/doc/html/libxml-xpathInternals.html
+++ b/doc/html/libxml-xpathInternals.html
@@ -10,7 +10,7 @@ A:link, A:visited, A:active { text-decoration: underline }
 Module xpathInternals from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module xpathInternals from libxml2

API Menu
API Indexes
Related links

internal interfaces for XML Path Language implementation used to build new modules on top of XPath like XPointer and XSLT

Table of Contents

#define CAST_TO_BOOLEAN
#define CAST_TO_NUMBER
#define CAST_TO_STRING
#define CHECK_ARITY
#define CHECK_ERROR
#define CHECK_ERROR0
#define CHECK_TYPE
#define CHECK_TYPE0
#define XP_ERROR
#define XP_ERROR0
#define xmlXPathCheckError
#define xmlXPathEmptyNodeSet
#define xmlXPathGetContextNode
#define xmlXPathGetDocument
#define xmlXPathGetError
#define xmlXPathReturnBoolean
#define xmlXPathReturnEmptyNodeSet
#define xmlXPathReturnEmptyString
#define xmlXPathReturnExternal
#define xmlXPathReturnFalse
#define xmlXPathReturnNodeSet
#define xmlXPathReturnNumber
#define xmlXPathReturnString
#define xmlXPathReturnTrue
#define xmlXPathSetArityError
#define xmlXPathSetError
#define xmlXPathSetTypeError
#define xmlXPathStackIsExternal
#define xmlXPathStackIsNodeSet
xmlXPathObjectPtr	valuePop	(xmlXPathParserContextPtr ctxt)
+ Module xpathInternals from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module xpathInternals from libxml2

API Menu
API Indexes
Related links

internal interfaces for XML Path Language implementation used to build new modules on top of XPath like XPointer and XSLT

Table of Contents

#define CAST_TO_BOOLEAN
#define CAST_TO_NUMBER
#define CAST_TO_STRING
#define CHECK_ARITY
#define CHECK_ERROR
#define CHECK_ERROR0
#define CHECK_TYPE
#define CHECK_TYPE0
#define XP_ERROR
#define XP_ERROR0
#define xmlXPathCheckError
#define xmlXPathEmptyNodeSet
#define xmlXPathGetContextNode
#define xmlXPathGetDocument
#define xmlXPathGetError
#define xmlXPathReturnBoolean
#define xmlXPathReturnEmptyNodeSet
#define xmlXPathReturnEmptyString
#define xmlXPathReturnExternal
#define xmlXPathReturnFalse
#define xmlXPathReturnNodeSet
#define xmlXPathReturnNumber
#define xmlXPathReturnString
#define xmlXPathReturnTrue
#define xmlXPathSetArityError
#define xmlXPathSetError
#define xmlXPathSetTypeError
#define xmlXPathStackIsExternal
#define xmlXPathStackIsNodeSet
xmlXPathObjectPtr	valuePop	(xmlXPathParserContextPtr ctxt)
int	valuePush			(xmlXPathParserContextPtr ctxt, 
xmlXPathObjectPtr value)
void	xmlXPathAddValues		(xmlXPathParserContextPtr ctxt)
void	xmlXPathBooleanFunction		(xmlXPathParserContextPtr ctxt, 
int nargs)
diff --git a/doc/html/libxml-xpointer.html b/doc/html/libxml-xpointer.html index 2e148198..59fc3415 100644 --- a/doc/html/libxml-xpointer.html +++ b/doc/html/libxml-xpointer.html @@ -10,7 +10,7 @@ A:link, A:visited, A:active { text-decoration: underline } Module xpointer from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module xpointer from libxml2

API Menu
API Indexes
Related links

API to handle XML Pointers Base implementation was made accordingly to W3C Candidate Recommendation 7 June 2000

Table of Contents

Structure xmlLocationSet
struct _xmlLocationSet + Module xpointer from libxml2
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module xpointer from libxml2

API Menu
API Indexes
Related links

API to handle XML Pointers Base implementation was made accordingly to W3C Candidate Recommendation 7 June 2000

Table of Contents

Structure xmlLocationSet
struct _xmlLocationSet
Typedef xmlLocationSet * xmlLocationSetPtr
 
xmlNodePtr	xmlXPtrBuildNodeList	(xmlXPathObjectPtr obj)
xmlXPathObjectPtr	xmlXPtrEval	(const xmlChar * str, 
xmlXPathContextPtr ctx)
diff --git a/doc/libxml2-api.xml b/doc/libxml2-api.xml index e8fe0a53..8f47e184 100644 --- a/doc/libxml2-api.xml +++ b/doc/libxml2-api.xml @@ -6,23 +6,23 @@ interface for a DocBook SGML non-verifying parser This code is DEPRECATED, and should not be used anymore. Daniel Veillard + - - - - - - + + + + + interface for an HTML 4.0 non-verifying parser @@ -32,15 +32,15 @@ + + + - - - @@ -58,43 +58,43 @@ + + + - + + + + + + + + - + - - - - - - - - - - - - - - - - - + + + + - + + + + specific APIs to process HTML tree, especially serialization @@ -105,21 +105,21 @@ - - - + + - + + - + @@ -128,40 +128,40 @@ DEPRECATED set of SAX version 1 interfaces used to build the DOM tree. Daniel Veillard + - - - - - - - - - - - - - - - - - - - - + - + + + + + - + + + + + + + + + - + + + + + + + @@ -170,43 +170,43 @@ SAX2 parser interface used to build the DOM tree those are the default SAX2 interfaces used by the library when building DOM tree. Daniel Veillard + + + + + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + @@ -225,53 +225,53 @@ Daniel Veillard + - - - + + + - + + + + + + + - - - - - - - - - - - - - - - - + + + - + + + + + - - + + + + Unicode character range checking @@ -279,43 +279,43 @@ William Brack <wbrack@mmm.com.hk> - - + - + - - - + + + + - - + + + - - - - - + + + + Tree debugging APIs @@ -324,35 +324,35 @@ - - - - - - - - - - - - + - + + + + - + + + + + + - - + + + + + string dictionnary @@ -360,14 +360,14 @@ Daniel Veillard - - - + + + interface for the encoding conversion functions @@ -378,14 +378,10 @@ - - - - - + @@ -395,7 +391,11 @@ + + + + @@ -428,18 +428,18 @@ this module provides some of the entity API needed for the parser and applications. Daniel Veillard + + - - - + @@ -448,11 +448,11 @@ - - - + + + interface for all global variables of the library @@ -461,68 +461,68 @@ + + + + + + + + - + + + + + + + + + + - - + - - - - - - - - - - - - - - - - + + + + - - - - - - - - - - - - - + + - + + + + + + + + chained hash tables @@ -530,31 +530,31 @@ - + - + + + + + + + + + - + + - - - - - - - - - - + @@ -565,64 +565,64 @@ - - - - - - - - - - - - - + + + + + + + + + + + + - - + + + minimal FTP implementation minimal FTP implementation allowing to fetch resources like external subset. Daniel Veillard + - - - - - - - - - + + + + - + + + + + minimal HTTP implementation @@ -654,115 +654,78 @@ + - + + + + + + + + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - + + + - - - + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -770,44 +733,83 @@ + - + + + + + + + - + + - + + - + + + + + + + + + + + + + + + + + + + + + + - + + + + - + + + + + + + @@ -816,124 +818,124 @@ Daniel Veillard + - - - - - - - - + + - - + + + + + + - + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + - + + + - + + + + + + + + + - + + + + + - - - - + + + + + + + + + + + + + + + + @@ -960,17 +962,17 @@ - + - + - + @@ -988,39 +990,39 @@ - + - - + + + + + + + + - - - - - - - + @@ -1030,180 +1032,195 @@ internal interfaces for XML Schemas internal interfaces for the XML Schemas handling and schema validity checking Daniel Veillard + - + + - + + + - + + + + - - + + + - + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + + + + + + + + + + + + + + + + + - + + + + + + - + + + + + + + + - + + + + + + + + - + + + + + + - + - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - + - + - + @@ -1220,9 +1237,9 @@ - + - + @@ -1232,33 +1249,33 @@ - + interfaces for tree manipulation this module describes the structures found in an tree resulting from an XML or HTML parsing, as well as the API provided for various processing on that tree Daniel Veillard + - - - + + - + - + - + - + @@ -1267,7 +1284,7 @@ - + @@ -1280,16 +1297,16 @@ - + - + - + @@ -1301,46 +1318,46 @@ - - + - + + - - + + - + - - + + - + - + - - + + @@ -1350,156 +1367,156 @@ - - + + + - + - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + - - - + + + + + + + + - + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + - + + + + + + + + + + + + + + + + - - + + + + + + + @@ -1532,20 +1549,20 @@ - + - + - + @@ -1554,14 +1571,14 @@ - - + + - + - + @@ -1569,21 +1586,22 @@ - - + + - + - - + + - - + + + @@ -1600,11 +1618,10 @@ - - + + - @@ -1619,17 +1636,16 @@ Daniel Veillard + + + - - - - @@ -1637,6 +1653,7 @@ + unfinished XLink detection module @@ -1644,32 +1661,32 @@ Daniel Veillard - + - - + + - - - - + + + + - - - - - + + + + + @@ -1694,7 +1711,7 @@ - + @@ -1732,7 +1749,7 @@ - + API to build regexp automata @@ -1746,14 +1763,14 @@ - - + + @@ -1763,153 +1780,323 @@ error handling the API used to report errors Daniel Veillard + + + + - - + + + + + + + + + + + + - - + + + + + + + + + + + + + + + - + + + + + - + + - + + + + + + + - - + + - - + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + - + + + - + + + + + + + + + + + + + + - + + + - - + + + + + + + + - + + + + + + - + + + + + + + + + + - + + - + + + + + + + + + + + + + + - + + + + - - + + + + + + - + + + + + + - + + + + + + + + + + + + + + + - + + + + + + - + + + + + + - - - + + + + + - - + + + + - + + + + + + + + @@ -1917,33 +2104,67 @@ - - + + + - + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + - + + + @@ -1953,423 +2174,240 @@ + - + + + + + + + + + + + + + - + + + + + + + + + + + - + + + + - + + + + + + + + + + + + + + + + - - + + + + + + + + + + + - + + + + + + + - + + + + + + + + + + + + + + + + - + + + + + + + + + - - + + + + + + + - + + + - + + - - + + + + + + + + + + - + + + + + + + + + + + + + + - + + + + + + + - + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - + + @@ -2386,12 +2424,12 @@ - + - + @@ -2414,25 +2452,25 @@ - - - - - - - + + + + + + + @@ -2441,41 +2479,41 @@ API of the XML streaming API based on C# interfaces. Daniel Veillard + + - + + + + - - - + + + + + + + + + + - + + - - - - - - - - - - - - - - - + + @@ -2488,21 +2526,21 @@ + - - - + + @@ -2515,7 +2553,7 @@ - + @@ -2533,7 +2571,7 @@ - + @@ -2545,14 +2583,14 @@ - + - - + + @@ -2564,14 +2602,14 @@ - + - - - + + + @@ -2581,12 +2619,12 @@ + - - - + + @@ -2596,30 +2634,30 @@ Daniel Veillard - - - - - - - - - - - - - + + + + + + + - - + + + + + + + + @@ -2629,17 +2667,19 @@ + - + + - + @@ -2650,17 +2690,20 @@ + - + + + - + @@ -2671,168 +2714,126 @@ - - - - - - - - - - - - - + + + + + + - + + + + + - + + + + Unicode character APIs API for the Unicode character APIs This file is automatically generated from the UCS description files of the Unicode Character Database Daniel Veillard - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + - - + + + + + + - + + - + + + + + + - - - - - - - - + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + @@ -2842,71 +2843,113 @@ - - - - + + + + + + + + + + + + + + + + + + + + + + - - + + + + + + + + + + - + + + + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + compile-time version informations compile-time version informations for the XML library Daniel Veillard + + + + - + + + - - - - - - - - - - - - - - - + + + + + + + + + @@ -2924,7 +2967,7 @@ - + @@ -2938,7 +2981,6 @@ - @@ -2946,17 +2988,18 @@ - + + - + @@ -2965,8 +3008,9 @@ - + + @@ -2987,8 +3031,7 @@ - - + @@ -3008,261 +3051,261 @@ + - - - - - - - - - - - - - - + + + + + + + + + + + + + - - + + - - + + + - - + - - + + + + - + + + + - + + + - + + - - - - - - - - - - - - - - - - - - + - + + + + + + + + + + internal interfaces for XML Path Language implementation internal interfaces for XML Path Language implementation used to build new modules on top of XPath like XPointer and XSLT Daniel Veillard + - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + - - - - + + + + + + + + + + + + + + + - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + - + - - - + + + + + + + + + API to handle XML Pointers @@ -3274,23 +3317,23 @@ + - - + + - - + - + @@ -3623,8 +3666,12 @@ The attribute wildcard has been already builded. + + the attribute has a fixed value + - allow elements in no namespace + + allow elements in no namespace @@ -3638,18 +3685,50 @@ The attribute is required. + + the schema has "extension" in the set of blockDefault. + + + the schema has "restriction" in the set of blockDefault. + + + the schema has "substitution" in the set of blockDefault. + the element is abstract + + the "block" attribute is absent + + + disallowed substitutions are absent + + + disallowed substitutions: "restriction" + + + disallowed substitutions: "substituion" + + + the element has a default value + + substitution group exclusions are absent + + + + + the element has a fixed value the element is global + + the element is nillable @@ -3675,25 +3754,27 @@ unknown facet handling - the shema has "extension" in the set of finalDefault. + the schema has "extension" in the set of finalDefault. - the shema has "list" in the set of finalDefault. + the cshema has "list" in the set of finalDefault. - the shema has "restriction" in the set of finalDefault. + the schema has "restriction" in the set of finalDefault. - the shema has "union" in the set of finalDefault. + the schema has "union" in the set of finalDefault. + + + the schema is currently including an other schema with no target namespace. - the shemas requires qualified attributes + the schema requires qualified attributes - the shemas requires qualified elements + the schema requires qualified elements - the simpleType is a built-in primitive. the simple or complex type has a derivation method of "extension". @@ -3702,7 +3783,6 @@ the simple or complex type has a derivation method of "restriction". - the simpleType has a final of "default". the complexType has a final of "extension". @@ -4326,12 +4406,13 @@ - + + @@ -4539,16 +4620,16 @@ - - - - - - - - - - + + + + + + + + + + @@ -4577,6 +4658,11 @@ + + + + + @@ -4607,7 +4693,12 @@ + + + + + @@ -4619,24 +4710,35 @@ - + + + + + + + + + + + - + + - + - - - - + + + + @@ -5580,20 +5682,21 @@ actually an xmlCharEncoding'/> - + - - - - + + + + - + - + + @@ -5607,6 +5710,7 @@ actually an xmlCharEncoding'/> + @@ -5621,10 +5725,10 @@ actually an xmlCharEncoding'/> - - + + - + @@ -5637,9 +5741,10 @@ actually an xmlCharEncoding'/> - + + @@ -5696,6 +5801,8 @@ actually an xmlCharEncoding'/> + + @@ -10650,6 +10757,15 @@ actually an xmlCharEncoding'/> + + 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)* + + + + + + + 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.) @@ -11980,9 +12096,9 @@ actually an xmlCharEncoding'/> LIBXML_SCHEMAS_ENABLED - Free the resources associated to the schema validation context + - + LIBXML_SCHEMAS_ENABLED @@ -11998,8 +12114,8 @@ actually an xmlCharEncoding'/> LIBXML_SCHEMAS_ENABLED - Lookup a type in the built-in type database hierarchy of XML Schema Part 2:Datatypes. - + + @@ -12008,6 +12124,21 @@ actually an xmlCharEncoding'/> + + LIBXML_SCHEMAS_ENABLED + + + + + + LIBXML_SCHEMAS_ENABLED + Get the callback information used to handle errors for a parser context + + + + + + LIBXML_SCHEMAS_ENABLED Lookup a type in the default XML Schemas type library @@ -12015,6 +12146,15 @@ actually an xmlCharEncoding'/> + + LIBXML_SCHEMAS_ENABLED + + + + + + + LIBXML_SCHEMAS_ENABLED Initialize the default XML Schemas type library @@ -12022,10 +12162,10 @@ actually an xmlCharEncoding'/> LIBXML_SCHEMAS_ENABLED - Evaluates if a specific facet can be used in conjunction with a type. - - - + + + + LIBXML_SCHEMAS_ENABLED @@ -12053,9 +12193,9 @@ actually an xmlCharEncoding'/> LIBXML_SCHEMAS_ENABLED - Create an XML Schemas validation context based on the given schema - - + + + LIBXML_SCHEMAS_ENABLED @@ -12074,12 +12214,12 @@ actually an xmlCharEncoding'/> LIBXML_SCHEMAS_ENABLED - Set the error and warning callback informations + - - - - + + + + LIBXML_SCHEMAS_ENABLED @@ -12090,12 +12230,21 @@ actually an xmlCharEncoding'/> + + 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. + + + + + + LIBXML_SCHEMAS_ENABLED - Validate a document tree in memory. - - - + + + + LIBXML_SCHEMAS_ENABLED @@ -12106,6 +12255,16 @@ actually an xmlCharEncoding'/> + + LIBXML_SCHEMAS_ENABLED + + + + + + + + LIBXML_SCHEMAS_ENABLED Checks the value of a list simple type against a facet. @@ -12125,13 +12284,13 @@ actually an xmlCharEncoding'/> LIBXML_SCHEMAS_ENABLED - Validate a document tree in memory. - - - - - - + + + + + + + LIBXML_SCHEMAS_ENABLED @@ -12197,7 +12356,7 @@ 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. + 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. @@ -12232,7 +12391,7 @@ 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 + 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. @@ -12595,7 +12754,7 @@ actually an xmlCharEncoding'/> 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. diff --git a/doc/libxml2-refs.xml b/doc/libxml2-refs.xml index 3f65c2e2..19f079b4 100644 --- a/doc/libxml2-refs.xml +++ b/doc/libxml2-refs.xml @@ -482,6 +482,7 @@ + @@ -728,6 +729,11 @@ + + + + + @@ -758,7 +764,12 @@ + + + + + @@ -770,13 +781,24 @@ + + + + + + + + + + + @@ -832,12 +854,17 @@ + + + + + @@ -846,9 +873,18 @@ + + + + + + + + + @@ -899,6 +935,7 @@ + @@ -2063,6 +2100,7 @@ + @@ -2337,7 +2375,10 @@ + + + @@ -2360,6 +2401,7 @@ + @@ -2367,6 +2409,7 @@ + @@ -3569,6 +3612,7 @@ + @@ -3815,6 +3859,11 @@ + + + + + @@ -3845,7 +3894,12 @@ + + + + + @@ -3857,13 +3911,24 @@ + + + + + + + + + + + @@ -3919,12 +3984,17 @@ + + + + + @@ -3933,9 +4003,18 @@ + + + + + + + + + @@ -3986,6 +4065,7 @@ + @@ -5186,6 +5266,7 @@ + @@ -5460,7 +5541,10 @@ + + + @@ -5483,6 +5567,7 @@ + @@ -5490,6 +5575,7 @@ + @@ -6288,6 +6374,7 @@ + @@ -6716,6 +6803,9 @@ + + + @@ -7238,7 +7328,9 @@ + + @@ -7526,6 +7618,7 @@ + @@ -7782,6 +7875,8 @@ + + @@ -8462,6 +8557,7 @@ + @@ -8471,6 +8567,7 @@ + @@ -8548,6 +8645,7 @@ + @@ -8914,12 +9012,15 @@ + + + @@ -8934,16 +9035,20 @@ + + + + @@ -8951,6 +9056,7 @@ + @@ -8959,10 +9065,18 @@ + + + + + + + + @@ -9950,6 +10064,7 @@ + @@ -10039,6 +10154,7 @@ + @@ -10298,12 +10414,17 @@ + + + + + @@ -10312,9 +10433,18 @@ + + + + + + + + + @@ -10339,6 +10469,7 @@ + @@ -11409,6 +11540,11 @@ + + + + + @@ -11439,7 +11575,12 @@ + + + + + @@ -11451,13 +11592,24 @@ + + + + + + + + + + + @@ -11837,6 +11989,8 @@ + + @@ -11864,12 +12018,15 @@ + + + @@ -12521,10 +12678,9 @@ - + - @@ -12756,6 +12912,7 @@ + @@ -12893,6 +13050,7 @@ + @@ -13036,6 +13194,7 @@ + @@ -13085,6 +13244,7 @@ + @@ -13146,6 +13306,7 @@ + @@ -13381,6 +13542,9 @@ + + + @@ -13772,9 +13936,6 @@ - - - @@ -13925,6 +14086,8 @@ + + @@ -14023,6 +14186,7 @@ + @@ -14499,7 +14663,6 @@ - @@ -15010,6 +15173,7 @@ + @@ -15337,6 +15501,7 @@ + @@ -15615,7 +15780,6 @@ - @@ -15696,7 +15860,6 @@ - @@ -16241,8 +16404,6 @@ - - @@ -16322,6 +16483,7 @@ + @@ -16480,6 +16642,9 @@ + + + @@ -16497,6 +16662,9 @@ + + + @@ -16611,6 +16779,9 @@ + + + @@ -16880,7 +17051,6 @@ - @@ -16916,6 +17086,7 @@ + @@ -17115,6 +17286,10 @@ + + + + @@ -17131,6 +17306,7 @@ + @@ -17277,6 +17453,7 @@ + @@ -17292,7 +17469,6 @@ - @@ -17457,6 +17633,11 @@ + + + + + @@ -17579,10 +17760,8 @@ - - @@ -17627,35 +17806,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -17944,6 +18094,7 @@ + @@ -18290,6 +18441,7 @@ + @@ -18338,15 +18490,13 @@ + - - - @@ -18511,6 +18661,7 @@ + @@ -18696,6 +18847,9 @@ + + + @@ -18713,6 +18867,7 @@ + @@ -18729,7 +18884,7 @@ - + @@ -18815,6 +18970,7 @@ + @@ -18901,6 +19057,8 @@ + + @@ -19252,6 +19410,11 @@ + + + + + @@ -19332,6 +19495,7 @@ + @@ -19480,6 +19644,8 @@ + + @@ -19523,7 +19689,6 @@ - @@ -19780,6 +19945,7 @@ + @@ -19818,6 +19984,7 @@ + @@ -19859,7 +20026,6 @@ - @@ -19896,6 +20062,9 @@ + + + @@ -19983,6 +20152,7 @@ + @@ -20010,7 +20180,6 @@ - @@ -20080,6 +20249,7 @@ + @@ -20175,7 +20345,6 @@ - @@ -20229,6 +20398,7 @@ + @@ -20473,7 +20643,6 @@ - @@ -20636,6 +20805,7 @@ + @@ -20646,6 +20816,7 @@ + @@ -20694,6 +20865,7 @@ + @@ -21110,6 +21282,7 @@ + @@ -21274,7 +21447,7 @@ - + @@ -21298,7 +21471,6 @@ - @@ -21600,6 +21772,7 @@ + @@ -21829,6 +22002,7 @@ + @@ -22457,6 +22631,10 @@ + + + + @@ -22536,6 +22714,7 @@ + @@ -22779,6 +22958,7 @@ + @@ -22888,6 +23068,7 @@ + @@ -23121,7 +23302,6 @@ - @@ -23176,6 +23356,7 @@ + @@ -23333,6 +23514,10 @@ + + + + @@ -23522,11 +23707,10 @@ - + - @@ -23602,7 +23786,6 @@ - @@ -23619,6 +23802,7 @@ + @@ -23709,7 +23893,6 @@ - @@ -23912,7 +24095,6 @@ - @@ -24132,7 +24314,6 @@ - @@ -24657,7 +24838,6 @@ - @@ -24680,6 +24860,8 @@ + + @@ -24932,9 +25114,7 @@ - - @@ -25011,6 +25191,8 @@ + + @@ -25031,6 +25213,7 @@ + @@ -25140,16 +25323,6 @@ - - - - - - - - - - @@ -25226,8 +25399,6 @@ - - @@ -25357,30 +25528,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - @@ -25444,7 +25591,6 @@ - @@ -25806,6 +25952,9 @@ + + + @@ -25818,37 +25967,19 @@ - - - - - - - - - - - - - - + + - - - - - - - - - + + + @@ -26213,6 +26344,8 @@ + + @@ -26769,6 +26902,7 @@ + @@ -26892,8 +27026,8 @@ + - @@ -26929,11 +27063,13 @@ + + @@ -27054,6 +27190,7 @@ + diff --git a/elfgcchack.h b/elfgcchack.h index 9fec0c14..3e14491c 100644 --- a/elfgcchack.h +++ b/elfgcchack.h @@ -2958,6 +2958,10 @@ extern __typeof (xmlParseFile) xmlParseFile__internal_alias __attribute((visibil extern __typeof (xmlParseFile) xmlParseFile __attribute((alias("xmlParseFile__internal_alias"))); #define xmlParseFile xmlParseFile__internal_alias +extern __typeof (xmlParseInNodeContext) xmlParseInNodeContext__internal_alias __attribute((visibility("hidden"))); +extern __typeof (xmlParseInNodeContext) xmlParseInNodeContext __attribute((alias("xmlParseInNodeContext__internal_alias"))); +#define xmlParseInNodeContext xmlParseInNodeContext__internal_alias + extern __typeof (xmlParseMarkupDecl) xmlParseMarkupDecl__internal_alias __attribute((visibility("hidden"))); extern __typeof (xmlParseMarkupDecl) xmlParseMarkupDecl __attribute((alias("xmlParseMarkupDecl__internal_alias"))); #define xmlParseMarkupDecl xmlParseMarkupDecl__internal_alias @@ -3912,12 +3916,30 @@ extern __typeof (xmlSchemaGetBuiltInType) xmlSchemaGetBuiltInType __attribute((a #define xmlSchemaGetBuiltInType xmlSchemaGetBuiltInType__internal_alias #endif +#ifdef LIBXML_SCHEMAS_ENABLED +extern __typeof (xmlSchemaGetFacetValueAsULong) xmlSchemaGetFacetValueAsULong__internal_alias __attribute((visibility("hidden"))); +extern __typeof (xmlSchemaGetFacetValueAsULong) xmlSchemaGetFacetValueAsULong __attribute((alias("xmlSchemaGetFacetValueAsULong__internal_alias"))); +#define xmlSchemaGetFacetValueAsULong xmlSchemaGetFacetValueAsULong__internal_alias +#endif + +#ifdef LIBXML_SCHEMAS_ENABLED +extern __typeof (xmlSchemaGetParserErrors) xmlSchemaGetParserErrors__internal_alias __attribute((visibility("hidden"))); +extern __typeof (xmlSchemaGetParserErrors) xmlSchemaGetParserErrors __attribute((alias("xmlSchemaGetParserErrors__internal_alias"))); +#define xmlSchemaGetParserErrors xmlSchemaGetParserErrors__internal_alias +#endif + #ifdef LIBXML_SCHEMAS_ENABLED extern __typeof (xmlSchemaGetPredefinedType) xmlSchemaGetPredefinedType__internal_alias __attribute((visibility("hidden"))); extern __typeof (xmlSchemaGetPredefinedType) xmlSchemaGetPredefinedType __attribute((alias("xmlSchemaGetPredefinedType__internal_alias"))); #define xmlSchemaGetPredefinedType xmlSchemaGetPredefinedType__internal_alias #endif +#ifdef LIBXML_SCHEMAS_ENABLED +extern __typeof (xmlSchemaGetValidErrors) xmlSchemaGetValidErrors__internal_alias __attribute((visibility("hidden"))); +extern __typeof (xmlSchemaGetValidErrors) xmlSchemaGetValidErrors __attribute((alias("xmlSchemaGetValidErrors__internal_alias"))); +#define xmlSchemaGetValidErrors xmlSchemaGetValidErrors__internal_alias +#endif + #ifdef LIBXML_SCHEMAS_ENABLED extern __typeof (xmlSchemaInitTypes) xmlSchemaInitTypes__internal_alias __attribute((visibility("hidden"))); extern __typeof (xmlSchemaInitTypes) xmlSchemaInitTypes __attribute((alias("xmlSchemaInitTypes__internal_alias"))); @@ -3984,6 +4006,12 @@ extern __typeof (xmlSchemaValPredefTypeNode) xmlSchemaValPredefTypeNode __attrib #define xmlSchemaValPredefTypeNode xmlSchemaValPredefTypeNode__internal_alias #endif +#ifdef LIBXML_SCHEMAS_ENABLED +extern __typeof (xmlSchemaValPredefTypeNodeNoNorm) xmlSchemaValPredefTypeNodeNoNorm__internal_alias __attribute((visibility("hidden"))); +extern __typeof (xmlSchemaValPredefTypeNodeNoNorm) xmlSchemaValPredefTypeNodeNoNorm __attribute((alias("xmlSchemaValPredefTypeNodeNoNorm__internal_alias"))); +#define xmlSchemaValPredefTypeNodeNoNorm xmlSchemaValPredefTypeNodeNoNorm__internal_alias +#endif + #ifdef LIBXML_SCHEMAS_ENABLED extern __typeof (xmlSchemaValidateDoc) xmlSchemaValidateDoc__internal_alias __attribute((visibility("hidden"))); extern __typeof (xmlSchemaValidateDoc) xmlSchemaValidateDoc __attribute((alias("xmlSchemaValidateDoc__internal_alias"))); @@ -3996,6 +4024,12 @@ extern __typeof (xmlSchemaValidateFacet) xmlSchemaValidateFacet __attribute((ali #define xmlSchemaValidateFacet xmlSchemaValidateFacet__internal_alias #endif +#ifdef LIBXML_SCHEMAS_ENABLED +extern __typeof (xmlSchemaValidateLengthFacet) xmlSchemaValidateLengthFacet__internal_alias __attribute((visibility("hidden"))); +extern __typeof (xmlSchemaValidateLengthFacet) xmlSchemaValidateLengthFacet __attribute((alias("xmlSchemaValidateLengthFacet__internal_alias"))); +#define xmlSchemaValidateLengthFacet xmlSchemaValidateLengthFacet__internal_alias +#endif + #ifdef LIBXML_SCHEMAS_ENABLED extern __typeof (xmlSchemaValidateListSimpleTypeFacet) xmlSchemaValidateListSimpleTypeFacet__internal_alias __attribute((visibility("hidden"))); extern __typeof (xmlSchemaValidateListSimpleTypeFacet) xmlSchemaValidateListSimpleTypeFacet __attribute((alias("xmlSchemaValidateListSimpleTypeFacet__internal_alias"))); diff --git a/include/libxml/xmlschemas.h b/include/libxml/xmlschemas.h index 49bf3b49..9469ad80 100644 --- a/include/libxml/xmlschemas.h +++ b/include/libxml/xmlschemas.h @@ -87,6 +87,11 @@ XMLPUBFUN void XMLCALL xmlSchemaValidityErrorFunc err, xmlSchemaValidityWarningFunc warn, void *ctx); +XMLPUBFUN int XMLCALL + xmlSchemaGetParserErrors (xmlSchemaParserCtxtPtr ctxt, + xmlSchemaValidityErrorFunc * err, + xmlSchemaValidityWarningFunc * warn, + void **ctx); XMLPUBFUN xmlSchemaPtr XMLCALL xmlSchemaParse (xmlSchemaParserCtxtPtr ctxt); XMLPUBFUN void XMLCALL @@ -104,6 +109,12 @@ XMLPUBFUN void XMLCALL xmlSchemaValidityErrorFunc err, xmlSchemaValidityWarningFunc warn, void *ctx); +XMLPUBFUN int XMLCALL + xmlSchemaGetValidErrors (xmlSchemaValidCtxtPtr ctxt, + xmlSchemaValidityErrorFunc *err, + xmlSchemaValidityWarningFunc *warn, + void **ctx); + XMLPUBFUN xmlSchemaValidCtxtPtr XMLCALL xmlSchemaNewValidCtxt (xmlSchemaPtr schema); XMLPUBFUN void XMLCALL diff --git a/python/generator.py b/python/generator.py index 6b66c920..df89c4e7 100755 --- a/python/generator.py +++ b/python/generator.py @@ -282,6 +282,9 @@ py_types = { 'xmlRelaxNGPtr': ('O', "relaxNgSchema", "xmlRelaxNGPtr", "xmlRelaxNGPtr"), 'xmlRelaxNGParserCtxtPtr': ('O', "relaxNgParserCtxt", "xmlRelaxNGParserCtxtPtr", "xmlRelaxNGParserCtxtPtr"), 'xmlRelaxNGValidCtxtPtr': ('O', "relaxNgValidCtxt", "xmlRelaxNGValidCtxtPtr", "xmlRelaxNGValidCtxtPtr"), + 'xmlSchemaPtr': ('O', "Schema", "xmlSchemaPtr", "xmlSchemaPtr"), + 'xmlSchemaParserCtxtPtr': ('O', "SchemaParserCtxt", "xmlSchemaParserCtxtPtr", "xmlSchemaParserCtxtPtr"), + 'xmlSchemaValidCtxtPtr': ('O', "SchemaValidCtxt", "xmlSchemaValidCtxtPtr", "xmlSchemaValidCtxtPtr"), } py_return_types = { @@ -666,6 +669,9 @@ classes_type = { 'xmlRelaxNGPtr': ('._o', "relaxNgSchema(_obj=%s)", "relaxNgSchema"), 'xmlRelaxNGParserCtxtPtr': ('._o', "relaxNgParserCtxt(_obj=%s)", "relaxNgParserCtxt"), 'xmlRelaxNGValidCtxtPtr': ('._o', "relaxNgValidCtxt(_obj=%s)", "relaxNgValidCtxt"), + 'xmlSchemaPtr': ("._o", "Schema(_obj=%s)", "Schema"), + 'xmlSchemaParserCtxtPtr': ("._o", "SchemaParserCtxt(_obj=%s)", "SchemaParserCtxt"), + 'xmlSchemaValidCtxtPtr': ("._o", "SchemaValidCtxt(_obj=%s)", "SchemaValidCtxt"), } converter_type = { @@ -699,6 +705,9 @@ classes_destructors = { "relaxNgSchema": "xmlRelaxNGFree", "relaxNgParserCtxt": "xmlRelaxNGFreeParserCtxt", "relaxNgValidCtxt": "xmlRelaxNGFreeValidCtxt", + "Schema": "xmlSchemaFree", + "SchemaParserCtxt": "xmlSchemaFreeParserCtxt", + "SchemaValidCtxt": "xmlSchemaFreeValidCtxt", } functions_noexcept = { @@ -710,6 +719,7 @@ functions_noexcept = { reference_keepers = { "xmlTextReader": [('inputBuffer', 'input')], "relaxNgValidCtxt": [('relaxNgSchema', 'schema')], + "SchemaValidCtxt": [('Schema', 'schema')], } function_classes = {} diff --git a/python/libxml.c b/python/libxml.c index 9dda18c7..1c65e72c 100644 --- a/python/libxml.c +++ b/python/libxml.c @@ -2948,6 +2948,171 @@ libxml_xmlRelaxNGFreeValidCtxt(ATTRIBUTE_UNUSED PyObject *self, PyObject *args) return(Py_None); } +typedef struct +{ + PyObject *warn; + PyObject *error; + PyObject *arg; +} xmlSchemaValidCtxtPyCtxt; +typedef xmlSchemaValidCtxtPyCtxt *xmlSchemaValidCtxtPyCtxtPtr; + +static void +libxml_xmlSchemaValidityGenericErrorFuncHandler(void *ctx, char *str) +{ + PyObject *list; + PyObject *result; + xmlSchemaValidCtxtPyCtxtPtr pyCtxt; + +#ifdef DEBUG_ERROR + printf("libxml_xmlSchemaValiditiyGenericErrorFuncHandler(%p, %s, ...) called\n", ctx, str); +#endif + + pyCtxt = (xmlSchemaValidCtxtPyCtxtPtr) ctx; + + list = PyTuple_New(2); + PyTuple_SetItem(list, 0, libxml_charPtrWrap(str)); + PyTuple_SetItem(list, 1, pyCtxt->arg); + Py_XINCREF(pyCtxt->arg); + result = PyEval_CallObject(pyCtxt->error, list); + if (result == NULL) + { + /* TODO: manage for the exception to be propagated... */ + PyErr_Print(); + } + Py_XDECREF(list); + Py_XDECREF(result); +} + +static void +libxml_xmlSchemaValidityGenericWarningFuncHandler(void *ctx, char *str) +{ + PyObject *list; + PyObject *result; + xmlSchemaValidCtxtPyCtxtPtr pyCtxt; + +#ifdef DEBUG_ERROR + printf("libxml_xmlSchemaValidityGenericWarningFuncHandler(%p, %s, ...) called\n", ctx, str); +#endif + + pyCtxt = (xmlSchemaValidCtxtPyCtxtPtr) ctx; + + list = PyTuple_New(2); + PyTuple_SetItem(list, 0, libxml_charPtrWrap(str)); + PyTuple_SetItem(list, 1, pyCtxt->arg); + Py_XINCREF(pyCtxt->arg); + result = PyEval_CallObject(pyCtxt->warn, list); + if (result == NULL) + { + /* TODO: manage for the exception to be propagated... */ + PyErr_Print(); + } + Py_XDECREF(list); + Py_XDECREF(result); +} + +static void +libxml_xmlSchemaValidityErrorFunc(void *ctx, const char *msg, ...) +{ + va_list ap; + + va_start(ap, msg); + libxml_xmlSchemaValidityGenericErrorFuncHandler(ctx, libxml_buildMessage(msg, ap)); + va_end(ap); +} + +static void +libxml_xmlSchemaValidityWarningFunc(void *ctx, const char *msg, ...) +{ + va_list ap; + + va_start(ap, msg); + libxml_xmlSchemaValidityGenericWarningFuncHandler(ctx, libxml_buildMessage(msg, ap)); + va_end(ap); +} + +static PyObject * +libxml_xmlSchemaSetValidErrors(ATTRIBUTE_UNUSED PyObject * self, PyObject * args) +{ + PyObject *py_retval; + PyObject *pyobj_error; + PyObject *pyobj_warn; + PyObject *pyobj_ctx; + PyObject *pyobj_arg = Py_None; + xmlSchemaValidCtxtPtr ctxt; + xmlSchemaValidCtxtPyCtxtPtr pyCtxt; + + if (!PyArg_ParseTuple + (args, (char *) "OOO|O:xmlSchemaSetValidErrors", &pyobj_ctx, &pyobj_error, &pyobj_warn, &pyobj_arg)) + return (NULL); + +#ifdef DEBUG_ERROR + printf("libxml_xmlSchemaSetValidErrors(%p, %p, %p) called\n", pyobj_ctx, pyobj_error, pyobj_warn); +#endif + + ctxt = PySchemaValidCtxt_Get(pyobj_ctx); + if (xmlSchemaGetValidErrors(ctxt, NULL, NULL, (void **) &pyCtxt) == -1) + { + py_retval = libxml_intWrap(-1); + return(py_retval); + } + + if (pyCtxt == NULL) + { + /* first time to set the error handlers */ + pyCtxt = xmlMalloc(sizeof(xmlSchemaValidCtxtPyCtxt)); + if (pyCtxt == NULL) { + py_retval = libxml_intWrap(-1); + return(py_retval); + } + memset(pyCtxt, 0, sizeof(xmlSchemaValidCtxtPyCtxt)); + } + + /* TODO: check warn and error is a function ! */ + Py_XDECREF(pyCtxt->error); + Py_XINCREF(pyobj_error); + pyCtxt->error = pyobj_error; + + Py_XDECREF(pyCtxt->warn); + Py_XINCREF(pyobj_warn); + pyCtxt->warn = pyobj_warn; + + Py_XDECREF(pyCtxt->arg); + Py_XINCREF(pyobj_arg); + pyCtxt->arg = pyobj_arg; + + xmlSchemaSetValidErrors(ctxt, &libxml_xmlSchemaValidityErrorFunc, &libxml_xmlSchemaValidityWarningFunc, pyCtxt); + + py_retval = libxml_intWrap(1); + return(py_retval); +} + +static PyObject * +libxml_xmlSchemaFreeValidCtxt(ATTRIBUTE_UNUSED PyObject * self, PyObject * args) +{ + xmlSchemaValidCtxtPtr ctxt; + xmlSchemaValidCtxtPyCtxtPtr pyCtxt; + PyObject *pyobj_ctxt; + + if (!PyArg_ParseTuple(args, (char *)"O:xmlSchemaFreeValidCtxt", &pyobj_ctxt)) + return(NULL); + ctxt = (xmlSchemaValidCtxtPtr) PySchemaValidCtxt_Get(pyobj_ctxt); + + if (xmlSchemaGetValidErrors(ctxt, NULL, NULL, (void **) &pyCtxt) == 0) + { + if (pyCtxt != NULL) + { + Py_XDECREF(pyCtxt->error); + Py_XDECREF(pyCtxt->warn); + Py_XDECREF(pyCtxt->arg); + xmlFree(pyCtxt); + } + } + + xmlSchemaFreeValidCtxt(ctxt); + Py_INCREF(Py_None); + return(Py_None); +} + #endif #ifdef LIBXML_C14N_ENABLED diff --git a/python/libxml2class.txt b/python/libxml2class.txt index 2f082ea4..9e2496ed 100644 --- a/python/libxml2class.txt +++ b/python/libxml2class.txt @@ -219,6 +219,10 @@ readerForMemory() # functions from module xmlregexp regexpCompile() +# functions from module xmlschemas +schemaNewMemParserCtxt() +schemaNewParserCtxt() + # functions from module xmlschemastypes schemaCleanupTypes() schemaCollapseString() @@ -630,6 +634,10 @@ Class xmlDoc(xmlNode) NewWalker() readerWalker() + # functions from module xmlschemas + schemaNewDocParserCtxt() + schemaValidateDoc() + # functions from module xpath xpathNewContext() xpathOrderDocElems() @@ -781,6 +789,11 @@ Class relaxNgSchema() # functions from module xmlreader RelaxNGSetSchema() +Class Schema() + + # functions from module xmlschemas + schemaDump() + schemaNewValidCtxt() Class Error() # accessors code() @@ -1032,6 +1045,14 @@ Class outputBuffer(ioWriteWrapper) # functions from module xmlIO write() writeString() +Class SchemaParserCtxt() + + # functions from module xmlschemas + schemaParse() +Class SchemaValidCtxt() + + # functions from module xmlschemas + schemaValidateDoc() Class xmlTextReaderLocator() # functions from module xmlreader diff --git a/python/libxml_wrap.h b/python/libxml_wrap.h index 09fc77fe..ad62be23 100644 --- a/python/libxml_wrap.h +++ b/python/libxml_wrap.h @@ -18,7 +18,10 @@ #include #include #include +#ifdef LIBXML_SCHEMAS_ENABLED #include +#include +#endif /** * ATTRIBUTE_UNUSED: @@ -165,6 +168,30 @@ typedef struct { #define PyrelaxNgValidCtxt_Get(v) (((v) == Py_None) ? NULL : \ (((PyrelaxNgValidCtxt_Object *)(v))->obj)) +typedef struct { + PyObject_HEAD + xmlSchemaPtr obj; +} PySchema_Object; + +#define PySchema_Get(v) (((v) == Py_None) ? NULL : \ + (((PySchema_Object *)(v))->obj)) + +typedef struct { + PyObject_HEAD + xmlSchemaParserCtxtPtr obj; +} PySchemaParserCtxt_Object; + +#define PySchemaParserCtxt_Get(v) (((v) == Py_None) ? NULL : \ + (((PySchemaParserCtxt_Object *)(v))->obj)) + +typedef struct { + PyObject_HEAD + xmlSchemaValidCtxtPtr obj; +} PySchemaValidCtxt_Object; + +#define PySchemaValidCtxt_Get(v) (((v) == Py_None) ? NULL : \ + (((PySchemaValidCtxt_Object *)(v))->obj)) + #endif /* LIBXML_SCHEMAS_ENABLED */ PyObject * libxml_intWrap(int val); @@ -201,5 +228,8 @@ xmlXPathObjectPtr libxml_xmlXPathObjectPtrConvert(PyObject * obj); PyObject * libxml_xmlRelaxNGPtrWrap(xmlRelaxNGPtr ctxt); PyObject * libxml_xmlRelaxNGParserCtxtPtrWrap(xmlRelaxNGParserCtxtPtr ctxt); PyObject * libxml_xmlRelaxNGValidCtxtPtrWrap(xmlRelaxNGValidCtxtPtr valid); +PyObject * libxml_xmlSchemaPtrWrap(xmlSchemaPtr ctxt); +PyObject * libxml_xmlSchemaParserCtxtPtrWrap(xmlSchemaParserCtxtPtr ctxt); +PyObject * libxml_xmlSchemaValidCtxtPtrWrap(xmlSchemaValidCtxtPtr valid); #endif /* LIBXML_SCHEMAS_ENABLED */ PyObject * libxml_xmlErrorPtrWrap(xmlErrorPtr error); diff --git a/python/tests/Makefile.am b/python/tests/Makefile.am index 2788c0ca..722e0ec6 100644 --- a/python/tests/Makefile.am +++ b/python/tests/Makefile.am @@ -32,6 +32,7 @@ PYTESTS= \ ctxterror.py\ readererr.py\ relaxng.py \ + schema.py \ thread2.py \ sync.py \ tstLastError.py \ diff --git a/python/tests/schema.py b/python/tests/schema.py new file mode 100755 index 00000000..bfa8423d --- /dev/null +++ b/python/tests/schema.py @@ -0,0 +1,52 @@ +#!/usr/bin/python -u +import libxml2 +import sys + +# Memory debug specific +libxml2.debugMemory(1) + +schema=""" + + + + + + + + + + + +""" + +instance=""" + + Raymond + G + Bayliss + +""" + +ctxt_parser = libxml2.schemaNewMemParserCtxt(schema, len(schema)) +ctxt_schema = ctxt_parser.schemaParse() +ctxt_valid = ctxt_schema.schemaNewValidCtxt() +doc = libxml2.parseDoc(instance) +ret = doc.schemaValidateDoc(ctxt_valid) +if ret != 0: + print "error doing schema validation" + sys.exit(1) + +doc.freeDoc() +del ctxt_parser +del ctxt_schema +del ctxt_valid +libxml2.schemaCleanupTypes() + +# Memory debug specific +libxml2.cleanupParser() +if libxml2.debugMemory(1) == 0: + print "OK" +else: + print "Memory leak %d bytes" % (libxml2.debugMemory(1)) + libxml2.dumpMemory() + diff --git a/python/types.c b/python/types.c index 42279d00..fa91a65a 100644 --- a/python/types.c +++ b/python/types.c @@ -640,6 +640,63 @@ libxml_xmlRelaxNGValidCtxtPtrWrap(xmlRelaxNGValidCtxtPtr valid) (char *) "xmlRelaxNGValidCtxtPtr", NULL); return (ret); } + +PyObject * +libxml_xmlSchemaPtrWrap(xmlSchemaPtr ctxt) +{ + PyObject *ret; + +#ifdef DEBUG + printf("libxml_xmlSchemaPtrWrap: ctxt = %p\n", ctxt); +#endif + if (ctxt == NULL) { + Py_INCREF(Py_None); + return (Py_None); + } + ret = + PyCObject_FromVoidPtrAndDesc((void *) ctxt, + (char *) "xmlSchemaPtr", NULL); + return (ret); +} + +PyObject * +libxml_xmlSchemaParserCtxtPtrWrap(xmlSchemaParserCtxtPtr ctxt) +{ + PyObject *ret; + +#ifdef DEBUG + printf("libxml_xmlSchemaParserCtxtPtrWrap: ctxt = %p\n", ctxt); +#endif + if (ctxt == NULL) { + Py_INCREF(Py_None); + return (Py_None); + } + ret = + PyCObject_FromVoidPtrAndDesc((void *) ctxt, + (char *) "xmlSchemaParserCtxtPtr", NULL); + + return (ret); +} + +PyObject * +libxml_xmlSchemaValidCtxtPtrWrap(xmlSchemaValidCtxtPtr valid) +{ + PyObject *ret; + +#ifdef DEBUG + printf("libxml_xmlSchemaValidCtxtPtrWrap: valid = %p\n", valid); +#endif + if (valid == NULL) { + Py_INCREF(Py_None); + return (Py_None); + } + + ret = + PyCObject_FromVoidPtrAndDesc((void *) valid, + (char *) "xmlSchemaValidCtxtPtr", NULL); + + return (ret); +} #endif /* LIBXML_SCHEMAS_ENABLED */ PyObject * diff --git a/win32/libxml2.def.src b/win32/libxml2.def.src index 940a2cfb..6107c8a5 100644 --- a/win32/libxml2.def.src +++ b/win32/libxml2.def.src @@ -1222,6 +1222,7 @@ xmlParseExternalEntity xmlParseExternalID xmlParseExternalSubset xmlParseFile +xmlParseInNodeContext xmlParseMarkupDecl xmlParseMemory xmlParseMisc @@ -1508,9 +1509,18 @@ xmlSchemaGetBuiltInListSimpleTypeItemType xmlSchemaGetBuiltInType #endif #ifdef LIBXML_SCHEMAS_ENABLED +xmlSchemaGetFacetValueAsULong +#endif +#ifdef LIBXML_SCHEMAS_ENABLED +xmlSchemaGetParserErrors +#endif +#ifdef LIBXML_SCHEMAS_ENABLED xmlSchemaGetPredefinedType #endif #ifdef LIBXML_SCHEMAS_ENABLED +xmlSchemaGetValidErrors +#endif +#ifdef LIBXML_SCHEMAS_ENABLED xmlSchemaInitTypes #endif #ifdef LIBXML_SCHEMAS_ENABLED @@ -1544,12 +1554,18 @@ xmlSchemaSetValidErrors xmlSchemaValPredefTypeNode #endif #ifdef LIBXML_SCHEMAS_ENABLED +xmlSchemaValPredefTypeNodeNoNorm +#endif +#ifdef LIBXML_SCHEMAS_ENABLED xmlSchemaValidateDoc #endif #ifdef LIBXML_SCHEMAS_ENABLED xmlSchemaValidateFacet #endif #ifdef LIBXML_SCHEMAS_ENABLED +xmlSchemaValidateLengthFacet +#endif +#ifdef LIBXML_SCHEMAS_ENABLED xmlSchemaValidateListSimpleTypeFacet #endif #ifdef LIBXML_SCHEMAS_ENABLED diff --git a/xmlschemas.c b/xmlschemas.c index 9f4f9bdc..76e68ccd 100644 --- a/xmlschemas.c +++ b/xmlschemas.c @@ -10894,6 +10894,33 @@ xmlSchemaSetParserErrors(xmlSchemaParserCtxtPtr ctxt, ctxt->userData = ctx; } +/** + * xmlSchemaGetParserErrors: + * @ctxt: a XMl-Schema parser context + * @err: the error callback result + * @warn: the warning callback result + * @ctx: contextual data for the callbacks result + * + * Get the callback information used to handle errors for a parser context + * + * Returns -1 in case of failure, 0 otherwise + */ +int +xmlSchemaGetParserErrors(xmlSchemaParserCtxtPtr ctxt, + xmlSchemaValidityErrorFunc * err, + xmlSchemaValidityWarningFunc * warn, void **ctx) +{ + if (ctxt == NULL) + return(-1); + if (err != NULL) + *err = ctxt->error; + if (warn != NULL) + *warn = ctxt->warning; + if (ctx != NULL) + *ctx = ctxt->userData; + return(0); +} + /** * xmlSchemaFacetTypeToString: * @type: the facet type @@ -13118,6 +13145,33 @@ xmlSchemaSetValidErrors(xmlSchemaValidCtxtPtr ctxt, ctxt->userData = ctx; } +/** + * xmlSchemaGetValidErrors: + * @ctxt: a XML-Schema validation context + * @err: the error function result + * @warn: the warning function result + * @ctx: the functions context result + * + * Get the error and warning callback informations + * + * Returns -1 in case of error and 0 otherwise + */ +int +xmlSchemaGetValidErrors(xmlSchemaValidCtxtPtr ctxt, + xmlSchemaValidityErrorFunc * err, + xmlSchemaValidityWarningFunc * warn, void **ctx) +{ + if (ctxt == NULL) + return (-1); + if (err != NULL) + *err = ctxt->error; + if (warn != NULL) + *warn = ctxt->warning; + if (ctx != NULL) + *ctx = ctxt->userData; + return (0); +} + /** * xmlSchemaValidateDoc: * @ctxt: a schema validation context