From 4e3a9fa137890b1873e08d2a410f06f25439f236 Mon Sep 17 00:00:00 2001 From: "William M. Brack" Date: Tue, 3 Aug 2004 22:41:11 +0000 Subject: [PATCH] elaborated on description of xmlValidityWarningFunc and * include/libxml/valid.h: elaborated on description of xmlValidityWarningFunc and xmlValidityErrorFunc (bug 144760) * xmlIO.c, xmlschemastypes.c, include/libxml/schemasinternals.h: minor fixes to comments for doc rebuilding errors. * doc/*.html: rebuilt the docs --- ChangeLog | 9 + config.h.in | 5 +- doc/APIchunk1.html | 1 + doc/APIchunk10.html | 10 + doc/APIchunk11.html | 3 +- doc/APIchunk12.html | 1 + doc/APIchunk13.html | 4 +- doc/APIchunk15.html | 2 +- doc/APIchunk18.html | 2 + doc/APIchunk2.html | 2 +- doc/APIchunk20.html | 3 +- doc/APIchunk21.html | 1 + doc/APIchunk22.html | 7 +- doc/APIchunk23.html | 1 + doc/APIchunk24.html | 4 + doc/APIchunk4.html | 1 + doc/APIchunk8.html | 3 +- doc/APIchunk9.html | 33 +- doc/html/libxml-DOCBparser.html | 42 +- doc/html/libxml-SAX.html | 152 +- doc/html/libxml-schemasInternals.html | 6 +- doc/html/libxml-valid.html | 4 +- doc/html/libxml-xmlIO.html | 4 +- doc/html/libxml-xmlschemastypes.html | 8 +- doc/libxml2-api.xml | 2609 +++++++++++++------------ doc/libxml2-refs.xml | 80 +- include/libxml/schemasInternals.h | 10 +- include/libxml/valid.h | 8 +- python/libxml2class.txt | 468 ++--- xmlIO.c | 2 +- xmlschemastypes.c | 8 +- 31 files changed, 1758 insertions(+), 1735 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2f9f7cf4..e58cf883 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +Tue Aug 3 15:08:22 PDT 2004 William Brack + + * include/libxml/valid.h: elaborated on description of + xmlValidityWarningFunc and xmlValidityErrorFunc (bug + 144760) + * xmlIO.c, xmlschemastypes.c, include/libxml/schemasinternals.h: + minor fixes to comments for doc rebuilding errors. + * doc/*.html: rebuilt the docs + Tue Aug 3 23:59:23 CEST 2004 Daniel Veillard * doc/ChangeLog.xsl doc/downloads.html doc/xml.html doc/*: diff --git a/config.h.in b/config.h.in index f54d0bf7..915ef0c8 100644 --- a/config.h.in +++ b/config.h.in @@ -256,7 +256,7 @@ /* Define to the version of this package. */ #undef PACKAGE_VERSION -/* Define to 1 if the C compiler supports function prototypes. */ +/* Define if compiler has function prototypes */ #undef PROTOTYPES /* Determine what socket length (socklen_t) data type is */ @@ -274,9 +274,6 @@ /* Using the Win32 Socket implementation */ #undef _WINSOCKAPI_ -/* Define like PROTOTYPES; this can be used by system headers. */ -#undef __PROTOTYPES - /* Win32 Std C name mangling work-around */ #undef snprintf diff --git a/doc/APIchunk1.html b/doc/APIchunk1.html index 6addbe31..af4d8b07 100644 --- a/doc/APIchunk1.html +++ b/doc/APIchunk1.html @@ -205,6 +205,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlXPathRegisteredVariablesCleanup
Clear
xmlClearNodeInfoSeq
xmlClearParserCtxt
+xmlPopInputCallbacks
Clears
xmlSetupParserForBuffer
Close
xmlFileClose
xmlIOFTPClose
diff --git a/doc/APIchunk10.html b/doc/APIchunk10.html index 1030c69c..9f3bf7a0 100644 --- a/doc/APIchunk10.html +++ b/doc/APIchunk10.html @@ -185,6 +185,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlNodeSetName
xmlNodeSetSpacePreserve
xmlTextReaderSetParserProp
+xmlValidityErrorFunc
+xmlValidityWarningFunc
changes
xmlRegisterHTTPPostCallbacks
xmlTextReaderClose
changing
xmlSubstituteEntitiesDefault
@@ -341,6 +343,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlSAX2GetSystemId
combining
IS_COMBINING_CH
coment
xmlTextWriterEndComment
+
comes
xmlValidityErrorFunc
+xmlValidityWarningFunc
coming
xmlXIncludeProcessNode
command
ftpDataCallback
ftpListCallback
@@ -443,6 +447,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlXPathDebugDumpCompExpr
compiled-in
xmlCleanupInputCallbacks
xmlCleanupOutputCallbacks
+xmlPopInputCallbacks
xmlRegisterDefaultInputCallbacks
xmlRegisterDefaultOutputCallbacks
compiling
xmlRelaxNGNewDocParserCtxt
@@ -543,6 +548,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlValidateNMToken
xmlValidateName
xmlValidateQName
+
conjunction
xmlSchemaIsBuiltInTypeFacet
connection
xmlNanoFTPClose
xmlNanoFTPCloseConnection
xmlNanoFTPConnect
@@ -623,6 +629,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlParsePEReference
xmlParserHandlePEReference
xmlTextReaderMoveToElement
+xmlValidityErrorFunc
+xmlValidityWarningFunc
xmlXPathContainsFunction
xmlXPathNextAncestor
xmlXPathNextAncestorOrSelf
@@ -789,6 +797,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlFreeParserCtxt
xmlPopInput
xmlValidCtxtNormalizeAttributeValue
+xmlValidityErrorFunc
+xmlValidityWarningFunc
cur
xmlXPathAxisFunc
currently
xmlGcMemGet
xmlMemGet
diff --git a/doc/APIchunk11.html b/doc/APIchunk11.html index 16683289..b7aa78be 100644 --- a/doc/APIchunk11.html +++ b/doc/APIchunk11.html @@ -36,7 +36,7 @@ A:link, A:visited, A:active { text-decoration: underline } x-x y-z

Letter d:

dangerous
xmlTextReaderCurrentNode
-
datatype
xmlSchemaGetBuiltInListSimpleTypeItemType
+
database
xmlSchemaGetBuiltInListSimpleTypeItemType
day
ftpListCallback
day:minute
ftpListCallback
deactivated
xmlTextReaderRelaxNGSetSchema
@@ -163,7 +163,6 @@ A:link, A:visited, A:active { text-decoration: underline } xmlParseBalancedChunkMemory
xmlParseBalancedChunkMemoryRecover
xmlParseElementContentDecl
-xmlSchemaGetBuiltInListSimpleTypeItemType
xmlSearchNs
xmlSearchNsByHref
xmlTextReaderIsDefault
diff --git a/doc/APIchunk12.html b/doc/APIchunk12.html index c54d458e..5729ee0d 100644 --- a/doc/APIchunk12.html +++ b/doc/APIchunk12.html @@ -69,6 +69,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlParseMarkupDecl
elements
XML_CATALOGS_NAMESPACE
XML_COMPLETE_ATTRS
+XML_SCHEMAS_ATTR_GLOBAL
XML_SCHEMAS_ATTR_NSDEFAULT
XML_SCHEMAS_ELEM_NSDEFAULT
XML_SCHEMAS_QUALIF_ELEM
diff --git a/doc/APIchunk13.html b/doc/APIchunk13.html index 1caf98e7..07c2b049 100644 --- a/doc/APIchunk13.html +++ b/doc/APIchunk13.html @@ -43,6 +43,7 @@ A:link, A:visited, A:active { text-decoration: underline } _xmlSchemaFacetLink
xmlSchemaCheckFacet
xmlSchemaFreeFacet
+xmlSchemaIsBuiltInTypeFacet
xmlSchemaValidateFacet
xmlSchemaValidateListSimpleTypeFacet
facets
xmlSchemaCheckFacet
@@ -157,7 +158,8 @@ A:link, A:visited, A:active { text-decoration: underline }
filled
xmlGetFeaturesList
fills
xmlParseURIReference
filters
xmlParseEncodingDecl
-
final
XML_SCHEMAS_TYPE_FINAL_EXTENSION
+
final
XML_SCHEMAS_TYPE_FINAL_DEFAULT
+XML_SCHEMAS_TYPE_FINAL_EXTENSION
XML_SCHEMAS_TYPE_FINAL_LIST
XML_SCHEMAS_TYPE_FINAL_RESTRICTION
XML_SCHEMAS_TYPE_FINAL_UNION
diff --git a/doc/APIchunk15.html b/doc/APIchunk15.html index 119fa1ec..cb7dcf2e 100644 --- a/doc/APIchunk15.html +++ b/doc/APIchunk15.html @@ -143,6 +143,7 @@ A:link, A:visited, A:active { text-decoration: underline }
includes
_xmlSchema
xmlCleanupInputCallbacks
xmlCleanupOutputCallbacks
+xmlPopInputCallbacks
xmlXIncludeProcessFlags
xmlXIncludeProcessTreeFlags
xmlXIncludeSetFlags
@@ -494,7 +495,6 @@ A:link, A:visited, A:active { text-decoration: underline } xmlHashUpdateEntry2
xmlHashUpdateEntry3
xmlNanoFTPDele
-xmlSchemaGetBuiltInListSimpleTypeItemType
xmlXPathNodeSetItem
items
valuePush
xmlHashCopy
diff --git a/doc/APIchunk18.html b/doc/APIchunk18.html index bb61c38f..7202c80d 100644 --- a/doc/APIchunk18.html +++ b/doc/APIchunk18.html @@ -228,6 +228,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlXPathNormalizeFunction
normalizing
xmlCurrentChar
normally
c
+xmlValidityErrorFunc
+xmlValidityWarningFunc
notations
_xmlDtd
xmlValidateDtdFinal
note
xmlCheckUTF8
diff --git a/doc/APIchunk2.html b/doc/APIchunk2.html index a66f04a3..2ed47c70 100644 --- a/doc/APIchunk2.html +++ b/doc/APIchunk2.html @@ -89,7 +89,6 @@ A:link, A:visited, A:active { text-decoration: underline } xmlParserHandlePEReference
Data
xmlParseCDSect
Datatype
xmlRegexpCompile
-
Datatypes
xmlSchemaGetBuiltInListSimpleTypeItemType
Deallocate
xmlFreeAttributeTable
xmlFreeElementTable
xmlFreeEntitiesTable
@@ -343,6 +342,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlXPathEvaluatePredicateResult
xmlXPtrEval
xmlXPtrEvalRangePredicate
+
Evaluates
xmlSchemaIsBuiltInTypeFacet
Everything
_xmlParserCtxt
setDocumentLocator
setDocumentLocatorSAXFunc
diff --git a/doc/APIchunk20.html b/doc/APIchunk20.html index 13ab6e43..a42ae780 100644 --- a/doc/APIchunk20.html +++ b/doc/APIchunk20.html @@ -320,7 +320,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlSAXDefaultVersion
xmlSubstituteEntitiesDefault
xmlXPathAxisFunc
-
primitive
xmlXPathConvertFunc
+
primitive
XML_SCHEMAS_TYPE_BUILTIN_PRIMITIVE
+xmlXPathConvertFunc
print
xmlShellPrintNode
xmlSnprintfElementContent
xmlSprintfElementContent
diff --git a/doc/APIchunk21.html b/doc/APIchunk21.html index ca41727d..009167ce 100644 --- a/doc/APIchunk21.html +++ b/doc/APIchunk21.html @@ -290,6 +290,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlFindCharEncodingHandler
xmlGetCharEncodingHandler
xmlGetLastError
+xmlPopInputCallbacks
xmlRegisterInputCallbacks
xmlRegisterOutputCallbacks
xmlResetLastError
diff --git a/doc/APIchunk22.html b/doc/APIchunk22.html index 1832f467..f4b10ee6 100644 --- a/doc/APIchunk22.html +++ b/doc/APIchunk22.html @@ -311,7 +311,9 @@ A:link, A:visited, A:active { text-decoration: underline } xmlNewMutex
xmlSchemaGetBuiltInListSimpleTypeItemType
xmlSchemaValidateListSimpleTypeFacet
-
simpleType
XML_SCHEMAS_TYPE_FINAL_LIST
+
simpleType
XML_SCHEMAS_TYPE_BUILTIN_PRIMITIVE
+XML_SCHEMAS_TYPE_FINAL_DEFAULT
+XML_SCHEMAS_TYPE_FINAL_LIST
XML_SCHEMAS_TYPE_FINAL_RESTRICTION
XML_SCHEMAS_TYPE_FINAL_UNION
XML_SCHEMAS_TYPE_VARIETY_ABSENT
@@ -475,6 +477,7 @@ A:link, A:visited, A:active { text-decoration: underline } _xmlXPathContext
xmlNoNetExternalEntityLoader
xmlParseNamespace
+xmlSchemaIsBuiltInTypeFacet
specification
XML_XML_NAMESPACE
xmlTextReaderNormalization
specifications
xmlParseSDDecl
@@ -789,6 +792,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlAutomataNewOnceTrans
such
xmlNewTextChild
xmlParseEntityRef
+xmlValidityErrorFunc
+xmlValidityWarningFunc
xmlXPathLangFunction
xmlXPathNodeSetFreeNs
xmlXPathRoundFunction
diff --git a/doc/APIchunk23.html b/doc/APIchunk23.html index be0a2c72..63e87da1 100644 --- a/doc/APIchunk23.html +++ b/doc/APIchunk23.html @@ -254,6 +254,7 @@ A:link, A:visited, A:active { text-decoration: underline } xmlNamespaceParseNCName
xmlNamespaceParseNSDef
xmlNamespaceParseQName
+xmlPopInputCallbacks
xmlPushInput
xmlReconciliateNs
xmlSetTreeDoc
diff --git a/doc/APIchunk24.html b/doc/APIchunk24.html index 81945fc9..9b2733aa 100644 --- a/doc/APIchunk24.html +++ b/doc/APIchunk24.html @@ -169,6 +169,8 @@ A:link, A:visited, A:active { text-decoration: underline }
useless
setDocumentLocator
setDocumentLocatorSAXFunc
xmlSAX2SetDocumentLocator
+
userData
xmlValidityErrorFunc
+xmlValidityWarningFunc
users
_xmlSchema
uses
htmlNodeStatus
usually
c
@@ -176,6 +178,8 @@ A:link, A:visited, A:active { text-decoration: underline } xmlSchemaGetPredefinedType
xmlTextReaderGetParserProp
xmlTextReaderSetParserProp
+xmlValidityErrorFunc
+xmlValidityWarningFunc
utf8
xmlCharEncFirstLine
xmlCharEncInFunc
xmlCharEncOutFunc
diff --git a/doc/APIchunk4.html b/doc/APIchunk4.html index 9fa9d433..7ee723c4 100644 --- a/doc/APIchunk4.html +++ b/doc/APIchunk4.html @@ -105,6 +105,7 @@ A:link, A:visited, A:active { text-decoration: underline } htmlEntityValueLookup
htmlTagLookup
xmlGetEncodingAlias
+xmlSchemaGetBuiltInListSimpleTypeItemType
xmlSchemaGetPredefinedType
Loose
_htmlElemDesc
LowSurrogates
xmlUCSIsLowSurrogates
diff --git a/doc/APIchunk8.html b/doc/APIchunk8.html index 8446cd1d..d87485a9 100644 --- a/doc/APIchunk8.html +++ b/doc/APIchunk8.html @@ -428,7 +428,8 @@ A:link, A:visited, A:active { text-decoration: underline }
allocator
DEBUG_MEMORY
allocators
xmlGcMemGet
xmlGcMemSetup
-
allow
XML_SCHEMAS_ATTR_NSDEFAULT
+
allow
XML_SCHEMAS_ATTR_GLOBAL
+XML_SCHEMAS_ATTR_NSDEFAULT
XML_SCHEMAS_ELEM_NSDEFAULT
docbCreatePushParserCtxt
htmlAttrAllowed
diff --git a/doc/APIchunk9.html b/doc/APIchunk9.html index 477455da..1aba87ca 100644 --- a/doc/APIchunk9.html +++ b/doc/APIchunk9.html @@ -263,39 +263,12 @@ A:link, A:visited, A:active { text-decoration: underline } xmlSchemaGetBuiltInType
xmlSchemaParse
xmlTextReaderNextSibling
-
built-in
xmlSchemaGetBuiltInListSimpleTypeItemType
+
built-in
XML_SCHEMAS_TYPE_BUILTIN_PRIMITIVE
+xmlSchemaGetBuiltInListSimpleTypeItemType
xmlSchemaGetBuiltInType
+xmlSchemaIsBuiltInTypeFacet
builtin
initGenericErrorDefaultFunc
bunch
xmlParseNamespace
-
but
IS_DIGIT_CH
-IS_EXTENDER_CH
-IS_LETTER_CH
-IS_PUBIDCHAR_CH
-XML_MAX_NAMELEN
-_xmlParserCtxt
-xlinkIsLink
-xmlACatalogAdd
-xmlByteConsumed
-xmlCatalogAdd
-xmlCharEncFirstLine
-xmlCheckUTF8
-xmlCleanupParser
-xmlNewDocNode
-xmlNewDocNodeEatName
-xmlParsePEReference
-xmlParserHandlePEReference
-xmlParserInputBufferCreateStatic
-xmlSaveDoc
-xmlSaveToFilename
-xmlSaveTree
-xmlScanName
-xmlSetupParserForBuffer
-xmlStrncatNew
-xmlURIEscape
-xmlURIUnescapeString
-xmlXPathFreeNodeSetList
-xmlXPathStringFunction
-xmlXPtrEvalRangePredicate
bypass
xmlParseCatalogFile

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

Module DOCBparser from libxml2

API Menu
API Indexes
Related links

This module is deprecated

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

Table of Contents

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

Module DOCBparser from libxml2

API Menu
API Indexes
Related links

This module is deprecated

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

Table of Contents

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

Description

-

Function: docbCreatePushParserCtxt

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

Function: docbFreeParserCtxt

void	docbFreeParserCtxt		(docbParserCtxtPtr ctxt)
+

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

+
ctxt:an SGML parser context

Function: docbParseDoc

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

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

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

Function: docbCreateFileParserCtxt

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

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

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

Function: docbSAXParseFile

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

parse an SGML file and build a tree. Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time. It use the given SAX function block to handle the parsing callback. If sax is NULL, fallback to the default DOM tree building routines.

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

Function: docbSAXParseDoc

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

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

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

Function: docbCreatePushParserCtxt

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

Create a parser context for using the DocBook SGML parser in push mode To allow content encoding detection, @size should be >= 4 The value of @filename is used for fetching external entities and error/warning reports.

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

Function: docbEncodeEntities

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

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

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

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

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

Function: docbParseDocument

int	docbParseDocument		(docbParserCtxtPtr ctxt)

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

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

Function: docbCreateFileParserCtxt

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

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

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

Function: docbParseDoc

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

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

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

Function: docbSAXParseDoc

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

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

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

Function: docbSAXParseFile

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

parse an SGML file and build a tree. Automatic support for ZLIB/Compress compressed document is provided by default if found at compile-time. It use the given SAX function block to handle the parsing callback. If sax is NULL, fallback to the default DOM tree building routines.

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

Function: docbParseChunk

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

Function: docbParseChunk

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

Parse a Chunk of memory

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

Function: docbFreeParserCtxt

void	docbFreeParserCtxt		(docbParserCtxtPtr ctxt)
-

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

-
ctxt:an SGML parser context

Daniel Veillard

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

Daniel Veillard

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

Module SAX from libxml2

API Menu
API Indexes
Related links

This module is deprecated

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

Table of Contents

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

Module SAX from libxml2

API Menu
API Indexes
Related links

This module is deprecated

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

Table of Contents

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

Description

-

Function: cdataBlock

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

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

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

Function: comment

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

Function: comment

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

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

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

Function: checkNamespace

int	checkNamespace			(void * ctx, 
xmlChar * namespace)

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

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

Function: startElement

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

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

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

Function: inithtmlDefaultSAXHandler

void	inithtmlDefaultSAXHandler	(xmlSAXHandlerV1 * hdlr)
-

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

-
hdlr:the SAX handler

Function: getColumnNumber

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

Function: getColumnNumber

int	getColumnNumber			(void * ctx)

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

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

Function: endElement

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

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

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

Function: attribute

void	attribute			(void * ctx, 
const xmlChar * fullname,
const xmlChar * value)
+
ctx:the user data (XML parser context)
Returns:an int

Function: entityDecl

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

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

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

Function: attribute

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

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

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

Function: namespaceDecl

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

A namespace has been parsed. DEPRECATED

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

Function: getNamespace

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

Function: getNamespace

xmlNsPtr	getNamespace		(void * ctx)

Get the current element namespace. DEPRECATED

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

Function: initdocbDefaultSAXHandler

void	initdocbDefaultSAXHandler	(xmlSAXHandlerV1 * hdlr)
-

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

-
hdlr:the SAX handler

Function: setDocumentLocator

void	setDocumentLocator		(void * ctx, 
xmlSAXLocatorPtr loc)
+
ctx:the user data (XML parser context)
Returns:the xmlNsPtr or NULL if none

Function: setDocumentLocator

void	setDocumentLocator		(void * ctx, 
xmlSAXLocatorPtr loc)

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

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

Function: getPublicId

const xmlChar *	getPublicId		(void * ctx)
+
ctx:the user data (XML parser context)
loc:A SAX Locator

Function: initxmlDefaultSAXHandler

void	initxmlDefaultSAXHandler	(xmlSAXHandlerV1 * hdlr, 
int warning)
+

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

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

Function: ignorableWhitespace

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

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

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

Function: hasExternalSubset

int	hasExternalSubset		(void * ctx)
+

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

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

Function: unparsedEntityDecl

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

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

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

Function: globalNamespace

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

An old global namespace has been parsed. DEPRECATED

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

Function: hasInternalSubset

int	hasInternalSubset		(void * ctx)
+

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

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

Function: reference

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

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

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

Function: notationDecl

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

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

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

Function: getSystemId

const xmlChar *	getSystemId		(void * ctx)
+

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

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

Function: externalSubset

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

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

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

Function: resolveEntity

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

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

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

Function: startDocument

void	startDocument			(void * ctx)
+

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

+
ctx:the user data (XML parser context)

Function: setNamespace

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

Set the current element namespace. DEPRECATED

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

Function: cdataBlock

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

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

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

Function: getPublicId

const xmlChar *	getPublicId		(void * ctx)

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

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

Function: getEntity

xmlEntityPtr	getEntity		(void * ctx, 
const xmlChar * name)
+
ctx:the user data (XML parser context)
Returns:a xmlChar *

Function: inithtmlDefaultSAXHandler

void	inithtmlDefaultSAXHandler	(xmlSAXHandlerV1 * hdlr)
+

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

+
hdlr:the SAX handler

Function: processingInstruction

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

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

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

Function: endElement

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

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

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

Function: namespaceDecl

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

A namespace has been parsed. DEPRECATED

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

Function: initdocbDefaultSAXHandler

void	initdocbDefaultSAXHandler	(xmlSAXHandlerV1 * hdlr)
+

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

+
hdlr:the SAX handler

Function: getEntity

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

Get an entity by name DEPRECATED: use xmlSAX2GetEntity()

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

Function: characters

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

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

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

Function: elementDecl

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

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

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

Function: ignorableWhitespace

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

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

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

Function: hasExternalSubset

int	hasExternalSubset		(void * ctx)
-

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

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

Function: isStandalone

int	isStandalone			(void * ctx)
-

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

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

Function: unparsedEntityDecl

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

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

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

Function: reference

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

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

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

Function: globalNamespace

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

An old global namespace has been parsed. DEPRECATED

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

Function: initxmlDefaultSAXHandler

void	initxmlDefaultSAXHandler	(xmlSAXHandlerV1 * hdlr, 
int warning)
-

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

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

Function: hasInternalSubset

int	hasInternalSubset		(void * ctx)
-

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

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

Function: processingInstruction

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

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

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

Function: getParameterEntity

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

Function: startElement

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

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

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

Function: getParameterEntity

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

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

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

Function: attributeDecl

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

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

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

Function: notationDecl

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

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

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

Function: entityDecl

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

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

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

Function: setNamespace

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

Set the current element namespace. DEPRECATED

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

Function: externalSubset

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

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

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

Function: resolveEntity

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

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

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

Function: getSystemId

const xmlChar *	getSystemId		(void * ctx)
-

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

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

Function: startDocument

void	startDocument			(void * ctx)
-

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

-
ctx:the user data (XML parser context)

Function: internalSubset

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

Function: isStandalone

int	isStandalone			(void * ctx)
+

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

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

Function: internalSubset

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

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

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

Function: endDocument

void	endDocument			(void * ctx)

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

diff --git a/doc/html/libxml-schemasInternals.html b/doc/html/libxml-schemasInternals.html index 4e9c30f9..4b453523 100644 --- a/doc/html/libxml-schemasInternals.html +++ b/doc/html/libxml-schemasInternals.html @@ -51,7 +51,7 @@ The content of this structure is not made public by the API.

Macro: XML_SCHEMAS_ANY_STRICT

#define XML_SCHEMAS_ANY_STRICT

Used by wildcards. Apply strict validation rules

Macro: XML_SCHEMAS_ATTRGROUP_GLOBAL

#define XML_SCHEMAS_ATTRGROUP_GLOBAL

The attribute wildcard has been already builded.

Macro: XML_SCHEMAS_ATTRGROUP_WILDCARD_BUILDED

#define XML_SCHEMAS_ATTRGROUP_WILDCARD_BUILDED

The attribute wildcard has been already builded.

-

Macro: XML_SCHEMAS_ATTR_GLOBAL

#define XML_SCHEMAS_ATTR_GLOBAL

+

Macro: XML_SCHEMAS_ATTR_GLOBAL

#define XML_SCHEMAS_ATTR_GLOBAL

allow elements in no namespace

Macro: XML_SCHEMAS_ATTR_NSDEFAULT

#define XML_SCHEMAS_ATTR_NSDEFAULT

allow elements in no namespace

Macro: XML_SCHEMAS_ATTR_USE_OPTIONAL

#define XML_SCHEMAS_ATTR_USE_OPTIONAL

The attribute is optional.

Macro: XML_SCHEMAS_ATTR_USE_PROHIBITED

#define XML_SCHEMAS_ATTR_USE_PROHIBITED

Used by wildcards. The attribute is prohibited.

@@ -74,10 +74,10 @@ The content of this structure is not made public by the API.

Macro: XML_SCHEMAS_FINAL_DEFAULT_UNION

#define XML_SCHEMAS_FINAL_DEFAULT_UNION

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

Macro: XML_SCHEMAS_QUALIF_ATTR

#define XML_SCHEMAS_QUALIF_ATTR

the shemas requires qualified attributes

Macro: XML_SCHEMAS_QUALIF_ELEM

#define XML_SCHEMAS_QUALIF_ELEM

the shemas requires qualified elements

-

Macro: XML_SCHEMAS_TYPE_BUILTIN_PRIMITIVE

#define XML_SCHEMAS_TYPE_BUILTIN_PRIMITIVE

+

Macro: XML_SCHEMAS_TYPE_BUILTIN_PRIMITIVE

#define XML_SCHEMAS_TYPE_BUILTIN_PRIMITIVE

the simpleType is a built-in primitive.

Macro: XML_SCHEMAS_TYPE_DERIVATION_METHOD_EXTENSION

#define XML_SCHEMAS_TYPE_DERIVATION_METHOD_EXTENSION

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

Macro: XML_SCHEMAS_TYPE_DERIVATION_METHOD_RESTRICTION

#define XML_SCHEMAS_TYPE_DERIVATION_METHOD_RESTRICTION

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

-

Macro: XML_SCHEMAS_TYPE_FINAL_DEFAULT

#define XML_SCHEMAS_TYPE_FINAL_DEFAULT

+

Macro: XML_SCHEMAS_TYPE_FINAL_DEFAULT

#define XML_SCHEMAS_TYPE_FINAL_DEFAULT

the simpleType has a final of "default".

Macro: XML_SCHEMAS_TYPE_FINAL_EXTENSION

#define XML_SCHEMAS_TYPE_FINAL_EXTENSION

the complexType has a final of "extension".

Macro: XML_SCHEMAS_TYPE_FINAL_LIST

#define XML_SCHEMAS_TYPE_FINAL_LIST

the simpleType has a final of "list".

Macro: XML_SCHEMAS_TYPE_FINAL_RESTRICTION

#define XML_SCHEMAS_TYPE_FINAL_RESTRICTION

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

diff --git a/doc/html/libxml-valid.html b/doc/html/libxml-valid.html index a67c7ed1..73698c7a 100644 --- a/doc/html/libxml-valid.html +++ b/doc/html/libxml-valid.html @@ -271,8 +271,8 @@ The content of this structure is not made public by the API.

Try to validate a the root element basically it does the following check as described by the XML-1.0 recommendation: - [ VC: Root Element Type ] it doesn't try to recurse or apply other check to the element

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

Function type: xmlValidityErrorFunc

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

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

ctx:an xmlValidCtxtPtr validity error context
msg:the string to format *printf like vararg
...:remaining arguments to the format

+

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

ctx:usually an xmlValidCtxtPtr to a validity error context, but comes from ctxt->userData (which normally contains such a pointer); ctxt->userData can be changed by the user.
msg:the string to format *printf like vararg
...:remaining arguments to the format

Function type: xmlValidityWarningFunc

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

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

ctx:an xmlValidCtxtPtr validity error context
msg:the string to format *printf like vararg
...:remaining arguments to the format

+

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

ctx:usually an xmlValidCtxtPtr to a validity error context, but comes from ctxt->userData (which normally contains such a pointer); ctxt->userData can be changed by the user.
msg:the string to format *printf like vararg
...:remaining arguments to the format

Daniel Veillard

diff --git a/doc/html/libxml-xmlIO.html b/doc/html/libxml-xmlIO.html index 28192abe..8c139e03 100644 --- a/doc/html/libxml-xmlIO.html +++ b/doc/html/libxml-xmlIO.html @@ -189,8 +189,8 @@ int xmlOutputWriteCallback (void * context,
const char * buffer,
in:a buffered parser input
len:the size in bytes of the array.
buf:an char array
Returns:the number of chars read and stored in the buffer, or -1 in case of error.

Function: xmlParserInputBufferRead

int	xmlParserInputBufferRead	(xmlParserInputBufferPtr in, 
int len)

Refresh the content of the input buffer, the old data are considered consumed This routine handle the I18N transcoding to internal UTF-8

in:a buffered parser input
len:indicative value of the amount of chars to read
Returns:the number of chars read and stored in the buffer, or -1 in case of error.

Function: xmlPopInputCallbacks

int	xmlPopInputCallbacks		(void)
-

-
Returns:

Function: xmlRegisterDefaultInputCallbacks

void	xmlRegisterDefaultInputCallbacks	(void)
+

Clear the top input callback from the input stack. this includes the compiled-in I/O.

+
Returns:the number of input callback registered or -1 in case of error.

Function: xmlRegisterDefaultInputCallbacks

void	xmlRegisterDefaultInputCallbacks	(void)

Registers the default compiled-in I/O handlers.

Function: xmlRegisterDefaultOutputCallbacks

void	xmlRegisterDefaultOutputCallbacks	(void)

Registers the default compiled-in I/O handlers.

diff --git a/doc/html/libxml-xmlschemastypes.html b/doc/html/libxml-xmlschemastypes.html index ae2de6d2..a14b9b30 100644 --- a/doc/html/libxml-xmlschemastypes.html +++ b/doc/html/libxml-xmlschemastypes.html @@ -40,16 +40,16 @@ A:link, A:visited, A:active { text-decoration: underline }
facet:a schema facet structure

Function: xmlSchemaFreeValue

void	xmlSchemaFreeValue		(xmlSchemaValPtr value)

Cleanup the default XML Schemas type library

value:the value to free

Function: xmlSchemaGetBuiltInListSimpleTypeItemType

xmlSchemaTypePtr	xmlSchemaGetBuiltInListSimpleTypeItemType	(xmlSchemaTypePtr type)
-

-
type:the built-in simple type.
Returns:the item type of @type as defined by the built-in datatype hierarchy of XML Schema Part 2: Datatypes, or NULL in case of an error.

Function: xmlSchemaGetBuiltInType

xmlSchemaTypePtr	xmlSchemaGetBuiltInType	(xmlSchemaValType type)
+

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

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

Function: xmlSchemaGetBuiltInType

xmlSchemaTypePtr	xmlSchemaGetBuiltInType	(xmlSchemaValType type)

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

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

Function: xmlSchemaGetPredefinedType

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

Lookup a type in the default XML Schemas type library

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

Function: xmlSchemaInitTypes

void	xmlSchemaInitTypes		(void)

Initialize the default XML Schemas type library

Function: xmlSchemaIsBuiltInTypeFacet

int	xmlSchemaIsBuiltInTypeFacet	(xmlSchemaTypePtr type, 
int facetType)
-

-
type:
facetType:
Returns:

Function: xmlSchemaNewFacet

xmlSchemaFacetPtr	xmlSchemaNewFacet	(void)
+

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

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

Function: xmlSchemaNewFacet

xmlSchemaFacetPtr	xmlSchemaNewFacet	(void)

Allocate a new Facet structure.

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

Function: xmlSchemaValPredefTypeNode

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

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

diff --git a/doc/libxml2-api.xml b/doc/libxml2-api.xml index a596e2d7..e8fe0a53 100644 --- a/doc/libxml2-api.xml +++ b/doc/libxml2-api.xml @@ -6,23 +6,23 @@ interface for a DocBook SGML non-verifying parser This code is DEPRECATED, and should not be used anymore. Daniel Veillard - + + + + + + - - - - - interface for an HTML 4.0 non-verifying parser @@ -32,15 +32,15 @@ - - - + + + @@ -58,43 +58,43 @@ - - - - - - - + - - - - - + + + + + + + + + + + + + + + + + + - - - - - - + - - specific APIs to process HTML tree, especially serialization @@ -105,21 +105,21 @@ + - - + + - - + - + @@ -128,40 +128,40 @@ DEPRECATED set of SAX version 1 interfaces used to build the DOM tree. Daniel Veillard - - - - + - - + + + + + + + + + + + + + + + + + + + - - - - - - - - - + - - - - - - - + @@ -170,43 +170,43 @@ SAX2 parser interface used to build the DOM tree those are the default SAX2 interfaces used by the library when building DOM tree. Daniel Veillard - - - - - - + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - @@ -225,53 +225,53 @@ Daniel Veillard - - - + + + - - - - - + - - - - - + - - - - - - - + + + + + + + + + + + + + + + Unicode character range checking @@ -279,43 +279,43 @@ William Brack <wbrack@mmm.com.hk> + - + - + - - - - + + + + + - - - - - - - - + + + + + + Tree debugging APIs @@ -324,35 +324,35 @@ - + + + + + + + + + + + + - + - - - - - - - - + - - - - + - string dictionnary @@ -360,14 +360,14 @@ Daniel Veillard - + + + - - interface for the encoding conversion functions @@ -378,10 +378,14 @@ + + + + - + @@ -391,11 +395,7 @@ - - - - @@ -428,18 +428,18 @@ this module provides some of the entity API needed for the parser and applications. Daniel Veillard - - + + - + @@ -448,11 +448,11 @@ - + - - + + interface for all global variables of the library @@ -461,68 +461,68 @@ - - - - - - - - - - + - - - - - - - - + - + + + + + + + + + + + + + + + + + - - - - + + + + + + + + + + + + + - - - + - - - - - - - chained hash tables @@ -530,31 +530,31 @@ - - - - - - - + + - - - - - + - + + + + + + + + + + @@ -565,64 +565,64 @@ + + + + + + + + + + + + + - - - - - - - - - - - - - - - - + + + minimal FTP implementation minimal FTP implementation allowing to fetch resources like external subset. Daniel Veillard - - - - + + + + + + + + + - - - - - + - minimal HTTP implementation @@ -654,77 +654,115 @@ - - - - + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - - - - + + + + - - + + - - + - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -732,82 +770,44 @@ - - - + - - - - - - - - - - - - - - - - - - + + + + + - - - - - - - - - - - - - - - - + - - - - - - - - + - @@ -816,124 +816,124 @@ Daniel Veillard - - - - - - - - - - - - + - - + + + + + + + + + + + + + - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - + - - - + - - - - - - - + - - - - - - - - - - - + + - - - - - - - + - @@ -960,17 +960,17 @@ - + - + - + @@ -988,39 +988,39 @@ - + + + - - - - - - - - - + + + + + + + @@ -1039,7 +1039,7 @@ - + @@ -1066,144 +1066,144 @@ - + - + - - + + - - - - - - - + - - - - - + + - - + - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - + - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - + - - + - + @@ -1220,9 +1220,9 @@ - - + + @@ -1232,33 +1232,33 @@ - + interfaces for tree manipulation this module describes the structures found in an tree resulting from an XML or HTML parsing, as well as the API provided for various processing on that tree Daniel Veillard - - - + + + - + - + - + - + @@ -1267,7 +1267,7 @@ - + @@ -1280,16 +1280,16 @@ - + - + - + @@ -1301,46 +1301,46 @@ + - + - + - - - + + - + - + + - - + - + - - + + @@ -1350,156 +1350,156 @@ - - + + - - + - - - - - - + - - - - - - - - + + - + - - - - - - - + + - - - - - - - - - - - + + - - - - - - - - + - - - - - - - - - - - + + - - + - - - - - - + - - - - + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - + + - - @@ -1532,20 +1532,20 @@ - + - + - + @@ -1554,14 +1554,14 @@ - - + + - + + - @@ -1569,22 +1569,21 @@ - - + + - + - - + + - - + + - @@ -1601,10 +1600,11 @@ - - + + + @@ -1619,16 +1619,17 @@ Daniel Veillard - - - + + + + @@ -1636,7 +1637,6 @@ - unfinished XLink detection module @@ -1644,32 +1644,32 @@ Daniel Veillard - + - + - + + + + + - - - - + + + + + - - - - - @@ -1694,7 +1694,7 @@ - + @@ -1732,7 +1732,7 @@ - + API to build regexp automata @@ -1746,14 +1746,14 @@ + - + - @@ -1763,312 +1763,153 @@ error handling the API used to report errors Daniel Veillard - - - - - - - - - - - - - - - - + + - - - + + - - - - - - - - - - - - - - - - - + - - + - - - - + - - - - - + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - + - - - - + - - - - - - - - - - - - - + - - - - - - + + - - - - - - - - + - + - - - - - - - - - - + - - - - + - - - - - - - - - - - + - - - - - - - + + - - + - - - - - - - - + - - - - - - - - - - - - - - + - - - - - + - - - - - + + + - - - - + + - - + - - - - - - @@ -2076,66 +1917,33 @@ - - - + + - - - + - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - + @@ -2145,231 +1953,423 @@ - - - - - - - - - - - + - + - - - - - - - - - - - - - - + - - - - - + - - - - - - - - - - - - - - - - - + + - - - - - - - + - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - + - - - + - - - - - + + - - - - - + - - - - - - - - - - - - - - - - + - - - - - - - - + - - - - - + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -2386,12 +2386,12 @@ - + - + @@ -2414,25 +2414,25 @@ + + + + + + - - + - - - - - @@ -2441,41 +2441,41 @@ API of the XML streaming API based on C# interfaces. Daniel Veillard - - - - - - + - - - - - - - - + - + - + + + + + + + + + + + + + - - + + @@ -2488,21 +2488,21 @@ - + - - + + @@ -2515,7 +2515,7 @@ - + @@ -2533,7 +2533,7 @@ - + @@ -2545,14 +2545,14 @@ - + - - + + @@ -2564,14 +2564,14 @@ - + - - - + + + @@ -2581,12 +2581,12 @@ - - - + + + @@ -2596,30 +2596,30 @@ Daniel Veillard - - - - - - + - - - - - - - + + - - + + + + + + + + + + + + @@ -2629,18 +2629,18 @@ - - + - + + @@ -2671,126 +2671,168 @@ - - - - - - - - - + - - - - - - - - - + + + + + + + + + + + + + + + + + Unicode character APIs API for the Unicode character APIs This file is automatically generated from the UCS description files of the Unicode Character Database Daniel Veillard - - - - - + - - + - - + - - - + - - - + + - - - - - - - - - - - - - - - - + + + + + - + - - - - + - + - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - + @@ -2800,113 +2842,71 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + - - - - - + - - - - - - - - - - - + + + - - - - - - - + + - - - + + - compile-time version informations compile-time version informations for the XML library Daniel Veillard - - - - - - + - - - - - - - - - + - - + + + + + + + + + + + + + + + @@ -2924,7 +2924,7 @@ - + @@ -2938,6 +2938,7 @@ + @@ -2945,18 +2946,17 @@ - + - - + @@ -2965,9 +2965,8 @@ + - - @@ -2988,7 +2987,8 @@ - + + @@ -3008,261 +3008,261 @@ - - - - + - - - - + + + + + + + + + + + + + + - - - - - - - - - + + - - + + - + - + - + + - - - - + - - - - - - + - - + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + - - - - - - internal interfaces for XML Path Language implementation internal interfaces for XML Path Language implementation used to build new modules on top of XPath like XPointer and XSLT Daniel Veillard - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - + - - + + - - + + - - - - - - - - - - - - - + - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + - - - - + + + - - - - - API to handle XML Pointers @@ -3274,23 +3274,23 @@ - - - + + - + + - + @@ -3624,6 +3624,7 @@ The attribute wildcard has been already builded. + allow elements in no namespace allow elements in no namespace @@ -3692,6 +3693,7 @@ the shemas requires qualified elements + the simpleType is a built-in primitive. the simple or complex type has a derivation method of "extension". @@ -3700,6 +3702,7 @@ the simple or complex type has a derivation method of "restriction". + the simpleType has a final of "default". the complexType has a final of "extension". @@ -10954,8 +10957,8 @@ actually an xmlCharEncoding'/> - - + Clear the top input callback from the input stack. this includes the compiled-in I/O. + Prints the URI in the stream @steam. @@ -11995,8 +11998,8 @@ actually an xmlCharEncoding'/> LIBXML_SCHEMAS_ENABLED - - + Lookup a type in the built-in type database hierarchy of XML Schema Part 2:Datatypes. + @@ -12019,10 +12022,10 @@ actually an xmlCharEncoding'/> LIBXML_SCHEMAS_ENABLED - - - - + Evaluates if a specific facet can be used in conjunction with a type. + + + LIBXML_SCHEMAS_ENABLED @@ -15025,14 +15028,14 @@ actually an xmlCharEncoding'/> Callback called when a validity error is found. This is a message oriented function similar to an *printf function. - + Callback called when a validity warning is found. This is a message oriented function similar to an *printf function. - + diff --git a/doc/libxml2-refs.xml b/doc/libxml2-refs.xml index 70fe0bda..3f65c2e2 100644 --- a/doc/libxml2-refs.xml +++ b/doc/libxml2-refs.xml @@ -13105,6 +13105,7 @@ + @@ -13380,9 +13381,6 @@ - - - @@ -13774,6 +13772,9 @@ + + + @@ -14498,6 +14499,7 @@ + @@ -16878,6 +16880,7 @@ + @@ -17576,8 +17579,10 @@ + + @@ -17585,37 +17590,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -17834,6 +17808,8 @@ + + @@ -18069,6 +18045,10 @@ + + + + @@ -18214,6 +18194,7 @@ + @@ -18363,6 +18344,9 @@ + + + @@ -18476,6 +18460,8 @@ + + @@ -18720,6 +18706,8 @@ + + @@ -18741,7 +18729,7 @@ - + @@ -18913,7 +18901,6 @@ - @@ -19536,6 +19523,7 @@ + @@ -20022,6 +20010,7 @@ + @@ -20186,6 +20175,7 @@ + @@ -21114,6 +21104,7 @@ + @@ -21609,7 +21600,6 @@ - @@ -22817,6 +22807,8 @@ + + @@ -23717,6 +23709,7 @@ + @@ -24369,6 +24362,7 @@ + @@ -25232,6 +25226,8 @@ + + @@ -25448,6 +25444,7 @@ + @@ -25938,6 +25935,8 @@ + + @@ -26296,6 +26295,7 @@ + @@ -26735,6 +26735,10 @@ + + + + @@ -26747,6 +26751,8 @@ + + diff --git a/include/libxml/schemasInternals.h b/include/libxml/schemasInternals.h index 84334994..801191ac 100644 --- a/include/libxml/schemasInternals.h +++ b/include/libxml/schemasInternals.h @@ -204,7 +204,7 @@ struct _xmlSchemaAnnot { */ #define XML_SCHEMAS_ATTR_USE_OPTIONAL 2 /** - * XML_SCHEMAS_ATTR_GLOABAL: + * XML_SCHEMAS_ATTR_GLOBAL: * * allow elements in no namespace */ @@ -432,15 +432,15 @@ struct _xmlSchemaFacetLink { */ #define XML_SCHEMAS_TYPE_FINAL_UNION 1 << 12 /** - * XML_SCHEMAS_TYPE_FINAL_UNION: + * XML_SCHEMAS_TYPE_FINAL_DEFAULT: * - * the simpleType has a final of "union". + * the simpleType has a final of "default". */ #define XML_SCHEMAS_TYPE_FINAL_DEFAULT 1 << 13 /** - * XML_SCHEMAS_TYPE_FINAL_UNION: + * XML_SCHEMAS_TYPE_BUILTIN_PRIMITIVE: * - * the simpleType has a final of "union". + * the simpleType is a built-in primitive. */ #define XML_SCHEMAS_TYPE_BUILTIN_PRIMITIVE 1 << 14 diff --git a/include/libxml/valid.h b/include/libxml/valid.h index ec34ef09..a734902e 100644 --- a/include/libxml/valid.h +++ b/include/libxml/valid.h @@ -30,7 +30,9 @@ typedef xmlValidState *xmlValidStatePtr; /** * xmlValidityErrorFunc: - * @ctx: an xmlValidCtxtPtr validity error context + * @ctx: usually an xmlValidCtxtPtr to a validity error context, + * but comes from ctxt->userData (which normally contains such + * a pointer); ctxt->userData can be changed by the user. * @msg: the string to format *printf like vararg * @...: remaining arguments to the format * @@ -43,7 +45,9 @@ typedef void (*xmlValidityErrorFunc) (void *ctx, /** * xmlValidityWarningFunc: - * @ctx: an xmlValidCtxtPtr validity error context + * @ctx: usually an xmlValidCtxtPtr to a validity error context, + * but comes from ctxt->userData (which normally contains such + * a pointer); ctxt->userData can be changed by the user. * @msg: the string to format *printf like vararg * @...: remaining arguments to the format * diff --git a/python/libxml2class.txt b/python/libxml2class.txt index 2f082ea4..90da852c 100644 --- a/python/libxml2class.txt +++ b/python/libxml2class.txt @@ -636,56 +636,6 @@ Class xmlDoc(xmlNode) # functions from module xpointer xpointerNewContext() -Class xpathContext() - # accessors - contextDoc() - contextNode() - contextPosition() - contextSize() - function() - functionURI() - setContextDoc() - setContextNode() - - # functions from module python - registerXPathFunction() - - # functions from module xpath - xpathEval() - xpathEvalExpression() - xpathFreeContext() - - # functions from module xpathInternals - xpathNewParserContext() - xpathNsLookup() - xpathRegisterAllFunctions() - xpathRegisterNs() - xpathRegisteredFuncsCleanup() - xpathRegisteredNsCleanup() - xpathRegisteredVariablesCleanup() - xpathVariableLookup() - xpathVariableLookupNS() - - # functions from module xpointer - xpointerEval() - - -Class xmlAttribute(xmlNode) -Class catalog() - - # functions from module catalog - add() - catalogIsEmpty() - convertSGMLCatalog() - dump() - remove() - resolve() - resolvePublic() - resolveSystem() - resolveURI() - - -Class xmlElement(xmlNode) Class xmlAttr(xmlNode) @@ -704,95 +654,12 @@ Class xmlAttr(xmlNode) # functions from module valid removeID() removeRef() - - -Class xmlTextReader(xmlTextReaderCore) - - # functions from module xmlreader - AttributeCount() - BaseUri() - Close() - CurrentDoc() - CurrentNode() - Depth() - Expand() - GetAttribute() - GetAttributeNo() - GetAttributeNs() - GetParserProp() - GetRemainder() - HasAttributes() - HasValue() - IsDefault() - IsEmptyElement() - IsValid() - LocalName() - LookupNamespace() - MoveToAttribute() - MoveToAttributeNo() - MoveToAttributeNs() - MoveToElement() - MoveToFirstAttribute() - MoveToNextAttribute() - Name() - NamespaceUri() - NewDoc() - NewFd() - NewFile() - NewMemory() - NewWalker() - Next() - NextSibling() - NodeType() - Normalization() - Prefix() - Preserve() - QuoteChar() - Read() - ReadAttributeValue() - ReadInnerXml() - ReadOuterXml() - ReadState() - ReadString() - RelaxNGSetSchema() - RelaxNGValidate() - SetParserProp() - String() - Value() - XmlLang() Class xmlReg() # functions from module xmlregexp regexpExec() regexpIsDeterminist() regexpPrint() - - -Class xmlEntity(xmlNode) - - # functions from module parserInternals - handleEntity() -Class relaxNgSchema() - - # functions from module relaxng - relaxNGDump() - relaxNGDumpTree() - relaxNGNewValidCtxt() - - # functions from module xmlreader - RelaxNGSetSchema() -Class Error() - # accessors - code() - domain() - file() - level() - line() - message() - - # functions from module xmlerror - copyError() - resetError() Class relaxNgValidCtxt() # functions from module relaxng @@ -801,73 +668,6 @@ Class relaxNgValidCtxt() relaxNGValidatePopElement() relaxNGValidatePushCData() relaxNGValidatePushElement() -Class xpathParserContext() - # accessors - context() - - # functions from module xpathInternals - xpathAddValues() - xpathBooleanFunction() - xpathCeilingFunction() - xpathCompareValues() - xpathConcatFunction() - xpathContainsFunction() - xpathCountFunction() - xpathDivValues() - xpathEqualValues() - xpathErr() - xpathEvalExpr() - xpathFalseFunction() - xpathFloorFunction() - xpathFreeParserContext() - xpathIdFunction() - xpathLangFunction() - xpathLastFunction() - xpathLocalNameFunction() - xpathModValues() - xpathMultValues() - xpathNamespaceURIFunction() - xpathNextAncestor() - xpathNextAncestorOrSelf() - xpathNextAttribute() - xpathNextChild() - xpathNextDescendant() - xpathNextDescendantOrSelf() - xpathNextFollowing() - xpathNextFollowingSibling() - xpathNextNamespace() - xpathNextParent() - xpathNextPreceding() - xpathNextPrecedingSibling() - xpathNextSelf() - xpathNormalizeFunction() - xpathNotEqualValues() - xpathNotFunction() - xpathNumberFunction() - xpathParseNCName() - xpathParseName() - xpathPopBoolean() - xpathPopNumber() - xpathPopString() - xpathPositionFunction() - xpathRoot() - xpathRoundFunction() - xpathStartsWithFunction() - xpathStringFunction() - xpathStringLengthFunction() - xpathSubValues() - xpathSubstringAfterFunction() - xpathSubstringBeforeFunction() - xpathSubstringFunction() - xpathSumFunction() - xpathTranslateFunction() - xpathTrueFunction() - xpathValueFlipSign() - xpatherror() - - # functions from module xpointer - xpointerEvalRangePredicate() - xpointerRangeToFunction() Class parserCtxt(parserCtxtCore) @@ -975,6 +775,90 @@ Class xmlDtd(xmlNode) dtdElementDesc() dtdQAttrDesc() dtdQElementDesc() +Class relaxNgParserCtxt() + + # functions from module relaxng + relaxNGParse() + relaxParserSetFlag() +Class xpathParserContext() + # accessors + context() + + # functions from module xpathInternals + xpathAddValues() + xpathBooleanFunction() + xpathCeilingFunction() + xpathCompareValues() + xpathConcatFunction() + xpathContainsFunction() + xpathCountFunction() + xpathDivValues() + xpathEqualValues() + xpathErr() + xpathEvalExpr() + xpathFalseFunction() + xpathFloorFunction() + xpathFreeParserContext() + xpathIdFunction() + xpathLangFunction() + xpathLastFunction() + xpathLocalNameFunction() + xpathModValues() + xpathMultValues() + xpathNamespaceURIFunction() + xpathNextAncestor() + xpathNextAncestorOrSelf() + xpathNextAttribute() + xpathNextChild() + xpathNextDescendant() + xpathNextDescendantOrSelf() + xpathNextFollowing() + xpathNextFollowingSibling() + xpathNextNamespace() + xpathNextParent() + xpathNextPreceding() + xpathNextPrecedingSibling() + xpathNextSelf() + xpathNormalizeFunction() + xpathNotEqualValues() + xpathNotFunction() + xpathNumberFunction() + xpathParseNCName() + xpathParseName() + xpathPopBoolean() + xpathPopNumber() + xpathPopString() + xpathPositionFunction() + xpathRoot() + xpathRoundFunction() + xpathStartsWithFunction() + xpathStringFunction() + xpathStringLengthFunction() + xpathSubValues() + xpathSubstringAfterFunction() + xpathSubstringBeforeFunction() + xpathSubstringFunction() + xpathSumFunction() + xpathTranslateFunction() + xpathTrueFunction() + xpathValueFlipSign() + xpatherror() + + # functions from module xpointer + xpointerEvalRangePredicate() + xpointerRangeToFunction() +Class catalog() + + # functions from module catalog + add() + catalogIsEmpty() + convertSGMLCatalog() + dump() + remove() + resolve() + resolvePublic() + resolveSystem() + resolveURI() Class xmlNs(xmlNode) @@ -998,40 +882,6 @@ Class xmlNs(xmlNode) # functions from module xpathInternals xpathNodeSetFreeNs() - - -Class inputBuffer(ioReadWrapper) - - # functions from module xmlIO - grow() - push() - read() - - # functions from module xmlreader - newTextReader() -Class relaxNgParserCtxt() - - # functions from module relaxng - relaxNGParse() - relaxParserSetFlag() - - -Class outputBuffer(ioWriteWrapper) - - # functions from module HTMLtree - htmlDocContentDumpFormatOutput() - htmlDocContentDumpOutput() - htmlNodeDumpFormatOutput() - htmlNodeDumpOutput() - - # functions from module tree - nodeDumpOutput() - saveFileTo() - saveFormatFileTo() - - # functions from module xmlIO - write() - writeString() Class xmlTextReaderLocator() # functions from module xmlreader @@ -1062,3 +912,153 @@ Class URI() parseURIReference() printURI() saveUri() + + +Class xmlAttribute(xmlNode) +Class xpathContext() + # accessors + contextDoc() + contextNode() + contextPosition() + contextSize() + function() + functionURI() + setContextDoc() + setContextNode() + + # functions from module python + registerXPathFunction() + + # functions from module xpath + xpathEval() + xpathEvalExpression() + xpathFreeContext() + + # functions from module xpathInternals + xpathNewParserContext() + xpathNsLookup() + xpathRegisterAllFunctions() + xpathRegisterNs() + xpathRegisteredFuncsCleanup() + xpathRegisteredNsCleanup() + xpathRegisteredVariablesCleanup() + xpathVariableLookup() + xpathVariableLookupNS() + + # functions from module xpointer + xpointerEval() + + +Class xmlElement(xmlNode) + + +Class xmlTextReader(xmlTextReaderCore) + + # functions from module xmlreader + AttributeCount() + BaseUri() + Close() + CurrentDoc() + CurrentNode() + Depth() + Expand() + GetAttribute() + GetAttributeNo() + GetAttributeNs() + GetParserProp() + GetRemainder() + HasAttributes() + HasValue() + IsDefault() + IsEmptyElement() + IsValid() + LocalName() + LookupNamespace() + MoveToAttribute() + MoveToAttributeNo() + MoveToAttributeNs() + MoveToElement() + MoveToFirstAttribute() + MoveToNextAttribute() + Name() + NamespaceUri() + NewDoc() + NewFd() + NewFile() + NewMemory() + NewWalker() + Next() + NextSibling() + NodeType() + Normalization() + Prefix() + Preserve() + QuoteChar() + Read() + ReadAttributeValue() + ReadInnerXml() + ReadOuterXml() + ReadState() + ReadString() + RelaxNGSetSchema() + RelaxNGValidate() + SetParserProp() + String() + Value() + XmlLang() + + +Class xmlEntity(xmlNode) + + # functions from module parserInternals + handleEntity() +Class Error() + # accessors + code() + domain() + file() + level() + line() + message() + + # functions from module xmlerror + copyError() + resetError() +Class relaxNgSchema() + + # functions from module relaxng + relaxNGDump() + relaxNGDumpTree() + relaxNGNewValidCtxt() + + # functions from module xmlreader + RelaxNGSetSchema() + + +Class inputBuffer(ioReadWrapper) + + # functions from module xmlIO + grow() + push() + read() + + # functions from module xmlreader + newTextReader() + + +Class outputBuffer(ioWriteWrapper) + + # functions from module HTMLtree + htmlDocContentDumpFormatOutput() + htmlDocContentDumpOutput() + htmlNodeDumpFormatOutput() + htmlNodeDumpOutput() + + # functions from module tree + nodeDumpOutput() + saveFileTo() + saveFormatFileTo() + + # functions from module xmlIO + write() + writeString() diff --git a/xmlIO.c b/xmlIO.c index 6447935b..6f65cade 100644 --- a/xmlIO.c +++ b/xmlIO.c @@ -476,7 +476,7 @@ xmlCleanupInputCallbacks(void) } /** - * xmlPopInputCallback: + * xmlPopInputCallbacks: * * Clear the top input callback from the input stack. this includes the * compiled-in I/O. diff --git a/xmlschemastypes.c b/xmlschemastypes.c index 78e10fc7..d503c9a5 100644 --- a/xmlschemastypes.c +++ b/xmlschemastypes.c @@ -456,7 +456,7 @@ xmlSchemaCleanupTypes(void) { } /** - * xmlSchemaGetBuiltInType: + * xmlSchemaIsBuiltInTypeFacet: * @type: the built-in type * @facetType: the facet type * @@ -738,8 +738,10 @@ xmlSchemaGetPredefinedType(const xmlChar *name, const xmlChar *ns) { * xmlSchemaGetBuiltInListSimpleTypeItemType: * @type: the built-in simple type. * - * Returns the item type of @type as defined by the built-in datatype - * hierarchy of XML Schema Part 2: Datatypes, or NULL in case of an error. + * Lookup a type in the built-in type database hierarchy of XML Schema + * Part 2:Datatypes. + * + * Returns the type if found, NULL otherwise. */ xmlSchemaTypePtr xmlSchemaGetBuiltInListSimpleTypeItemType(xmlSchemaTypePtr type)