diff --git a/ChangeLog b/ChangeLog index 90434f22..0c2db2b5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +Sun Jun 17 12:24:11 CEST 2001 Daniel Veillard + + * TODO: updated adding cleanup of generated doc + * configure.in: prepared to release 2.3.11 + * xmllint.c: added --version for bug reporting + * doc/html/*.html: rebuilt the doc + Sat Jun 16 23:23:33 CEST 2001 Daniel Veillard * xpath.c: first part of the work on selecting namespace to diff --git a/TODO b/TODO index 3ebdd30c..2ae1246b 100644 --- a/TODO +++ b/TODO @@ -9,6 +9,8 @@ TODO: ===== +- fix the C code prototype to bring back doc/libxml-undocumented.txt + to a reasonable level - Computation of base when HTTP redirect occurs, might affect HTTP interfaces. - listing all attributes in a node. diff --git a/configure.in b/configure.in index b16e280b..44b0fe05 100644 --- a/configure.in +++ b/configure.in @@ -6,7 +6,7 @@ AC_CANONICAL_HOST LIBXML_MAJOR_VERSION=2 LIBXML_MINOR_VERSION=3 -LIBXML_MICRO_VERSION=10 +LIBXML_MICRO_VERSION=11 LIBXML_VERSION=$LIBXML_MAJOR_VERSION.$LIBXML_MINOR_VERSION.$LIBXML_MICRO_VERSION LIBXML_VERSION_INFO=`expr $LIBXML_MAJOR_VERSION + $LIBXML_MINOR_VERSION`:$LIBXML_MICRO_VERSION:$LIBXML_MINOR_VERSION diff --git a/doc/html/index.sgml b/doc/html/index.sgml index 19885b19..d5bbcf15 100644 --- a/doc/html/index.sgml +++ b/doc/html/index.sgml @@ -8,6 +8,8 @@ + + @@ -273,11 +275,10 @@ - + - @@ -295,6 +296,8 @@ + + @@ -411,6 +414,7 @@ + @@ -473,7 +477,9 @@ + + @@ -676,7 +682,9 @@ + + @@ -750,6 +758,7 @@ + @@ -915,6 +924,11 @@ + + + + + diff --git a/doc/html/libxml-catalog.html b/doc/html/libxml-catalog.html index 1d9d5508..b10cab7d 100644 --- a/doc/html/libxml-catalog.html +++ b/doc/html/libxml-catalog.html @@ -122,7 +122,7 @@ NAME="LIBXML-CATALOG" >

Name

Synopsis

xmlLoadCatalog (const char *URL); void xmlLoadCatalogs (const char *paths); +void xmlCatalogCleanup (void); @@ -187,7 +191,7 @@ HREF="libxml-tree.html#XMLCHAR" >

Description

Details


xmlLoadCatalogs ()

void        xmlLoadCatalogs                 (const char *paths);

paths : 





Name

Synopsis

Description

Details
















Name

Synopsis

Description

Details



















Name

Synopsis

xmlCheckUTF8 (unsigned char *utf); int xmlUTF8Strsize (const xmlChar *utf, + int len); +xmlChar* xmlUTF8Strndup (const xmlChar *utf, + int len); +xmlChar* xmlUTF8Strpos (const xmlChar *utf, + int pos); +int xmlUTF8Strloc (const xmlChar *utf, + const xmlChar *utfchar); +xmlChar* xmlUTF8Strsub (const xmlChar *utf, + int start, + int len); +int xmlUTF8Strlen (unsigned char *utf); (const xmlChar *utf);

Description

Details

























xmlUTF8Strsize ()

int         xmlUTF8Strsize                  (const xmlChar *utf,
+                                             int len);

storage size of an UTF8 string

utf : a sequence of UTF-8 encoded bytes
len : the number of characters in the array
Returns :the storage size of +the first 'len' characters of ARRAY


xmlUTF8Strndup ()

xmlChar*    xmlUTF8Strndup                  (const xmlChar *utf,
+                                             int len);

a strndup for array of UTF8's

utf : the input UTF8 *
len : the len of utf (in chars)
Returns :a new UTF8 * or NULL


xmlUTF8Strpos ()

xmlChar*    xmlUTF8Strpos                   (const xmlChar *utf,
+                                             int pos);

a function to provide the equivalent of fetching a +character from a string array

utf : the input UTF8 *
pos : the position of the desired UTF8 char (in chars)
Returns :a pointer to the UTF8 character or NULL


xmlUTF8Strloc ()

int         xmlUTF8Strloc                   (const xmlChar *utf,
+                                             const xmlChar *utfchar);

a function to provide relative location of a UTF8 char

utf : the input UTF8 *
utfchar : the UTF8 character to be found
Returns :the relative character position of the desired char +or -1 if not found


xmlUTF8Strsub ()

xmlChar*    xmlUTF8Strsub                   (const xmlChar *utf,
+                                             int start,
+                                             int len);

start: relative pos of first char +len: total number to copy

Note: positions are given in units of UTF-8 chars

utf : a sequence of UTF-8 encoded bytes
start : 
len : 
Returns :a pointer to a newly created string +or NULL if any problem


int         xmlUTF8Strlen                   (unsigned char *utf);
int xmlUTF8Strlen (const
xmlChar *utf);

Name

Synopsis

Description

Details




















Name

Synopsis

Description

Details










struct htmlElemDesc { const char *name; /* The tag name */ - char startTag; /* Whether the start tag can be implied */ - char endTag; /* Whether the end tag can be implied */ - char saveEndTag; /* Whether the end tag should be saved */ - char empty; /* Is this an empty element ? */ - char depr; /* Is this a deprecated element ? */ - char dtd; /* 1: only in Loose DTD, 2: only Frameset one */ + char startTag; /* Whether the start tag can be implied */ + char endTag; /* Whether the end tag can be implied */ + char saveEndTag; /* Whether the end tag should be saved */ + char empty; /* Is this an empty element ? */ + char depr; /* Is this a deprecated element ? */ + char dtd; /* 1: only in Loose DTD, 2: only Frameset one */ + char isinline; /* is this a block 0 or inline 1 element */ const char *desc; /* the description */ };






















Name

Synopsis

xmlNodePtr cur); int htmlNodeDumpFileFormat (FILE *out, + xmlDocPtr doc, + xmlNodePtr cur, + const char *encoding, + int format); +int htmlSaveFileEnc (const char *filename, @@ -283,7 +300,17 @@ HREF="libxml-htmltree.html#HTMLSAVEFILEENC" HREF="libxml-tree.html#XMLDOCPTR" >xmlDocPtr cur, - const char *encoding);htmlSaveFileFormat (const char *filename, + xmlDocPtr cur, + const char *encoding, + int format);

Description

Details










OUT: the memory lenght OUT: the memory length



Dump an HTML node, recursive behaviour,children are printed too.

Dump an HTML node, recursive behaviour,children are printed too, +and formatting returns are added.


Dump an HTML node, recursive behaviour,children are printed too.

Dump an HTML node, recursive behaviour,children are printed too, +and formatting returns are added.


htmlNodeDumpFileFormat ()

int         htmlNodeDumpFileFormat          (FILE *out,
+                                             xmlDocPtr doc,
+                                             xmlNodePtr cur,
+                                             const char *encoding,
+                                             int format);

Dump an HTML node, recursive behaviour,children are printed too.

TODO: if encoding == NULL try to save in the doc encoding

out : the FILE pointer
doc : the document
cur : the current node
encoding : the document encoding
format : should formatting spaces been added
Returns : the number of byte written or -1 in case of failure.



htmlSaveFileFormat ()

int         htmlSaveFileFormat              (const char *filename,
+                                             xmlDocPtr cur,
+                                             const char *encoding,
+                                             int format);

Dump an HTML document to a file using a given encoding.

filename : the filename
cur : the document
encoding : the document encoding
format : should formatting spaces been added

Name

Synopsis

Description

Details























Name

Synopsis

xmlNanoHTTPMethodRedir (const char *URL, + const char *method, + const char *input, + char **contentType, + char **redir, + const char *headers); +void* xmlNanoHTTPOpen (const char *URL, char **contentType); +void* xmlNanoHTTPOpenRedir (const char *URL, + char **contentType, + char **redir); int xmlNanoHTTPReturnCode

Description

Details






xmlNanoHTTPMethodRedir ()

void*       xmlNanoHTTPMethodRedir          (const char *URL,
+                                             const char *method,
+                                             const char *input,
+                                             char **contentType,
+                                             char **redir,
+                                             const char *headers);

This function try to open a connection to the indicated resource +via HTTP using the given method, adding the given extra headers +and the input buffer for the request content.

URL : The URL to load
method : the HTTP method to use
input : the input string if any
contentType : the Content-Type information IN and OUT
redir : the redirected URL OUT
headers : the extra headers



xmlNanoHTTPOpenRedir ()

void*       xmlNanoHTTPOpenRedir            (const char *URL,
+                                             char **contentType,
+                                             char **redir);

This function try to open a connection to the indicated resource +via HTTP GET.

URL : The URL to load
contentType : if available the Content-Type information will be +returned at that location
redir : if availble the redirected URL will be returned






xmlParserInputState; +#define XML_DETECT_IDS +#define XML_COMPLETE_ATTRS struct xmlParserCtxt

Description

Details










XML_DETECT_IDS

#define XML_DETECT_IDS		2

Bit in the loadsubset context field to tell to do ID/REFs lookups +Use it to initialize xmlLoadExtDtdDefaultValue


XML_COMPLETE_ATTRS

#define XML_COMPLETE_ATTRS	4

Bit in the loadsubset context field to tell to do complete the +elements attributes lists with the ones defaulted from the DTDs +Use it to initialize xmlLoadExtDtdDefaultValue

















ctx : 


endDocumentSAXFunc ()

void        (*endDocumentSAXFunc)           (void *ctx);

endDocumentSAXFunc ()

void        (*endDocumentSAXFunc)           (void *ctx);

ctx : 


startElementSAXFunc ()






















































































Name

Synopsis

Description

Details



















































































































Name

Synopsis

Description

Details





































Name

Synopsis

xmlChar *name); -int xmlUnsetProp (xmlNodePtr node, - const xmlChar *name); xmlAttrPtrxmlAttrPtr xmlHasNsProp (xmlNodePtr node, + const xmlChar *name, + const xmlChar *nameSpace); +xmlAttrPtr xmlSetNsProp (xmlChar *nameSpace); -int xmlUnsetNsProp (xmlNodePtr node, - xmlNsPtr ns, - const xmlChar *name); xmlNodePtrxmlNodePtr node); +int xmlUnsetProp (xmlNodePtr node, + const xmlChar *name); +int xmlUnsetNsProp (xmlNodePtr node, + xmlNsPtr ns, + const xmlChar *name); void xmlBufferWriteXmlCHAR

Description

Details




























































































































xmlUnsetProp ()

int         xmlUnsetProp                    (xmlNodePtr node,
-                                             const xmlChar *name);

Remove an attribute carried by a node.

node : the node
name : the attribute name
Returns :0 if successful, -1 if not found



xmlHasNsProp ()

xmlAttrPtr  xmlHasNsProp                    (xmlNodePtr node,
+                                             const xmlChar *name,
+                                             const xmlChar *nameSpace);

Search for an attribute associated to a node +This attribute has to be anchored in the namespace specified. +This does the entity substitution. +This function looks in DTD attribute declaration for FIXED or +default declaration values unless DTD use has been turned off.

node : the node
name : the attribute name
nameSpace : the URI of the namespace
Returns :the attribute or the attribute declaration or NULL +if neither was found.




xmlUnsetNsProp ()

int         xmlUnsetNsProp                  (xmlNodePtr node,
-                                             xmlNsPtr ns,
-                                             const xmlChar *name);

Remove an attribute carried by a node.

node : the node
ns : the namespace definition
name : the attribute name
Returns :0 if successful, -1 if not found



















xmlUnsetProp ()

int         xmlUnsetProp                    (xmlNodePtr node,
+                                             const xmlChar *name);

Remove an attribute carried by a node.

node : the node
name : the attribute name
Returns :0 if successful, -1 if not found


xmlUnsetNsProp ()

int         xmlUnsetNsProp                  (xmlNodePtr node,
+                                             xmlNsPtr ns,
+                                             const xmlChar *name);

Remove an attribute carried by a node.

node : the node
ns : the namespace definition
name : the attribute name
Returns :0 if successful, -1 if not found



xmlURIPtr

typedef xmlURI *xmlURIPtr;


the new structure or NULL in case of error 

the URI instance found in the document  the base value a new URI string (to be freed by the caller) or NULL in case -of error. 

a newly build xmlURIPtr or NULL in case of error 

pointer to an URI structure  the string to analyze 0 or the error code 

pointer to an xmlURI a new string (to be deallocated by caller) 

a FILE* for the output  pointer to an xmlURI 

xmlURIEscapeStr ()

xmlChar*    xmlURIEscapeStr                 (const xmlChar *str,
+                                             const xmlChar *list);

This routine escapes a string to hex, ignoring reserved characters (a-z) +and the characters in the exception list.

str : 
list : 
Returns : 


the string to unescape  the lenght in bytes to unescape (or <= 0 to indicate full string)  optionnal destination buffer an copy of the string, but unescaped 

pointer to the path string 0 or an error code 

TODO: make the proper implementation of this function by calling -xmlParseURIReference() and escaping each section accordingly -to the rules (c.f. bug 51876)

the string of the URI to escape an copy of the string, but escaped 

pointer to an xmlURI 

Name

Synopsis

Description

Details


































































Name

Synopsis

Description

Details

Name

Synopsis

Description

Details









Name

Synopsis

Description

Details









































Dump an HTML document. Formating return/spaces are added.

  the HTML buffer output  the document  the encoding string

Name

Synopsis

Description

Details



















Name

Synopsis

Description

Details



























































Name

Synopsis

Description

Details













































































































Name

Synopsis

Description

Details