From d03a853bb0370d89552eceee59df1746da4a37f8 Mon Sep 17 00:00:00 2001 From: Mike Hommey Date: Sun, 1 Mar 2009 10:53:23 +0100 Subject: Import upstream version 2.7.0 --- doc/APIchunk1.html | 2 + doc/APIchunk10.html | 11 +- doc/APIchunk11.html | 8 + doc/APIchunk12.html | 8 +- doc/APIchunk13.html | 16 +- doc/APIchunk14.html | 5 + doc/APIchunk15.html | 11 +- doc/APIchunk17.html | 7 + doc/APIchunk18.html | 6 + doc/APIchunk19.html | 22 +- doc/APIchunk2.html | 3 - doc/APIchunk20.html | 3 + doc/APIchunk21.html | 7 + doc/APIchunk22.html | 64 ++--- doc/APIchunk23.html | 43 +-- doc/APIchunk24.html | 11 + doc/APIchunk25.html | 3 +- doc/APIchunk26.html | 5 + doc/APIchunk27.html | 8 + doc/APIchunk28.html | 7 + doc/APIchunk3.html | 2 - doc/APIchunk4.html | 5 - doc/APIchunk5.html | 1 + doc/APIchunk6.html | 5 +- doc/APIchunk7.html | 20 +- doc/APIchunk8.html | 2 +- doc/APIchunk9.html | 9 +- doc/APIconstructors.html | 2 + doc/APIfiles.html | 20 ++ doc/APIfunctions.html | 5 + doc/APIsymbols.html | 20 ++ doc/FAQ.html | 26 +- doc/Makefile.in | 17 +- doc/apibuild.py | 44 +-- doc/devhelp/Makefile.in | 4 +- doc/devhelp/libxml2-c14n.html | 4 +- doc/devhelp/libxml2-entities.html | 5 + doc/devhelp/libxml2-globals.html | 16 +- doc/devhelp/libxml2-parser.html | 5 +- doc/devhelp/libxml2-parserInternals.html | 14 +- doc/devhelp/libxml2-relaxng.html | 8 +- doc/devhelp/libxml2-schematron.html | 8 +- doc/devhelp/libxml2-tree.html | 28 +- doc/devhelp/libxml2-uri.html | 6 +- doc/devhelp/libxml2-valid.html | 4 +- doc/devhelp/libxml2-xmlerror.html | 4 + doc/devhelp/libxml2-xmlmemory.html | 5 + doc/devhelp/libxml2-xmlreader.html | 4 +- doc/devhelp/libxml2-xmlregexp.html | 4 +- doc/devhelp/libxml2-xmlschemas.html | 73 ++--- doc/devhelp/libxml2.devhelp | 20 ++ doc/examples/Makefile.am | 104 +++---- doc/examples/Makefile.in | 121 ++++---- doc/examples/examples.xml | 464 +++++++++++++++---------------- doc/examples/reader3.c | 5 +- doc/html/libxml-c14n.html | 2 +- doc/html/libxml-entities.html | 5 +- doc/html/libxml-globals.html | 8 +- doc/html/libxml-parser.html | 3 + doc/html/libxml-parserInternals.html | 14 +- doc/html/libxml-relaxng.html | 4 +- doc/html/libxml-schematron.html | 4 +- doc/html/libxml-tree.html | 27 +- doc/html/libxml-uri.html | 6 +- doc/html/libxml-valid.html | 4 +- doc/html/libxml-xmlerror.html | 4 + doc/html/libxml-xmlmemory.html | 5 +- doc/html/libxml-xmlreader.html | 2 +- doc/html/libxml-xmlregexp.html | 2 +- doc/html/libxml-xmlschemas.html | 65 ++--- doc/libxml2-api.xml | 346 ++++++++++++++--------- doc/libxml2.xsa | 54 ++-- doc/news.html | 26 +- doc/news.xsl | 2 +- doc/xml.html | 53 ++-- 75 files changed, 1159 insertions(+), 811 deletions(-) (limited to 'doc') diff --git a/doc/APIchunk1.html b/doc/APIchunk1.html index bedf943..eacab4b 100644 --- a/doc/APIchunk1.html +++ b/doc/APIchunk1.html @@ -39,6 +39,7 @@ A:link, A:visited, A:active { text-decoration: underline } y-z

Letter C:

C14N
xmlC14NDocSaveTo
xmlC14NExecute
+xmlC14NIsVisibleCallback
CATALOG
xmlLoadACatalog
xmlLoadCatalog
xmlLoadSGMLSuperCatalog
@@ -108,6 +109,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlOutputOpenCallback
xmlOutputWriteCallback
xmlParserInputDeallocate
+xmlRegExecCallbacks
xmlSAX2ExternalSubset
xmlSAX2InternalSubset
xmlValidityErrorFunc
diff --git a/doc/APIchunk10.html b/doc/APIchunk10.html index cbcc86b..94fd2fa 100644 --- a/doc/APIchunk10.html +++ b/doc/APIchunk10.html @@ -41,7 +41,6 @@ A:link, A:visited, A:active { text-decoration: underline } xmlURIEscapeStr
a-zA-Z
IS_ASCII_LETTER
a-zA-Z0-9
IS_PUBIDCHAR
-
a-zA-Z0-9_
xmlParseVersionNum
a@b
xmlNanoFTPProxy
abc
xmlXPathTranslateFunction
abc-
xmlXPathTranslateFunction
@@ -62,8 +61,6 @@ A:link, A:visited, A:active { text-decoration: underline } XML_SCHEMAS_ELEM_FINAL_ABSENT
XML_SCHEMAS_TYPE_VARIETY_ABSENT
absoluteURI
xmlParseURI
-xmlParseURIRaw
-xmlParseURIReference
abstract
XML_SCHEMAS_ELEM_ABSTRACT
XML_SCHEMAS_TYPE_ABSTRACT
accept
xmlExpMaxToken
@@ -88,6 +85,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlMemSetup
xmlNewMutex
xmlNewRMutex
+xmlSchemaValidCtxtGetParserCtxt
accessed
xmlTextReaderCurrentDoc
xmlTextReaderCurrentNode
accesses
xmlCreateURLParserCtxt
@@ -315,6 +313,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlKeepBlanksDefault
xmlNewDocNode
xmlNewDocNodeEatName
+xmlParseVersionNum
+xmlSchemaValidCtxtGetParserCtxt
xmlSearchNs
xmlShell
xmlValidateNCName
@@ -372,7 +372,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlReplaceNode
xmlXPathNodeSetAddUnique
xmlXPtrLocationSetAdd
-
also
xmlCharEncodingOutputFunc
+
also
_xmlEntity
+xmlCharEncodingOutputFunc
xmlCheckHTTPInput
xmlCleanupParser
xmlHasProp
@@ -398,6 +399,7 @@ A:link, A:visited, A:active { text-decoration: underline }
amd
xmlCatalogIsEmpty
amount
INPUT_CHUNK
_xmlParserInputBuffer
+xmlMemDisplayLast
xmlMemUsed
xmlParserInputBufferGrow
xmlParserInputBufferRead
@@ -437,6 +439,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlNamespaceParseNCName
xmlNamespaceParseNSDef
xmlNamespaceParseQName
+xmlNewEntity
anyway
xmlRecoverDoc
xmlRecoverFile
xmlRecoverMemory
diff --git a/doc/APIchunk11.html b/doc/APIchunk11.html index bcb58cf..7062e5e 100644 --- a/doc/APIchunk11.html +++ b/doc/APIchunk11.html @@ -56,8 +56,14 @@ A:link, A:visited, A:active { text-decoration: underline } xmlNewEntityInputStream
xmlNewInputFromFile
xmlNewStringInputStream
+xmlParseURI
+xmlParseURIReference
xmlRelaxNGNewValidCtxt
xmlSchemaNewStringValue
+xmlSchemaNewValidCtxt
+xmlSchemaSAXPlug
+xmlSchemaSAXUnplug
+xmlSchemaValidateStream
xmlSchematronNewValidCtxt
xmlSetCompressMode
xmlSetDocCompressMode
@@ -142,6 +148,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlAutomataNewOnceTrans
xmlAutomataNewOnceTrans2
xmlCatalogSetDefaultPrefer
+xmlMemDisplayLast
xmlParseQuotedString
xmlXPathDifference
beyond
xmlXPathStringFunction
@@ -192,6 +199,7 @@ A:link, A:visited, A:active { text-decoration: underline }
bracket
xmlParseCharData
branch
xmlDOMWrapCloneNode
xmlDOMWrapRemoveNode
+xmlSchemaValidateOneElement
break
_xmlError
xmlDOMWrapAdoptNode
xmlDOMWrapCloneNode
diff --git a/doc/APIchunk12.html b/doc/APIchunk12.html index 769619b..ff1be47 100644 --- a/doc/APIchunk12.html +++ b/doc/APIchunk12.html @@ -55,6 +55,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlXPathSubValues
xmlXPathValueFlipSign
calls
xlinkNodeDetectFunc
+xmlSchemaSAXPlug
xmlXPathAxisFunc
came
xmlPopInput
cannot
xmlParseAttribute
@@ -769,6 +770,8 @@ A:link, A:visited, A:active { text-decoration: underline }
corresponding
xmlGetDocEntity
xmlGetDtdEntity
xmlGetParameterEntity
+xmlOutputBufferCreateFilenameFunc
+xmlParserInputBufferCreateFilenameFunc
xmlSetProp
xmlXPathTranslateFunction
cost
xmlByteConsumed
@@ -788,7 +791,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlTextReaderSchemaValidateCtxt
xmlTextReaderSetSchema
xmlValidateDtd
-
count
ftpListCallback
+
count
_xmlEntity
+ftpListCallback
xmlExpRef
xmlLsCountNode
xmlSaveDoc
@@ -849,12 +853,14 @@ A:link, A:visited, A:active { text-decoration: underline } xmlValidityErrorFunc
xmlValidityWarningFunc
cur
xmlXPathAxisFunc
+
curent
xmlC14NIsVisibleCallback
currently
XML_SCHEMAS_INCLUDING_CONVERT_NS
xmlGcMemGet
xmlMemBlocks
xmlMemGet
xmlMemUsed
xmlOutputBufferCreateFilename
+xmlSchemaValidateFile
xmlXPathContextSetCache
custom
xmlDOMWrapAdoptNode
xmlDOMWrapCloneNode
diff --git a/doc/APIchunk13.html b/doc/APIchunk13.html index c86ff16..2e8417f 100644 --- a/doc/APIchunk13.html +++ b/doc/APIchunk13.html @@ -178,6 +178,7 @@ A:link, A:visited, A:active { text-decoration: underline } _xmlXPathContext
xmlGetNsList
xmlHandleEntity
+xmlNewEntity
xmlNewNs
xmlNodeGetBase
xmlParseBalancedChunkMemory
@@ -248,6 +249,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlPatternMinDepth
xmlTextReaderDepth
deregistration
xmlDeregisterNodeDefault
+xmlDeregisterNodeFunc
derivation
XML_SCHEMAS_TYPE_DERIVATION_METHOD_EXTENSION
XML_SCHEMAS_TYPE_DERIVATION_METHOD_RESTRICTION
xmlExpExpDerive
@@ -301,6 +303,7 @@ A:link, A:visited, A:active { text-decoration: underline } htmlReadFd
xmlCtxtReadFd
xmlMemDisplay
+xmlMemDisplayLast
xmlMemShow
xmlOutputBufferCreateFd
xmlParserInputBufferCreateFd
@@ -356,6 +359,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlSAX2EndElementNs
xmlSAX2Reference
xmlSAX2StartElementNs
+xmlSchemaIsValid
detection
docbCreatePushParserCtxt
xlinkExtendedLinkFunk
xlinkExtendedLinkSetFunk
@@ -400,7 +404,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlTextReaderGetRemainder
xmlTextReaderStandalone
difference
xmlXPathDifference
-
different
xmlACatalogAdd
+
different
_xmlBuffer
+xmlACatalogAdd
xmlBuildQName
xmlCatalogAdd
xmlNodeGetBase
@@ -408,6 +413,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlStrQEqual
differentiate
xmlXPathOrderDocElems
differently
xmlTextReaderGetRemainder
+
differs
xmlNewEntity
digit
xmlXPathStringFunction
digits
xmlXPathStringFunction
dir
xmlShellDir
@@ -462,6 +468,7 @@ A:link, A:visited, A:active { text-decoration: underline } XML_SCHEMAS_ELEM_BLOCK_RESTRICTION
XML_SCHEMAS_ELEM_BLOCK_SUBSTITUTION
discard
xmlParserInputRead
+
discarded
xmlDeregisterNodeFunc
discarding
xmlParseAttValue
xmlValidCtxtNormalizeAttributeValue
xmlValidNormalizeAttributeValue
@@ -526,6 +533,9 @@ A:link, A:visited, A:active { text-decoration: underline } xmlXPathNodeTrailingSorted
xmlXPathTrailing
xmlXPathTrailingSorted
+
doing
xmlOutputBufferCreateFilenameFunc
+xmlParserInputBufferCreateFilenameFunc
+xmlRegExecCallbacks
don
XML_SCHEMAS_ANY_LAX
xlinkIsLink
xmlCreatePushParserCtxt
@@ -584,9 +594,11 @@ A:link, A:visited, A:active { text-decoration: underline } xmlDumpNotationDecl
xmlDumpNotationTable
xmlLsOneNode
+xmlMemDisplayLast
xmlMemShow
xmlSnprintfElementContent
xmlXPathDebugDumpObject
+
dumping
xmlMemDisplayLast
dumps
xmlShellBase
xmlShellCat
xmlShellDir
@@ -597,7 +609,9 @@ A:link, A:visited, A:active { text-decoration: underline }
duplicates
xmlSchemaCopyValue
duration
xmlSchemaGetCanonValue
during
xmlSAXDefaultVersion
+xmlSchemaIsValid
xmlSchemaNewDocParserCtxt
+xmlSchemaSetValidOptions
xmlSchematronNewDocParserCtxt
dynamic
LIBXML_MODULE_EXTENSION

A-B diff --git a/doc/APIchunk14.html b/doc/APIchunk14.html index 61e35fc..0973657 100644 --- a/doc/APIchunk14.html +++ b/doc/APIchunk14.html @@ -186,6 +186,7 @@ A:link, A:visited, A:active { text-decoration: underline }
ensuring
xmlDOMWrapRemoveNode
entire
xmlCleanupInputCallbacks
xmlCleanupOutputCallbacks
+
entites
_xmlEntity
entities:
xmlParseEntityRef
xmlParserHandleReference
entproc
xmlParserHandlePEReference
@@ -321,7 +322,11 @@ A:link, A:visited, A:active { text-decoration: underline } xmlParseBalancedChunkMemoryRecover
xmlTextWriterFullEndElement
xmlXPathRoundFunction
+
event
xmlSchemaSAXPlug
+xmlSchemaSAXUnplug
+xmlSchemaValidateStream
events
htmlSAXParseDoc
+xmlSchemaValidateStream
ever
xmlExpCtxtNbCons
everywhere
xmlSAXParseFileWithData
xmlSAXParseMemoryWithData
diff --git a/doc/APIchunk15.html b/doc/APIchunk15.html index 03616a5..d8ac416 100644 --- a/doc/APIchunk15.html +++ b/doc/APIchunk15.html @@ -105,6 +105,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlSAXParseMemoryWithData
far
_xmlParserCtxt
fatalErrorSAXFunc
+xmlSchemaIsValid
fashion
xmlNewRMutex
fast
htmlInitAutoClose
faster
htmlNodeStatus
@@ -231,6 +232,9 @@ A:link, A:visited, A:active { text-decoration: underline } xmlStringLenGetNodeList
floor
xmlXPathFloorFunction
flow
xmlScanName
+xmlSchemaSAXPlug
+xmlSchemaSAXUnplug
+xmlSchemaValidateStream
flushed
xmlTextWriterEndDocument
flushes
xmlOutputBufferClose
xmlOutputBufferFlush
@@ -316,12 +320,11 @@ A:link, A:visited, A:active { text-decoration: underline } htmlSAXParseFile
xmlParseCtxtExternalEntity
xmlParseExternalEntity
+
forward
xmlSchemaValidateStream
fptr
XML_CAST_FPTR
fragment
_xmlURI
xmlNewDocFragment
xmlParseURI
-xmlParseURIRaw
-xmlParseURIReference
xmlPushInput
fragments
xmlParseURIRaw
freeing
xmlCanonicPath
@@ -392,8 +395,11 @@ A:link, A:visited, A:active { text-decoration: underline } xmlRelaxNGSetParserStructuredErrors
xmlRelaxNGSetValidErrors
xmlRelaxNGSetValidStructuredErrors
+xmlSchemaGetValidErrors
xmlSchemaSetParserErrors
xmlSchemaSetParserStructuredErrors
+xmlSchemaSetValidErrors
+xmlSchemaSetValidStructuredErrors
xmlSchematronSetValidStructuredErrors
xmlShellCmd
xmlSwitchEncoding
@@ -407,6 +413,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlValidNormalizeAttributeValue
xmlXIncludeSetFlags
future
_xmlDOMWrapCtxt
+xmlSchemaValidateFile

A-B C-C D-E diff --git a/doc/APIchunk17.html b/doc/APIchunk17.html index 548d945..633240e 100644 --- a/doc/APIchunk17.html +++ b/doc/APIchunk17.html @@ -144,6 +144,7 @@ A:link, A:visited, A:active { text-decoration: underline }
included
xmlC14NDocDumpMemory
xmlC14NDocSave
xmlC14NDocSaveTo
+xmlC14NIsVisibleCallback
xmlDocDumpMemory
xmlFreeDoc
xmlNanoHTTPContentLength
@@ -201,6 +202,7 @@ A:link, A:visited, A:active { text-decoration: underline } nodePush
xmlByteConsumed
xmlParserFindNodeInfoIndex
+xmlPushInput
xmlStrsub
xmlTextReaderByteConsumed
xmlTextReaderGetAttributeNo
@@ -236,6 +238,7 @@ A:link, A:visited, A:active { text-decoration: underline }
indicating
xmlParseCharData
xmlParserFindNodeInfoIndex
xmlShellCmd
+xmlTextReaderErrorFunc
xmlTextReaderNormalization
xmlXPathAxisFunc
indication
xmlNanoFTPRead
@@ -293,6 +296,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlNewTextReader
xmlRelaxNGGetParserErrors
xmlSchemaGetParserErrors
+xmlSchemaValidateStream
xmlTextReaderByteConsumed
xmlXPathOrderDocElems
informations
_xmlAttr
@@ -317,6 +321,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlRelaxParserSetFlag
xmlSAX2EndElementNs
xmlSAX2StartElementNs
+xmlSchemaGetValidErrors
+xmlSchemaSetValidErrors
xmlShellDir
xmlXIncludeProcessNode
informative
_xmlError
@@ -472,6 +478,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlRelaxNGNewDocParserCtxt
xmlRemoveID
xmlRemoveRef
+xmlSchemaValidateFile
xmlXPathContextSetCache
interned
xmlPatterncompile
xmlTextReaderConstString
diff --git a/doc/APIchunk18.html b/doc/APIchunk18.html index fcdce05..78b4480 100644 --- a/doc/APIchunk18.html +++ b/doc/APIchunk18.html @@ -125,6 +125,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlHashUpdateEntry2
xmlHashUpdateEntry3
xmlKeepBlanksDefault
+xmlNewEntity
xmlParseAttValue
latest
xmlNanoHTTPReturnCode
layer
xmlChildrenNode
@@ -136,6 +137,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlRootNode
xmlSaveFileTo
xmlSaveFormatFileTo
+xmlSchemaSAXPlug
+xmlSchemaSAXUnplug
leading
xmlParseAttValue
xmlParseElementChildrenContentDecl
xmlParseElementMixedContentDecl
@@ -152,6 +155,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlXPathStringFunction
left
xmlExpNewOr
xmlExpNewSeq
+xmlMemDisplayLast
xmlTextReaderGetRemainder
legacy
htmlNodeStatus
len
xmlBufferAdd
@@ -194,6 +198,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlDebugDumpOneNode
xmlNodeDump
xmlNodeDumpOutput
+xmlParseVersionNum
xmlShellPwd
xmlStreamPop
xmlXPathDebugDumpCompExpr
@@ -348,6 +353,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlCanonicPath
xmlPathToURI
xmlSAX2SetDocumentLocator
+xmlTextReaderErrorFunc
xmlTextReaderLocatorBaseURI
xmlTextReaderLocatorLineNumber
locators
xlinkExtendedLinkFunk
diff --git a/doc/APIchunk19.html b/doc/APIchunk19.html index a5db809..eccf3d3 100644 --- a/doc/APIchunk19.html +++ b/doc/APIchunk19.html @@ -51,6 +51,7 @@ A:link, A:visited, A:active { text-decoration: underline }
main
xmlIsMainThread
maintained
xmlRemoveID
xmlRemoveRef
+xmlSchemaSAXPlug
major
xmlDecodeEntities
make
xmlCreateEntitiesTable
xmlNewNode
@@ -72,7 +73,6 @@ A:link, A:visited, A:active { text-decoration: underline }
manage
xmlBufferWriteChar
xmlBufferWriteQuotedString
manages
xmlBufferWriteCHAR
-
mandatory
xmlParseTextDecl
manipulated
xmlNewRMutex
manipulating
xmlExpNewCtxt
xmlLoadSGMLSuperCatalog
@@ -185,6 +185,7 @@ A:link, A:visited, A:active { text-decoration: underline }
memo
getSystemId
xmlSAX2GetSystemId
memorylist
xmlMemDisplay
+xmlMemDisplayLast
xmlMemoryDump
merged
xmlTextMerge
merging
xmlAddChild
@@ -192,20 +193,6 @@ A:link, A:visited, A:active { text-decoration: underline } xmlAddNextSibling
xmlAddPrevSibling
xmlAddSibling
-
message
_xmlError
-errorSAXFunc
-fatalErrorSAXFunc
-warningSAXFunc
-xmlGenericErrorFunc
-xmlParserError
-xmlParserValidityError
-xmlParserValidityWarning
-xmlParserWarning
-xmlStrPrintf
-xmlStrVPrintf
-xmlValidityErrorFunc
-xmlValidityWarningFunc
-xmlXPatherror
messages
errorSAXFunc
fatalErrorSAXFunc
warningSAXFunc
@@ -220,6 +207,8 @@ A:link, A:visited, A:active { text-decoration: underline } _xmlBuffer
xmlNanoHTTPMethod
xmlNanoHTTPMethodRedir
+xmlOutputBufferCreateFilenameFunc
+xmlParserInputBufferCreateFilenameFunc
xmlRegisterHTTPPostCallbacks
xmlSetBufferAllocationScheme
xmlTextReaderClose
@@ -251,7 +240,8 @@ A:link, A:visited, A:active { text-decoration: underline }
mixed-content
xmlParseElementMixedContentDecl
mmap
xmlParserInputBufferCreateStatic
mod
xmlXPathModValues
-
mode
_xmlParserCtxt
+
mode
_xmlBuffer
+_xmlParserCtxt
docbCreatePushParserCtxt
htmlCreatePushParserCtxt
xmlCreatePushParserCtxt
diff --git a/doc/APIchunk2.html b/doc/APIchunk2.html index 214bf62..1923889 100644 --- a/doc/APIchunk2.html +++ b/doc/APIchunk2.html @@ -227,13 +227,11 @@ A:link, A:visited, A:active { text-decoration: underline }

Letter E:

ELEMENT
_xmlElementContent
EMPTY
xmlParseElementContentDecl
ENTITIES
xmlParseAttributeType
-xmlValidateAttributeValue
xmlValidateDtdFinal
ENTITY
htmlParseEntityRef
xmlParseAttributeType
xmlParseEntityRef
xmlParseEntityValue
-xmlValidateAttributeValue
xmlValidateDtdFinal
ENTITY_REF
xmlNodeBufGetContent
xmlNodeGetContent
@@ -322,7 +320,6 @@ A:link, A:visited, A:active { text-decoration: underline } xmlParsePEReference
xmlParserHandlePEReference
xmlParserHandleReference
-xmlValidateAttributeValue
xmlValidateOneAttribute
xmlValidateOneNamespace
EntityDecl
xmlParseEntityDecl
diff --git a/doc/APIchunk20.html b/doc/APIchunk20.html index 1f00aa3..3bd1894 100644 --- a/doc/APIchunk20.html +++ b/doc/APIchunk20.html @@ -73,6 +73,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlReconciliateNs
naming
xmlChildrenNode
xmlRootNode
+
nbBytes
xmlMemDisplayLast
nbval
xmlRegExecErrInfo
xmlRegExecNextValues
ncname
xmlBuildQName
@@ -120,10 +121,12 @@ A:link, A:visited, A:active { text-decoration: underline } xmlDOMWrapReconcileNamespaces
xmlGetBufferAllocationScheme
xmlLoadSGMLSuperCatalog
+xmlNewEntity
xmlNewNodeEatName
xmlParseElementChildrenContentDecl
xmlParseElementMixedContentDecl
xmlReconciliateNs
+xmlSchemaSAXPlug
xmlSetBufferAllocationScheme
xmlShellPwd
xmlStrncat
diff --git a/doc/APIchunk21.html b/doc/APIchunk21.html index 05eab1d..cff8e69 100644 --- a/doc/APIchunk21.html +++ b/doc/APIchunk21.html @@ -67,6 +67,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlHashCreateDict
xmlListRemoveFirst
xmlListRemoveLast
+xmlTextReaderErrorFunc
occurences
xmlAutomataNewCountTrans
xmlAutomataNewCountTrans2
xmlAutomataNewOnceTrans
@@ -233,6 +234,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlDOMWrapCloneNode
xmlDOMWrapReconcileNamespaces
xmlGetLineNo
+xmlSchemaValidCtxtGetOptions
options
htmlCtxtUseOptions
xmlCtxtUseOptions
xmlDOMWrapRemoveNode
@@ -241,6 +243,9 @@ A:link, A:visited, A:active { text-decoration: underline } xmlSaveToFd
xmlSaveToFilename
xmlSaveToIO
+xmlSchemaSetValidOptions
+xmlSchemaValidCtxtGetOptions
+xmlSchemaValidateFile
xmlTextReaderSchemaValidateCtxt
xmlTextReaderSetup
xmlXPathContextSetCache
@@ -272,6 +277,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlListMerge
xmlParseEntityValue
xmlParseURIRaw
+xmlSchemaSAXPlug
+xmlSchemaSAXUnplug
xmlShellSave
xmlStrcat
xmlStrncat
diff --git a/doc/APIchunk22.html b/doc/APIchunk22.html index 1fcc6c9..c84804c 100644 --- a/doc/APIchunk22.html +++ b/doc/APIchunk22.html @@ -170,7 +170,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlGcMemGet
xmlMemGet
xmlReplaceNode
-
places
xmlStrPrintf
+
places
xmlMemDisplayLast
+xmlStrPrintf
xmlStrVPrintf
plug
xmlXPathFuncLookupFunc
xmlXPathVariableLookupFunc
@@ -184,6 +185,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlReconciliateNs
xmlRegExecErrInfo
xmlRegExecNextValues
+xmlSchemaSAXPlug
+xmlSchemaSAXUnplug
xmlValidGetValidElements
points
_xmlChRangeGroup
pop
xmlPopInput
@@ -202,35 +205,6 @@ A:link, A:visited, A:active { text-decoration: underline }
positioned
xmlTextReaderReadString
positionned
xmlTextReaderReadAttributeValue
positions
xmlUTF8Strsub
-
positive
UTF8ToHtml
-UTF8Toisolat1
-docbEncodeEntities
-htmlEncodeEntities
-isolat1ToUTF8
-xmlBufferAdd
-xmlBufferAddHead
-xmlBufferCCat
-xmlBufferCat
-xmlCharEncodingInputFunc
-xmlCharEncodingOutputFunc
-xmlRelaxNGValidateDoc
-xmlSchemaCheckFacet
-xmlSchemaValPredefTypeNode
-xmlSchemaValPredefTypeNodeNoNorm
-xmlSchemaValidateFacet
-xmlSchemaValidateFacetWhtsp
-xmlSchemaValidateLengthFacet
-xmlSchemaValidateLengthFacetWhtsp
-xmlSchemaValidateListSimpleTypeFacet
-xmlSchemaValidatePredefinedType
-xmlTextReaderPreservePattern
-xmlValidateNCName
-xmlValidateNMToken
-xmlValidateName
-xmlValidateQName
-xmlXPathBooleanFunction
-xmlXPathFloorFunction
-xmlXPathStringFunction
possible
xmlCopyNodeList
xmlCreateEntityParserCtxt
xmlParseDefaultDecl
@@ -256,6 +230,7 @@ A:link, A:visited, A:active { text-decoration: underline }
potential
xmlDebugCheckDocument
xmlValidGetPotentialChildren
potentially
_xmlURI
+
practice
xmlParseVersionNum
pre-interned
_xmlParserCtxt
preallocated
xmlBuildQName
precede
xmlParseEntityRef
@@ -281,6 +256,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlPatternStreamable
xmlRegNewExecCtxt
xmlRelaxNGNewValidCtxt
+xmlSchemaNewValidCtxt
xmlSchematronNewValidCtxt
xmlTextReaderRelaxNGSetSchema
xmlTextReaderSetSchema
@@ -453,6 +429,32 @@ A:link, A:visited, A:active { text-decoration: underline }
produced
xmlCharEncodingOutputFunc
xmlCurrentChar
producing
xmlCheckUTF8
+
production
IS_BASECHAR
+IS_BLANK
+IS_BYTE_CHAR
+IS_CHAR
+IS_COMBINING
+IS_DIGIT
+IS_EXTENDER
+IS_IDEOGRAPHIC
+IS_LETTER
+IS_PUBIDCHAR
+xmlIsLetter
+xmlParseAttributeType
+xmlParseBalancedChunkMemory
+xmlParseBalancedChunkMemoryRecover
+xmlParseCharRef
+xmlParseCtxtExternalEntity
+xmlParseExtParsedEnt
+xmlParseExternalEntity
+xmlParseExternalID
+xmlParseInNodeContext
+xmlValidateNameValue
+xmlValidateNamesValue
+xmlValidateNmtokenValue
+xmlValidateNmtokensValue
+xmlXPathIdFunction
+xmlXPathNormalizeFunction
production:
xmlCheckLanguageID
productions
xmlCheckLanguageID
program
xmlXPtrNewContext
@@ -479,7 +481,6 @@ A:link, A:visited, A:active { text-decoration: underline } xmlXPathIsNaN
prolog
xmlParseDocument
prompt
xmlShellReadlineFunc
-
proper
xmlValidateAttributeValue
properly
xmlParseElementChildrenContentDecl
xmlParseMarkupDecl
xmlReconciliateNs
@@ -521,6 +522,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlOutputMatchCallback
xmlSaveFormatFile
xmlSaveFormatFileEnc
+xmlSchemaValidateStream
xmlUTF8Strloc
xmlUTF8Strpos
provides
endElementNsSAX2Func
diff --git a/doc/APIchunk23.html b/doc/APIchunk23.html index 4d76cc6..b7b26c2 100644 --- a/doc/APIchunk23.html +++ b/doc/APIchunk23.html @@ -118,7 +118,8 @@ A:link, A:visited, A:active { text-decoration: underline }
read-only
xmlDictCreateSub
readable
xmlStrEqual
reader-
xmlTextReaderGetRemainder
-
reading
xmlShell
+
reading
xmlSchemaValidateStream
+xmlShell
ready
INPUT_CHUNK
xmlAutomataCompile
realloc
_xmlBuffer
@@ -238,32 +239,6 @@ A:link, A:visited, A:active { text-decoration: underline } xmlNewCharRef
referenced
xmlLinkGetData
xmlParseAttValue
-
references
XML_SCHEMAS_ATTRGROUP_HAS_REFS
-XML_SCHEMAS_ATTR_INTERNAL_RESOLVED
-XML_SCHEMAS_ELEM_CIRCULAR
-XML_SCHEMAS_ELEM_INTERNAL_RESOLVED
-htmlParseEntityRef
-xmlGetRefs
-xmlLoadSGMLSuperCatalog
-xmlNewChild
-xmlNewDocNode
-xmlNewDocNodeEatName
-xmlNodeAddContent
-xmlNodeAddContentLen
-xmlNodeBufGetContent
-xmlNodeGetContent
-xmlNodeSetContent
-xmlNodeSetContentLen
-xmlParseAttribute
-xmlParseCharRef
-xmlParseEntityRef
-xmlParseMarkupDecl
-xmlParsePEReference
-xmlParseReference
-xmlParseSDDecl
-xmlParserHandlePEReference
-xmlScanName
-xmlSubstituteEntitiesDefault
referencing
xmlGetDocEntity
xmlGetDtdEntity
xmlGetParameterEntity
@@ -305,7 +280,9 @@ A:link, A:visited, A:active { text-decoration: underline } xmlOutputBufferCreateFilenameDefault
xmlParserInputBufferCreateFilenameDefault
xmlRegisterNodeDefault
+xmlRegisterNodeFunc
regular
LIBXML_REGEXP_ENABLED
+xmlRegExecCallbacks
xmlRegFreeExecCtxt
xmlRegNewExecCtxt
xmlRegexpCompile
@@ -331,9 +308,9 @@ A:link, A:visited, A:active { text-decoration: underline } xmlTextReaderMoveToAttributeNo
xmlUTF8Strloc
xmlUTF8Strsub
-
relativeURI
xmlParseURI
-xmlParseURIRaw
+
relative-ref
xmlParseURIRaw
xmlParseURIReference
+
relativeURI
xmlParseURI
release
xmlClearNodeInfoSeq
xmlClearParserCtxt
xmlDecodeEntities
@@ -406,6 +383,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlHashUpdateEntry2
xmlHashUpdateEntry3
xmlNewTextChild
+xmlSchemaSAXPlug
xmlXPathTranslateFunction
replacement
xmlACatalogAdd
xmlCatalogAdd
@@ -453,6 +431,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlHasFeature
xmlIsID
xmlMallocFunc
+xmlParserInputBufferCreateFilenameFunc
xmlReallocFunc
requests
xmlRegisterHTTPPostCallbacks
required
XML_SCHEMAS_ATTR_USE_REQUIRED
@@ -514,6 +493,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlRelaxNGFreeParserCtxt
xmlRelaxNGFreeValidCtxt
xmlSchemaFreeParserCtxt
+xmlSchemaFreeValidCtxt
xmlSchematronFreeParserCtxt
xmlSchematronFreeValidCtxt
xmlTextReaderClose
@@ -522,13 +502,15 @@ A:link, A:visited, A:active { text-decoration: underline } xmlNodeSetContentLen
respect
xmlExpStringDerive
respecting
xmlValidGetValidElements
+
responsability
xmlNewEntity
response
xmlNanoFTPCheckResponse
xmlNanoFTPGetResponse
xmlNanoHTTPContentLength
responsible
xmlC14NDocDumpMemory
xmlCanonicPath
xmlPathToURI
-
restored
xmlTextReaderSetErrorHandler
+
restored
xmlSchemaSAXUnplug
+xmlTextReaderSetErrorHandler
xmlTextReaderSetStructuredErrorHandler
restrict
xmlParseExternalID
restriction
XML_SCHEMAS_BLOCK_DEFAULT_RESTRICTION
@@ -636,6 +618,7 @@ A:link, A:visited, A:active { text-decoration: underline }
running
xmlKeepBlanksDefault
runtime
LIBXML_DEBUG_RUNTIME
XML_MAX_NAMELEN
+xmlMemDisplayLast

A-B C-C D-E diff --git a/doc/APIchunk24.html b/doc/APIchunk24.html index 0a798e6..83f5111 100644 --- a/doc/APIchunk24.html +++ b/doc/APIchunk24.html @@ -128,8 +128,11 @@ A:link, A:visited, A:active { text-decoration: underline } xmlSchemaGetFacetValueAsULong
xmlSchemaGetValType
xmlSchemaNewMemParserCtxt
+xmlSchemaValidateDoc
xmlSchemaValidateFacet
xmlSchemaValidateFacetWhtsp
+xmlSchemaValidateFile
+xmlSchemaValidateStream
xmlSchematronNewMemParserCtxt
xmlTextReaderSchemaValidate
xmlTextReaderSchemaValidateCtxt
@@ -266,6 +269,7 @@ A:link, A:visited, A:active { text-decoration: underline }
setting
xmlSetGenericErrorFunc
xmlXPathContextSetCache
setups
xmlParseEncodingDecl
+
severity
xmlTextReaderErrorFunc
sgmlsource
getSystemId
xmlSAX2GetSystemId
shadowed
xmlDOMWrapAdoptNode
@@ -448,6 +452,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlCopyError
xmlCtxtReadIO
xmlNewTextReader
+xmlParserInputBufferCreateFilenameFunc
xmlReadIO
xmlReaderForIO
xmlReaderNewIO
@@ -584,6 +589,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlNewCharRef
xmlNewTextWriterTree
xmlSaveTree
+xmlSchemaValidateOneElement
xmlXPathOrderDocElems
xmlXPathSubstringFunction
xmlXPtrNewCollapsedRange
@@ -674,6 +680,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlStrdup
xmlStrdupFunc
streamable
xmlPatternStreamable
+xmlSchemaValidateFile
streaming
xmlPatternGetStreamCtxt
xmlStreamWantsAnyNode
streams
_xmlParserCtxt
@@ -721,6 +728,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlSchemaNewStringValue
structured
xmlRelaxNGSetValidStructuredErrors
xmlSchemaSetParserStructuredErrors
+xmlSchemaSetValidStructuredErrors
xmlSchematronSetValidStructuredErrors
xmlSetStructuredErrorFunc
structures
xmlFreeDoc
@@ -793,6 +801,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlReconciliateNs
xmlRelaxNGValidateFullElement
xmlSaveTree
+xmlSchemaValidateOneElement
xmlShellDu
xmlShellWrite
xmlTextReaderExpand
@@ -861,6 +870,8 @@ A:link, A:visited, A:active { text-decoration: underline }
suffix
LIBXML_MODULE_EXTENSION
suggested
_htmlElemDesc
suitable
xmlNewIOInputStream
+xmlOutputBufferCreateFilenameFunc
+xmlParserInputBufferCreateFilenameFunc
xmlRegexpCompile
sum
xmlXPathSubstringFunction
xmlXPathSumFunction
diff --git a/doc/APIchunk25.html b/doc/APIchunk25.html index aa590d2..2dce6a0 100644 --- a/doc/APIchunk25.html +++ b/doc/APIchunk25.html @@ -216,6 +216,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlMutexLock
xmlMutexUnlock
xmlNewMutex
+xmlRegExecCallbacks
xmlRegExecPushString
xmlRegExecPushString2
token_r
xmlNewRMutex
@@ -400,6 +401,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlHasProp
xmlLineNumbersDefault
two
_xmlParserCtxt
+xmlMemDisplayLast
xmlStrncatNew
xmlTextMerge
xmlUTF8Charcmp
@@ -421,7 +423,6 @@ A:link, A:visited, A:active { text-decoration: underline } xmlSchemaNewStringValue
xmlSchemaValidateFacetWhtsp
xmlStreamWantsAnyNode
-
typo
xmlParseTextDecl

A-B C-C D-E diff --git a/doc/APIchunk26.html b/doc/APIchunk26.html index ed2a00d..4fca766 100644 --- a/doc/APIchunk26.html +++ b/doc/APIchunk26.html @@ -107,6 +107,7 @@ A:link, A:visited, A:active { text-decoration: underline }
unlinked
xmlAddNextSibling
xmlAddPrevSibling
xmlAddSibling
+xmlNewEntity
xmlReplaceNode
unload
xmlModuleClose
xmlModuleFree
@@ -121,6 +122,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlParseEntityRef
xmlParserHandleReference
xmlSAX2UnparsedEntityDecl
+
unplug
xmlSchemaSAXPlug
unpredictable
UTF8ToHtml
UTF8Toisolat1
docbEncodeEntities
@@ -155,6 +157,7 @@ A:link, A:visited, A:active { text-decoration: underline } _xmlXPathContext
xmlDOMWrapReconcileNamespaces
xmlDOMWrapRemoveNode
+xmlSchemaValidateFile
xmlShellBase
xmlShellCat
xmlShellDir
@@ -190,6 +193,7 @@ A:link, A:visited, A:active { text-decoration: underline } _xmlSchemaElement
useful
xmlGcMemGet
xmlGcMemSetup
+xmlMemDisplayLast
xmlNewRMutex
xmlParserInputBufferCreateStatic
useless
setDocumentLocator
@@ -275,6 +279,7 @@ A:link, A:visited, A:active { text-decoration: underline }
view
xmlShell
violated
XML_CAST_FPTR
visible
xmlC14NExecute
+xmlC14NIsVisibleCallback
void
XML_CAST_FPTR
xmlSAXParseFileWithData
xmlSAXParseMemoryWithData
diff --git a/doc/APIchunk27.html b/doc/APIchunk27.html index d2272eb..d9fe323 100644 --- a/doc/APIchunk27.html +++ b/doc/APIchunk27.html @@ -62,9 +62,14 @@ A:link, A:visited, A:active { text-decoration: underline } xmlRelaxNGGetValidErrors
xmlRelaxNGSetParserErrors
xmlRelaxNGSetValidErrors
+xmlRelaxNGValidityWarningFunc
xmlSAX2InitDefaultSAXHandler
xmlSchemaGetParserErrors
+xmlSchemaGetValidErrors
xmlSchemaSetParserErrors
+xmlSchemaSetValidErrors
+xmlSchemaValidityWarningFunc
+xmlSchematronValidityWarningFunc
xmlSearchNs
xmlTextReaderSetErrorHandler
xmlTextReaderSetStructuredErrorHandler
@@ -115,6 +120,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlCheckLanguageID
xmlKeepBlanksDefault
xmlMemShow
+xmlSchemaIsValid
xmlXIncludeProcess
xmlXIncludeProcessFlags
xmlXIncludeProcessFlagsData
@@ -143,6 +149,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlNewNs
xmlParseMarkupDecl
xmlParseSDDecl
+xmlTextReaderErrorFunc
while
xmlInitCharEncodingHandlers
xmlParseAttributeType
xmlParseEnumeratedType
@@ -268,6 +275,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlIOFTPRead
xmlIOHTTPRead
xmlNewCharEncodingHandler
+xmlOutputBufferCreateFilenameFunc
xmlOutputBufferCreateIO
xmlOutputWriteCallback
xmlSaveToIO
diff --git a/doc/APIchunk28.html b/doc/APIchunk28.html index bc198ee..5fbd28f 100644 --- a/doc/APIchunk28.html +++ b/doc/APIchunk28.html @@ -98,6 +98,7 @@ A:link, A:visited, A:active { text-decoration: underline }
xml:space
_xmlParserCtxt
xmlNodeGetSpacePreserve
xmlNodeSetSpacePreserve
+
xmlAddDocEntity
xmlNewEntity
xmlAttr
attribute
attributeSAXFunc
xmlAttrPtr
xmlCopyProp
@@ -141,6 +142,7 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlDoc
_xmlNs
xmlDocCopyNodeList
xmlCopyNodeList
xmlDocNewPI
xmlNewPI
+
xmlDocProperties
_xmlDoc
xmlDocPtr
xmlCopyDoc
xmlNewTextWriterDoc
xmlNewTextWriterTree
@@ -312,6 +314,7 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlOutputBufferClose
xmlSaveFileTo
xmlSaveFormatFileTo
xmlOutputBufferPtr
xmlNewTextWriter
+xmlOutputBufferCreateFilenameFunc
xmlOutputCloseCallback
xmlRegisterOutputCallbacks
xmlOutputMatchCallback
xmlRegisterOutputCallbacks
xmlOutputOpenCallback
xmlRegisterOutputCallbacks
@@ -336,6 +339,7 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlParserFindNodeInfoIndex
xmlParserFindNodeInfoIndex
xmlParserHandleReference
xmlScanName
xmlParserInputBufferPtr
xmlNewTextReader
+xmlParserInputBufferCreateFilenameFunc
xmlTextReaderGetRemainder
xmlTextReaderSetup
xmlParserInputPtr
resolveEntity
@@ -401,12 +405,15 @@ A:link, A:visited, A:active { text-decoration: underline }
xmlSAX2StartDocument
startDocument
xmlSAX2StartElement
startElement
xmlSAX2UnparsedEntityDecl
unparsedEntityDecl
+
xmlSAXHandlerPtr
xmlSchemaSAXPlug
xmlSAXVersion
xmlSAXDefaultVersion
xmlSaveOptions
xmlSaveToBuffer
xmlSaveToFd
xmlSaveToFilename
xmlSaveToIO
+
xmlSchemaSAXPlug
xmlSchemaSAXUnplug
xmlSchemaValType
xmlSchemaGetValType
+
xmlSchemaValidOption
xmlSchemaSetValidOptions
xmlSchematronValidOptions
xmlSchematronNewValidCtxt
xmlSetExternalEntityLoader
resolveEntity
resolveEntitySAXFunc
diff --git a/doc/APIchunk3.html b/doc/APIchunk3.html index e8d2266..3f5646a 100644 --- a/doc/APIchunk3.html +++ b/doc/APIchunk3.html @@ -192,14 +192,12 @@ A:link, A:visited, A:active { text-decoration: underline } xmlParserInputBufferRead
IDREF
xmlParseAttributeType
xmlValidateAttributeDecl
-xmlValidateAttributeValue
xmlValidateDocumentFinal
xmlValidateDtd
xmlValidateOneAttribute
xmlValidateOneElement
xmlValidateOneNamespace
IDREFS
xmlParseAttributeType
-xmlValidateAttributeValue
xmlValidateDocumentFinal
IDREFs
_xmlDoc
IDs
xmlXPathIdFunction
diff --git a/doc/APIchunk4.html b/doc/APIchunk4.html index b954f38..924c236 100644 --- a/doc/APIchunk4.html +++ b/doc/APIchunk4.html @@ -182,9 +182,7 @@ A:link, A:visited, A:active { text-decoration: underline }
NDataDecl
xmlParseEntityDecl
NDataDecl?
xmlParseEntityDecl
NMTOKEN
xmlParseAttributeType
-xmlValidateAttributeValue
NMTOKENS
xmlParseAttributeType
-xmlValidateAttributeValue
NMToken
xmlValidateNMToken
NOTATION
xmlParseEnumeratedType
xmlParseNotationType
@@ -234,7 +232,6 @@ A:link, A:visited, A:active { text-decoration: underline }
Names
xmlParseAttributeType
xmlParseName
xmlScanName
-xmlValidateAttributeValue
xmlValidateNamesValue
Namespace
XML_XML_NAMESPACE
_xmlElementContent
@@ -251,11 +248,9 @@ A:link, A:visited, A:active { text-decoration: underline }
Nmtoken
xmlParseAttributeType
xmlParseEnumerationType
xmlParseNmtoken
-xmlValidateAttributeValue
xmlValidateNmtokenValue
Nmtokens
xmlParseAttributeType
xmlParseNmtoken
-xmlValidateAttributeValue
xmlValidateNmtokensValue
Node
_xmlParserCtxt
_xmlValidCtxt
diff --git a/doc/APIchunk5.html b/doc/APIchunk5.html index 72067ed..0c4f510 100644 --- a/doc/APIchunk5.html +++ b/doc/APIchunk5.html @@ -153,6 +153,7 @@ A:link, A:visited, A:active { text-decoration: underline }
People
xmlEncodeEntities
PhoneticExtensions
xmlUCSIsPhoneticExtensions
Please
xmlNormalizeWindowsPath
+
Plug
xmlSchemaSAXPlug
Pointer
xmlCheckUTF8
Points
xmlXPtrNewRangePoints
Pop
xmlRelaxNGValidatePopElement
diff --git a/doc/APIchunk6.html b/doc/APIchunk6.html index 6e4a169..f598093 100644 --- a/doc/APIchunk6.html +++ b/doc/APIchunk6.html @@ -61,7 +61,6 @@ A:link, A:visited, A:active { text-decoration: underline }
Query
xmlDictSize
xmlHashSize
xmlStreamWantsAnyNode
-
Question:
xmlParseTextDecl

Letter R:

REC
IS_BASECHAR
IS_COMBINING
IS_DIGIT
@@ -75,6 +74,8 @@ A:link, A:visited, A:active { text-decoration: underline }
RFC
xmlBuildURI
xmlNodeGetBase
xmlNormalizeURIPath
+xmlParseURI
+xmlParseURIReference
RFC2396
xmlURIEscape
Raises
xmlXPathSetArityError
xmlXPathSetError
@@ -176,6 +177,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlRelaxNGSetValidErrors
xmlRelaxNGSetValidStructuredErrors
xmlRelaxNGValidateDoc
+xmlRelaxNGValidityErrorFunc
+xmlRelaxNGValidityWarningFunc
RelaxNG
_xmlSchemaElement
xmlRelaxNGCleanupTypes
xmlRelaxNGDump
diff --git a/doc/APIchunk7.html b/doc/APIchunk7.html index df878bf..f9550fc 100644 --- a/doc/APIchunk7.html +++ b/doc/APIchunk7.html @@ -50,6 +50,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlSAX2InitDocbDefaultSAXHandler
xmlSAX2InitHtmlDefaultSAXHandler
xmlSAX2StartElementNs
+xmlSchemaValidateStream
SAX::substituteEntities
xmlSubstituteEntitiesDefault
SDDecl
xmlParseSDDecl
SDDecl?
xmlParseXMLDecl
@@ -119,10 +120,13 @@ A:link, A:visited, A:active { text-decoration: underline } xmlSchemaNewDocParserCtxt
xmlSchemaNewMemParserCtxt
xmlSchemaNewParserCtxt
+xmlSchemaNewValidCtxt
Schematron
LIBXML_SCHEMATRON_ENABLED
xmlSchematronFree
xmlSchematronParse
xmlSchematronSetValidStructuredErrors
+xmlSchematronValidityErrorFunc
+xmlSchematronValidityWarningFunc
Schematrons
xmlSchematronNewDocParserCtxt
xmlSchematronNewMemParserCtxt
xmlSchematronNewParserCtxt
@@ -163,13 +167,13 @@ A:link, A:visited, A:active { text-decoration: underline } xmlLinkGetData
xmlParseNotationDecl
xmlTextReaderByteConsumed
-
Seems
xmlParseTextDecl
Semi
xmlRelaxParserSetFlag
Send
xmlNanoFTPQuit
Serialize
xmlAttrSerializeTxtContent
xmlExpDump
Sets
htmlSetMetaEncoding
xmlBufferSetAllocationScheme
+xmlSchemaSetValidOptions
xmlXPathDifference
xmlXPathDistinct
xmlXPathDistinctSorted
@@ -205,12 +209,24 @@ A:link, A:visited, A:active { text-decoration: underline } xmlStringGetNodeList
xmlStringLenGetNodeList
Show
xmlShellPwd
-
Signature
xmlFreeFunc
+
Signature
xmlC14NIsVisibleCallback
+xmlDeregisterNodeFunc
+xmlFreeFunc
xmlGenericErrorFunc
xmlMallocFunc
+xmlOutputBufferCreateFilenameFunc
+xmlParserInputBufferCreateFilenameFunc
xmlReallocFunc
+xmlRegisterNodeFunc
+xmlRelaxNGValidityErrorFunc
+xmlRelaxNGValidityWarningFunc
+xmlSchemaValidityErrorFunc
+xmlSchemaValidityWarningFunc
+xmlSchematronValidityErrorFunc
+xmlSchematronValidityWarningFunc
xmlStrdupFunc
xmlStructuredErrorFunc
+xmlTextReaderErrorFunc
Similarly
xmlParseEntityRef
Simply
xmlCreateURI
Since
xmlStrcat
diff --git a/doc/APIchunk8.html b/doc/APIchunk8.html index 316f827..10e852a 100644 --- a/doc/APIchunk8.html +++ b/doc/APIchunk8.html @@ -119,7 +119,6 @@ A:link, A:visited, A:active { text-decoration: underline }
Thus:
xmlXPathSubstringFunction
Tibetan
xmlUCSIsTibetan
Token
xmlParseAttributeType
-xmlValidateAttributeValue
xmlValidateNmtokenValue
xmlValidateNmtokensValue
xmlValidateOneAttribute
@@ -222,6 +221,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlReplaceNode
xmlUnlinkNode
Unlinks
xmlDOMWrapRemoveNode
+
Unplug
xmlSchemaSAXUnplug
Unregisters
xmlCleanupEncodingAliases
xmlDelEncodingAlias
Update
xmlNanoFTPUpdateURL
diff --git a/doc/APIchunk9.html b/doc/APIchunk9.html index cf7f9d9..fb32180 100644 --- a/doc/APIchunk9.html +++ b/doc/APIchunk9.html @@ -41,9 +41,11 @@ A:link, A:visited, A:active { text-decoration: underline }
Validate
XML_SCHEMAS_ANY_LAX
xmlRelaxNGValidateDoc
xmlRelaxNGValidateFullElement
+xmlSchemaValidateDoc
+xmlSchemaValidateOneElement
+xmlSchemaValidateStream
xmlSchematronValidateDoc
xmlShellValidate
-xmlValidateAttributeValue
xmlValidateNameValue
xmlValidateNamesValue
xmlValidateNmtokenValue
@@ -60,7 +62,6 @@ A:link, A:visited, A:active { text-decoration: underline } xmlParseDefaultDecl
xmlParseEnumerationType
xmlParseNotationType
-xmlValidateAttributeValue
Variable
xmlXPathVariableLookup
xmlXPathVariableLookupNS
VariationSelectors
xmlUCSIsVariationSelectors
@@ -154,6 +155,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlValidateOneElement
xmlValidateOneNamespace
xmlValidateRoot
+
XML-Schema
xmlSchemaGetValidErrors
XMLDecl
xmlParseXMLDecl
XMLDecl?
xmlParseDocument
XMLSchema
xmlSchemaGetPredefinedType
@@ -193,6 +195,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlStringLenDecodeEntities
XML_xxx_yyy_ENTITY
xmlAddDocEntity
xmlAddDtdEntity
+xmlNewEntity
XMl-Schema
xmlSchemaGetParserErrors
XPATH
xmlXPathFreeCompExpr
XPATH_INVALID_ARITY
xmlXPathSetArityError
@@ -206,6 +209,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlXPtrNewContext
xmlXPtrRangeToFunction
XSD
xmlAutomataNewNegTrans
+xmlSchemaValidityErrorFunc
+xmlSchemaValidityWarningFunc
xmlTextReaderSchemaValidate
xmlTextReaderSchemaValidateCtxt
xmlTextReaderSetSchema
diff --git a/doc/APIconstructors.html b/doc/APIconstructors.html index 8ccc8a6..300fc03 100644 --- a/doc/APIconstructors.html +++ b/doc/APIconstructors.html @@ -318,6 +318,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlGetDtdEntity
xmlGetParameterEntity
xmlGetPredefinedEntity
+xmlNewEntity
xmlParseEntityRef
xmlSAX2GetEntity
xmlSAX2GetParameterEntity
@@ -447,6 +448,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlCreatePushParserCtxt
xmlCreateURLParserCtxt
xmlNewParserCtxt
+xmlSchemaValidCtxtGetParserCtxt

Type xmlParserErrors:

xmlParseInNodeContext

Type xmlParserInputBufferCreateFilenameFunc:

xmlParserInputBufferCreateFilenameDefault
xmlThrDefParserInputBufferCreateFilenameDefault
diff --git a/doc/APIfiles.html b/doc/APIfiles.html index 30d650a..479d244 100644 --- a/doc/APIfiles.html +++ b/doc/APIfiles.html @@ -405,6 +405,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlGetParameterEntity
xmlGetPredefinedEntity
xmlInitializePredefinedEntities
+xmlNewEntity

Module globals:

_xmlGlobalState
docbDefaultSAXHandler
htmlDefaultSAXHandler
@@ -601,6 +602,8 @@ A:link, A:visited, A:active { text-decoration: underline } XML_PARSE_DTDATTR
XML_PARSE_DTDLOAD
XML_PARSE_DTDVALID
+XML_PARSE_HUGE
+XML_PARSE_NOBASEFIX
XML_PARSE_NOBLANKS
XML_PARSE_NOCDATA
XML_PARSE_NODICT
@@ -610,6 +613,7 @@ A:link, A:visited, A:active { text-decoration: underline } XML_PARSE_NOWARNING
XML_PARSE_NOXINCNODE
XML_PARSE_NSCLEAN
+XML_PARSE_OLD10
XML_PARSE_PEDANTIC
XML_PARSE_PUSH_DOM
XML_PARSE_PUSH_SAX
@@ -1283,12 +1287,21 @@ A:link, A:visited, A:active { text-decoration: underline } XML_BUFFER_ALLOC_DOUBLEIT
XML_BUFFER_ALLOC_EXACT
XML_BUFFER_ALLOC_IMMUTABLE
+XML_BUFFER_ALLOC_IO
XML_CDATA_SECTION_NODE
XML_COMMENT_NODE
XML_DOCB_DOCUMENT_NODE
XML_DOCUMENT_FRAG_NODE
XML_DOCUMENT_NODE
XML_DOCUMENT_TYPE_NODE
+XML_DOC_DTDVALID
+XML_DOC_HTML
+XML_DOC_INTERNAL
+XML_DOC_NSVALID
+XML_DOC_OLD10
+XML_DOC_USERBUILT
+XML_DOC_WELLFORMED
+XML_DOC_XINCLUDE
XML_DTD_NODE
XML_ELEMENT_CONTENT_ELEMENT
XML_ELEMENT_CONTENT_MULT
@@ -1398,6 +1411,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlDocDumpMemoryEnc
xmlDocFormatDump
xmlDocGetRootElement
+xmlDocProperties
xmlDocPtr
xmlDocSetRootElement
xmlDtd
@@ -1835,6 +1849,7 @@ A:link, A:visited, A:active { text-decoration: underline } XML_DTD_CONTENT_MODEL
XML_DTD_CONTENT_NOT_DETERMINIST
XML_DTD_DIFFERENT_PREFIX
+XML_DTD_DUP_TOKEN
XML_DTD_ELEM_DEFAULT_NAMESPACE
XML_DTD_ELEM_NAMESPACE
XML_DTD_ELEM_REDEFINED
@@ -1963,11 +1978,13 @@ A:link, A:visited, A:active { text-decoration: underline } XML_ERR_TAG_NOT_FINISHED
XML_ERR_UNDECLARED_ENTITY
XML_ERR_UNKNOWN_ENCODING
+XML_ERR_UNKNOWN_VERSION
XML_ERR_UNPARSED_ENTITY
XML_ERR_UNSUPPORTED_ENCODING
XML_ERR_URI_FRAGMENT
XML_ERR_URI_REQUIRED
XML_ERR_VALUE_REQUIRED
+XML_ERR_VERSION_MISMATCH
XML_ERR_VERSION_MISSING
XML_ERR_WARNING
XML_ERR_XMLDECL_NOT_FINISHED
@@ -2075,6 +2092,7 @@ A:link, A:visited, A:active { text-decoration: underline } XML_MODULE_CLOSE
XML_MODULE_OPEN
XML_NS_ERR_ATTRIBUTE_REDEFINED
+XML_NS_ERR_COLON
XML_NS_ERR_EMPTY
XML_NS_ERR_QNAME
XML_NS_ERR_UNDEFINED_NAMESPACE
@@ -2581,6 +2599,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlMallocLoc
xmlMemBlocks
xmlMemDisplay
+xmlMemDisplayLast
xmlMemFree
xmlMemGet
xmlMemMalloc
@@ -2849,6 +2868,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlSchemaSetValidStructuredErrors
xmlSchemaValidCtxt
xmlSchemaValidCtxtGetOptions
+xmlSchemaValidCtxtGetParserCtxt
xmlSchemaValidCtxtPtr
xmlSchemaValidError
xmlSchemaValidOption
diff --git a/doc/APIfunctions.html b/doc/APIfunctions.html index 9e83889..3cf9ced 100644 --- a/doc/APIfunctions.html +++ b/doc/APIfunctions.html @@ -59,6 +59,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlElemDump
xmlLsOneNode
xmlMemDisplay
+xmlMemDisplayLast
xmlMemShow
xmlOutputBufferCreateFile
xmlParserInputBufferCreateFile
@@ -276,6 +277,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlNewDocTextLen
xmlNewDtd
xmlNewElementContent
+xmlNewEntity
xmlNewGlobalNs
xmlNewNode
xmlNewNs
@@ -577,6 +579,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlSplitQName3
xmlStringCurrentChar
xmlValidGetPotentialChildren
+

Type long:

xmlMemDisplayLast

Type size_t:

xmlBufferCreateSize
xmlBufferCreateStatic
xmlMallocAtomicLoc
@@ -1161,6 +1164,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlNewDocText
xmlNewDocTextLen
xmlNewDtd
+xmlNewEntity
xmlNewGlobalNs
xmlNewReference
xmlNewTextWriterTree
@@ -1934,6 +1938,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlSchemaSetValidOptions
xmlSchemaSetValidStructuredErrors
xmlSchemaValidCtxtGetOptions
+xmlSchemaValidCtxtGetParserCtxt
xmlSchemaValidateDoc
xmlSchemaValidateFile
xmlSchemaValidateOneElement
diff --git a/doc/APIsymbols.html b/doc/APIsymbols.html index af09644..952abf5 100644 --- a/doc/APIsymbols.html +++ b/doc/APIsymbols.html @@ -146,6 +146,7 @@ A:link, A:visited, A:active { text-decoration: underline } XML_BUFFER_ALLOC_DOUBLEIT
XML_BUFFER_ALLOC_EXACT
XML_BUFFER_ALLOC_IMMUTABLE
+XML_BUFFER_ALLOC_IO
XML_C14N_CREATE_CTXT
XML_C14N_CREATE_STACK
XML_C14N_INVALID_NODE
@@ -242,6 +243,14 @@ A:link, A:visited, A:active { text-decoration: underline } XML_DOCUMENT_FRAG_NODE
XML_DOCUMENT_NODE
XML_DOCUMENT_TYPE_NODE
+XML_DOC_DTDVALID
+XML_DOC_HTML
+XML_DOC_INTERNAL
+XML_DOC_NSVALID
+XML_DOC_OLD10
+XML_DOC_USERBUILT
+XML_DOC_WELLFORMED
+XML_DOC_XINCLUDE
XML_DTD_ATTRIBUTE_DEFAULT
XML_DTD_ATTRIBUTE_REDEFINED
XML_DTD_ATTRIBUTE_VALUE
@@ -249,6 +258,7 @@ A:link, A:visited, A:active { text-decoration: underline } XML_DTD_CONTENT_MODEL
XML_DTD_CONTENT_NOT_DETERMINIST
XML_DTD_DIFFERENT_PREFIX
+XML_DTD_DUP_TOKEN
XML_DTD_ELEM_DEFAULT_NAMESPACE
XML_DTD_ELEM_NAMESPACE
XML_DTD_ELEM_REDEFINED
@@ -396,11 +406,13 @@ A:link, A:visited, A:active { text-decoration: underline } XML_ERR_TAG_NOT_FINISHED
XML_ERR_UNDECLARED_ENTITY
XML_ERR_UNKNOWN_ENCODING
+XML_ERR_UNKNOWN_VERSION
XML_ERR_UNPARSED_ENTITY
XML_ERR_UNSUPPORTED_ENCODING
XML_ERR_URI_FRAGMENT
XML_ERR_URI_REQUIRED
XML_ERR_VALUE_REQUIRED
+XML_ERR_VERSION_MISMATCH
XML_ERR_VERSION_MISSING
XML_ERR_WARNING
XML_ERR_XMLDECL_NOT_FINISHED
@@ -529,6 +541,7 @@ A:link, A:visited, A:active { text-decoration: underline } XML_NAMESPACE_DECL
XML_NOTATION_NODE
XML_NS_ERR_ATTRIBUTE_REDEFINED
+XML_NS_ERR_COLON
XML_NS_ERR_EMPTY
XML_NS_ERR_QNAME
XML_NS_ERR_UNDEFINED_NAMESPACE
@@ -564,6 +577,8 @@ A:link, A:visited, A:active { text-decoration: underline } XML_PARSE_DTDATTR
XML_PARSE_DTDLOAD
XML_PARSE_DTDVALID
+XML_PARSE_HUGE
+XML_PARSE_NOBASEFIX
XML_PARSE_NOBLANKS
XML_PARSE_NOCDATA
XML_PARSE_NODICT
@@ -573,6 +588,7 @@ A:link, A:visited, A:active { text-decoration: underline } XML_PARSE_NOWARNING
XML_PARSE_NOXINCNODE
XML_PARSE_NSCLEAN
+XML_PARSE_OLD10
XML_PARSE_PEDANTIC
XML_PARSE_PUSH_DOM
XML_PARSE_PUSH_SAX
@@ -1908,6 +1924,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlDocDumpMemoryEnc
xmlDocFormatDump
xmlDocGetRootElement
+xmlDocProperties
xmlDocPtr
xmlDocSetRootElement
xmlDtd
@@ -2206,6 +2223,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlMallocLoc
xmlMemBlocks
xmlMemDisplay
+xmlMemDisplayLast
xmlMemFree
xmlMemGet
xmlMemMalloc
@@ -2290,6 +2308,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlNewDocTextLen
xmlNewDtd
xmlNewElementContent
+xmlNewEntity
xmlNewEntityInputStream
xmlNewGlobalNs
xmlNewIOInputStream
@@ -2747,6 +2766,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlSchemaValType
xmlSchemaValidCtxt
xmlSchemaValidCtxtGetOptions
+xmlSchemaValidCtxtGetParserCtxt
xmlSchemaValidCtxtPtr
xmlSchemaValidError
xmlSchemaValidOption
diff --git a/doc/FAQ.html b/doc/FAQ.html index 3b43432..6454942 100644 --- a/doc/FAQ.html +++ b/doc/FAQ.html @@ -217,9 +217,11 @@ pnode=pxmlDoc->children->children; and libxml2, but you need to install a more recent version: libxml(-devel) >= 1.8.8 or libxml2(-devel) >= 2.1.0

-
  • XPath implementation looks seriously broken -

    XPath implementation prior to 2.3.0 was really incomplete. Upgrade to - a recent version, there are no known bugs in the current version.

    +
  • Random crashes in threaded applications +

    Read and follow all advices on the thread + safety page, and make 100% sure you never call xmlCleanupParser() + while the library or an XML document might still be in use by another + thread.

  • The example provided in the web page does not compile.

    It's hard to maintain the documentation in sync with the code @@ -235,16 +237,8 @@ pnode=pxmlDoc->children->children; generated doc

  • have a look at the set of examples.
  • -
  • look for examples of use for libxml2 function using the Gnome code. - -
  • +
  • look for examples of use for libxml2 function using the Gnome code + or by asking on Google.
  • Browse the libxml2 source , I try to write code as clean and documented as possible, so looking at it may be helpful. In particular the code @@ -261,12 +255,6 @@ pnode=pxmlDoc->children->children;

    Website: http://libxmlplusplus.sourceforge.net/

    Download: http://sourceforge.net/project/showfiles.php?group_id=12999

  • -
  • How to validate a document a posteriori ?

    It is possible to validate documents which had not been validated at diff --git a/doc/Makefile.in b/doc/Makefile.in index 2310c52..62f96dc 100644 --- a/doc/Makefile.in +++ b/doc/Makefile.in @@ -1,8 +1,8 @@ -# Makefile.in generated by automake 1.10 from Makefile.am. +# Makefile.in generated by automake 1.10.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006 Free Software Foundation, Inc. +# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -460,8 +460,8 @@ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ + $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS @@ -486,8 +486,8 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ @@ -497,13 +497,12 @@ ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ - here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique diff --git a/doc/apibuild.py b/doc/apibuild.py index 1e73725..3c38061 100755 --- a/doc/apibuild.py +++ b/doc/apibuild.py @@ -51,6 +51,7 @@ ignored_files = { "tst.c": "not part of the library", "test.c": "not part of the library", "testdso.c": "test for dynamid shared libraries", + "testrecurse.c": "test for entities recursions", } ignored_words = { @@ -356,7 +357,7 @@ class index: self.analyze_dict("structs", self.structs) self.analyze_dict("typedefs", self.typedefs) self.analyze_dict("macros", self.macros) - + class CLexer: """A lexer for the C language, tokenize the input by reading and analyzing it line by line""" @@ -388,7 +389,7 @@ class CLexer: else: line = line + n return line - + def getlineno(self): return self.lineno @@ -557,12 +558,12 @@ class CLexer: else: break self.tokens.append(('name', line[s:i])) - + tok = self.tokens[0] self.tokens = self.tokens[1:] self.last = tok return tok - + class CParser: """The C module parser""" def __init__(self, filename, idx = None): @@ -717,7 +718,7 @@ class CParser: l = string.strip(l) desc = desc + " " + l del lines[0] - + desc = string.strip(desc) if quiet == 0: @@ -787,7 +788,7 @@ class CParser: l = string.strip(l) desc = desc + " " + l del lines[0] - + desc = string.strip(desc) if quiet == 0: @@ -888,7 +889,7 @@ class CParser: else: desc = desc + " " + l del lines[0] - + retdesc = string.strip(retdesc) desc = string.strip(desc) @@ -898,7 +899,8 @@ class CParser: # i = 0 while i < nbargs: - if args[i][2] == None and args[i][0] != "void" and args[i][1] != None: + if args[i][2] == None and args[i][0] != "void" and \ + ((args[i][1] != None) or (args[i][1] == '')): self.warning("Function comment for %s lacks description of arg %s" % (name, args[i][1])) i = i + 1 if retdesc == "" and ret[0] != "void": @@ -906,7 +908,6 @@ class CParser: if desc == "": self.warning("Function comment for %s lacks description of the function" % (name)) - return(((ret[0], retdesc), args, desc)) def parsePreproc(self, token): @@ -966,7 +967,7 @@ class CParser: try: self.defines.append(apstr) if string.find(apstr, 'ENABLED') != -1: - self.conditionals.append("defined(%s)" % apstr) + self.conditionals.append("defined(%s)" % apstr) except: pass elif name == "#ifndef": @@ -974,7 +975,7 @@ class CParser: try: self.defines.append(apstr) if string.find(apstr, 'ENABLED') != -1: - self.conditionals.append("!defined(%s)" % apstr) + self.conditionals.append("!defined(%s)" % apstr) except: pass elif name == "#if": @@ -1096,7 +1097,7 @@ class CParser: return token token = self.token() return token - + # # Parse a C code block, used for functions it parse till # the balancing } included @@ -1131,7 +1132,7 @@ class CParser: elif oldtok[0] == "name" and oldtok[1][0:7] == "LIBXML_": self.index_add_ref(oldtok[1], self.filename, 0, "typedef") - + else: token = self.token() return token @@ -1264,7 +1265,7 @@ class CParser: if token == None: return token - while token[0] == "name" and ( + while token[0] == "name" and ( token[1] == "const" or \ token[1] == "unsigned" or \ token[1] == "signed"): @@ -1284,7 +1285,7 @@ class CParser: self.type = tmp[1] else: self.type = self.type + " " + tmp[1] - + elif token[0] == "name" and token[1] == "struct": if self.type == "": self.type = token[1] @@ -1574,7 +1575,7 @@ class CParser: token = self.token() else: break - + return token def parse(self): @@ -1590,7 +1591,7 @@ class CParser: return self.parseTopComment(self.top_comment) return self.index - + class docBuilder: """A documentation builder""" @@ -1687,7 +1688,7 @@ class docBuilder: self.headers[file] = None; self.scanHeaders() self.scanModules() - + def modulename_file(self, file): module = os.path.basename(file) if module[-2:] == '.h': @@ -1781,7 +1782,7 @@ class docBuilder: else: output.write(" \n" % ( name, self.modulename_file(id.header))) - + def serialize_function(self, output, name): id = self.idx.functions[name] if name == debugsym: @@ -1802,6 +1803,11 @@ class docBuilder: output.write(" %s\n"% (apstr)); try: (ret, params, desc) = id.info + if (desc == None or desc == '') and \ + name[0:9] != "xmlThrDef" and name != "xmlDllMain": + print "%s %s from %s has no description" % (id.type, name, + self.modulename_file(id.module)) + output.write(" %s\n" % (escape(desc))) self.indexString(name, desc) if ret[0] != None: diff --git a/doc/devhelp/Makefile.in b/doc/devhelp/Makefile.in index 169521d..1257ad4 100644 --- a/doc/devhelp/Makefile.in +++ b/doc/devhelp/Makefile.in @@ -1,8 +1,8 @@ -# Makefile.in generated by automake 1.10 from Makefile.am. +# Makefile.in generated by automake 1.10.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006 Free Software Foundation, Inc. +# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. diff --git a/doc/devhelp/libxml2-c14n.html b/doc/devhelp/libxml2-c14n.html index 72f53b6..e60f229 100644 --- a/doc/devhelp/libxml2-c14n.html +++ b/doc/devhelp/libxml2-c14n.html @@ -57,8 +57,8 @@ int xmlC14NDocDumpMemory (

    +

    Signature for a C14N callback on visible nodes

    +
    user_data:user data
    node:the curent node
    parent:the parent node
    Returns:1 if the node should be included

    xmlC14NDocDumpMemory ()

    int	xmlC14NDocDumpMemory		(xmlDocPtr doc, 
    xmlNodeSetPtr nodes,
    int exclusive,
    xmlChar ** inclusive_ns_prefixes,
    int with_comments,
    xmlChar ** doc_txt_ptr)

    Dumps the canonized image of given XML document into memory. For details see "Canonical XML" (http://www.w3.org/TR/xml-c14n) or "Exclusive XML Canonicalization" (http://www.w3.org/TR/xml-exc-c14n)

    diff --git a/doc/devhelp/libxml2-entities.html b/doc/devhelp/libxml2-entities.html index cd1e9a8..0d0effb 100644 --- a/doc/devhelp/libxml2-entities.html +++ b/doc/devhelp/libxml2-entities.html @@ -47,6 +47,7 @@ typedef struct _xmlHashTable xmlEntitiesTable; typedef xmlEntitiesTable * xmlEntitiesTablePtr; xmlEntityPtr xmlAddDocEntity (xmlDocPtr doc,
    const xmlChar * name,
    int type,
    const xmlChar * ExternalID,
    const xmlChar * SystemID,
    const xmlChar * content); +xmlEntityPtr xmlNewEntity (xmlDocPtr doc,
    const xmlChar * name,
    int type,
    const xmlChar * ExternalID,
    const xmlChar * SystemID,
    const xmlChar * content); xmlChar * xmlEncodeEntitiesReentrant (xmlDocPtr doc,
    const xmlChar * input); xmlEntityPtr xmlGetDocEntity (xmlDocPtr doc,
    const xmlChar * name); xmlEntityPtr xmlGetDtdEntity (xmlDocPtr doc,
    const xmlChar * name); @@ -155,6 +156,10 @@ The content of this structure is not made public by the API.

    Set up the predefined entities. Deprecated call


    +

    xmlNewEntity ()

    xmlEntityPtr	xmlNewEntity		(xmlDocPtr doc, 
    const xmlChar * name,
    int type,
    const xmlChar * ExternalID,
    const xmlChar * SystemID,
    const xmlChar * content)
    +

    Create a new entity, this differs from xmlAddDocEntity() that if the document is NULL or has no internal subset defined, then an unlinked entity structure will be returned, it is then the responsability of the caller to link it to the document later or free it when not needed anymore.

    +
    doc:the document
    name:the entity name
    type:the entity type XML_xxx_yyy_ENTITY
    ExternalID:the entity external ID if available
    SystemID:the entity system ID if available
    content:the entity content
    Returns:a pointer to the entity or NULL in case of error
    +
    diff --git a/doc/devhelp/libxml2-globals.html b/doc/devhelp/libxml2-globals.html index c7f396e..449049e 100644 --- a/doc/devhelp/libxml2-globals.html +++ b/doc/devhelp/libxml2-globals.html @@ -125,20 +125,20 @@ const char * xmlThrDefTreeIndentString
    +

    Signature for the deregistration callback of a discarded node

    +
    node:the current node

    Function type xmlOutputBufferCreateFilenameFunc

    xmlOutputBufferPtr	xmlOutputBufferCreateFilenameFunc	(const char * URI, 
    xmlCharEncodingHandlerPtr encoder,
    int compression)
    -

    -

    URI:
    encoder:
    compression:
    Returns:
    +

    Signature for the function doing the lookup for a suitable output method corresponding to an URI.

    +
    URI:the URI to write to
    encoder:
    compression:
    Returns:the new xmlOutputBufferPtr in case of success or NULL if no method was found.

    Function type xmlParserInputBufferCreateFilenameFunc

    xmlParserInputBufferPtr	xmlParserInputBufferCreateFilenameFunc	(const char * URI, 
    xmlCharEncoding enc)
    -

    -

    URI:
    enc:
    Returns:
    +

    Signature for the function doing the lookup for a suitable input method corresponding to an URI.

    +
    URI:the URI to read from
    enc:the requested source encoding
    Returns:the new xmlParserInputBufferPtr in case of success or NULL if no method was found.

    +

    Signature for the registration callback of a created node

    +
    node:the current node

    Variable docbDefaultSAXHandler

    xmlSAXHandlerV1 docbDefaultSAXHandler;
     

    diff --git a/doc/devhelp/libxml2-parser.html b/doc/devhelp/libxml2-parser.html index 76b4967..ea0697f 100644 --- a/doc/devhelp/libxml2-parser.html +++ b/doc/devhelp/libxml2-parser.html @@ -302,7 +302,10 @@ void xmlSetExternalEntityLoader (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 */ - XML_PARSE_COMPACT = 65536 /* compact small text nodes; no modification of the tree allowed afterwards (will possibly crash if you try to modify the tree) */ + XML_PARSE_COMPACT = 65536 /* compact small text nodes; no modification of the tree allowed afterwards (will possibly crash if you try to modify the tree) */ + XML_PARSE_OLD10 = 131072 /* parse using XML-1.0 before update 5 */ + XML_PARSE_NOBASEFIX = 262144 /* do not fixup XINCLUDE xml:base uris */ + XML_PARSE_HUGE = 524288 /* relax any hardcoded limit from the parser */ };

    diff --git a/doc/devhelp/libxml2-parserInternals.html b/doc/devhelp/libxml2-parserInternals.html index 1e575f8..cdae32e 100644 --- a/doc/devhelp/libxml2-parserInternals.html +++ b/doc/devhelp/libxml2-parserInternals.html @@ -139,7 +139,7 @@ int xmlParseElementContentDecl (xmlParserInputPtr inputPop (xmlParserCtxtPtr ctxt); xmlChar xmlPopInput (xmlParserCtxtPtr ctxt); xmlChar * xmlParsePubidLiteral (xmlParserCtxtPtr ctxt); -void xmlPushInput (xmlParserCtxtPtr ctxt,
    xmlParserInputPtr input); +int xmlPushInput (xmlParserCtxtPtr ctxt,
    xmlParserInputPtr input); xmlChar * xmlParseEntityValue (xmlParserCtxtPtr ctxt,
    xmlChar ** orig); xmlChar * xmlDecodeEntities (xmlParserCtxtPtr ctxt,
    int len,
    int what,
    xmlChar end,
    xmlChar end2,
    xmlChar end3); xmlChar * xmlParseVersionNum (xmlParserCtxtPtr ctxt); @@ -316,7 +316,7 @@ void xmlParseEntityDecl (

    inputPush ()

    int	inputPush			(xmlParserCtxtPtr ctxt, 
    xmlParserInputPtr value)

    Pushes a new parser input on top of the input stack

    -
    ctxt:an XML parser context
    value:the parser input
    Returns:0 in case of error, the index in the stack otherwise
    +
    ctxt:an XML parser context
    value:the parser input
    Returns:-1 in case of error, the index in the stack otherwise

    namePop ()

    const xmlChar *	namePop			(xmlParserCtxtPtr ctxt)

    Pops the top element name from the name stack

    @@ -332,7 +332,7 @@ void xmlParseEntityDecl (

    nodePush ()

    int	nodePush			(xmlParserCtxtPtr ctxt, 
    xmlNodePtr value)

    Pushes a new element node on top of the node stack

    -
    ctxt:an XML parser context
    value:the element node
    Returns:0 in case of error, the index in the stack otherwise
    +
    ctxt:an XML parser context
    value:the element node
    Returns:-1 in case of error, the index in the stack otherwise

    xmlCheckLanguageID ()

    int	xmlCheckLanguageID		(const xmlChar * lang)

    Checks that the value conforms to the LanguageID production: NOTE: this is somewhat deprecated, those productions were removed from the XML Second edition. [33] LanguageID ::= Langcode ('-' Subcode)* [34] Langcode ::= ISO639Code | IanaCode | UserCode [35] ISO639Code ::= ([a-z] | [A-Z]) ([a-z] | [A-Z]) [36] IanaCode ::= ('i' | 'I') '-' ([a-z] | [A-Z])+ [37] UserCode ::= ('x' | 'X') '-' ([a-z] | [A-Z])+ [38] Subcode ::= ([a-z] | [A-Z])+

    @@ -587,7 +587,7 @@ void xmlParseEntityDecl (
    ctxt:an XML parser context
    Returns:the SystemLiteral parsed or NULL

    xmlParseTextDecl ()

    void	xmlParseTextDecl		(xmlParserCtxtPtr ctxt)
    -

    parse an XML declaration header for external entities [77] TextDecl ::= '<?xml' VersionInfo? EncodingDecl S? '?>' Question: Seems that EncodingDecl is mandatory ? Is that a typo ?

    +

    parse an XML declaration header for external entities [77] TextDecl ::= '<?xml' VersionInfo? EncodingDecl S? '?>'

    ctxt:an XML parser context


    xmlParseVersionNum ()

    xmlChar *	xmlParseVersionNum	(xmlParserCtxtPtr ctxt)
    -

    parse the XML version value. [26] VersionNum ::= ([a-zA-Z0-9_.:] | '-')+

    +

    parse the XML version value. [26] VersionNum ::= '1.' [0-9]+ In practice allow [0-9].[0-9]+ at that level

    ctxt:an XML parser context
    Returns:the string giving the XML version number, or NULL


    -

    xmlPushInput ()

    void	xmlPushInput			(xmlParserCtxtPtr ctxt, 
    xmlParserInputPtr input)
    +

    xmlPushInput ()

    int	xmlPushInput			(xmlParserCtxtPtr ctxt, 
    xmlParserInputPtr input)

    xmlPushInput: switch to a new input stream which is stacked on top of the previous one(s).

    -
    ctxt:an XML parser context
    input:an XML parser input fragment (entity, XML fragment ...).
    +
    ctxt:an XML parser context
    input:an XML parser input fragment (entity, XML fragment ...).
    Returns:-1 in case of error or the index in the input stack

    xmlScanName ()

    xmlChar *	xmlScanName		(xmlParserCtxtPtr ctxt)

    Trickery: parse an XML name but without consuming the input flow Needed for rollback cases. Used only when parsing entities references. TODO: seems deprecated now, only used in the default part of xmlParserHandleReference [4] NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' | CombiningChar | Extender [5] Name ::= (Letter | '_' | ':') (NameChar)* [6] Names ::= Name (S Name)*

    diff --git a/doc/devhelp/libxml2-relaxng.html b/doc/devhelp/libxml2-relaxng.html index d7da3e5..a89b58f 100644 --- a/doc/devhelp/libxml2-relaxng.html +++ b/doc/devhelp/libxml2-relaxng.html @@ -169,12 +169,12 @@ The content of this structure is not made public by the API.

    +

    Signature of an error callback from a Relax-NG validation

    +
    ctx:the validation context
    msg:the message
    ...:extra arguments

    +

    Signature of a warning callback from a Relax-NG validation

    +
    ctx:the validation context
    msg:the message
    ...:extra arguments


    +

    Signature of an error callback from a Schematron validation

    +
    ctx:the validation context
    msg:the message
    ...:extra arguments

    +

    Signature of a warning callback from a Schematron validation

    +
    ctx:the validation context
    msg:the message
    ...:extra arguments

    xmlSchematronFree ()

    void	xmlSchematronFree		(xmlSchematronPtr schema)

    Deallocate a Schematron structure.

    diff --git a/doc/devhelp/libxml2-tree.html b/doc/devhelp/libxml2-tree.html index d5879f5..188d43b 100644 --- a/doc/devhelp/libxml2-tree.html +++ b/doc/devhelp/libxml2-tree.html @@ -96,6 +96,7 @@ typedef struct _xmlOutputBuffer xmlOutputBuffer; typedef struct _xmlSAXLocator xmlSAXLocator; typedef xmlElementContent * xmlElementContentPtr; typedef enum xmlElementContentType; +typedef enum xmlDocProperties; typedef xmlID * xmlIDPtr; typedef struct _xmlDtd xmlDtd; typedef struct _xmlAttribute xmlAttribute; @@ -369,14 +370,16 @@ void xmlFreeNsList (xmlBufferAllocationScheme alloc : The realloc method + xmlChar * contentIO : in IO mode we may have a different base } xmlBuffer;


    Enum xmlBufferAllocationScheme

    enum xmlBufferAllocationScheme {
    -    XML_BUFFER_ALLOC_DOUBLEIT = 1
    -    XML_BUFFER_ALLOC_EXACT = 2
    -    XML_BUFFER_ALLOC_IMMUTABLE = 3
    +    XML_BUFFER_ALLOC_DOUBLEIT = 1 /* double each time one need to grow */
    +    XML_BUFFER_ALLOC_EXACT = 2 /* grow only to the minimal size */
    +    XML_BUFFER_ALLOC_IMMUTABLE = 3 /* immutable buffer */
    +    XML_BUFFER_ALLOC_IO = 4 /*  special allocation scheme used for I/O */
     };
     

    @@ -421,8 +424,23 @@ void xmlFreeNsList (xmlCharEncoding struct _xmlDict * dict : dict used to allocate names or NULL void * psvi : for type/PSVI informations + int parseFlags : set of xmlParserOption used to parse the document + int properties : set of xmlDocProperties for this document set at the end of parsing } xmlDoc;

    + +


    +

    Enum xmlDocProperties

    enum xmlDocProperties {
    +    XML_DOC_WELLFORMED = 1 /* document is XML well formed */
    +    XML_DOC_NSVALID = 2 /* document is Namespace valid */
    +    XML_DOC_OLD10 = 4 /* parsed with old XML-1.0 parser */
    +    XML_DOC_DTDVALID = 8 /* DTD validation was successful */
    +    XML_DOC_XINCLUDE = 16 /* XInclude substitution was done */
    +    XML_DOC_USERBUILT = 32 /* Document was built using the API and not by parsing an instance */
    +    XML_DOC_INTERNAL = 64 /* built for internal processing */
    +    XML_DOC_HTML = 128 /*  parsed or built HTML document */
    +};
    +


    Typedef xmlDocPtr

    xmlDoc * xmlDocPtr;
    @@ -567,7 +585,7 @@ void	xmlFreeNsList			(xmlChar *	URI	: the full URI as computed
         int	owner	: does the entity own the childrens
    -    int	checked	: was the entity content checked
    +    int	checked	: was the entity content checked this is also used to count entites * r
     } xmlEntity;
     

    @@ -757,6 +775,8 @@ void xmlFreeNsList (xmlAttrPtr freeAttrs : * the complete error informations for the last error. * xmlError lastError xmlParserMode parseMode : the parser mode + unsigned long nbentities : number of entities references + unsigned long sizeentities : size of parsed entities } xmlParserCtxt;

    diff --git a/doc/devhelp/libxml2-uri.html b/doc/devhelp/libxml2-uri.html index c67dacf..8b33c4e 100644 --- a/doc/devhelp/libxml2-uri.html +++ b/doc/devhelp/libxml2-uri.html @@ -113,15 +113,15 @@ int xmlParseURIReference (
    path:pointer to the path string
    Returns:0 or an error code


    xmlParseURI ()

    xmlURIPtr	xmlParseURI		(const char * str)
    -

    Parse an URI URI-reference = [ absoluteURI | relativeURI ] [ "#" fragment ]

    +

    Parse an URI based on RFC 3986 URI-reference = [ absoluteURI | relativeURI ] [ "#" fragment ]

    str:the URI string to analyze
    Returns:a newly built xmlURIPtr or NULL in case of error

    xmlParseURIRaw ()

    xmlURIPtr	xmlParseURIRaw		(const char * str, 
    int raw)
    -

    Parse an URI but allows to keep intact the original fragments. URI-reference = [ absoluteURI | relativeURI ] [ "#" fragment ]

    +

    Parse an URI but allows to keep intact the original fragments. URI-reference = URI / relative-ref

    str:the URI string to analyze
    raw:if 1 unescaping of URI pieces are disabled
    Returns:a newly built xmlURIPtr or NULL in case of error

    xmlParseURIReference ()

    int	xmlParseURIReference		(xmlURIPtr uri, 
    const char * str)
    -

    Parse an URI reference string and fills in the appropriate fields of the @uri structure URI-reference = [ absoluteURI | relativeURI ] [ "#" fragment ]

    +

    Parse an URI reference string based on RFC 3986 and fills in the appropriate fields of the @uri structure URI-reference = URI / relative-ref

    uri:pointer to an URI structure
    str:the string to analyze
    Returns:0 or the error code

    xmlPathToURI ()

    xmlChar *	xmlPathToURI		(const xmlChar * path)
    diff --git a/doc/devhelp/libxml2-valid.html b/doc/devhelp/libxml2-valid.html index 3480214..15b3371 100644 --- a/doc/devhelp/libxml2-valid.html +++ b/doc/devhelp/libxml2-valid.html @@ -443,8 +443,8 @@ The content of this structure is not made public by the API.
    ctxt:the validation context
    doc:a document instance
    attr:an attribute definition
    Returns:1 if valid or 0 otherwise

    xmlValidateAttributeValue ()

    int	xmlValidateAttributeValue	(xmlAttributeType type, 
    const xmlChar * value)
    -

    Validate that the given attribute value match the proper production [ VC: ID ] Values of type ID must match the Name production.... [ VC: IDREF ] Values of type IDREF must match the Name production, and values of type IDREFS must match Names ... [ VC: Entity Name ] Values of type ENTITY must match the Name production, values of type ENTITIES must match Names ... [ VC: Name Token ] Values of type NMTOKEN must match the Nmtoken production; values of type NMTOKENS must match Nmtokens.

    -
    type:an attribute type
    value:an attribute value
    Returns:1 if valid or 0 otherwise
    +

    +

    type:
    value:
    Returns:

    xmlValidateDocument ()

    int	xmlValidateDocument		(xmlValidCtxtPtr ctxt, 
    xmlDocPtr doc)

    Try to validate the document instance basically it does the all the checks described by the XML Rec i.e. validates the internal and external subset (if present) and validate the document tree.

    diff --git a/doc/devhelp/libxml2-xmlerror.html b/doc/devhelp/libxml2-xmlerror.html index eaacd0b..cf445dd 100644 --- a/doc/devhelp/libxml2-xmlerror.html +++ b/doc/devhelp/libxml2-xmlerror.html @@ -247,11 +247,14 @@ void xmlResetError (XML_ERR_NOTATION_PROCESSING = 105 /* 105 */ XML_WAR_NS_COLUMN = 106 /* 106 */ XML_WAR_ENTITY_REDEFINED = 107 /* 107 */ + XML_ERR_UNKNOWN_VERSION = 108 /* 108 */ + XML_ERR_VERSION_MISMATCH = 109 /* 109 */ XML_NS_ERR_XML_NAMESPACE = 200 XML_NS_ERR_UNDEFINED_NAMESPACE = 201 /* 201 */ XML_NS_ERR_QNAME = 202 /* 202 */ XML_NS_ERR_ATTRIBUTE_REDEFINED = 203 /* 203 */ XML_NS_ERR_EMPTY = 204 /* 204 */ + XML_NS_ERR_COLON = 205 /* 205 */ XML_DTD_ATTRIBUTE_DEFAULT = 500 XML_DTD_ATTRIBUTE_REDEFINED = 501 /* 501 */ XML_DTD_ATTRIBUTE_VALUE = 502 /* 502 */ @@ -293,6 +296,7 @@ void xmlResetError (XML_DTD_STANDALONE_DEFAULTED = 538 /* 538 */ XML_DTD_XMLID_VALUE = 539 /* 539 */ XML_DTD_XMLID_TYPE = 540 /* 540 */ + XML_DTD_DUP_TOKEN = 541 /* 541 */ XML_HTML_STRUCURE_ERROR = 800 XML_HTML_UNKNOWN_TAG = 801 /* 801 */ XML_RNGP_ANYNAME_ATTR_ANCESTOR = 1000 diff --git a/doc/devhelp/libxml2-xmlmemory.html b/doc/devhelp/libxml2-xmlmemory.html index eabbbf9..8610538 100644 --- a/doc/devhelp/libxml2-xmlmemory.html +++ b/doc/devhelp/libxml2-xmlmemory.html @@ -52,6 +52,7 @@ void * xmlMemRealloc (void * ptr,
    size int xmlInitMemory (void); void xmlMemFree (void * ptr); void * xmlMemMalloc (size_t size); +void xmlMemDisplayLast (FILE * fp,
    long nbBytes); int xmlMemGet (xmlFreeFunc * freeFunc,
    xmlMallocFunc * mallocFunc,
    xmlReallocFunc * reallocFunc,
    xmlStrdupFunc * strdupFunc); void xmlMemoryDump (void); void * xmlMallocLoc (size_t size,
    const char * file,
    int line); @@ -130,6 +131,10 @@ char * xmlMemStrdupLoc (const char * str,
    +
    +


    +

    Signature of an error callback from a reader parser

    +
    arg:the user argument
    msg:the message
    severity:the severity of the error
    locator:a locator indicating where the error occured

    xmlFreeTextReader ()

    void	xmlFreeTextReader		(xmlTextReaderPtr reader)

    Deallocate all the resources associated to the reader

    diff --git a/doc/devhelp/libxml2-xmlregexp.html b/doc/devhelp/libxml2-xmlregexp.html index e783648..4d11966 100644 --- a/doc/devhelp/libxml2-xmlregexp.html +++ b/doc/devhelp/libxml2-xmlregexp.html @@ -143,8 +143,8 @@ The content of this structure is not made public by the API.

    Function type xmlRegExecCallbacks

    void	xmlRegExecCallbacks		(xmlRegExecCtxtPtr exec, 
    const xmlChar * token,
    void * transdata,
    void * inputdata)
    -

    -

    exec:
    token:
    transdata:
    inputdata:
    +

    Callback function when doing a transition in the automata

    +
    exec:the regular expression context
    token:the current token string
    transdata:transition data
    inputdata:input data

    Variable emptyExp

    xmlExpNodePtr emptyExp;
     

    diff --git a/doc/devhelp/libxml2-xmlschemas.html b/doc/devhelp/libxml2-xmlschemas.html index 4801ea5..cc49dfa 100644 --- a/doc/devhelp/libxml2-xmlschemas.html +++ b/doc/devhelp/libxml2-xmlschemas.html @@ -68,7 +68,7 @@ void xmlSchemaSetValidStructuredErr void xmlSchemaSetValidErrors (xmlSchemaValidCtxtPtr ctxt,
    xmlSchemaValidityErrorFunc err,
    xmlSchemaValidityWarningFunc warn,
    void * ctx); int xmlSchemaValidCtxtGetOptions (xmlSchemaValidCtxtPtr ctxt); int xmlSchemaValidateFile (xmlSchemaValidCtxtPtr ctxt,
    const char * filename,
    int options); -int xmlSchemaValidateDoc (xmlSchemaValidCtxtPtr ctxt,
    xmlDocPtr instance); +int xmlSchemaValidateDoc (xmlSchemaValidCtxtPtr ctxt,
    xmlDocPtr doc); void xmlSchemaFree (xmlSchemaPtr schema); xmlSchemaParserCtxtPtr xmlSchemaNewMemParserCtxt (const char * buffer,
    int size); int xmlSchemaGetValidErrors (xmlSchemaValidCtxtPtr ctxt,
    xmlSchemaValidityErrorFunc * err,
    xmlSchemaValidityWarningFunc * warn,
    void ** ctx); @@ -77,6 +77,7 @@ void xmlSchemaSetParserErrors (xmlSchemaValidityWarningFunc (void * ctx,
    const char * msg,
    ... ...); void xmlSchemaDump (FILE * output,
    xmlSchemaPtr schema); void xmlSchemaFreeValidCtxt (xmlSchemaValidCtxtPtr ctxt); +xmlParserCtxtPtr xmlSchemaValidCtxtGetParserCtxt (xmlSchemaValidCtxtPtr ctxt); void xmlSchemaSetParserStructuredErrors (xmlSchemaParserCtxtPtr ctxt,
    xmlStructuredErrorFunc serror,
    void * ctx); xmlSchemaValidCtxtPtr xmlSchemaNewValidCtxt (xmlSchemaPtr schema); @@ -185,12 +186,12 @@ The content of this structure is not made public by the API.


    +

    Signature of an error callback from an XSD validation

    +
    ctx:the validation context
    msg:the message
    ...:extra arguments

    +

    Signature of a warning callback from an XSD validation

    +
    ctx:the validation context
    msg:the message
    ...:extra arguments

    xmlSchemaDump ()

    void	xmlSchemaDump			(FILE * output, 
    xmlSchemaPtr schema)

    Dump a Schema structure.

    @@ -205,20 +206,20 @@ The content of this structure is not made public by the API.
    ctxt:the schema parser context

    +

    Free the resources associated to the schema validation context

    +
    ctxt:the schema validation context

    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

    +

    Get the error and warning callback informations

    +
    ctxt:a XML-Schema validation context
    err:the error function result
    warn:the warning function result
    ctx:the functions context result
    Returns:-1 in case of error and 0 otherwise

    +

    Check if any error was detected during validation.

    +
    ctxt:the schema validation context
    Returns:1 if valid so far, 0 if errors were detected, and -1 in case of internal error.

    xmlSchemaNewDocParserCtxt ()

    xmlSchemaParserCtxtPtr	xmlSchemaNewDocParserCtxt	(xmlDocPtr doc)

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

    @@ -233,20 +234,20 @@ The content of this structure is not made public by the API.
    URL:the location of the schema
    Returns:the parser context or NULL in case of error

    xmlSchemaNewValidCtxt ()

    xmlSchemaValidCtxtPtr	xmlSchemaNewValidCtxt	(xmlSchemaPtr schema)
    -

    -

    schema:
    Returns:
    +

    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

    xmlSchemaParse ()

    xmlSchemaPtr	xmlSchemaParse		(xmlSchemaParserCtxtPtr ctxt)

    parse a schema definition resource and build an internal XML Shema struture which can be used to validate instances.

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

    xmlSchemaSAXPlug ()

    xmlSchemaSAXPlugPtr	xmlSchemaSAXPlug	(xmlSchemaValidCtxtPtr ctxt, 
    xmlSAXHandlerPtr * sax,
    void ** user_data)
    -

    -

    ctxt:
    sax:
    user_data:
    Returns:
    +

    Plug a SAX based validation layer in a SAX parsing event flow. The original @saxptr and @dataptr data are replaced by new pointers but the calls to the original will be maintained.

    +
    ctxt:a schema validation context
    sax:a pointer to the original xmlSAXHandlerPtr
    user_data:a pointer to the original SAX user data pointer
    Returns:a pointer to a data structure needed to unplug the validation layer or NULL in case of errors.

    +

    Unplug a SAX based validation layer in a SAX parsing event flow. The original pointers used in the call are restored.

    +
    plug:a data structure returned by xmlSchemaSAXPlug
    Returns:0 in case of success and -1 in case of failure.

    xmlSchemaSetParserErrors ()

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

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

    @@ -257,36 +258,40 @@ The content of this structure is not made public by the API.
    ctxt:a schema parser context
    serror:the structured error function
    ctx:the functions context

    +

    Set the error and warning callback informations

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

    +

    Sets the options to be used during the validation.

    +
    ctxt:a schema validation context
    options:a combination of xmlSchemaValidOption
    Returns:0 in case of success, -1 in case of an API error.

    +

    Set the structured error callback

    +
    ctxt:a schema validation context
    serror:the structured error function
    ctx:the functions context

    +

    Get the validation context options.

    +
    ctxt:a schema validation context
    Returns:the option combination or -1 on error.

    - +

    xmlSchemaValidCtxtGetParserCtxt ()

    xmlParserCtxtPtr	xmlSchemaValidCtxtGetParserCtxt	(xmlSchemaValidCtxtPtr ctxt)
    +

    allow access to the parser context of the schema validation context

    +
    ctxt:a schema validation context
    Returns:the parser context of the schema validation context or NULL in case of error.
    +
    +

    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.

    xmlSchemaValidateFile ()

    int	xmlSchemaValidateFile		(xmlSchemaValidCtxtPtr ctxt, 
    const char * filename,
    int options)
    -

    -

    ctxt:
    filename:
    options:
    Returns:
    +

    Do a schemas validation of the given resource, it will use the SAX streamable validation internally.

    +
    ctxt:a schema validation context
    filename:the URI of the instance
    options:a future set of options, currently unused
    Returns:0 if the document is valid, a positive error code number otherwise and -1 in case of an internal or API error.

    +

    Validate a branch of a tree, starting with the given @elem.

    +
    ctxt:a schema validation context
    elem:an element node
    Returns:0 if the element and its subtree is valid, a positive error code number otherwise and -1 in case of an internal or API error.

    +

    Validate an input based on a flow of SAX event from the parser and forward the events to the @sax handler with the provided @user_data the user provided @sax handler must be a SAX2 one.

    +
    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.

    diff --git a/doc/devhelp/libxml2.devhelp b/doc/devhelp/libxml2.devhelp index 499bcb9..1288b18 100644 --- a/doc/devhelp/libxml2.devhelp +++ b/doc/devhelp/libxml2.devhelp @@ -339,6 +339,7 @@ + @@ -427,6 +428,14 @@ + + + + + + + + @@ -434,6 +443,7 @@ + @@ -581,11 +591,13 @@ + + @@ -710,6 +722,7 @@ + @@ -745,6 +758,8 @@ + + @@ -754,6 +769,7 @@ + @@ -1547,6 +1563,7 @@ + @@ -2414,6 +2431,7 @@ + @@ -2492,6 +2510,7 @@ + @@ -2835,6 +2854,7 @@ + diff --git a/doc/examples/Makefile.am b/doc/examples/Makefile.am index d1beee5..d0f42aa 100644 --- a/doc/examples/Makefile.am +++ b/doc/examples/Makefile.am @@ -15,75 +15,65 @@ install-data-local: $(mkinstalldirs) $(DESTDIR)$(HTML_DIR) -@INSTALL@ -m 0644 $(srcdir)/*.html $(srcdir)/*.c $(srcdir)/*.xml $(srcdir)/*.xsl $(srcdir)/*.res $(DESTDIR)$(HTML_DIR) -EXTRA_DIST=examples.xsl index.py examples.xml writer.xml test3.xml tst.xml test1.xml test2.xml io2.res xpath2.res tree1.res reader4.res io1.res tree2.res reader3.res xpath1.res reader1.res +EXTRA_DIST=examples.xsl index.py test1.xml examples.xml test2.xml tst.xml writer.xml test3.xml tree2.res xpath1.res reader1.res reader3.res reader4.res io1.res xpath2.res io2.res tree1.res -noinst_PROGRAMS=xpath2 reader1 reader4 parse2 reader2 parse3 reader3 tree2 parse4 io2 testWriter io1 xpath1 parse1 tree1 +noinst_PROGRAMS=reader2 xpath2 xpath1 parse3 io2 tree2 reader1 testWriter parse4 reader3 io1 parse1 tree1 reader4 parse2 + +reader2_SOURCES=reader2.c +reader2_LDFLAGS= +reader2_DEPENDENCIES= $(DEPS) +reader2_LDADD= @RDL_LIBS@ $(LDADDS) xpath2_SOURCES=xpath2.c xpath2_LDFLAGS= xpath2_DEPENDENCIES= $(DEPS) xpath2_LDADD= @RDL_LIBS@ $(LDADDS) -reader1_SOURCES=reader1.c -reader1_LDFLAGS= -reader1_DEPENDENCIES= $(DEPS) -reader1_LDADD= @RDL_LIBS@ $(LDADDS) - -reader4_SOURCES=reader4.c -reader4_LDFLAGS= -reader4_DEPENDENCIES= $(DEPS) -reader4_LDADD= @RDL_LIBS@ $(LDADDS) - -parse2_SOURCES=parse2.c -parse2_LDFLAGS= -parse2_DEPENDENCIES= $(DEPS) -parse2_LDADD= @RDL_LIBS@ $(LDADDS) - -reader2_SOURCES=reader2.c -reader2_LDFLAGS= -reader2_DEPENDENCIES= $(DEPS) -reader2_LDADD= @RDL_LIBS@ $(LDADDS) +xpath1_SOURCES=xpath1.c +xpath1_LDFLAGS= +xpath1_DEPENDENCIES= $(DEPS) +xpath1_LDADD= @RDL_LIBS@ $(LDADDS) parse3_SOURCES=parse3.c parse3_LDFLAGS= parse3_DEPENDENCIES= $(DEPS) parse3_LDADD= @RDL_LIBS@ $(LDADDS) -reader3_SOURCES=reader3.c -reader3_LDFLAGS= -reader3_DEPENDENCIES= $(DEPS) -reader3_LDADD= @RDL_LIBS@ $(LDADDS) +io2_SOURCES=io2.c +io2_LDFLAGS= +io2_DEPENDENCIES= $(DEPS) +io2_LDADD= @RDL_LIBS@ $(LDADDS) tree2_SOURCES=tree2.c tree2_LDFLAGS= tree2_DEPENDENCIES= $(DEPS) tree2_LDADD= @RDL_LIBS@ $(LDADDS) -parse4_SOURCES=parse4.c -parse4_LDFLAGS= -parse4_DEPENDENCIES= $(DEPS) -parse4_LDADD= @RDL_LIBS@ $(LDADDS) - -io2_SOURCES=io2.c -io2_LDFLAGS= -io2_DEPENDENCIES= $(DEPS) -io2_LDADD= @RDL_LIBS@ $(LDADDS) +reader1_SOURCES=reader1.c +reader1_LDFLAGS= +reader1_DEPENDENCIES= $(DEPS) +reader1_LDADD= @RDL_LIBS@ $(LDADDS) testWriter_SOURCES=testWriter.c testWriter_LDFLAGS= testWriter_DEPENDENCIES= $(DEPS) testWriter_LDADD= @RDL_LIBS@ $(LDADDS) +parse4_SOURCES=parse4.c +parse4_LDFLAGS= +parse4_DEPENDENCIES= $(DEPS) +parse4_LDADD= @RDL_LIBS@ $(LDADDS) + +reader3_SOURCES=reader3.c +reader3_LDFLAGS= +reader3_DEPENDENCIES= $(DEPS) +reader3_LDADD= @RDL_LIBS@ $(LDADDS) + io1_SOURCES=io1.c io1_LDFLAGS= io1_DEPENDENCIES= $(DEPS) io1_LDADD= @RDL_LIBS@ $(LDADDS) -xpath1_SOURCES=xpath1.c -xpath1_LDFLAGS= -xpath1_DEPENDENCIES= $(DEPS) -xpath1_LDADD= @RDL_LIBS@ $(LDADDS) - parse1_SOURCES=parse1.c parse1_LDFLAGS= parse1_DEPENDENCIES= $(DEPS) @@ -94,41 +84,51 @@ tree1_LDFLAGS= tree1_DEPENDENCIES= $(DEPS) tree1_LDADD= @RDL_LIBS@ $(LDADDS) +reader4_SOURCES=reader4.c +reader4_LDFLAGS= +reader4_DEPENDENCIES= $(DEPS) +reader4_LDADD= @RDL_LIBS@ $(LDADDS) + +parse2_SOURCES=parse2.c +parse2_LDFLAGS= +parse2_DEPENDENCIES= $(DEPS) +parse2_LDADD= @RDL_LIBS@ $(LDADDS) + valgrind: $(MAKE) CHECKER='valgrind' tests tests: $(noinst_PROGRAMS) @(echo '## examples regression tests') @(echo > .memdump) - @($(CHECKER) ./xpath2 test3.xml '//discarded' discarded > xpath2.tmp ; diff xpath2.tmp xpath2.res ; rm xpath2.tmp) - @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0) - @($(CHECKER) ./reader1 test2.xml > reader1.tmp ; diff reader1.tmp reader1.res ; rm reader1.tmp) - @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0) - @($(CHECKER) ./reader4 test1.xml test2.xml test3.xml > reader4.tmp ; diff reader4.tmp reader4.res ; rm reader4.tmp) + @($(CHECKER) ./reader2 test2.xml > reader1.tmp ; diff reader1.tmp reader1.res ; rm reader1.tmp) @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0) - @($(CHECKER) ./parse2 test2.xml) + @($(CHECKER) ./xpath2 test3.xml '//discarded' discarded > xpath2.tmp ; diff xpath2.tmp xpath2.res ; rm xpath2.tmp) @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0) - @($(CHECKER) ./reader2 test2.xml > reader1.tmp ; diff reader1.tmp reader1.res ; rm reader1.tmp) + @($(CHECKER) ././xpath1 test3.xml '//child2' > xpath1.tmp ; diff xpath1.tmp xpath1.res ; rm xpath1.tmp) @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0) @($(CHECKER) ./parse3) @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0) - @($(CHECKER) ./reader3 > reader3.tmp ; diff reader3.tmp reader3.res ; rm reader3.tmp) + @($(CHECKER) ./io2 > io2.tmp ; diff io2.tmp io2.res ; rm -f io2.tmp) @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0) @($(CHECKER) ./tree2 > tree2.tmp ; diff tree2.tmp tree2.res ; rm tree2.tmp) @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0) - @($(CHECKER) ./parse4 test3.xml) - @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0) - @($(CHECKER) ./io2 > io2.tmp ; diff io2.tmp io2.res ; rm -f io2.tmp) + @($(CHECKER) ./reader1 test2.xml > reader1.tmp ; diff reader1.tmp reader1.res ; rm reader1.tmp) @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0) @($(CHECKER) ./testWriter ; for i in 1 2 3 4 ; do diff writer.xml writer$$i.res ; done ; rm writer*.res) @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0) - @($(CHECKER) ./io1 > io1.tmp ; diff io1.tmp io1.res ; rm -f io1.tmp) + @($(CHECKER) ./parse4 test3.xml) @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0) - @($(CHECKER) ././xpath1 test3.xml '//child2' > xpath1.tmp ; diff xpath1.tmp xpath1.res ; rm xpath1.tmp) + @($(CHECKER) ./reader3 > reader3.tmp ; diff reader3.tmp reader3.res ; rm reader3.tmp) + @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0) + @($(CHECKER) ./io1 > io1.tmp ; diff io1.tmp io1.res ; rm -f io1.tmp) @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0) @($(CHECKER) ./parse1 test1.xml) @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0) @($(CHECKER) ./tree1 test2.xml > tree1.tmp ; diff tree1.tmp tree1.res ; rm tree1.tmp) @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0) + @($(CHECKER) ./reader4 test1.xml test2.xml test3.xml > reader4.tmp ; diff reader4.tmp reader4.res ; rm reader4.tmp) + @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0) + @($(CHECKER) ./parse2 test2.xml) + @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0) diff --git a/doc/examples/Makefile.in b/doc/examples/Makefile.in index 14681b4..025ef95 100644 --- a/doc/examples/Makefile.in +++ b/doc/examples/Makefile.in @@ -1,8 +1,8 @@ -# Makefile.in generated by automake 1.10 from Makefile.am. +# Makefile.in generated by automake 1.10.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004, 2005, 2006 Free Software Foundation, Inc. +# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -32,11 +32,11 @@ PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ -noinst_PROGRAMS = xpath2$(EXEEXT) reader1$(EXEEXT) reader4$(EXEEXT) \ - parse2$(EXEEXT) reader2$(EXEEXT) parse3$(EXEEXT) \ - reader3$(EXEEXT) tree2$(EXEEXT) parse4$(EXEEXT) io2$(EXEEXT) \ - testWriter$(EXEEXT) io1$(EXEEXT) xpath1$(EXEEXT) \ - parse1$(EXEEXT) tree1$(EXEEXT) +noinst_PROGRAMS = reader2$(EXEEXT) xpath2$(EXEEXT) xpath1$(EXEEXT) \ + parse3$(EXEEXT) io2$(EXEEXT) tree2$(EXEEXT) reader1$(EXEEXT) \ + testWriter$(EXEEXT) parse4$(EXEEXT) reader3$(EXEEXT) \ + io1$(EXEEXT) parse1$(EXEEXT) tree1$(EXEEXT) reader4$(EXEEXT) \ + parse2$(EXEEXT) subdir = doc/examples DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 @@ -125,7 +125,7 @@ xpath2_OBJECTS = $(am_xpath2_OBJECTS) xpath2_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(xpath2_LDFLAGS) \ $(LDFLAGS) -o $@ -DEFAULT_INCLUDES = -I. -I$(top_builddir)@am__isrc@ +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ @@ -370,59 +370,51 @@ top_srcdir = @top_srcdir@ INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include -I@srcdir@/include @THREAD_CFLAGS@ @Z_CFLAGS@ DEPS = $(top_builddir)/libxml2.la LDADDS = @STATIC_BINARIES@ $(top_builddir)/libxml2.la @THREAD_LIBS@ @Z_LIBS@ $(ICONV_LIBS) -lm @WIN32_EXTRA_LIBADD@ -EXTRA_DIST = examples.xsl index.py examples.xml writer.xml test3.xml tst.xml test1.xml test2.xml io2.res xpath2.res tree1.res reader4.res io1.res tree2.res reader3.res xpath1.res reader1.res -xpath2_SOURCES = xpath2.c -xpath2_LDFLAGS = -xpath2_DEPENDENCIES = $(DEPS) -xpath2_LDADD = @RDL_LIBS@ $(LDADDS) -reader1_SOURCES = reader1.c -reader1_LDFLAGS = -reader1_DEPENDENCIES = $(DEPS) -reader1_LDADD = @RDL_LIBS@ $(LDADDS) -reader4_SOURCES = reader4.c -reader4_LDFLAGS = -reader4_DEPENDENCIES = $(DEPS) -reader4_LDADD = @RDL_LIBS@ $(LDADDS) -parse2_SOURCES = parse2.c -parse2_LDFLAGS = -parse2_DEPENDENCIES = $(DEPS) -parse2_LDADD = @RDL_LIBS@ $(LDADDS) +EXTRA_DIST = examples.xsl index.py test1.xml examples.xml test2.xml tst.xml writer.xml test3.xml tree2.res xpath1.res reader1.res reader3.res reader4.res io1.res xpath2.res io2.res tree1.res reader2_SOURCES = reader2.c reader2_LDFLAGS = reader2_DEPENDENCIES = $(DEPS) reader2_LDADD = @RDL_LIBS@ $(LDADDS) +xpath2_SOURCES = xpath2.c +xpath2_LDFLAGS = +xpath2_DEPENDENCIES = $(DEPS) +xpath2_LDADD = @RDL_LIBS@ $(LDADDS) +xpath1_SOURCES = xpath1.c +xpath1_LDFLAGS = +xpath1_DEPENDENCIES = $(DEPS) +xpath1_LDADD = @RDL_LIBS@ $(LDADDS) parse3_SOURCES = parse3.c parse3_LDFLAGS = parse3_DEPENDENCIES = $(DEPS) parse3_LDADD = @RDL_LIBS@ $(LDADDS) -reader3_SOURCES = reader3.c -reader3_LDFLAGS = -reader3_DEPENDENCIES = $(DEPS) -reader3_LDADD = @RDL_LIBS@ $(LDADDS) -tree2_SOURCES = tree2.c -tree2_LDFLAGS = -tree2_DEPENDENCIES = $(DEPS) -tree2_LDADD = @RDL_LIBS@ $(LDADDS) -parse4_SOURCES = parse4.c -parse4_LDFLAGS = -parse4_DEPENDENCIES = $(DEPS) -parse4_LDADD = @RDL_LIBS@ $(LDADDS) io2_SOURCES = io2.c io2_LDFLAGS = io2_DEPENDENCIES = $(DEPS) io2_LDADD = @RDL_LIBS@ $(LDADDS) +tree2_SOURCES = tree2.c +tree2_LDFLAGS = +tree2_DEPENDENCIES = $(DEPS) +tree2_LDADD = @RDL_LIBS@ $(LDADDS) +reader1_SOURCES = reader1.c +reader1_LDFLAGS = +reader1_DEPENDENCIES = $(DEPS) +reader1_LDADD = @RDL_LIBS@ $(LDADDS) testWriter_SOURCES = testWriter.c testWriter_LDFLAGS = testWriter_DEPENDENCIES = $(DEPS) testWriter_LDADD = @RDL_LIBS@ $(LDADDS) +parse4_SOURCES = parse4.c +parse4_LDFLAGS = +parse4_DEPENDENCIES = $(DEPS) +parse4_LDADD = @RDL_LIBS@ $(LDADDS) +reader3_SOURCES = reader3.c +reader3_LDFLAGS = +reader3_DEPENDENCIES = $(DEPS) +reader3_LDADD = @RDL_LIBS@ $(LDADDS) io1_SOURCES = io1.c io1_LDFLAGS = io1_DEPENDENCIES = $(DEPS) io1_LDADD = @RDL_LIBS@ $(LDADDS) -xpath1_SOURCES = xpath1.c -xpath1_LDFLAGS = -xpath1_DEPENDENCIES = $(DEPS) -xpath1_LDADD = @RDL_LIBS@ $(LDADDS) parse1_SOURCES = parse1.c parse1_LDFLAGS = parse1_DEPENDENCIES = $(DEPS) @@ -431,6 +423,14 @@ tree1_SOURCES = tree1.c tree1_LDFLAGS = tree1_DEPENDENCIES = $(DEPS) tree1_LDADD = @RDL_LIBS@ $(LDADDS) +reader4_SOURCES = reader4.c +reader4_LDFLAGS = +reader4_DEPENDENCIES = $(DEPS) +reader4_LDADD = @RDL_LIBS@ $(LDADDS) +parse2_SOURCES = parse2.c +parse2_LDFLAGS = +parse2_DEPENDENCIES = $(DEPS) +parse2_LDADD = @RDL_LIBS@ $(LDADDS) all: all-am .SUFFIXES: @@ -571,8 +571,8 @@ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ + $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS @@ -584,8 +584,8 @@ TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ @@ -595,13 +595,12 @@ ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ - here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique @@ -762,36 +761,36 @@ valgrind: tests: $(noinst_PROGRAMS) @(echo '## examples regression tests') @(echo > .memdump) - @($(CHECKER) ./xpath2 test3.xml '//discarded' discarded > xpath2.tmp ; diff xpath2.tmp xpath2.res ; rm xpath2.tmp) - @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0) - @($(CHECKER) ./reader1 test2.xml > reader1.tmp ; diff reader1.tmp reader1.res ; rm reader1.tmp) - @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0) - @($(CHECKER) ./reader4 test1.xml test2.xml test3.xml > reader4.tmp ; diff reader4.tmp reader4.res ; rm reader4.tmp) + @($(CHECKER) ./reader2 test2.xml > reader1.tmp ; diff reader1.tmp reader1.res ; rm reader1.tmp) @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0) - @($(CHECKER) ./parse2 test2.xml) + @($(CHECKER) ./xpath2 test3.xml '//discarded' discarded > xpath2.tmp ; diff xpath2.tmp xpath2.res ; rm xpath2.tmp) @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0) - @($(CHECKER) ./reader2 test2.xml > reader1.tmp ; diff reader1.tmp reader1.res ; rm reader1.tmp) + @($(CHECKER) ././xpath1 test3.xml '//child2' > xpath1.tmp ; diff xpath1.tmp xpath1.res ; rm xpath1.tmp) @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0) @($(CHECKER) ./parse3) @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0) - @($(CHECKER) ./reader3 > reader3.tmp ; diff reader3.tmp reader3.res ; rm reader3.tmp) + @($(CHECKER) ./io2 > io2.tmp ; diff io2.tmp io2.res ; rm -f io2.tmp) @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0) @($(CHECKER) ./tree2 > tree2.tmp ; diff tree2.tmp tree2.res ; rm tree2.tmp) @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0) - @($(CHECKER) ./parse4 test3.xml) - @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0) - @($(CHECKER) ./io2 > io2.tmp ; diff io2.tmp io2.res ; rm -f io2.tmp) + @($(CHECKER) ./reader1 test2.xml > reader1.tmp ; diff reader1.tmp reader1.res ; rm reader1.tmp) @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0) @($(CHECKER) ./testWriter ; for i in 1 2 3 4 ; do diff writer.xml writer$$i.res ; done ; rm writer*.res) @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0) - @($(CHECKER) ./io1 > io1.tmp ; diff io1.tmp io1.res ; rm -f io1.tmp) + @($(CHECKER) ./parse4 test3.xml) @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0) - @($(CHECKER) ././xpath1 test3.xml '//child2' > xpath1.tmp ; diff xpath1.tmp xpath1.res ; rm xpath1.tmp) + @($(CHECKER) ./reader3 > reader3.tmp ; diff reader3.tmp reader3.res ; rm reader3.tmp) + @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0) + @($(CHECKER) ./io1 > io1.tmp ; diff io1.tmp io1.res ; rm -f io1.tmp) @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0) @($(CHECKER) ./parse1 test1.xml) @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0) @($(CHECKER) ./tree1 test2.xml > tree1.tmp ; diff tree1.tmp tree1.res ; rm tree1.tmp) @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0) + @($(CHECKER) ./reader4 test1.xml test2.xml test3.xml > reader4.tmp ; diff reader4.tmp reader4.res ; rm reader4.tmp) + @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0) + @($(CHECKER) ./parse2 test2.xml) + @(grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0) # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: diff --git a/doc/examples/examples.xml b/doc/examples/examples.xml index 2a0827b..a237a0e 100644 --- a/doc/examples/examples.xml +++ b/doc/examples/examples.xml @@ -1,4 +1,36 @@ + + Parse and validate an XML file with an xmlReader + Demonstrate the use of xmlReaderForFile() to parse an XML file validating the content in the process and activating options like entities substitution, and DTD attributes defaulting. (Note that the XMLReader functions require libxml2 version later than 2.6.) + reader2 <valid_xml_filename> + reader2 test2.xml > reader1.tmp ; diff reader1.tmp reader1.res ; rm reader1.tmp + Daniel Veillard + see Copyright for the status of this software. +
    xmlReader
    + + <libxml/xmlreader.h> + + + + + + + + + + + + + + + + + + + + + +
    Load a document, locate subelements with XPath, modify said elements and save the resulting document. Shows how to make a full round-trip from a load/edit/save @@ -32,114 +64,42 @@ - - Parse an XML file with an xmlReader - Demonstrate the use of xmlReaderForFile() to parse an XML file and dump the informations about the nodes found in the process. (Note that the XMLReader functions require libxml2 version later than 2.6.) - reader1 <filename> - reader1 test2.xml > reader1.tmp ; diff reader1.tmp reader1.res ; rm reader1.tmp - Daniel Veillard - see Copyright for the status of this software. -
    xmlReader
    - - <libxml/xmlreader.h> - - - - - - - - - - - - - - - - - -
    - - Parse multiple XML files reusing an xmlReader - Demonstrate the use of xmlReaderForFile() and xmlReaderNewFile to parse XML files while reusing the reader object and parser context. (Note that the XMLReader functions require libxml2 version later than 2.6.) - reader4 <filename> [ filename ... ] - reader4 test1.xml test2.xml test3.xml > reader4.tmp ; diff reader4.tmp reader4.res ; rm reader4.tmp - Graham Bennett - see Copyright for the status of this software. -
    xmlReader
    - - <libxml/xmlreader.h> - - - - - - - - - - - - - - -
    - - Parse and validate an XML file to a tree and free the result - Create a parser context for an XML file, then parse and validate the file, creating a tree, check the validation result and xmlFreeDoc() to free the resulting tree. - parse2 test2.xml - parse2 test2.xml - Daniel Veillard + + Evaluate XPath expression and prints result node set. + Shows how to evaluate XPath expression and register known namespaces in XPath context. + xpath1 <xml-file> <xpath-expr> [<known-ns-list>] + ./xpath1 test3.xml '//child2' > xpath1.tmp ; diff xpath1.tmp xpath1.res ; rm xpath1.tmp + Aleksey Sanin see Copyright for the status of this software. -
    Parsing
    +
    XPath
    - <libxml/tree.h> <libxml/parser.h> + <libxml/xpath.h> + <libxml/xpathInternals.h> + <libxml/tree.h> - - - - - - - - - - - -
    - - Parse and validate an XML file with an xmlReader - Demonstrate the use of xmlReaderForFile() to parse an XML file validating the content in the process and activating options like entities substitution, and DTD attributes defaulting. (Note that the XMLReader functions require libxml2 version later than 2.6.) - reader2 <valid_xml_filename> - reader2 test2.xml > reader1.tmp ; diff reader1.tmp reader1.res ; rm reader1.tmp - Daniel Veillard - see Copyright for the status of this software. -
    xmlReader
    - - <libxml/xmlreader.h> - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + +
    @@ -163,27 +123,27 @@ - - Show how to extract subdocuments with xmlReader - Demonstrate the use of xmlTextReaderPreservePattern() to parse an XML file with the xmlReader while collecting only some subparts of the document. (Note that the XMLReader functions require libxml2 version later than 2.6.) - reader3 - reader3 > reader3.tmp ; diff reader3.tmp reader3.res ; rm reader3.tmp - Daniel Veillard + + Output to char buffer + Demonstrate the use of xmlDocDumpMemory to output document to a character buffer + io2 + io2 > io2.tmp ; diff io2.tmp io2.res ; rm -f io2.tmp + John Fleck see Copyright for the status of this software. -
    xmlReader
    +
    InputOutput
    - <libxml/xmlreader.h> + <libxml/parser.h> - - - - - - - - - + + + + + + + + +
    @@ -200,9 +160,12 @@ + + + @@ -211,45 +174,32 @@ - - Parse an XML document chunk by chunk to a tree and free it - Demonstrate the use of xmlCreatePushParserCtxt() and xmlParseChunk() to read an XML file progressively into a tree and and xmlFreeDoc() to free the resulting tree - parse4 test3.xml - parse4 test3.xml + + Parse an XML file with an xmlReader + Demonstrate the use of xmlReaderForFile() to parse an XML file and dump the informations about the nodes found in the process. (Note that the XMLReader functions require libxml2 version later than 2.6.) + reader1 <filename> + reader1 test2.xml > reader1.tmp ; diff reader1.tmp reader1.res ; rm reader1.tmp Daniel Veillard see Copyright for the status of this software. -
    Parsing
    - - <libxml/tree.h> - <libxml/parser.h> - - - - - - - - -
    - - Output to char buffer - Demonstrate the use of xmlDocDumpMemory to output document to a character buffer - io2 - io2 > io2.tmp ; diff io2.tmp io2.res ; rm -f io2.tmp - John Fleck - see Copyright for the status of this software. -
    InputOutput
    +
    xmlReader
    - <libxml/parser.h> + <libxml/xmlreader.h> - - - - - - - + + + + + + + + + + + + + +
    @@ -271,6 +221,7 @@ + @@ -282,6 +233,7 @@ + @@ -296,6 +248,47 @@ + + Parse an XML document chunk by chunk to a tree and free it + Demonstrate the use of xmlCreatePushParserCtxt() and xmlParseChunk() to read an XML file progressively into a tree and and xmlFreeDoc() to free the resulting tree + parse4 test3.xml + parse4 test3.xml + Daniel Veillard + see Copyright for the status of this software. +
    Parsing
    + + <libxml/tree.h> + <libxml/parser.h> + + + + + + + + +
    + + Show how to extract subdocuments with xmlReader + Demonstrate the use of xmlTextReaderPreservePattern() to parse an XML file with the xmlReader while collecting only some subparts of the document. (Note that the XMLReader functions require libxml2 version later than 2.6.) + reader3 + reader3 > reader3.tmp ; diff reader3.tmp reader3.res ; rm reader3.tmp + Daniel Veillard + see Copyright for the status of this software. +
    xmlReader
    + + <libxml/xmlreader.h> + + + + + + + + + + +
    Example of custom Input/Output Demonstrate the use of xmlRegisterInputCallbacks to build a custom I/O layer, this is used in an XInclude method context to show how dynamic document can be built in a clean way. @@ -317,39 +310,6 @@ - - Evaluate XPath expression and prints result node set. - Shows how to evaluate XPath expression and register known namespaces in XPath context. - xpath1 <xml-file> <xpath-expr> [<known-ns-list>] - ./xpath1 test3.xml '//child2' > xpath1.tmp ; diff xpath1.tmp xpath1.res ; rm xpath1.tmp - Aleksey Sanin - see Copyright for the status of this software. -
    XPath
    - - <libxml/parser.h> - <libxml/xpath.h> - <libxml/xpathInternals.h> - <libxml/tree.h> - - - - - - - - - - - - - - - - - - - -
    Parse an XML file to a tree and free it Demonstrate the use of xmlReadFile() to read an XML file into a tree and and xmlFreeDoc() to free the resulting tree @@ -384,14 +344,54 @@ + + Parse multiple XML files reusing an xmlReader + Demonstrate the use of xmlReaderForFile() and xmlReaderNewFile to parse XML files while reusing the reader object and parser context. (Note that the XMLReader functions require libxml2 version later than 2.6.) + reader4 <filename> [ filename ... ] + reader4 test1.xml test2.xml test3.xml > reader4.tmp ; diff reader4.tmp reader4.res ; rm reader4.tmp + Graham Bennett + see Copyright for the status of this software. +
    xmlReader
    + + <libxml/xmlreader.h> + + + + + + + + + +
    + + Parse and validate an XML file to a tree and free the result + Create a parser context for an XML file, then parse and validate the file, creating a tree, check the validation result and xmlFreeDoc() to free the resulting tree. + parse2 test2.xml + parse2 test2.xml + Daniel Veillard + see Copyright for the status of this software. +
    Parsing
    + + <libxml/tree.h> + <libxml/parser.h> + + + + + + + + +
    - - - - + + + + @@ -408,8 +408,8 @@ - + @@ -430,12 +430,12 @@ - - - - + + + + @@ -459,42 +459,42 @@ - - + - + + - + + - - - + - + + - + - - + + @@ -507,27 +507,27 @@ - - - - + + + + - + - + @@ -551,9 +551,9 @@ + - @@ -570,8 +570,8 @@ - + @@ -582,10 +582,10 @@ - - + + @@ -609,54 +609,54 @@ - + - + - + - + - + - + - + - + - - + + - - + + @@ -725,10 +725,10 @@
    - +
    @@ -739,10 +739,10 @@
    - - + +
    diff --git a/doc/examples/reader3.c b/doc/examples/reader3.c index acbff4f..51f9d3b 100644 --- a/doc/examples/reader3.c +++ b/doc/examples/reader3.c @@ -15,7 +15,8 @@ #include #include -#if defined(LIBXML_READER_ENABLED) && defined(LIBXML_PATTERN_ENABLED) +#if defined(LIBXML_READER_ENABLED) && defined(LIBXML_PATTERN_ENABLED) && defined(LIBXML_OUTPUT_ENABLED) + /** * streamFile: @@ -113,7 +114,7 @@ int main(int argc, char **argv) { #else int main(void) { - fprintf(stderr, "Reader or Pattern support not compiled in\n"); + fprintf(stderr, "Reader, Pattern or output support not compiled in\n"); exit(1); } #endif diff --git a/doc/html/libxml-c14n.html b/doc/html/libxml-c14n.html index f4b3ecd..dfcb9c5 100644 --- a/doc/html/libxml-c14n.html +++ b/doc/html/libxml-c14n.html @@ -28,5 +28,5 @@ int xmlC14NIsVisibleCallback (void * use

    Dumps the canonized image of given XML document into the provided buffer. For details see "Canonical XML" (http://www.w3.org/TR/xml-c14n) or "Exclusive XML Canonicalization" (http://www.w3.org/TR/xml-exc-c14n)

    doc:the XML document for canonization
    is_visible_callback:the function to use to determine is node visible or not
    user_data:the first parameter for @is_visible_callback function (in most cases, it is nodes set)
    exclusive:the exclusive flag (0 - non-exclusive canonicalization; otherwise - exclusive canonicalization)
    inclusive_ns_prefixes:the list of inclusive namespace prefixes ended with a NULL or NULL if there is no inclusive namespaces (only for exclusive canonicalization, ignored otherwise)
    with_comments:include comments in the result (!=0) or not (==0)
    buf:the output buffer to store canonical XML; this buffer MUST have encoder==NULL because C14N requires UTF-8 output
    Returns:non-negative value on success or a negative value on fail

    Function type: xmlC14NIsVisibleCallback

    Function type: xmlC14NIsVisibleCallback
     int	xmlC14NIsVisibleCallback	(void * user_data, 
    xmlNodePtr node,
    xmlNodePtr parent) -

    user_data:
    node:
    parent:
    Returns:

    +

    Signature for a C14N callback on visible nodes

    user_data:user data
    node:the curent node
    parent:the parent node
    Returns:1 if the node should be included

    Daniel Veillard

    diff --git a/doc/html/libxml-entities.html b/doc/html/libxml-entities.html index fe4ea86..406e64e 100644 --- a/doc/html/libxml-entities.html +++ b/doc/html/libxml-entities.html @@ -30,6 +30,7 @@ The content of this structure is not made public by the API.
    xmlEntityPtr	xmlGetParameterEntity	(xmlDocPtr doc, 
    const xmlChar * name)
    xmlEntityPtr	xmlGetPredefinedEntity	(const xmlChar * name)
    void	xmlInitializePredefinedEntities	(void)
    +
    xmlEntityPtr	xmlNewEntity		(xmlDocPtr doc, 
    const xmlChar * name,
    int type,
    const xmlChar * ExternalID,
    const xmlChar * SystemID,
    const xmlChar * content)

    Description

    Structure xmlEntitiesTable

    Structure xmlEntitiesTable
    struct _xmlHashTable { The content of this structure is not made public by the API. @@ -73,4 +74,6 @@ The content of this structure is not made public by the API.

    Check whether this name is an predefined entity.

    name:the entity name
    Returns:NULL if not, otherwise the entity

    Function: xmlInitializePredefinedEntities

    void	xmlInitializePredefinedEntities	(void)

    Set up the predefined entities. Deprecated call

    -

    Daniel Veillard

    +

    Function: xmlNewEntity

    xmlEntityPtr	xmlNewEntity		(xmlDocPtr doc, 
    const xmlChar * name,
    int type,
    const xmlChar * ExternalID,
    const xmlChar * SystemID,
    const xmlChar * content)
    +

    Create a new entity, this differs from xmlAddDocEntity() that if the document is NULL or has no internal subset defined, then an unlinked entity structure will be returned, it is then the responsability of the caller to link it to the document later or free it when not needed anymore.

    +
    doc:the document
    name:the entity name
    type:the entity type XML_xxx_yyy_ENTITY
    ExternalID:the entity external ID if available
    SystemID:the entity system ID if available
    content:the entity content
    Returns:a pointer to the entity or NULL in case of error

    Daniel Veillard

    diff --git a/doc/html/libxml-globals.html b/doc/html/libxml-globals.html index fd9a06c..148d6a1 100644 --- a/doc/html/libxml-globals.html +++ b/doc/html/libxml-globals.html @@ -90,7 +90,7 @@ void xmlRegisterNodeFunc (
    func:function pointer to the new DeregisterNodeFunc
    Returns:the previous value of the deregistration function

    Function type: xmlDeregisterNodeFunc

    Function type: xmlDeregisterNodeFunc
     void	xmlDeregisterNodeFunc		(xmlNodePtr node)
    -

    node:

    +

    Signature for the deregistration callback of a discarded node

    node:the current node

    Function: xmlInitGlobals

    void	xmlInitGlobals			(void)

    Additional initialisation for multi-threading

    Function: xmlInitializeGlobalState

    void	xmlInitializeGlobalState	(xmlGlobalStatePtr gs)
    @@ -99,17 +99,17 @@ void xmlDeregisterNodeFunc (xmlNodePtr

    Registers a callback for URI output file handling

    func:function pointer to the new OutputBufferCreateFilenameFunc
    Returns:the old value of the registration function

    Function type: xmlOutputBufferCreateFilenameFunc

    Function type: xmlOutputBufferCreateFilenameFunc
     xmlOutputBufferPtr	xmlOutputBufferCreateFilenameFunc	(const char * URI, 
    xmlCharEncodingHandlerPtr encoder,
    int compression) -

    URI:
    encoder:
    compression:
    Returns:

    +

    Signature for the function doing the lookup for a suitable output method corresponding to an URI.

    URI:the URI to write to
    encoder:
    compression:
    Returns:the new xmlOutputBufferPtr in case of success or NULL if no method was found.

    Function: xmlParserInputBufferCreateFilenameDefault

    xmlParserInputBufferCreateFilenameFunc	xmlParserInputBufferCreateFilenameDefault	(xmlParserInputBufferCreateFilenameFunc func)

    Registers a callback for URI input file handling

    func:function pointer to the new ParserInputBufferCreateFilenameFunc
    Returns:the old value of the registration function

    Function type: xmlParserInputBufferCreateFilenameFunc

    Function type: xmlParserInputBufferCreateFilenameFunc
     xmlParserInputBufferPtr	xmlParserInputBufferCreateFilenameFunc	(const char * URI, 
    xmlCharEncoding enc) -

    URI:
    enc:
    Returns:

    +

    Signature for the function doing the lookup for a suitable input method corresponding to an URI.

    URI:the URI to read from
    enc:the requested source encoding
    Returns:the new xmlParserInputBufferPtr in case of success or NULL if no method was found.

    Function: xmlRegisterNodeDefault

    xmlRegisterNodeFunc	xmlRegisterNodeDefault	(xmlRegisterNodeFunc func)

    Registers a callback for node creation

    func:function pointer to the new RegisterNodeFunc
    Returns:the old value of the registration function

    Function type: xmlRegisterNodeFunc

    Function type: xmlRegisterNodeFunc
     void	xmlRegisterNodeFunc		(xmlNodePtr node)
    -

    node:

    +

    Signature for the registration callback of a created node

    node:the current node

    Function: xmlThrDefBufferAllocScheme

    xmlBufferAllocationScheme	xmlThrDefBufferAllocScheme	(xmlBufferAllocationScheme v)

    v:
    Returns:

    Function: xmlThrDefDefaultBufferSize

    int	xmlThrDefDefaultBufferSize	(int v)
    diff --git a/doc/html/libxml-parser.html b/doc/html/libxml-parser.html index 82c6f8e..82dbf95 100644 --- a/doc/html/libxml-parser.html +++ b/doc/html/libxml-parser.html @@ -282,6 +282,9 @@ void xmlParserInputDeallocate (XML_PARSE_NOCDATA = 16384 : merge CDATA as text nodes XML_PARSE_NOXINCNODE = 32768 : do not generate XINCLUDE START/END nodes XML_PARSE_COMPACT = 65536 : compact small text nodes; no modification of the tree allowed afterwards (will possibly crash if you try to modify the tree) + XML_PARSE_OLD10 = 131072 : parse using XML-1.0 before update 5 + XML_PARSE_NOBASEFIX = 262144 : do not fixup XINCLUDE xml:base uris + XML_PARSE_HUGE = 524288 : relax any hardcoded limit from the parser }

    Structure xmlSAXHandlerV1

    Structure xmlSAXHandlerV1
    struct _xmlSAXHandlerV1 { internalSubsetSAXFunc internalSubset diff --git a/doc/html/libxml-parserInternals.html b/doc/html/libxml-parserInternals.html index 3c12a6a..ad1fb8e 100644 --- a/doc/html/libxml-parserInternals.html +++ b/doc/html/libxml-parserInternals.html @@ -92,7 +92,7 @@ void xmlEntityReferenceFunc (void xmlParserHandleReference (xmlParserCtxtPtr ctxt)
    void	xmlParserInputShrink		(xmlParserInputPtr in)
    xmlChar	xmlPopInput			(xmlParserCtxtPtr ctxt)
    -
    void	xmlPushInput			(xmlParserCtxtPtr ctxt, 
    xmlParserInputPtr input)
    +
    int	xmlPushInput			(xmlParserCtxtPtr ctxt, 
    xmlParserInputPtr input)
    xmlChar *	xmlScanName		(xmlParserCtxtPtr ctxt)
    void	xmlSetEntityReferenceFunc	(xmlEntityReferenceFunc func)
    int	xmlSkipBlankChars		(xmlParserCtxtPtr ctxt)
    @@ -140,7 +140,7 @@ void xmlEntityReferenceFunc (
    ctxt:an XML parser context
    Returns:the input just removed

    Function: inputPush

    int	inputPush			(xmlParserCtxtPtr ctxt, 
    xmlParserInputPtr value)

    Pushes a new parser input on top of the input stack

    -
    ctxt:an XML parser context
    value:the parser input
    Returns:0 in case of error, the index in the stack otherwise

    Function: namePop

    const xmlChar *	namePop			(xmlParserCtxtPtr ctxt)
    +
    ctxt:an XML parser context
    value:the parser input
    Returns:-1 in case of error, the index in the stack otherwise

    Function: namePop

    const xmlChar *	namePop			(xmlParserCtxtPtr ctxt)

    Pops the top element name from the name stack

    ctxt:an XML parser context
    Returns:the name just removed

    Function: namePush

    int	namePush			(xmlParserCtxtPtr ctxt, 
    const xmlChar * value)

    Pushes a new element name on top of the name stack

    @@ -148,7 +148,7 @@ void xmlEntityReferenceFunc (
    ctxt:an XML parser context
    Returns:the node just removed

    Function: nodePush

    int	nodePush			(xmlParserCtxtPtr ctxt, 
    xmlNodePtr value)

    Pushes a new element node on top of the node stack

    -
    ctxt:an XML parser context
    value:the element node
    Returns:0 in case of error, the index in the stack otherwise

    Function: xmlCheckLanguageID

    int	xmlCheckLanguageID		(const xmlChar * lang)
    +
    ctxt:an XML parser context
    value:the element node
    Returns:-1 in case of error, the index in the stack otherwise

    Function: xmlCheckLanguageID

    int	xmlCheckLanguageID		(const xmlChar * lang)

    Checks that the value conforms to the LanguageID production: NOTE: this is somewhat deprecated, those productions were removed from the XML Second edition. [33] LanguageID ::= Langcode ('-' Subcode)* [34] Langcode ::= ISO639Code | IanaCode | UserCode [35] ISO639Code ::= ([a-z] | [A-Z]) ([a-z] | [A-Z]) [36] IanaCode ::= ('i' | 'I') '-' ([a-z] | [A-Z])+ [37] UserCode ::= ('x' | 'X') '-' ([a-z] | [A-Z])+ [38] Subcode ::= ([a-z] | [A-Z])+

    lang:pointer to the string value
    Returns:1 if correct 0 otherwise

    Function: xmlCopyChar

    int	xmlCopyChar			(int len, 
    xmlChar * out,
    int val)

    append the char value in the array

    @@ -278,11 +278,11 @@ void xmlEntityReferenceFunc (xmlEntityP
    ctxt:an XML parser context
    Returns:the element name parsed

    Function: xmlParseSystemLiteral

    xmlChar *	xmlParseSystemLiteral	(xmlParserCtxtPtr ctxt)

    parse an XML Literal [11] SystemLiteral ::= ('"' [^"]* '"') | ("'" [^']* "'")

    ctxt:an XML parser context
    Returns:the SystemLiteral parsed or NULL

    Function: xmlParseTextDecl

    void	xmlParseTextDecl		(xmlParserCtxtPtr ctxt)
    -

    parse an XML declaration header for external entities [77] TextDecl ::= '<?xml' VersionInfo? EncodingDecl S? '?>' Question: Seems that EncodingDecl is mandatory ? Is that a typo ?

    +

    parse an XML declaration header for external entities [77] TextDecl ::= '<?xml' VersionInfo? EncodingDecl S? '?>'

    ctxt:an XML parser context

    Function: xmlParseVersionInfo

    xmlChar *	xmlParseVersionInfo	(xmlParserCtxtPtr ctxt)

    parse the XML version. [24] VersionInfo ::= S 'version' Eq (' VersionNum ' | " VersionNum ") [25] Eq ::= S? '=' S?

    ctxt:an XML parser context
    Returns:the version string, e.g. "1.0"

    Function: xmlParseVersionNum

    xmlChar *	xmlParseVersionNum	(xmlParserCtxtPtr ctxt)
    -

    parse the XML version value. [26] VersionNum ::= ([a-zA-Z0-9_.:] | '-')+

    +

    parse the XML version value. [26] VersionNum ::= '1.' [0-9]+ In practice allow [0-9].[0-9]+ at that level

    ctxt:an XML parser context
    Returns:the string giving the XML version number, or NULL

    Function: xmlParseXMLDecl

    void	xmlParseXMLDecl			(xmlParserCtxtPtr ctxt)

    parse an XML declaration header [23] XMLDecl ::= '<?xml' VersionInfo EncodingDecl? SDDecl? S? '?>'

    ctxt:an XML parser context

    Function: xmlParserHandlePEReference

    void	xmlParserHandlePEReference	(xmlParserCtxtPtr ctxt)
    @@ -293,9 +293,9 @@ void xmlEntityReferenceFunc (xmlEntityP

    This function removes used input for the parser.

    in:an XML parser input

    Function: xmlPopInput

    xmlChar	xmlPopInput			(xmlParserCtxtPtr ctxt)

    xmlPopInput: the current input pointed by ctxt->input came to an end pop it and return the next char.

    -
    ctxt:an XML parser context
    Returns:the current xmlChar in the parser context

    Function: xmlPushInput

    void	xmlPushInput			(xmlParserCtxtPtr ctxt, 
    xmlParserInputPtr input)
    +
    ctxt:an XML parser context
    Returns:the current xmlChar in the parser context

    Function: xmlPushInput

    int	xmlPushInput			(xmlParserCtxtPtr ctxt, 
    xmlParserInputPtr input)

    xmlPushInput: switch to a new input stream which is stacked on top of the previous one(s).

    -
    ctxt:an XML parser context
    input:an XML parser input fragment (entity, XML fragment ...).

    Function: xmlScanName

    xmlChar *	xmlScanName		(xmlParserCtxtPtr ctxt)
    +
    ctxt:an XML parser context
    input:an XML parser input fragment (entity, XML fragment ...).
    Returns:-1 in case of error or the index in the input stack

    Function: xmlScanName

    xmlChar *	xmlScanName		(xmlParserCtxtPtr ctxt)

    Trickery: parse an XML name but without consuming the input flow Needed for rollback cases. Used only when parsing entities references. TODO: seems deprecated now, only used in the default part of xmlParserHandleReference [4] NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' | CombiningChar | Extender [5] Name ::= (Letter | '_' | ':') (NameChar)* [6] Names ::= Name (S Name)*

    ctxt:an XML parser context
    Returns:the Name parsed or NULL

    Function: xmlSetEntityReferenceFunc

    void	xmlSetEntityReferenceFunc	(xmlEntityReferenceFunc func)

    Set the function to call call back when a xml reference has been made

    diff --git a/doc/html/libxml-relaxng.html b/doc/html/libxml-relaxng.html index 650d058..b631a1a 100644 --- a/doc/html/libxml-relaxng.html +++ b/doc/html/libxml-relaxng.html @@ -153,10 +153,10 @@ The content of this structure is not made public by the API.

    Push a new element start on the RelaxNG validation stack.

    ctxt:the validation context
    doc:a document instance
    elem:an element instance
    Returns:1 if no validation problem was found or 0 if validating the element requires a full node, and -1 in case of error.

    Function type: xmlRelaxNGValidityErrorFunc

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

    ctx:
    msg:
    ...:

    +

    Signature of an error callback from a Relax-NG validation

    ctx:the validation context
    msg:the message
    ...:extra arguments

    Function type: xmlRelaxNGValidityWarningFunc

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

    ctx:
    msg:
    ...:

    +

    Signature of a warning callback from a Relax-NG validation

    ctx:the validation context
    msg:the message
    ...:extra arguments

    Function: xmlRelaxParserSetFlag

    int	xmlRelaxParserSetFlag		(xmlRelaxNGParserCtxtPtr ctxt, 
    int flags)

    Semi private function used to pass informations to a parser context which are a combination of xmlRelaxNGParserFlag .

    ctxt:a RelaxNG parser context
    flags:a set of flags values
    Returns:0 if success and -1 in case of error

    Daniel Veillard

    diff --git a/doc/html/libxml-schematron.html b/doc/html/libxml-schematron.html index 5ec67e5..1dcd73a 100644 --- a/doc/html/libxml-schematron.html +++ b/doc/html/libxml-schematron.html @@ -74,8 +74,8 @@ The content of this structure is not made public by the API.

    Validate a tree instance against the schematron

    ctxt:the schema validation context
    instance:the document instace tree
    Returns:0 in case of success, -1 in case of internal error and an error count otherwise.

    Function type: xmlSchematronValidityErrorFunc

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

    ctx:
    msg:
    ...:

    +

    Signature of an error callback from a Schematron validation

    ctx:the validation context
    msg:the message
    ...:extra arguments

    Function type: xmlSchematronValidityWarningFunc

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

    ctx:
    msg:
    ...:

    +

    Signature of a warning callback from a Schematron validation

    ctx:the validation context
    msg:the message
    ...:extra arguments

    Daniel Veillard

    diff --git a/doc/html/libxml-tree.html b/doc/html/libxml-tree.html index 34914cb..ab57566 100644 --- a/doc/html/libxml-tree.html +++ b/doc/html/libxml-tree.html @@ -22,6 +22,7 @@ A:link, A:visited, A:active { text-decoration: underline }
    Structure xmlDOMWrapCtxt
    struct _xmlDOMWrapCtxt
    Typedef xmlDOMWrapCtxt * xmlDOMWrapCtxtPtr
     
    Structure xmlDoc
    struct _xmlDoc +
    Enum xmlDocProperties
     
    Typedef xmlDoc * xmlDocPtr
     
    Structure xmlDtd
    struct _xmlDtd
    Typedef xmlDtd * xmlDtdPtr
    @@ -277,10 +278,12 @@ A:link, A:visited, A:active { text-decoration: underline }
         unsigned int	use	: The buffer size used
         unsigned int	size	: The buffer size
         xmlBufferAllocationScheme	alloc	: The realloc method
    +    xmlChar *	contentIO	: in IO mode we may have a different base
     }

    Enum xmlBufferAllocationScheme

    Enum xmlBufferAllocationScheme {
    -    XML_BUFFER_ALLOC_DOUBLEIT = 1
    -    XML_BUFFER_ALLOC_EXACT = 2
    -    XML_BUFFER_ALLOC_IMMUTABLE = 3
    +    XML_BUFFER_ALLOC_DOUBLEIT = 1 : double each time one need to grow
    +    XML_BUFFER_ALLOC_EXACT = 2 : grow only to the minimal size
    +    XML_BUFFER_ALLOC_IMMUTABLE = 3 : immutable buffer
    +    XML_BUFFER_ALLOC_IO = 4 : special allocation scheme used for I/O
     }
     

    Structure xmlDOMWrapCtxt

    Structure xmlDOMWrapCtxt
    struct _xmlDOMWrapCtxt { void * _private : * The type of this context, just in case @@ -310,7 +313,19 @@ A:link, A:visited, A:active { text-decoration: underline } int charset : encoding of the in-memory content actua struct _xmlDict * dict : dict used to allocate names or NULL void * psvi : for type/PSVI informations -}

    Structure xmlDtd

    Structure xmlDtd
    struct _xmlDtd { + int parseFlags : set of xmlParserOption used to parse th + int properties : set of xmlDocProperties for this docume +}

    Enum xmlDocProperties

    Enum xmlDocProperties {
    +    XML_DOC_WELLFORMED = 1 : document is XML well formed
    +    XML_DOC_NSVALID = 2 : document is Namespace valid
    +    XML_DOC_OLD10 = 4 : parsed with old XML-1.0 parser
    +    XML_DOC_DTDVALID = 8 : DTD validation was successful
    +    XML_DOC_XINCLUDE = 16 : XInclude substitution was done
    +    XML_DOC_USERBUILT = 32 : Document was built using the API and not by parsing an instance
    +    XML_DOC_INTERNAL = 64 : built for internal processing
    +    XML_DOC_HTML = 128 : parsed or built HTML document
    +}
    +

    Structure xmlDtd

    Structure xmlDtd
    struct _xmlDtd { void * _private : application data xmlElementType type : XML_DTD_NODE, must be second ! const xmlChar * name : Name of the DTD @@ -412,7 +427,7 @@ A:link, A:visited, A:active { text-decoration: underline } struct _xmlEntity * nexte : unused const xmlChar * URI : the full URI as computed int owner : does the entity own the childrens - int checked : was the entity content checked + int checked : was the entity content checked this is }

    Structure xmlEnumeration

    Structure xmlEnumeration
    struct _xmlEnumeration { struct _xmlEnumeration * next : next one const xmlChar * name : Enumeration name @@ -542,6 +557,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlAttrPtr freeAttrs : * the complete error informations for th xmlError lastError xmlParserMode parseMode : the parser mode + unsigned long nbentities : number of entities references + unsigned long sizeentities : size of parsed entities }

    Structure xmlParserInput

    Structure xmlParserInput
    struct _xmlParserInput { xmlParserInputBufferPtr buf : UTF-8 encoded buffer const char * filename : The file analyzed, if any diff --git a/doc/html/libxml-uri.html b/doc/html/libxml-uri.html index 9b8cdb6..61d4dba 100644 --- a/doc/html/libxml-uri.html +++ b/doc/html/libxml-uri.html @@ -53,11 +53,11 @@ A:link, A:visited, A:active { text-decoration: underline }
    uri:pointer to an xmlURI

    Function: xmlNormalizeURIPath

    int	xmlNormalizeURIPath		(char * path)

    Applies the 5 normalization steps to a path string--that is, RFC 2396 Section 5.2, steps 6.c through 6.g. Normalization occurs directly on the string, no new allocation is done

    path:pointer to the path string
    Returns:0 or an error code

    Function: xmlParseURI

    xmlURIPtr	xmlParseURI		(const char * str)
    -

    Parse an URI URI-reference = [ absoluteURI | relativeURI ] [ "#" fragment ]

    +

    Parse an URI based on RFC 3986 URI-reference = [ absoluteURI | relativeURI ] [ "#" fragment ]

    str:the URI string to analyze
    Returns:a newly built xmlURIPtr or NULL in case of error

    Function: xmlParseURIRaw

    xmlURIPtr	xmlParseURIRaw		(const char * str, 
    int raw)
    -

    Parse an URI but allows to keep intact the original fragments. URI-reference = [ absoluteURI | relativeURI ] [ "#" fragment ]

    +

    Parse an URI but allows to keep intact the original fragments. URI-reference = URI / relative-ref

    str:the URI string to analyze
    raw:if 1 unescaping of URI pieces are disabled
    Returns:a newly built xmlURIPtr or NULL in case of error

    Function: xmlParseURIReference

    int	xmlParseURIReference		(xmlURIPtr uri, 
    const char * str)
    -

    Parse an URI reference string and fills in the appropriate fields of the @uri structure URI-reference = [ absoluteURI | relativeURI ] [ "#" fragment ]

    +

    Parse an URI reference string based on RFC 3986 and fills in the appropriate fields of the @uri structure URI-reference = URI / relative-ref

    uri:pointer to an URI structure
    str:the string to analyze
    Returns:0 or the error code

    Function: xmlPathToURI

    xmlChar *	xmlPathToURI		(const xmlChar * path)

    Constructs an URI expressing the existing path

    path:the resource locator in a filesystem notation
    Returns:a new URI, or a duplicate of the path parameter if the construction fails. The caller is responsible for freeing the memory occupied by the returned string. If there is insufficient memory available, or the argument is NULL, the function returns NULL.

    Function: xmlPrintURI

    void	xmlPrintURI			(FILE * stream, 
    xmlURIPtr uri)
    diff --git a/doc/html/libxml-valid.html b/doc/html/libxml-valid.html index 30ef3cd..eb9f667 100644 --- a/doc/html/libxml-valid.html +++ b/doc/html/libxml-valid.html @@ -241,8 +241,8 @@ The content of this structure is not made public by the API.
    doc:the document
    elem:the parent
    name:the attribute name
    value:the attribute value
    Returns:a new normalized string if normalization is needed, NULL otherwise the caller must free the returned value.

    Function: xmlValidateAttributeDecl

    int	xmlValidateAttributeDecl	(xmlValidCtxtPtr ctxt, 
    xmlDocPtr doc,
    xmlAttributePtr attr)

    Try to validate a single attribute definition basically it does the following checks as described by the XML-1.0 recommendation: - [ VC: Attribute Default Legal ] - [ VC: Enumeration ] - [ VC: ID Attribute Default ] The ID/IDREF uniqueness and matching are done separately

    ctxt:the validation context
    doc:a document instance
    attr:an attribute definition
    Returns:1 if valid or 0 otherwise

    Function: xmlValidateAttributeValue

    int	xmlValidateAttributeValue	(xmlAttributeType type, 
    const xmlChar * value)
    -

    Validate that the given attribute value match the proper production [ VC: ID ] Values of type ID must match the Name production.... [ VC: IDREF ] Values of type IDREF must match the Name production, and values of type IDREFS must match Names ... [ VC: Entity Name ] Values of type ENTITY must match the Name production, values of type ENTITIES must match Names ... [ VC: Name Token ] Values of type NMTOKEN must match the Nmtoken production; values of type NMTOKENS must match Nmtokens.

    -
    type:an attribute type
    value:an attribute value
    Returns:1 if valid or 0 otherwise

    Function: xmlValidateDocument

    int	xmlValidateDocument		(xmlValidCtxtPtr ctxt, 
    xmlDocPtr doc)
    +

    +
    type:
    value:
    Returns:

    Function: xmlValidateDocument

    int	xmlValidateDocument		(xmlValidCtxtPtr ctxt, 
    xmlDocPtr doc)

    Try to validate the document instance basically it does the all the checks described by the XML Rec i.e. validates the internal and external subset (if present) and validate the document tree.

    ctxt:the validation context
    doc:a document instance
    Returns:1 if valid or 0 otherwise

    Function: xmlValidateDocumentFinal

    int	xmlValidateDocumentFinal	(xmlValidCtxtPtr ctxt, 
    xmlDocPtr doc)

    Does the final step for the document validation once all the incremental validation steps have been completed basically it does the following checks described by the XML Rec Check all the IDREF/IDREFS attributes definition for validity

    diff --git a/doc/html/libxml-xmlerror.html b/doc/html/libxml-xmlerror.html index 9803b4a..74af5ed 100644 --- a/doc/html/libxml-xmlerror.html +++ b/doc/html/libxml-xmlerror.html @@ -197,11 +197,14 @@ void xmlStructuredErrorFunc (void * userD XML_ERR_NOTATION_PROCESSING = 105 : 105 XML_WAR_NS_COLUMN = 106 : 106 XML_WAR_ENTITY_REDEFINED = 107 : 107 + XML_ERR_UNKNOWN_VERSION = 108 : 108 + XML_ERR_VERSION_MISMATCH = 109 : 109 XML_NS_ERR_XML_NAMESPACE = 200 XML_NS_ERR_UNDEFINED_NAMESPACE = 201 : 201 XML_NS_ERR_QNAME = 202 : 202 XML_NS_ERR_ATTRIBUTE_REDEFINED = 203 : 203 XML_NS_ERR_EMPTY = 204 : 204 + XML_NS_ERR_COLON = 205 : 205 XML_DTD_ATTRIBUTE_DEFAULT = 500 XML_DTD_ATTRIBUTE_REDEFINED = 501 : 501 XML_DTD_ATTRIBUTE_VALUE = 502 : 502 @@ -243,6 +246,7 @@ void xmlStructuredErrorFunc (void * userD XML_DTD_STANDALONE_DEFAULTED = 538 : 538 XML_DTD_XMLID_VALUE = 539 : 539 XML_DTD_XMLID_TYPE = 540 : 540 + XML_DTD_DUP_TOKEN = 541 : 541 XML_HTML_STRUCURE_ERROR = 800 XML_HTML_UNKNOWN_TAG = 801 : 801 XML_RNGP_ANYNAME_ATTR_ANCESTOR = 1000 diff --git a/doc/html/libxml-xmlmemory.html b/doc/html/libxml-xmlmemory.html index ea62ae7..8dd16ec 100644 --- a/doc/html/libxml-xmlmemory.html +++ b/doc/html/libxml-xmlmemory.html @@ -32,6 +32,7 @@ void * xmlMallocFunc (size_t size)
    void *	xmlMallocLoc			(size_t size, 
    const char * file,
    int line)
    int	xmlMemBlocks			(void)
    void	xmlMemDisplay			(FILE * fp)
    +
    void	xmlMemDisplayLast		(FILE * fp, 
    long nbBytes)
    void	xmlMemFree			(void * ptr)
    int	xmlMemGet			(xmlFreeFunc * freeFunc, 
    xmlMallocFunc * mallocFunc,
    xmlReallocFunc * reallocFunc,
    xmlStrdupFunc * strdupFunc)
    void *	xmlMemMalloc			(size_t size)
    @@ -73,7 +74,9 @@ void * xmlMallocFunc (size_t size)

    Provides the number of memory areas currently allocated

    Returns:an int representing the number of blocks

    Function: xmlMemDisplay

    void	xmlMemDisplay			(FILE * fp)

    show in-extenso the memory blocks allocated

    -
    fp:a FILE descriptor used as the output file, if NULL, the result is written to the file .memorylist

    Function: xmlMemFree

    void	xmlMemFree			(void * ptr)
    +
    fp:a FILE descriptor used as the output file, if NULL, the result is written to the file .memorylist

    Function: xmlMemDisplayLast

    void	xmlMemDisplayLast		(FILE * fp, 
    long nbBytes)
    +

    the last nbBytes of memory allocated and not freed, useful for dumping the memory left allocated between two places at runtime.

    +
    fp:a FILE descriptor used as the output file, if NULL, the result is written to the file .memorylist
    nbBytes:the amount of memory to dump

    Function: xmlMemFree

    void	xmlMemFree			(void * ptr)

    a free() equivalent, with error checking.

    ptr:the memory block pointer

    Function: xmlMemGet

    int	xmlMemGet			(xmlFreeFunc * freeFunc, 
    xmlMallocFunc * mallocFunc,
    xmlReallocFunc * reallocFunc,
    xmlStrdupFunc * strdupFunc)

    Provides the memory access functions set currently in use

    diff --git a/doc/html/libxml-xmlreader.html b/doc/html/libxml-xmlreader.html index b4c1cbc..f02707a 100644 --- a/doc/html/libxml-xmlreader.html +++ b/doc/html/libxml-xmlreader.html @@ -217,7 +217,7 @@ The content of this structure is not made public by the API.

    The depth of the node in the tree.

    reader:the xmlTextReaderPtr used
    Returns:the depth or -1 in case of error

    Function type: xmlTextReaderErrorFunc

    Function type: xmlTextReaderErrorFunc
     void	xmlTextReaderErrorFunc		(void * arg, 
    const char * msg,
    xmlParserSeverities severity,
    xmlTextReaderLocatorPtr locator) -

    arg:
    msg:
    severity:
    locator:

    +

    Signature of an error callback from a reader parser

    arg:the user argument
    msg:the message
    severity:the severity of the error
    locator:a locator indicating where the error occured

    Function: xmlTextReaderExpand

    xmlNodePtr	xmlTextReaderExpand	(xmlTextReaderPtr reader)

    Reads the contents of the current node and the full subtree. It then makes the subtree available until the next xmlTextReaderRead() call

    reader:the xmlTextReaderPtr used
    Returns:a node pointer valid until the next xmlTextReaderRead() call or NULL in case of error.

    Function: xmlTextReaderGetAttribute

    xmlChar *	xmlTextReaderGetAttribute	(xmlTextReaderPtr reader, 
    const xmlChar * name)
    diff --git a/doc/html/libxml-xmlregexp.html b/doc/html/libxml-xmlregexp.html index 642e930..15de2f4 100644 --- a/doc/html/libxml-xmlregexp.html +++ b/doc/html/libxml-xmlregexp.html @@ -117,7 +117,7 @@ The content of this structure is not made public by the API.

    Check whether @exp accepts all the languages accexpted by @sub the input being a subexpression.

    ctxt:the expressions context
    exp:the englobing expression
    sub:the subexpression
    Returns:1 if true 0 if false and -1 in case of failure.

    Function type: xmlRegExecCallbacks

    Function type: xmlRegExecCallbacks
     void	xmlRegExecCallbacks		(xmlRegExecCtxtPtr exec, 
    const xmlChar * token,
    void * transdata,
    void * inputdata) -

    exec:
    token:
    transdata:
    inputdata:

    +

    Callback function when doing a transition in the automata

    exec:the regular expression context
    token:the current token string
    transdata:transition data
    inputdata:input data

    Function: xmlRegExecErrInfo

    int	xmlRegExecErrInfo		(xmlRegExecCtxtPtr exec, 
    const xmlChar ** string,
    int * nbval,
    int * nbneg,
    xmlChar ** values,
    int * terminal)

    Extract error informations from the regexp execution, the parameter @string will be updated with the value pushed and not accepted, the parameter @values must point to an array of @nbval string pointers on return nbval will contain the number of possible strings in that state and the @values array will be updated with them. The string values

    exec:a regexp execution context generating an error
    string:return value for the error string
    nbval:pointer to the number of accepted values IN/OUT
    nbneg:return number of negative transitions
    values:pointer to the array of acceptable values
    terminal:return value if this was a terminal state
    Returns:will be freed with the @exec context and don't need to be deallocated. Returns: 0 in case of success or -1 in case of error.

    Function: xmlRegExecNextValues

    int	xmlRegExecNextValues		(xmlRegExecCtxtPtr exec, 
    int * nbval,
    int * nbneg,
    xmlChar ** values,
    int * terminal)
    diff --git a/doc/html/libxml-xmlschemas.html b/doc/html/libxml-xmlschemas.html index 261f221..aa4b76f 100644 --- a/doc/html/libxml-xmlschemas.html +++ b/doc/html/libxml-xmlschemas.html @@ -43,7 +43,8 @@ The content of this structure is not made public by the API.
    int	xmlSchemaSetValidOptions	(xmlSchemaValidCtxtPtr ctxt, 
    int options)
    void	xmlSchemaSetValidStructuredErrors	(xmlSchemaValidCtxtPtr ctxt, 
    xmlStructuredErrorFunc serror,
    void * ctx)
    int	xmlSchemaValidCtxtGetOptions	(xmlSchemaValidCtxtPtr ctxt)
    -
    int	xmlSchemaValidateDoc		(xmlSchemaValidCtxtPtr ctxt, 
    xmlDocPtr instance)
    +
    xmlParserCtxtPtr	xmlSchemaValidCtxtGetParserCtxt	(xmlSchemaValidCtxtPtr ctxt)
    +
    int	xmlSchemaValidateDoc		(xmlSchemaValidCtxtPtr ctxt, 
    xmlDocPtr doc)
    int	xmlSchemaValidateFile		(xmlSchemaValidCtxtPtr ctxt, 
    const char * filename,
    int options)
    int	xmlSchemaValidateOneElement	(xmlSchemaValidCtxtPtr ctxt, 
    xmlNodePtr elem)
    int	xmlSchemaValidateStream		(xmlSchemaValidCtxtPtr ctxt, 
    xmlParserInputBufferPtr input,
    xmlCharEncoding enc,
    xmlSAXHandlerPtr sax,
    void * user_data)
    @@ -120,51 +121,53 @@ 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)
    -

    -
    ctxt:

    Function: xmlSchemaGetParserErrors

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

    Free the resources associated to the schema validation context

    +
    ctxt:the schema validation context

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

    int	xmlSchemaIsValid		(xmlSchemaValidCtxtPtr ctxt)
    -

    -
    ctxt:
    Returns:

    Function: xmlSchemaNewDocParserCtxt

    xmlSchemaParserCtxtPtr	xmlSchemaNewDocParserCtxt	(xmlDocPtr doc)
    +

    Get the error and warning callback informations

    +
    ctxt:a XML-Schema validation context
    err:the error function result
    warn:the warning function result
    ctx:the functions context result
    Returns:-1 in case of error and 0 otherwise

    Function: xmlSchemaIsValid

    int	xmlSchemaIsValid		(xmlSchemaValidCtxtPtr ctxt)
    +

    Check if any error was detected during validation.

    +
    ctxt:the schema validation context
    Returns:1 if valid so far, 0 if errors were detected, and -1 in case of internal error.

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

    -
    schema:
    Returns:

    Function: xmlSchemaParse

    xmlSchemaPtr	xmlSchemaParse		(xmlSchemaParserCtxtPtr ctxt)
    +

    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)

    parse a schema definition resource and build an internal XML Shema struture which can be used to validate instances.

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

    Function: xmlSchemaSAXPlug

    xmlSchemaSAXPlugPtr	xmlSchemaSAXPlug	(xmlSchemaValidCtxtPtr ctxt, 
    xmlSAXHandlerPtr * sax,
    void ** user_data)
    -

    -
    ctxt:
    sax:
    user_data:
    Returns:

    Function: xmlSchemaSAXUnplug

    int	xmlSchemaSAXUnplug		(xmlSchemaSAXPlugPtr plug)
    -

    -
    plug:
    Returns:

    Function: xmlSchemaSetParserErrors

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

    Plug a SAX based validation layer in a SAX parsing event flow. The original @saxptr and @dataptr data are replaced by new pointers but the calls to the original will be maintained.

    +
    ctxt:a schema validation context
    sax:a pointer to the original xmlSAXHandlerPtr
    user_data:a pointer to the original SAX user data pointer
    Returns:a pointer to a data structure needed to unplug the validation layer or NULL in case of errors.

    Function: xmlSchemaSAXUnplug

    int	xmlSchemaSAXUnplug		(xmlSchemaSAXPlugPtr plug)
    +

    Unplug a SAX based validation layer in a SAX parsing event flow. The original pointers used in the call are restored.

    +
    plug:a data structure returned by xmlSchemaSAXPlug
    Returns:0 in case of success and -1 in case of failure.

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

    void	xmlSchemaSetParserStructuredErrors	(xmlSchemaParserCtxtPtr ctxt, 
    xmlStructuredErrorFunc serror,
    void * ctx)

    Set the structured error callback

    ctxt:a schema parser context
    serror:the structured error function
    ctx:the functions context

    Function: xmlSchemaSetValidErrors

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

    -
    ctxt:
    err:
    warn:
    ctx:

    Function: xmlSchemaSetValidOptions

    int	xmlSchemaSetValidOptions	(xmlSchemaValidCtxtPtr ctxt, 
    int options)
    -

    -
    ctxt:
    options:
    Returns:

    Function: xmlSchemaSetValidStructuredErrors

    void	xmlSchemaSetValidStructuredErrors	(xmlSchemaValidCtxtPtr ctxt, 
    xmlStructuredErrorFunc serror,
    void * ctx)
    -

    -
    ctxt:
    serror:
    ctx:

    Function: xmlSchemaValidCtxtGetOptions

    int	xmlSchemaValidCtxtGetOptions	(xmlSchemaValidCtxtPtr ctxt)
    -

    -
    ctxt:
    Returns:

    Function: xmlSchemaValidateDoc

    int	xmlSchemaValidateDoc		(xmlSchemaValidCtxtPtr ctxt, 
    xmlDocPtr instance)
    -

    -
    ctxt:
    instance:
    Returns:

    Function: xmlSchemaValidateFile

    int	xmlSchemaValidateFile		(xmlSchemaValidCtxtPtr ctxt, 
    const char * filename,
    int options)
    -

    -
    ctxt:
    filename:
    options:
    Returns:

    Function: xmlSchemaValidateOneElement

    int	xmlSchemaValidateOneElement	(xmlSchemaValidCtxtPtr ctxt, 
    xmlNodePtr elem)
    -

    -
    ctxt:
    elem:
    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
    +

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

    int	xmlSchemaSetValidOptions	(xmlSchemaValidCtxtPtr ctxt, 
    int options)
    +

    Sets the options to be used during the validation.

    +
    ctxt:a schema validation context
    options:a combination of xmlSchemaValidOption
    Returns:0 in case of success, -1 in case of an API error.

    Function: xmlSchemaSetValidStructuredErrors

    void	xmlSchemaSetValidStructuredErrors	(xmlSchemaValidCtxtPtr ctxt, 
    xmlStructuredErrorFunc serror,
    void * ctx)
    +

    Set the structured error callback

    +
    ctxt:a schema validation context
    serror:the structured error function
    ctx:the functions context

    Function: xmlSchemaValidCtxtGetOptions

    int	xmlSchemaValidCtxtGetOptions	(xmlSchemaValidCtxtPtr ctxt)
    +

    Get the validation context options.

    +
    ctxt:a schema validation context
    Returns:the option combination or -1 on error.

    Function: xmlSchemaValidCtxtGetParserCtxt

    xmlParserCtxtPtr	xmlSchemaValidCtxtGetParserCtxt	(xmlSchemaValidCtxtPtr ctxt)
    +

    allow access to the parser context of the schema validation context

    +
    ctxt:a schema validation context
    Returns:the parser context of the schema validation context or NULL in case of error.

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

    int	xmlSchemaValidateFile		(xmlSchemaValidCtxtPtr ctxt, 
    const char * filename,
    int options)
    +

    Do a schemas validation of the given resource, it will use the SAX streamable validation internally.

    +
    ctxt:a schema validation context
    filename:the URI of the instance
    options:a future set of options, currently unused
    Returns:0 if the document is valid, a positive error code number otherwise and -1 in case of an internal or API error.

    Function: xmlSchemaValidateOneElement

    int	xmlSchemaValidateOneElement	(xmlSchemaValidCtxtPtr ctxt, 
    xmlNodePtr elem)
    +

    Validate a branch of a tree, starting with the given @elem.

    +
    ctxt:a schema validation context
    elem:an element node
    Returns:0 if the element and its subtree is valid, a positive error code number otherwise and -1 in case of an internal or API error.

    Function: xmlSchemaValidateStream

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

    Validate an input based on a flow of SAX event from the parser and forward the events to the @sax handler with the provided @user_data the user provided @sax handler must be a SAX2 one.

    +
    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
     void	xmlSchemaValidityErrorFunc	(void * ctx, 
    const char * msg,
    ... ...) -

    ctx:
    msg:
    ...:

    +

    Signature of an error callback from an XSD validation

    ctx:the validation context
    msg:the message
    ...:extra arguments

    Function type: xmlSchemaValidityWarningFunc

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

    ctx:
    msg:
    ...:

    +

    Signature of a warning callback from an XSD validation

    ctx:the validation context
    msg:the message
    ...:extra arguments

    Daniel Veillard

    diff --git a/doc/libxml2-api.xml b/doc/libxml2-api.xml index 867ac92..98dc568 100644 --- a/doc/libxml2-api.xml +++ b/doc/libxml2-api.xml @@ -445,6 +445,7 @@ + @@ -665,6 +666,7 @@ + @@ -674,9 +676,10 @@ - + + @@ -699,7 +702,7 @@ - + @@ -711,7 +714,7 @@ - + @@ -729,7 +732,7 @@ - + @@ -738,6 +741,7 @@ + @@ -1393,36 +1397,44 @@ + + + - + + + + + - + - + + @@ -1433,9 +1445,10 @@ - + + @@ -1487,6 +1500,7 @@ + @@ -2010,7 +2024,6 @@ - @@ -2023,7 +2036,7 @@ - + @@ -2062,7 +2075,7 @@ - + @@ -2193,6 +2206,7 @@ + @@ -2266,7 +2280,7 @@ - + @@ -2360,6 +2374,7 @@ + @@ -2470,7 +2485,7 @@ - + @@ -2505,6 +2520,7 @@ + @@ -2521,6 +2537,7 @@ + @@ -2557,7 +2574,7 @@ - + @@ -2666,6 +2683,7 @@ + @@ -2742,6 +2760,7 @@ + @@ -3046,6 +3065,7 @@ + @@ -4579,9 +4599,10 @@ - - - + + + + @@ -4670,6 +4691,15 @@ + + + + + + + + @@ -4677,6 +4707,7 @@ + @@ -4824,11 +4855,13 @@ + + @@ -4953,6 +4986,7 @@ + @@ -4983,13 +5017,15 @@ - + + @@ -4999,6 +5035,7 @@ crash if you try to modify the tree)'/> + @@ -5861,6 +5898,7 @@ if necessary or NULL'/> + @@ -5940,7 +5978,12 @@ standalone attribute was specified'/> actually an xmlCharEncoding'/> + + + @@ -6016,7 +6059,8 @@ actually an xmlCharEncoding'/> - + @@ -6255,6 +6299,8 @@ actually an xmlCharEncoding'/> *'/> + + @@ -7727,7 +7773,7 @@ Could we use @subtypes for this?'/> Pushes a new parser input on top of the input stack - + @@ -7793,7 +7839,7 @@ Could we use @subtypes for this?'/> Pushes a new element node on top of the node stack - + @@ -8552,11 +8598,11 @@ Could we use @subtypes for this?'/> defined(LIBXML_C14N_ENABLED) && defined(LIBXML_OUTPUT_ENABLED) - - - - - + Signature for a C14N callback on visible nodes + + + + Constructs a canonic path from the specified path. @@ -9247,9 +9293,9 @@ Could we use @subtypes for this?'/> - + Signature for the deregistration callback of a discarded node - + Guess the encoding of the entity using the first bytes of the entity content according to the non-normative appendix F of the XML-1.0 recommendation. @@ -10742,6 +10788,12 @@ Could we use @subtypes for this?'/> + + the last nbBytes of memory allocated and not freed, useful for dumping the memory left allocated between two places at runtime. + + + + a free() equivalent, with error checking. @@ -11257,6 +11309,16 @@ Could we use @subtypes for this?'/> + + Create a new entity, this differs from xmlAddDocEntity() that if the document is NULL or has no internal subset defined, then an unlinked entity structure will be returned, it is then the responsability of the caller to link it to the document later or free it when not needed anymore. + + + + + + + + Create a new input stream based on an xmlEntityPtr @@ -11628,9 +11690,9 @@ Could we use @subtypes for this?'/> - - - + Signature for the function doing the lookup for a suitable output method corresponding to an URI. + + @@ -12042,23 +12104,23 @@ Could we use @subtypes for this?'/> - parse an XML declaration header for external entities [77] TextDecl ::= '<?xml' VersionInfo? EncodingDecl S? '?>' Question: Seems that EncodingDecl is mandatory ? Is that a typo ? + parse an XML declaration header for external entities [77] TextDecl ::= '<?xml' VersionInfo? EncodingDecl S? '?>' - Parse an URI URI-reference = [ absoluteURI | relativeURI ] [ "#" fragment ] + Parse an URI based on RFC 3986 URI-reference = [ absoluteURI | relativeURI ] [ "#" fragment ] - Parse an URI but allows to keep intact the original fragments. URI-reference = [ absoluteURI | relativeURI ] [ "#" fragment ] + Parse an URI but allows to keep intact the original fragments. URI-reference = URI / relative-ref - Parse an URI reference string and fills in the appropriate fields of the @uri structure URI-reference = [ absoluteURI | relativeURI ] [ "#" fragment ] + Parse an URI reference string based on RFC 3986 and fills in the appropriate fields of the @uri structure URI-reference = URI / relative-ref @@ -12069,7 +12131,7 @@ Could we use @subtypes for this?'/> - parse the XML version value. [26] VersionNum ::= ([a-zA-Z0-9_.:] | '-')+ + parse the XML version value. [26] VersionNum ::= '1.' [0-9]+ In practice allow [0-9].[0-9]+ at that level @@ -12143,10 +12205,10 @@ Could we use @subtypes for this?'/> - - - - + Signature for the function doing the lookup for a suitable input method corresponding to an URI. + + + Create a buffered parser input for the progressive parsing for the input from an I/O handler @@ -12315,7 +12377,7 @@ Could we use @subtypes for this?'/> xmlPushInput: switch to a new input stream which is stacked on top of the previous one(s). - + @@ -12525,12 +12587,12 @@ Could we use @subtypes for this?'/> defined(LIBXML_REGEXP_ENABLED) - + Callback function when doing a transition in the automata - - - - + + + + defined(LIBXML_REGEXP_ENABLED) @@ -12649,9 +12711,9 @@ Could we use @subtypes for this?'/> - + Signature for the registration callback of a created node - + defined(LIBXML_OUTPUT_ENABLED) @@ -12828,19 +12890,19 @@ Could we use @subtypes for this?'/> defined(LIBXML_SCHEMAS_ENABLED) - + Signature of an error callback from a Relax-NG validation - - - + + + defined(LIBXML_SCHEMAS_ENABLED) - + Signature of a warning callback from a Relax-NG validation - - - + + + defined(LIBXML_SCHEMAS_ENABLED) @@ -13405,9 +13467,9 @@ Could we use @subtypes for this?'/> defined(LIBXML_SCHEMAS_ENABLED) - + Free the resources associated to the schema validation context - + defined(LIBXML_SCHEMAS_ENABLED) @@ -13478,12 +13540,12 @@ Could we use @subtypes for this?'/> defined(LIBXML_SCHEMAS_ENABLED) - - - - - - + Get the error and warning callback informations + + + + + defined(LIBXML_SCHEMAS_ENABLED) @@ -13499,9 +13561,9 @@ Could we use @subtypes for this?'/> defined(LIBXML_SCHEMAS_ENABLED) - - - + Check if any error was detected during validation. + + defined(LIBXML_SCHEMAS_ENABLED) @@ -13550,9 +13612,9 @@ Could we use @subtypes for this?'/> defined(LIBXML_SCHEMAS_ENABLED) - - - + Create an XML Schemas validation context based on the given schema. + + defined(LIBXML_SCHEMAS_ENABLED) @@ -13562,17 +13624,17 @@ Could we use @subtypes for this?'/> defined(LIBXML_SCHEMAS_ENABLED) - - - - - + Plug a SAX based validation layer in a SAX parsing event flow. The original @saxptr and @dataptr data are replaced by new pointers but the calls to the original will be maintained. + + + + defined(LIBXML_SCHEMAS_ENABLED) - - - + Unplug a SAX based validation layer in a SAX parsing event flow. The original pointers used in the call are restored. + + defined(LIBXML_SCHEMAS_ENABLED) @@ -13593,27 +13655,27 @@ Could we use @subtypes for this?'/> defined(LIBXML_SCHEMAS_ENABLED) - + Set the error and warning callback informations - - - - + + + + defined(LIBXML_SCHEMAS_ENABLED) - - - - + Sets the options to be used during the validation. + + + defined(LIBXML_SCHEMAS_ENABLED) - + Set the structured error callback - - - + + + defined(LIBXML_SCHEMAS_ENABLED) @@ -13635,16 +13697,22 @@ Could we use @subtypes for this?'/> defined(LIBXML_SCHEMAS_ENABLED) - - - + Get the validation context options. + + + + + defined(LIBXML_SCHEMAS_ENABLED) + allow access to the parser context of the schema validation context + + defined(LIBXML_SCHEMAS_ENABLED) - - - - + Validate a document tree in memory. + + + defined(LIBXML_SCHEMAS_ENABLED) @@ -13668,11 +13736,11 @@ Could we use @subtypes for this?'/> defined(LIBXML_SCHEMAS_ENABLED) - - - - - + Do a schemas validation of the given resource, it will use the SAX streamable validation internally. + + + + defined(LIBXML_SCHEMAS_ENABLED) @@ -13706,10 +13774,10 @@ Could we use @subtypes for this?'/> defined(LIBXML_SCHEMAS_ENABLED) - - - - + Validate a branch of a tree, starting with the given @elem. + + + defined(LIBXML_SCHEMAS_ENABLED) @@ -13721,29 +13789,29 @@ Could we use @subtypes for this?'/> defined(LIBXML_SCHEMAS_ENABLED) - - - - - - - + Validate an input based on a flow of SAX event from the parser and forward the events to the @sax handler with the provided @user_data the user provided @sax handler must be a SAX2 one. + + + + + + defined(LIBXML_SCHEMAS_ENABLED) - + Signature of an error callback from an XSD validation - - - + + + defined(LIBXML_SCHEMAS_ENABLED) - + Signature of a warning callback from an XSD validation - - - + + + defined(LIBXML_SCHEMAS_ENABLED) @@ -13843,19 +13911,19 @@ Could we use @subtypes for this?'/> defined(LIBXML_SCHEMATRON_ENABLED) - + Signature of an error callback from a Schematron validation - - - + + + defined(LIBXML_SCHEMATRON_ENABLED) - + Signature of a warning callback from a Schematron validation - - - + + + Search a Ns registered under a given name space for a document. recurse on the parents until it finds the defined namespace or return NULL otherwise. @nameSpace can be NULL, this is a search for the default namespace. We don't allow to cross entities boundaries. If you don't declare the namespace within those you will be in troubles !!! A warning is generated to cover this case. @@ -14486,12 +14554,12 @@ Could we use @subtypes for this?'/> defined(LIBXML_READER_ENABLED) - + Signature of an error callback from a reader parser - - - - + + + + defined(LIBXML_READER_ENABLED) @@ -16670,10 +16738,10 @@ Could we use @subtypes for this?'/> defined(LIBXML_VALID_ENABLED) - Validate that the given attribute value match the proper production [ VC: ID ] Values of type ID must match the Name production.... [ VC: IDREF ] Values of type IDREF must match the Name production, and values of type IDREFS must match Names ... [ VC: Entity Name ] Values of type ENTITY must match the Name production, values of type ENTITIES must match Names ... [ VC: Name Token ] Values of type NMTOKEN must match the Nmtoken production; values of type NMTOKENS must match Nmtokens. - - - + + + + defined(LIBXML_VALID_ENABLED) diff --git a/doc/libxml2.xsa b/doc/libxml2.xsa index 9133b40..f93c298 100644 --- a/doc/libxml2.xsa +++ b/doc/libxml2.xsa @@ -8,26 +8,42 @@ libxml2 - 2.6.31 - Jan 11 2008 + 2.6.32 + Apr 8 2008 http://xmlsoft.org/ - - Security fix: missing of checks in UTF-8 parsing - - Bug fixes: regexp bug, dump attribute from XHTML document, fix - xmlFree(NULL) to not crash in debug mode, Schematron parsing crash - (Rob Richards), global lock free on Windows (Marc-Antoine Ruel), - XSD crash due to double free (Rob Richards), indentation fix in - xmlTextWriterFullEndElement (Felipe Pena), error in attribute type - parsing if attribute redeclared, avoid crash in hash list scanner if - deleting elements, column counter bug fix (Christian Schmidt), - HTML embed element saving fix (Stefan Behnel), avoid -L/usr/lib - output from xml2-config (Fred Crozat), avoid an xmllint crash - (Stefan Kost), don't stop HTML parsing on out of range chars. - - - Code cleanup: fix open() call third argument, regexp cut'n paste - copy error, unused variable in __xmlGlobalInitMutexLock (Hannes Eder), - some make distcheck realted fixes (John Carr) - - Improvements: HTTP Header: includes port number (William Brack), - testURI --debug option, + - Documentation: returning heap memory to kernel (Wolfram Sang), + trying to clarify xmlCleanupParser() use, xmlXPathContext improvement + (Jack Jansen), improve the *Recover* functions documentation, + XmlNodeType doc link fix (Martijn Arts) + - Bug fixes: internal subset memory leak (Ashwin), avoid problem with + paths starting with // (Petr Sumbera), streaming XSD validation callback + patches (Ashwin), fix redirection on port other than 80 (William Brack), + SAX2 leak (Ashwin), XInclude fragment of own document (Chris Ryan), + regexp bug with '.' (Andrew Tosh), flush the writer at the end of the + document (Alfred Mickautsch), output I/O bug fix (William Brack), + writer CDATA output after a text node (Alex Khesin), UTF-16 encoding + detection (William Brack), fix handling of empty CDATA nodes for Safari + team, python binding problem with namespace nodes, improve HTML parsing + (Arnold Hendriks), regexp automata build bug, memory leak fix (Vasily + Chekalkin), XSD test crash, weird system parameter entity parsing problem, + allow save to file:///X:/ windows paths, various attribute normalisation + problems, externalSubsetSplit fix (Ashwin), attribute redefinition in + the DTD (Ashwin), fix in char ref parsing check (Alex Khesin), many + out of memory handling fixes (Ashwin), XPath out of memory handling fixes + (Alvaro Herrera), various realloc problems (Ashwin), UCS4 encoding + conversion buffer size (Christian Fruth), problems with EatName + functions on memory errors, BOM handling in external parsed entities + (Mark Rowe) + - Code cleanup: fix build under VS 2008 (David Wimsey), remove useless + mutex in xmlDict (Florent Guilian), Mingw32 compilation fix (Carlo + Bramini), Win and MacOS EOL cleanups (Florent Guiliani), iconv need + a const detection (Roumen Petrov), simplify xmlSetProp (Julien Charbon), + cross compilation fixes for Mingw (Roumen Petrov), SCO Openserver build + fix (Florent Guiliani), iconv uses const on Win32 (Rob Richards), + duplicate code removal (Ashwin), missing malloc test and error reports + (Ashwin), VMS makefile fix (Tycho Hilhorst) + - improvements: better plug of schematron in the normal error handling + (Tobias Minich) diff --git a/doc/news.html b/doc/news.html index 4c89278..a4126c0 100644 --- a/doc/news.html +++ b/doc/news.html @@ -12,7 +12,31 @@ to help those

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

    Here is the list of public releases:

    2.6.32: Apr 8 2008

    • Documentation: returning heap memory to kernel (Wolfram Sang), +to the SVN code base.

      Here is the list of public releases:

      2.7.0: Aug 30 2008

      • Documentation: switch ChangeLog to UTF-8, improve mutithreads and + xmlParserCleanup docs
      • +
      • Portability fixes: Older Win32 platforms (Rob Richards), MSVC + porting fix (Rob Richards), Mac OS X regression tests (Sven Herzberg), + non GNUCC builds (Rob Richards), compilation on Haiku (Andreas Färber) +
      • +
      • Bug fixes: various realloc problems (Ashwin), potential double-free + (Ashwin), regexp crash, icrash with invalid whitespace facets (Rob + Richards), pattern fix when streaming (William Brack), various XML + parsing and validation fixes based on the W3C regression tests, reader + tree skipping function fix (Ashwin), Schemas regexps escaping fix + (Volker Grabsch), handling of entity push errors (Ashwin), fix a slowdown + when encoder cant serialize characters on output
      • +
      • Code cleanup: compilation fix without the reader, without the output + (Robert Schwebel), python whitespace (Martin), many space/tabs cleanups, + serious cleanup of the entity handling code
      • +
      • Improvement: switch parser to XML-1.0 5th edition, add parsing flags + for old versions, switch URI parsing to RFC 3986, + add xmlSchemaValidCtxtGetParserCtxt (Holger Kaelberer), + new hashing functions for dictionnaries (based on Stefan Behnel work), + improve handling of misplaced html/head/body in HTML parser, better + regression test tools and code coverage display, better algorithms + to detect various versions of the billion laughts attacks, make + arbitrary parser limits avoidable as a parser option
      • +

      2.6.32: Apr 8 2008

      • Documentation: returning heap memory to kernel (Wolfram Sang), trying to clarify xmlCleanupParser() use, xmlXPathContext improvement (Jack Jansen), improve the *Recover* functions documentation, XmlNodeType doc link fix (Martijn Arts)
      • diff --git a/doc/news.xsl b/doc/news.xsl index 2312e0d..50089eb 100644 --- a/doc/news.xsl +++ b/doc/news.xsl @@ -2,7 +2,7 @@ - + diff --git a/doc/xml.html b/doc/xml.html index 8e42443..30398d2 100644 --- a/doc/xml.html +++ b/doc/xml.html @@ -421,9 +421,11 @@ pnode=pxmlDoc->children->children; and libxml2, but you need to install a more recent version: libxml(-devel) >= 1.8.8 or libxml2(-devel) >= 2.1.0

        -
      • XPath implementation looks seriously broken -

        XPath implementation prior to 2.3.0 was really incomplete. Upgrade to - a recent version, there are no known bugs in the current version.

        +
      • Random crashes in threaded applications +

        Read and follow all advices on the thread + safety page, and make 100% sure you never call xmlCleanupParser() + while the library or an XML document might still be in use by another + thread.

      • The example provided in the web page does not compile.

        It's hard to maintain the documentation in sync with the code @@ -440,16 +442,8 @@ pnode=pxmlDoc->children->children; generated doc

      • have a look at the set of examples.
      • -
      • look for examples of use for libxml2 function using the Gnome code. - -
      • +
      • look for examples of use for libxml2 function using the Gnome code + or by asking on Google.
      • Browse the libxml2 source , I try to write code as clean and documented @@ -471,12 +465,6 @@ pnode=pxmlDoc->children->children;

        Download: http://sourceforge.net/project/showfiles.php?group_id=12999

      • -
    • How to validate a document a posteriori ? @@ -739,6 +727,33 @@ to the SVN code base.<

      Here is the list of public releases:

      +

      2.7.0: Aug 30 2008

      +
        +
      • Documentation: switch ChangeLog to UTF-8, improve mutithreads and + xmlParserCleanup docs
      • +
      • Portability fixes: Older Win32 platforms (Rob Richards), MSVC + porting fix (Rob Richards), Mac OS X regression tests (Sven Herzberg), + non GNUCC builds (Rob Richards), compilation on Haiku (Andreas Färber) +
      • +
      • Bug fixes: various realloc problems (Ashwin), potential double-free + (Ashwin), regexp crash, icrash with invalid whitespace facets (Rob + Richards), pattern fix when streaming (William Brack), various XML + parsing and validation fixes based on the W3C regression tests, reader + tree skipping function fix (Ashwin), Schemas regexps escaping fix + (Volker Grabsch), handling of entity push errors (Ashwin), fix a slowdown + when encoder cant serialize characters on output
      • +
      • Code cleanup: compilation fix without the reader, without the output + (Robert Schwebel), python whitespace (Martin), many space/tabs cleanups, + serious cleanup of the entity handling code
      • +
      • Improvement: switch parser to XML-1.0 5th edition, add parsing flags + for old versions, switch URI parsing to RFC 3986, + add xmlSchemaValidCtxtGetParserCtxt (Holger Kaelberer), + new hashing functions for dictionnaries (based on Stefan Behnel work), + improve handling of misplaced html/head/body in HTML parser, better + regression test tools and code coverage display, better algorithms + to detect various versions of the billion laughts attacks, make + arbitrary parser limits avoidable as a parser option
      • +

      2.6.32: Apr 8 2008

      • Documentation: returning heap memory to kernel (Wolfram Sang), -- cgit v1.2.3