diff --git a/ChangeLog b/ChangeLog index 619bc990..d659abb7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Mon Aug 4 22:40:54 CEST 2003 Daniel Veillard + + * doc/libxml2-api.xml doc/html/*: rebuilt the API and docs. + Mon Aug 4 21:40:34 CEST 2003 Daniel Veillard * tree.c: fixed a small problem in the patch for #118763 diff --git a/doc/html/index.sgml b/doc/html/index.sgml index 07636c85..d24b50dd 100644 --- a/doc/html/index.sgml +++ b/doc/html/index.sgml @@ -269,6 +269,7 @@ + @@ -514,11 +515,13 @@ + + @@ -840,6 +843,7 @@ + @@ -1214,6 +1218,8 @@ + + diff --git a/doc/html/libxml-encoding.html b/doc/html/libxml-encoding.html index 6ff158c1..dee2596e 100644 --- a/doc/html/libxml-encoding.html +++ b/doc/html/libxml-encoding.html @@ -96,6 +96,9 @@ int xmlUTF8Strloc int start, int len); int xmlUTF8Strlen (const xmlChar *utf); +int xmlUTF8Size (const xmlChar *utf); +int xmlUTF8Charcmp (const xmlChar *utf1, + const xmlChar *utf2);

Description

Details

enum xmlCharEncoding

typedef enum {
@@ -412,4 +415,17 @@ checking of the content of the string.

utf : a sequence of UTF-8 encoded bytes
Returns :the number of characters in the string or -1 in case of error +

xmlUTF8Size ()

int         xmlUTF8Size                     (const xmlChar *utf);

+

+ +

utf : pointer to the UTF8 character +
Returns :the numbers of bytes in the character, -1 on format error +

xmlUTF8Charcmp ()

int         xmlUTF8Charcmp                  (const xmlChar *utf1,
+                                             const xmlChar *utf2);

+

+ +

utf1 : pointer to first UTF8 char +
utf2 : pointer to second UTF8 char +
Returns :result of comparing the two UCS4 values +as with xmlStrncmp
diff --git a/doc/html/libxml-relaxng.html b/doc/html/libxml-relaxng.html index 0c908c61..a8b744b8 100644 --- a/doc/html/libxml-relaxng.html +++ b/doc/html/libxml-relaxng.html @@ -58,6 +58,10 @@ void xmlRelaxNGSe xmlRelaxNGValidityErrorFunc err, xmlRelaxNGValidityWarningFunc warn, void *ctx); +int xmlRelaxNGGetParserErrors (xmlRelaxNGParserCtxtPtr ctxt, + xmlRelaxNGValidityErrorFunc *err, + xmlRelaxNGValidityWarningFunc *warn, + void **ctx); xmlRelaxNGPtr xmlRelaxNGParse (xmlRelaxNGParserCtxtPtr ctxt); void xmlRelaxNGFree (xmlRelaxNGPtr schema); void xmlRelaxNGDump (FILE *output, @@ -68,6 +72,10 @@ void xmlRelaxNGSet xmlRelaxNGValidityErrorFunc err, xmlRelaxNGValidityWarningFunc warn, void *ctx); +int xmlRelaxNGGetValidErrors (xmlRelaxNGValidCtxtPtr ctxt, + xmlRelaxNGValidityErrorFunc *err, + xmlRelaxNGValidityWarningFunc *warn, + void **ctx); xmlRelaxNGValidCtxtPtr xmlRelaxNGNewValidCtxt (xmlRelaxNGPtr schema); void xmlRelaxNGFreeValidCtxt (xmlRelaxNGValidCtxtPtr ctxt); @@ -205,6 +213,17 @@ Set the callback functions used to handle errors for a validation context

err : the error callback warn : the warning callback ctx : contextual data for the callbacks +


xmlRelaxNGGetParserErrors ()

int         xmlRelaxNGGetParserErrors       (xmlRelaxNGParserCtxtPtr ctxt,
+                                             xmlRelaxNGValidityErrorFunc *err,
+                                             xmlRelaxNGValidityWarningFunc *warn,
+                                             void **ctx);

+Get the callback information used to handle errors for a validation context

+ +

ctxt : a Relax-NG validation 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.

xmlRelaxNGParse ()

xmlRelaxNGPtr xmlRelaxNGParse               (xmlRelaxNGParserCtxtPtr ctxt);

parse a schema definition resource and build an internal XML Shema struture which can be used to validate instances. @@ -239,6 +258,17 @@ Set the error and warning callback informations

err : the error function warn : the warning function ctx : the functions context +


xmlRelaxNGGetValidErrors ()

int         xmlRelaxNGGetValidErrors        (xmlRelaxNGValidCtxtPtr ctxt,
+                                             xmlRelaxNGValidityErrorFunc *err,
+                                             xmlRelaxNGValidityWarningFunc *warn,
+                                             void **ctx);

+Get the error and warning callback informations

+ +

ctxt : a Relax-NG 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

xmlRelaxNGNewValidCtxt ()

xmlRelaxNGValidCtxtPtr xmlRelaxNGNewValidCtxt
                                             (xmlRelaxNGPtr schema);

Create an XML RelaxNGs validation context based on the given schema

diff --git a/doc/html/libxml-tree.html b/doc/html/libxml-tree.html index b2f1248a..36052df8 100644 --- a/doc/html/libxml-tree.html +++ b/doc/html/libxml-tree.html @@ -103,6 +103,8 @@ int xmlValidateNMToken int len); xmlChar* xmlSplitQName2 (const xmlChar *name, xmlChar **prefix); +const xmlChar* xmlSplitQName3 (const xmlChar *name, + int *len); void xmlSetBufferAllocationScheme (xmlBufferAllocationScheme scheme); xmlBufferAllocationScheme xmlGetBufferAllocationScheme (void); @@ -1069,6 +1071,14 @@ parse an XML qualified name string prefix : a xmlChar ** Returns :NULL if not a QName, otherwise the local part, and prefix is updated to get the Prefix if any. +


xmlSplitQName3 ()

const xmlChar* xmlSplitQName3               (const xmlChar *name,
+                                             int *len);

+parse an XML qualified name string,i

+ +

name : the full QName +
len : an int * +
Returns :NULL if it is not a Qualified Name, otherwise, update len + with the lenght in byte of the prefix and return a pointer

xmlSetBufferAllocationScheme ()

void        xmlSetBufferAllocationScheme    (xmlBufferAllocationScheme scheme);

Set the buffer allocation method. Types are XML_BUFFER_ALLOC_EXACT - use exact sizes, keeps memory usage down diff --git a/doc/html/libxml-xinclude.html b/doc/html/libxml-xinclude.html index 5b483148..6a92c13f 100644 --- a/doc/html/libxml-xinclude.html +++ b/doc/html/libxml-xinclude.html @@ -33,12 +33,19 @@ int xmlXIncludeProcess (xmlDocPtr doc); +int xmlXIncludeProcessTree (xmlNodePtr tree);

Description

Details

xmlXIncludeProcess ()

int         xmlXIncludeProcess              (xmlDocPtr doc);

Implement the XInclude substitution on the XML document doc

doc : an XML document +
Returns :0 if no substitution were done, -1 if some processing failed + or the number of substitutions done. +

xmlXIncludeProcessTree ()

int         xmlXIncludeProcessTree          (xmlNodePtr tree);

+Implement the XInclude substitution for the given subtree

+ +

tree : a node in an XML document
Returns :0 if no substitution were done, -1 if some processing failed or the number of substitutions done.
diff --git a/doc/libxml2-api.xml b/doc/libxml2-api.xml index 98d47cfc..f11dfdbd 100644 --- a/doc/libxml2-api.xml +++ b/doc/libxml2-api.xml @@ -703,6 +703,7 @@ + @@ -836,6 +837,7 @@ + @@ -1219,6 +1221,25 @@ + + + + + + + + + + + + + + + + + + + @@ -1373,6 +1394,8 @@ + + @@ -1889,6 +1912,7 @@ + @@ -2137,6 +2161,8 @@ + + @@ -2274,6 +2300,9 @@ Whether iconv support is available + + Whether ISO-8859-* support is made available in case iconv is not + @@ -2747,6 +2776,24 @@ + + + + + + + + + + + + + + + + + + @@ -3659,6 +3706,7 @@ actually an xmlCharEncoding'/> + @@ -8152,6 +8200,22 @@ actually an xmlCharEncoding'/> + + Get the callback information used to handle errors for a validation context + + + + + + + + Get the error and warning callback informations + + + + + + Create an XML RelaxNGs parser context for that document. Note: since the process of compiling a RelaxNG schemas modifies the document, the @doc parameter is duplicated internally. @@ -8778,6 +8842,12 @@ actually an xmlCharEncoding'/> + + parse an XML qualified name string,i + + + + Deprecated, unsafe, use xmlSnprintfElementContent @@ -9973,6 +10043,17 @@ actually an xmlCharEncoding'/> + + + + + + + + + + + compute the length of an UTF8 string, it doesn't do a full UTF8 checking of the content of the string. @@ -10254,6 +10335,11 @@ actually an xmlCharEncoding'/> + + Implement the XInclude substitution for the given subtree + + + Implement the add operation on XPath objects: The numeric operators convert their operands to numbers as if by calling the number function. diff --git a/python/libxml2class.txt b/python/libxml2class.txt index f7ae984d..85e178bc 100644 --- a/python/libxml2class.txt +++ b/python/libxml2class.txt @@ -44,6 +44,8 @@ debugDumpString() shellPrintXPathError() # functions from module encoding +UTF8Charcmp() +UTF8Size() UTF8Strlen() UTF8Strloc() UTF8Strndup() @@ -428,6 +430,9 @@ Class xmlNode(xmlCore) isRef() validNormalizeAttributeValue() + # functions from module xinclude + xincludeProcessTree() + # functions from module xpath xpathCastNodeToNumber() xpathCastNodeToString()