1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-29 11:41:22 +03:00

- HTMLtree.h debugXML.h parserInternals.h tree.h valid.c

xmlversion.h.in xpathInternals.h xpath.h: some cleanup for gtk-doc
- doc/html/* : rebuilt the docs
- valid.c: small patch which may improve some case when
  validating.
Daniel
This commit is contained in:
Daniel Veillard
2001-05-19 14:59:49 +00:00
parent f69bb4b5bf
commit bed7b052a3
41 changed files with 7944 additions and 1441 deletions

View File

@ -1,3 +1,11 @@
Sat May 19 16:50:47 CEST 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
* HTMLtree.h debugXML.h parserInternals.h tree.h valid.c
xmlversion.h.in xpathInternals.h xpath.h: some cleanup for gtk-doc
* doc/html/* : rebuilt the docs
* valid.c: small patch which may improve some case when
validating.
Sat May 19 15:20:03 CEST 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
* HTMLparser.c: Closed bug #54891

View File

@ -19,10 +19,40 @@
extern "C" {
#endif
/**
* HTML_TEXT_NODE:
*
* Macro, a text node in a HTML document is really implemented
* the same way as a text node in an XML document.
*/
#define HTML_TEXT_NODE XML_TEXT_NODE
/**
* HTML_ENTITY_REF_NODE:
*
* Macro, an entity reference in a HTML document is really implemented
* the same way as an entity reference in an XML document.
*/
#define HTML_ENTITY_REF_NODE XML_ENTITY_REF_NODE
/**
* HTML_COMMENT_NODE:
*
* Macro, a comment in a HTML document is really implemented
* the same way as a comment in an XML document.
*/
#define HTML_COMMENT_NODE XML_COMMENT_NODE
/**
* HTML_PRESERVE_NODE:
*
* Macro, a preserved node in a HTML document is really implemented
* the same way as a CDATA section in an XML document.
*/
#define HTML_PRESERVE_NODE XML_CDATA_SECTION_NODE
/**
* HTML_PI_NODE:
*
* Macro, a processing instruction in a HTML document is really implemented
* the same way as a processing instruction in an XML document.
*/
#define HTML_PI_NODE XML_PI_NODE
htmlDocPtr htmlNewDoc (const xmlChar *URI,

View File

@ -65,8 +65,10 @@ void xmlLsOneNode (FILE *output,
*/
typedef char * (* xmlShellReadlineFunc)(char *prompt);
/*
* The shell context itself
/**
* xmlShellCtxt:
*
* A debugging shell context
* TODO: add the defined function tables.
*/
typedef struct _xmlShellCtxt xmlShellCtxt;

View File

@ -4,11 +4,12 @@
>Gnome XML Library Reference Manual</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><LINK
CONTENT="Modular DocBook HTML Stylesheet Version 1.59"><LINK
REL="NEXT"
TITLE="Libxml Programming Notes"
HREF="libxml-notes.html"></HEAD
><BODY
CLASS="BOOK"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
@ -43,7 +44,10 @@ NAME="AEN2"
></TABLE
><H3
CLASS="AUTHOR"
>Daniel Veillard</H3
><A
NAME="AEN5"
>Daniel Veillard</A
></H3
><DIV
CLASS="AFFILIATION"
><DIV
@ -56,13 +60,13 @@ CLASS="ADDRESS"
></DIV
><P
CLASS="COPYRIGHT"
>Copyright &copy; 1999 by <SPAN
CLASS="HOLDER"
>Daniel Veillard</SPAN
></P
>Copyright &copy; 1999 by Daniel Veillard</P
><DIV
><DIV
CLASS="ABSTRACT"
><A
NAME="AEN18"
></A
><P
></P
><P
@ -75,6 +79,9 @@ CLASS="ABSTRACT"
></DIV
><DIV
CLASS="LEGALNOTICE"
><A
NAME="AEN14"
></A
><P
></P
><P

View File

@ -4,7 +4,7 @@
>catalog</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><LINK
CONTENT="Modular DocBook HTML Stylesheet Version 1.59"><LINK
REL="HOME"
TITLE="Gnome XML Library Reference Manual"
HREF="book1.html"><LINK
@ -18,6 +18,7 @@ REL="NEXT"
TITLE="DOCBparser"
HREF="libxml-docbparser.html"></HEAD
><BODY
CLASS="REFENTRY"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
@ -121,7 +122,7 @@ NAME="LIBXML-CATALOG"
><DIV
CLASS="REFNAMEDIV"
><A
NAME="AEN16738"
NAME="AEN17250"
></A
><H2
>Name</H2
@ -129,7 +130,7 @@ NAME="AEN16738"
><DIV
CLASS="REFSYNOPSISDIV"
><A
NAME="AEN16741"
NAME="AEN17253"
></A
><H2
>Synopsis</H2
@ -186,7 +187,7 @@ HREF="libxml-tree.html#XMLCHAR"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN16754"
NAME="AEN17266"
></A
><H2
>Description</H2
@ -196,14 +197,14 @@ NAME="AEN16754"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN16757"
NAME="AEN17269"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
NAME="AEN16759"
NAME="AEN17271"
></A
><H3
><A
@ -227,6 +228,9 @@ CLASS="PROGRAMLISTING"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN17276"
></A
><P
></P
><TABLE
@ -236,6 +240,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -266,8 +271,9 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&#13;</TD
>&nbsp;</TD
></TR
></TBODY
></TABLE
><P
></P
@ -276,7 +282,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN16777"
NAME="AEN17289"
></A
><H3
><A
@ -304,7 +310,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN16783"
NAME="AEN17295"
></A
><H3
><A
@ -333,6 +339,9 @@ HREF="FILE-CAPS"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN17302"
></A
><P
></P
><TABLE
@ -342,6 +351,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -359,6 +369,7 @@ ALIGN="LEFT"
VALIGN="TOP"
> the file.</TD
></TR
></TBODY
></TABLE
><P
></P
@ -367,7 +378,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN16799"
NAME="AEN17311"
></A
><H3
><A
@ -399,6 +410,9 @@ HREF="libxml-tree.html#XMLCHAR"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN17319"
></A
><P
></P
><TABLE
@ -408,6 +422,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -440,6 +455,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>the resource name if found or NULL otherwise.</TD
></TR
></TBODY
></TABLE
><P
></P
@ -448,7 +464,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN16820"
NAME="AEN17332"
></A
><H3
><A
@ -480,6 +496,9 @@ HREF="libxml-tree.html#XMLCHAR"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN17340"
></A
><P
></P
><TABLE
@ -489,6 +508,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -521,6 +541,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>the system ID if found or NULL otherwise.</TD
></TR
></TBODY
></TABLE
><P
></P

View File

@ -4,7 +4,7 @@
>debugXML</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><LINK
CONTENT="Modular DocBook HTML Stylesheet Version 1.59"><LINK
REL="HOME"
TITLE="Gnome XML Library Reference Manual"
HREF="book1.html"><LINK
@ -18,6 +18,7 @@ REL="NEXT"
TITLE="xmlmemory"
HREF="libxml-xmlmemory.html"></HEAD
><BODY
CLASS="REFENTRY"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
@ -121,7 +122,7 @@ NAME="LIBXML-DEBUGXML"
><DIV
CLASS="REFNAMEDIV"
><A
NAME="AEN20558"
NAME="AEN21140"
></A
><H2
>Name</H2
@ -129,7 +130,7 @@ NAME="AEN20558"
><DIV
CLASS="REFSYNOPSISDIV"
><A
NAME="AEN20561"
NAME="AEN21143"
></A
><H2
>Synopsis</H2
@ -321,7 +322,7 @@ HREF="FILE-CAPS"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN20608"
NAME="AEN21190"
></A
><H2
>Description</H2
@ -331,14 +332,14 @@ NAME="AEN20608"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN20611"
NAME="AEN21193"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
NAME="AEN20613"
NAME="AEN21195"
></A
><H3
><A
@ -369,6 +370,9 @@ HREF="libxml-tree.html#XMLCHAR"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN21202"
></A
><P
></P
><TABLE
@ -378,6 +382,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -410,8 +415,9 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&#13;</TD
>&nbsp;</TD
></TR
></TBODY
></TABLE
><P
></P
@ -420,7 +426,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN20633"
NAME="AEN21215"
></A
><H3
><A
@ -452,6 +458,9 @@ HREF="libxml-tree.html#XMLATTRPTR"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN21222"
></A
><P
></P
><TABLE
@ -461,6 +470,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -510,8 +520,9 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&#13;</TD
>&nbsp;</TD
></TR
></TBODY
></TABLE
><P
></P
@ -520,7 +531,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN20657"
NAME="AEN21239"
></A
><H3
><A
@ -552,6 +563,9 @@ HREF="libxml-tree.html#XMLATTRPTR"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN21246"
></A
><P
></P
><TABLE
@ -561,6 +575,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -610,8 +625,9 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&#13;</TD
>&nbsp;</TD
></TR
></TBODY
></TABLE
><P
></P
@ -620,7 +636,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN20681"
NAME="AEN21263"
></A
><H3
><A
@ -652,6 +668,9 @@ HREF="libxml-tree.html#XMLNODEPTR"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN21270"
></A
><P
></P
><TABLE
@ -661,6 +680,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -710,8 +730,9 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&#13;</TD
>&nbsp;</TD
></TR
></TBODY
></TABLE
><P
></P
@ -720,7 +741,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN20705"
NAME="AEN21287"
></A
><H3
><A
@ -752,6 +773,9 @@ HREF="libxml-tree.html#XMLNODEPTR"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN21294"
></A
><P
></P
><TABLE
@ -761,6 +785,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -810,8 +835,9 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&#13;</TD
>&nbsp;</TD
></TR
></TBODY
></TABLE
><P
></P
@ -820,7 +846,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN20729"
NAME="AEN21311"
></A
><H3
><A
@ -852,6 +878,9 @@ HREF="libxml-tree.html#XMLNODEPTR"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN21318"
></A
><P
></P
><TABLE
@ -861,6 +890,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -910,8 +940,9 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&#13;</TD
>&nbsp;</TD
></TR
></TBODY
></TABLE
><P
></P
@ -920,7 +951,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN20753"
NAME="AEN21335"
></A
><H3
><A
@ -951,6 +982,9 @@ HREF="libxml-tree.html#XMLDOCPTR"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN21342"
></A
><P
></P
><TABLE
@ -960,6 +994,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -992,8 +1027,9 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&#13;</TD
>&nbsp;</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1002,7 +1038,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN20773"
NAME="AEN21355"
></A
><H3
><A
@ -1033,6 +1069,9 @@ HREF="libxml-tree.html#XMLDOCPTR"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN21362"
></A
><P
></P
><TABLE
@ -1042,6 +1081,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1074,8 +1114,9 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&#13;</TD
>&nbsp;</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1084,7 +1125,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN20793"
NAME="AEN21375"
></A
><H3
><A
@ -1115,6 +1156,9 @@ HREF="libxml-tree.html#XMLDTDPTR"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN21382"
></A
><P
></P
><TABLE
@ -1124,6 +1168,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1156,8 +1201,9 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&#13;</TD
>&nbsp;</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1166,7 +1212,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN20813"
NAME="AEN21395"
></A
><H3
><A
@ -1197,6 +1243,9 @@ HREF="libxml-tree.html#XMLDOCPTR"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN21402"
></A
><P
></P
><TABLE
@ -1206,6 +1255,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1238,8 +1288,9 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&#13;</TD
>&nbsp;</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1248,7 +1299,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN20833"
NAME="AEN21415"
></A
><H3
><A
@ -1279,6 +1330,9 @@ HREF="libxml-tree.html#XMLNODEPTR"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN21422"
></A
><P
></P
><TABLE
@ -1288,6 +1342,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1320,8 +1375,9 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&#13;</TD
>&nbsp;</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1330,7 +1386,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN20853"
NAME="AEN21435"
></A
><H3
><A
@ -1351,9 +1407,14 @@ CLASS="PROGRAMLISTING"
></TR
></TABLE
><P
>This is a generic signature for the XML shell input function</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN21441"
></A
><P
></P
><TABLE
@ -1363,6 +1424,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1378,7 +1440,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
> a string prompt</TD
></TR
><TR
><TD
@ -1393,8 +1455,9 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&#13;</TD
>a string which will be freed by the Shell</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1403,7 +1466,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN20871"
NAME="AEN21454"
></A
><H3
><A
@ -1432,12 +1495,15 @@ CLASS="PROGRAMLISTING"
></TR
></TABLE
><P
>A debugging shell context
TODO: add the defined function tables.</P
><P
></P
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN20876"
NAME="AEN21460"
></A
><H3
><A
@ -1463,7 +1529,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN20881"
NAME="AEN21465"
></A
><H3
><A
@ -1496,9 +1562,14 @@ HREF="libxml-tree.html#XMLNODEPTR"
></TR
></TABLE
><P
>This is a generic signature for the XML shell functions</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN21474"
></A
><P
></P
><TABLE
@ -1508,6 +1579,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1523,7 +1595,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
> a shell context</TD
></TR
><TR
><TD
@ -1540,7 +1612,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
> a string argument</TD
></TR
><TR
><TD
@ -1557,7 +1629,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
> a first node</TD
></TR
><TR
><TD
@ -1574,7 +1646,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
> a second node</TD
></TR
><TR
><TD
@ -1589,8 +1661,9 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&#13;</TD
>an int, negative returns indicating errors</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1599,7 +1672,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN20914"
NAME="AEN21499"
></A
><H3
><A
@ -1639,6 +1712,9 @@ using a environment similar to a UNIX commandline.</P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN21508"
></A
><P
></P
><TABLE
@ -1648,6 +1724,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1716,6 +1793,7 @@ ALIGN="LEFT"
VALIGN="TOP"
> the output FILE*</TD
></TR
></TBODY
></TABLE
><P
></P

View File

@ -4,7 +4,7 @@
>DOCBparser</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><LINK
CONTENT="Modular DocBook HTML Stylesheet Version 1.59"><LINK
REL="HOME"
TITLE="Gnome XML Library Reference Manual"
HREF="book1.html"><LINK
@ -18,6 +18,7 @@ REL="NEXT"
TITLE="parserInternals"
HREF="libxml-parserinternals.html"></HEAD
><BODY
CLASS="REFENTRY"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
@ -121,7 +122,7 @@ NAME="LIBXML-DOCBPARSER"
><DIV
CLASS="REFNAMEDIV"
><A
NAME="AEN16846"
NAME="AEN17358"
></A
><H2
>Name</H2
@ -129,7 +130,7 @@ NAME="AEN16846"
><DIV
CLASS="REFSYNOPSISDIV"
><A
NAME="AEN16849"
NAME="AEN17361"
></A
><H2
>Synopsis</H2
@ -293,7 +294,7 @@ HREF="libxml-docbparser.html#DOCBPARSERCTXTPTR"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN16886"
NAME="AEN17398"
></A
><H2
>Description</H2
@ -303,14 +304,14 @@ NAME="AEN16886"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN16889"
NAME="AEN17401"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
NAME="AEN16891"
NAME="AEN17403"
></A
><H3
><A
@ -336,7 +337,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN16896"
NAME="AEN17408"
></A
><H3
><A
@ -362,7 +363,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN16901"
NAME="AEN17413"
></A
><H3
><A
@ -388,7 +389,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN16906"
NAME="AEN17418"
></A
><H3
><A
@ -414,7 +415,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN16911"
NAME="AEN17423"
></A
><H3
><A
@ -440,7 +441,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN16916"
NAME="AEN17428"
></A
><H3
><A
@ -466,7 +467,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN16921"
NAME="AEN17433"
></A
><H3
><A
@ -492,7 +493,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN16926"
NAME="AEN17438"
></A
><H3
><A
@ -518,7 +519,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN16931"
NAME="AEN17443"
></A
><H3
><A
@ -544,7 +545,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN16936"
NAME="AEN17448"
></A
><H3
><A
@ -575,6 +576,9 @@ plus SGML entities block of chars out.</P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN17454"
></A
><P
></P
><TABLE
@ -584,6 +588,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -707,6 +712,7 @@ CLASS="PARAMETER"
></TT
> after return is the number of octets consumed.</TD
></TR
></TBODY
></TABLE
><P
></P
@ -715,7 +721,7 @@ CLASS="PARAMETER"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN16975"
NAME="AEN17487"
></A
><H3
><A
@ -755,6 +761,9 @@ If sax is NULL, fallback to the default DOM tree building routines.</P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN17496"
></A
><P
></P
><TABLE
@ -764,6 +773,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -847,6 +857,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>the resulting document tree</TD
></TR
></TBODY
></TABLE
><P
></P
@ -855,7 +866,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN17009"
NAME="AEN17521"
></A
><H3
><A
@ -888,6 +899,9 @@ HREF="libxml-tree.html#XMLCHAR"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN17529"
></A
><P
></P
><TABLE
@ -897,6 +911,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -946,6 +961,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>the resulting document tree</TD
></TR
></TBODY
></TABLE
><P
></P
@ -954,7 +970,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN17034"
NAME="AEN17546"
></A
><H3
><A
@ -992,6 +1008,9 @@ If sax is NULL, fallback to the default DOM tree building routines.</P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN17554"
></A
><P
></P
><TABLE
@ -1001,6 +1020,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1084,6 +1104,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>the resulting document tree</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1092,7 +1113,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN17067"
NAME="AEN17579"
></A
><H3
><A
@ -1124,6 +1145,9 @@ at compile-time.</P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN17586"
></A
><P
></P
><TABLE
@ -1133,6 +1157,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1182,6 +1207,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>the resulting document tree</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1190,7 +1216,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN17091"
NAME="AEN17603"
></A
><H3
><A
@ -1220,6 +1246,9 @@ document in ctxt-&gt;myDoc is not freed.</P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN17610"
></A
><P
></P
><TABLE
@ -1229,6 +1258,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1246,6 +1276,7 @@ ALIGN="LEFT"
VALIGN="TOP"
> an SGML parser context</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1254,7 +1285,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN17107"
NAME="AEN17619"
></A
><H3
><A
@ -1307,6 +1338,9 @@ and error/warning reports.</P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN17630"
></A
><P
></P
><TABLE
@ -1316,6 +1350,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1433,6 +1468,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>the new parser context or NULL</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1441,7 +1477,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN17151"
NAME="AEN17663"
></A
><H3
><A
@ -1473,6 +1509,9 @@ HREF="libxml-docbparser.html#DOCBPARSERCTXTPTR"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN17670"
></A
><P
></P
><TABLE
@ -1482,6 +1521,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1565,6 +1605,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>zero if no error, the xmlParserErrors otherwise.</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1573,7 +1614,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN17183"
NAME="AEN17695"
></A
><H3
><A
@ -1605,6 +1646,9 @@ by default if found at compile-time.</P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN17702"
></A
><P
></P
><TABLE
@ -1614,6 +1658,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1663,6 +1708,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>the new parser context or NULL</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1671,7 +1717,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN17207"
NAME="AEN17719"
></A
><H3
><A
@ -1701,6 +1747,9 @@ interface).</P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN17726"
></A
><P
></P
><TABLE
@ -1710,6 +1759,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1743,6 +1793,7 @@ VALIGN="TOP"
>0, -1 in case of error. the parser context is augmented
as a result of the parsing.</TD
></TR
></TBODY
></TABLE
><P
></P

View File

@ -4,7 +4,7 @@
>encoding</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><LINK
CONTENT="Modular DocBook HTML Stylesheet Version 1.59"><LINK
REL="HOME"
TITLE="Gnome XML Library Reference Manual"
HREF="book1.html"><LINK
@ -18,6 +18,7 @@ REL="NEXT"
TITLE="debugXML"
HREF="libxml-debugxml.html"></HEAD
><BODY
CLASS="REFENTRY"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
@ -121,7 +122,7 @@ NAME="LIBXML-ENCODING"
><DIV
CLASS="REFNAMEDIV"
><A
NAME="AEN20000"
NAME="AEN20570"
></A
><H2
>Name</H2
@ -129,7 +130,7 @@ NAME="AEN20000"
><DIV
CLASS="REFSYNOPSISDIV"
><A
NAME="AEN20003"
NAME="AEN20573"
></A
><H2
>Synopsis</H2
@ -324,7 +325,7 @@ HREF="libxml-encoding.html#XMLUTF8STRLEN"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN20048"
NAME="AEN20618"
></A
><H2
>Description</H2
@ -334,14 +335,14 @@ NAME="AEN20048"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN20051"
NAME="AEN20621"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
NAME="AEN20053"
NAME="AEN20623"
></A
><H3
><A
@ -387,12 +388,27 @@ CLASS="PROGRAMLISTING"
></TR
></TABLE
><P
>Predefined values for some standard encodings
Libxml don't do beforehand translation on UTF8, ISOLatinX
It also support UTF16 (LE and BE) by default.</P
><P
>Anything else would have to be translated to UTF8 before being
given to the parser itself. The BOM for UTF16 and the encoding
declaration are looked at and a converter is looked for at that
point. If not found the parser stops here as asked by the XML REC
Converter can be registered by the user using xmlRegisterCharEncodingHandler
but the currentl form doesn't allow stateful transcoding (a serious
problem agreed !). If iconv has been found it will be used
automatically and allow stateful transcoding, the simplest is then
to be sure to enable icon and to provide iconv libs for the encoding
support needed.</P
><P
></P
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN20058"
NAME="AEN20630"
></A
><H3
><A
@ -416,9 +432,15 @@ CLASS="PROGRAMLISTING"
></TR
></TABLE
><P
>Take a block of chars in the original encoding and try to convert
it to an UTF-8 block of chars out.</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN20636"
></A
><P
></P
><TABLE
@ -428,6 +450,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -443,7 +466,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
> a pointer ot an array of bytes to store the UTF-8 result</TD
></TR
><TR
><TD
@ -460,7 +483,12 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
> the lenght of <TT
CLASS="PARAMETER"
><I
>out</I
></TT
></TD
></TR
><TR
><TD
@ -477,7 +505,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
> a pointer ot an array of chars in the original encoding</TD
></TR
><TR
><TD
@ -494,7 +522,12 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
> the lenght of <TT
CLASS="PARAMETER"
><I
>in</I
></TT
></TD
></TR
><TR
><TD
@ -509,8 +542,23 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&#13;</TD
>the number of byte written, or -1 by lack of space, or -2
if the transcoding failed.
The value of <TT
CLASS="PARAMETER"
><I
>inlen</I
></TT
> after return is the number of octets consumed
as the return value is positive, else unpredictiable.
The value of <TT
CLASS="PARAMETER"
><I
>outlen</I
></TT
> after return is the number of ocetes consumed.</TD
></TR
></TBODY
></TABLE
><P
></P
@ -519,7 +567,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN20088"
NAME="AEN20665"
></A
><H3
><A
@ -543,9 +591,17 @@ CLASS="PROGRAMLISTING"
></TR
></TABLE
><P
>Take a block of UTF-8 chars in and try to convert it to an other
encoding.
Note: a first call designed to produce heading info is called with
in = NULL. If stateful this should also initialize the encoder state</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN20671"
></A
><P
></P
><TABLE
@ -555,6 +611,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -570,7 +627,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
> a pointer ot an array of bytes to store the result</TD
></TR
><TR
><TD
@ -587,7 +644,12 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
> the lenght of <TT
CLASS="PARAMETER"
><I
>out</I
></TT
></TD
></TR
><TR
><TD
@ -604,7 +666,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
> a pointer ot an array of UTF-8 chars</TD
></TR
><TR
><TD
@ -621,7 +683,12 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
> the lenght of <TT
CLASS="PARAMETER"
><I
>in</I
></TT
></TD
></TR
><TR
><TD
@ -636,8 +703,23 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&#13;</TD
>the number of byte written, or -1 by lack of space, or -2
if the transcoding failed.
The value of <TT
CLASS="PARAMETER"
><I
>inlen</I
></TT
> after return is the number of octets consumed
as the return value is positive, else unpredictiable.
The value of <TT
CLASS="PARAMETER"
><I
>outlen</I
></TT
> after return is the number of ocetes consumed.</TD
></TR
></TBODY
></TABLE
><P
></P
@ -646,7 +728,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN20118"
NAME="AEN20700"
></A
><H3
><A
@ -680,7 +762,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN20123"
NAME="AEN20705"
></A
><H3
><A
@ -706,7 +788,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN20128"
NAME="AEN20710"
></A
><H3
><A
@ -737,7 +819,7 @@ in normal processing.</P
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN20134"
NAME="AEN20716"
></A
><H3
><A
@ -766,7 +848,7 @@ unregisters all the encoding handlers and the aliases.</P
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN20140"
NAME="AEN20722"
></A
><H3
><A
@ -795,6 +877,9 @@ HREF="libxml-encoding.html#XMLCHARENCODINGHANDLERPTR"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN20729"
></A
><P
></P
><TABLE
@ -804,6 +889,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -821,6 +907,7 @@ ALIGN="LEFT"
VALIGN="TOP"
> the xmlCharEncodingHandlerPtr handler block</TD
></TR
></TBODY
></TABLE
><P
></P
@ -829,7 +916,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN20156"
NAME="AEN20738"
></A
><H3
><A
@ -862,6 +949,9 @@ HREF="libxml-encoding.html#XMLCHARENCODING"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN20746"
></A
><P
></P
><TABLE
@ -871,6 +961,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -903,6 +994,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>the handler or NULL if not found</TD
></TR
></TBODY
></TABLE
><P
></P
@ -911,7 +1003,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN20177"
NAME="AEN20759"
></A
><H3
><A
@ -939,6 +1031,9 @@ HREF="libxml-encoding.html#XMLCHARENCODINGHANDLERPTR"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN20765"
></A
><P
></P
><TABLE
@ -948,6 +1043,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -978,8 +1074,9 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&#13;</TD
>&nbsp;</TD
></TR
></TBODY
></TABLE
><P
></P
@ -988,7 +1085,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN20196"
NAME="AEN20778"
></A
><H3
><A
@ -1026,6 +1123,9 @@ will be overwritten.</P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN20786"
></A
><P
></P
><TABLE
@ -1035,6 +1135,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1084,6 +1185,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>0 in case of success, -1 in case of error</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1092,7 +1194,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN20221"
NAME="AEN20803"
></A
><H3
><A
@ -1123,6 +1225,9 @@ CLASS="PARAMETER"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN20810"
></A
><P
></P
><TABLE
@ -1132,6 +1237,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1164,6 +1270,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>0 in case of success, -1 in case of error</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1172,7 +1279,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN20241"
NAME="AEN20823"
></A
><H3
><A
@ -1198,6 +1305,9 @@ CLASS="PROGRAMLISTING"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN20829"
></A
><P
></P
><TABLE
@ -1207,6 +1317,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1239,6 +1350,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>NULL if not found the original name otherwise</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1247,7 +1359,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN20260"
NAME="AEN20842"
></A
><H3
><A
@ -1275,7 +1387,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN20266"
NAME="AEN20848"
></A
><H3
><A
@ -1306,6 +1418,9 @@ that the comparison is case insensitive accordingly to the section
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN20855"
></A
><P
></P
><TABLE
@ -1315,6 +1430,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1348,6 +1464,7 @@ VALIGN="TOP"
>one of the XML_CHAR_ENCODING_... values or XML_CHAR_ENCODING_NONE
if not recognized.</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1356,7 +1473,7 @@ if not recognized.</TD
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN20286"
NAME="AEN20868"
></A
><H3
><A
@ -1390,6 +1507,9 @@ Section 4.3.3 Character Encoding in Entities</P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN20876"
></A
><P
></P
><TABLE
@ -1399,6 +1519,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1431,6 +1552,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>the canonical name for the given encoding</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1439,7 +1561,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN20307"
NAME="AEN20889"
></A
><H3
><A
@ -1470,6 +1592,9 @@ accordingly of the non-normative appendix F of the XML-1.0 recommendation.</P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN20896"
></A
><P
></P
><TABLE
@ -1479,6 +1604,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1529,6 +1655,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>one of the XML_CHAR_ENCODING_... values.</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1537,7 +1664,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN20331"
NAME="AEN20913"
></A
><H3
><A
@ -1584,6 +1711,9 @@ the content will be automatically remapped to a CharRef sequence.</P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN20923"
></A
><P
></P
><TABLE
@ -1593,6 +1723,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1662,6 +1793,7 @@ VALIGN="TOP"
-2 if the transcoding fails (for *in is not valid utf8 string or
the result of transformation can't fit into the encoding we want), or</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1670,7 +1802,7 @@ the result of transformation can't fit into the encoding we want), or</TD
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN20362"
NAME="AEN20944"
></A
><H3
><A
@ -1707,6 +1839,9 @@ HREF="libxml-tree.html#XMLBUFFERPTR"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN20953"
></A
><P
></P
><TABLE
@ -1716,6 +1851,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1785,6 +1921,7 @@ VALIGN="TOP"
-2 if the transcoding fails (for *in is not valid utf8 string or
the result of transformation can't fit into the encoding we want), or</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1793,7 +1930,7 @@ the result of transformation can't fit into the encoding we want), or</TD
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN20392"
NAME="AEN20974"
></A
><H3
><A
@ -1831,6 +1968,9 @@ the very first line, i.e. limit itself to 45 chars.</P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN20983"
></A
><P
></P
><TABLE
@ -1840,6 +1980,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1909,6 +2050,7 @@ VALIGN="TOP"
-2 if the transcoding fails (for *in is not valid utf8 string or
the result of transformation can't fit into the encoding we want), or</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1917,7 +2059,7 @@ the result of transformation can't fit into the encoding we want), or</TD
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN20422"
NAME="AEN21004"
></A
><H3
><A
@ -1946,6 +2088,9 @@ HREF="libxml-encoding.html#XMLCHARENCODINGHANDLER"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN21011"
></A
><P
></P
><TABLE
@ -1955,6 +2100,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1987,6 +2133,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>0 if success, or -1 in case of error</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1995,7 +2142,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN20442"
NAME="AEN21024"
></A
><H3
><A
@ -2025,6 +2172,9 @@ block of chars out.</P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN21030"
></A
><P
></P
><TABLE
@ -2034,6 +2184,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -2140,6 +2291,7 @@ CLASS="PARAMETER"
></TT
> after return is the number of ocetes consumed.</TD
></TR
></TBODY
></TABLE
><P
></P
@ -2148,7 +2300,7 @@ CLASS="PARAMETER"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN20477"
NAME="AEN21059"
></A
><H3
><A
@ -2178,6 +2330,9 @@ block of chars out.</P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN21065"
></A
><P
></P
><TABLE
@ -2187,6 +2342,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -2293,6 +2449,7 @@ CLASS="PARAMETER"
></TT
> after return is the number of ocetes consumed.</TD
></TR
></TBODY
></TABLE
><P
></P
@ -2301,7 +2458,7 @@ CLASS="PARAMETER"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN20512"
NAME="AEN21094"
></A
><H3
><A
@ -2342,6 +2499,9 @@ routine checks for the 4-byte maxiumum size, but does not check for
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN21102"
></A
><P
></P
><TABLE
@ -2351,6 +2511,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -2388,6 +2549,7 @@ CLASS="PARAMETER"
></TT
> is valid.</TD
></TR
></TBODY
></TABLE
><P
></P
@ -2396,7 +2558,7 @@ CLASS="PARAMETER"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN20534"
NAME="AEN21116"
></A
><H3
><A
@ -2423,6 +2585,9 @@ checking of the content of the string.</P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN21122"
></A
><P
></P
><TABLE
@ -2432,6 +2597,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -2464,6 +2630,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>the number of characters in the string or -1 in case of error</TD
></TR
></TBODY
></TABLE
><P
></P

View File

@ -4,7 +4,7 @@
>entities</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><LINK
CONTENT="Modular DocBook HTML Stylesheet Version 1.59"><LINK
REL="HOME"
TITLE="Gnome XML Library Reference Manual"
HREF="book1.html"><LINK
@ -18,6 +18,7 @@ REL="NEXT"
TITLE="valid"
HREF="libxml-valid.html"></HEAD
><BODY
CLASS="REFENTRY"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
@ -121,7 +122,7 @@ NAME="LIBXML-ENTITIES"
><DIV
CLASS="REFNAMEDIV"
><A
NAME="AEN7344"
NAME="AEN7431"
></A
><H2
>Name</H2
@ -129,7 +130,7 @@ NAME="AEN7344"
><DIV
CLASS="REFSYNOPSISDIV"
><A
NAME="AEN7347"
NAME="AEN7434"
></A
><H2
>Synopsis</H2
@ -369,7 +370,7 @@ HREF="libxml-entities.html#XMLCLEANUPPREDEFINEDENTITIES"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN7410"
NAME="AEN7497"
></A
><H2
>Description</H2
@ -379,14 +380,14 @@ NAME="AEN7410"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN7413"
NAME="AEN7500"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
NAME="AEN7415"
NAME="AEN7502"
></A
><H3
><A
@ -419,7 +420,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN7420"
NAME="AEN7507"
></A
><H3
><A
@ -467,7 +468,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN7425"
NAME="AEN7512"
></A
><H3
><A
@ -493,7 +494,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN7430"
NAME="AEN7517"
></A
><H3
><A
@ -519,7 +520,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN7435"
NAME="AEN7522"
></A
><H3
><A
@ -547,7 +548,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN7441"
NAME="AEN7528"
></A
><H3
><A
@ -596,6 +597,9 @@ HREF="libxml-tree.html#XMLCHAR"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN7540"
></A
><P
></P
><TABLE
@ -605,6 +609,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -722,6 +727,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>a pointer to the entity or NULL in case of error</TD
></TR
></TBODY
></TABLE
><P
></P
@ -730,7 +736,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN7486"
NAME="AEN7573"
></A
><H3
><A
@ -779,6 +785,9 @@ HREF="libxml-tree.html#XMLCHAR"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN7585"
></A
><P
></P
><TABLE
@ -788,6 +797,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -905,6 +915,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>a pointer to the entity or NULL in case of error</TD
></TR
></TBODY
></TABLE
><P
></P
@ -913,7 +924,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN7531"
NAME="AEN7618"
></A
><H3
><A
@ -945,6 +956,9 @@ HREF="libxml-tree.html#XMLCHAR"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN7626"
></A
><P
></P
><TABLE
@ -954,6 +968,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -986,6 +1001,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>NULL if not, othervise the entity</TD
></TR
></TBODY
></TABLE
><P
></P
@ -994,7 +1010,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN7552"
NAME="AEN7639"
></A
><H3
><A
@ -1032,6 +1048,9 @@ in the predefined entities too.</P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN7648"
></A
><P
></P
><TABLE
@ -1041,6 +1060,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1090,6 +1110,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>A pointer to the entity structure or NULL if not found.</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1098,7 +1119,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN7578"
NAME="AEN7665"
></A
><H3
><A
@ -1135,6 +1156,9 @@ returns the corresponding entity, if found.</P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN7674"
></A
><P
></P
><TABLE
@ -1144,6 +1168,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1193,6 +1218,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>A pointer to the entity structure or NULL if not found.</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1201,7 +1227,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN7604"
NAME="AEN7691"
></A
><H3
><A
@ -1238,6 +1264,9 @@ returns the corresponding parameter entity, if found.</P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN7700"
></A
><P
></P
><TABLE
@ -1247,6 +1276,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1296,6 +1326,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>A pointer to the entity structure or NULL if not found.</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1304,7 +1335,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN7630"
NAME="AEN7717"
></A
><H3
><A
@ -1347,6 +1378,9 @@ This routine will issue a warning when encountered.</P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN7728"
></A
><P
></P
><TABLE
@ -1356,6 +1390,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1405,6 +1440,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>A newly allocated string with the substitution done.</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1413,7 +1449,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN7658"
NAME="AEN7745"
></A
><H3
><A
@ -1452,6 +1488,9 @@ must be deallocated.</P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN7754"
></A
><P
></P
><TABLE
@ -1461,6 +1500,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1510,6 +1550,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>A newly allocated string with the substitution done.</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1518,7 +1559,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN7684"
NAME="AEN7771"
></A
><H3
><A
@ -1555,6 +1596,9 @@ this routine is reentrant, and result must be deallocated.</P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN7780"
></A
><P
></P
><TABLE
@ -1564,6 +1608,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1613,6 +1658,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>A newly allocated string with the substitution done.</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1621,7 +1667,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN7710"
NAME="AEN7797"
></A
><H3
><A
@ -1650,6 +1696,9 @@ HREF="libxml-entities.html#XMLENTITIESTABLEPTR"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN7804"
></A
><P
></P
><TABLE
@ -1659,6 +1708,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1674,6 +1724,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>the xmlEntitiesTablePtr just created or NULL in case of error.</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1682,7 +1733,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN7726"
NAME="AEN7813"
></A
><H3
><A
@ -1714,6 +1765,9 @@ HREF="libxml-entities.html#XMLENTITIESTABLEPTR"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN7821"
></A
><P
></P
><TABLE
@ -1723,6 +1777,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1755,6 +1810,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>the new xmlEntitiesTablePtr or NULL in case of error.</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1763,7 +1819,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN7747"
NAME="AEN7834"
></A
><H3
><A
@ -1792,6 +1848,9 @@ HREF="libxml-entities.html#XMLENTITIESTABLEPTR"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN7841"
></A
><P
></P
><TABLE
@ -1801,6 +1860,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1818,6 +1878,7 @@ ALIGN="LEFT"
VALIGN="TOP"
> An entity table</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1826,7 +1887,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN7763"
NAME="AEN7850"
></A
><H3
><A
@ -1859,6 +1920,9 @@ HREF="libxml-entities.html#XMLENTITIESTABLEPTR"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN7858"
></A
><P
></P
><TABLE
@ -1868,6 +1932,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1902,6 +1967,7 @@ ALIGN="LEFT"
VALIGN="TOP"
> An entity table</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1910,7 +1976,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN7784"
NAME="AEN7871"
></A
><H3
><A
@ -1943,6 +2009,9 @@ HREF="libxml-entities.html#XMLENTITYPTR"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN7879"
></A
><P
></P
><TABLE
@ -1952,6 +2021,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1986,6 +2056,7 @@ ALIGN="LEFT"
VALIGN="TOP"
> An entity table</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1994,7 +2065,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN7805"
NAME="AEN7892"
></A
><H3
><A

View File

@ -4,7 +4,7 @@
>HTMLparser</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><LINK
CONTENT="Modular DocBook HTML Stylesheet Version 1.59"><LINK
REL="HOME"
TITLE="Gnome XML Library Reference Manual"
HREF="book1.html"><LINK
@ -18,6 +18,7 @@ REL="NEXT"
TITLE="HTMLtree"
HREF="libxml-htmltree.html"></HEAD
><BODY
CLASS="REFENTRY"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
@ -121,7 +122,7 @@ NAME="LIBXML-HTMLPARSER"
><DIV
CLASS="REFNAMEDIV"
><A
NAME="AEN10077"
NAME="AEN10165"
></A
><H2
>Name</H2
@ -129,7 +130,7 @@ NAME="AEN10077"
><DIV
CLASS="REFSYNOPSISDIV"
><A
NAME="AEN10080"
NAME="AEN10168"
></A
><H2
>Synopsis</H2
@ -393,7 +394,7 @@ HREF="libxml-htmlparser.html#HTMLPARSERCTXTPTR"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN10144"
NAME="AEN10232"
></A
><H2
>Description</H2
@ -403,14 +404,14 @@ NAME="AEN10144"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN10147"
NAME="AEN10235"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
NAME="AEN10149"
NAME="AEN10237"
></A
><H3
><A
@ -436,7 +437,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10154"
NAME="AEN10242"
></A
><H3
><A
@ -462,7 +463,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10159"
NAME="AEN10247"
></A
><H3
><A
@ -488,7 +489,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10164"
NAME="AEN10252"
></A
><H3
><A
@ -514,7 +515,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10169"
NAME="AEN10257"
></A
><H3
><A
@ -540,7 +541,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10174"
NAME="AEN10262"
></A
><H3
><A
@ -566,7 +567,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10179"
NAME="AEN10267"
></A
><H3
><A
@ -592,7 +593,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10184"
NAME="AEN10272"
></A
><H3
><A
@ -618,7 +619,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10189"
NAME="AEN10277"
></A
><H3
><A
@ -644,7 +645,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10194"
NAME="AEN10282"
></A
><H3
><A
@ -679,7 +680,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10199"
NAME="AEN10287"
></A
><H3
><A
@ -705,7 +706,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10204"
NAME="AEN10292"
></A
><H3
><A
@ -735,7 +736,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10209"
NAME="AEN10297"
></A
><H3
><A
@ -761,7 +762,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10214"
NAME="AEN10302"
></A
><H3
><A
@ -793,6 +794,9 @@ HREF="libxml-tree.html#XMLCHAR"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN10310"
></A
><P
></P
><TABLE
@ -802,6 +806,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -834,6 +839,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>the related htmlElemDescPtr or NULL if not found.</TD
></TR
></TBODY
></TABLE
><P
></P
@ -842,7 +848,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10235"
NAME="AEN10323"
></A
><H3
><A
@ -876,6 +882,9 @@ HREF="libxml-tree.html#XMLCHAR"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN10332"
></A
><P
></P
><TABLE
@ -885,6 +894,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -917,6 +927,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>the associated htmlEntityDescPtr if found, NULL otherwise.</TD
></TR
></TBODY
></TABLE
><P
></P
@ -925,7 +936,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10257"
NAME="AEN10345"
></A
><H3
><A
@ -956,6 +967,9 @@ HREF="libxml-htmlparser.html#HTMLENTITYDESCPTR"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN10353"
></A
><P
></P
><TABLE
@ -965,6 +979,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -997,6 +1012,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>the associated htmlEntityDescPtr if found, NULL otherwise.</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1005,7 +1021,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10278"
NAME="AEN10366"
></A
><H3
><A
@ -1040,6 +1056,9 @@ if a tag is autoclosed by one of it's child</P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN10374"
></A
><P
></P
><TABLE
@ -1049,6 +1068,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1098,6 +1118,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>1 if autoclosed, 0 otherwise</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1106,7 +1127,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10303"
NAME="AEN10391"
></A
><H3
><A
@ -1146,6 +1167,9 @@ given tag.</P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN10400"
></A
><P
></P
><TABLE
@ -1155,6 +1179,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1221,6 +1246,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>1 if autoclose, 0 otherwise</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1229,7 +1255,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10333"
NAME="AEN10421"
></A
><H3
><A
@ -1267,6 +1293,9 @@ HREF="libxml-tree.html#XMLCHAR"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN10431"
></A
><P
></P
><TABLE
@ -1276,6 +1305,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1326,6 +1356,7 @@ VALIGN="TOP"
>the associated htmlEntityDescPtr if found, or NULL otherwise,
if non-NULL *str will have to be freed by the caller.</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1334,7 +1365,7 @@ if non-NULL *str will have to be freed by the caller.</TD
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10360"
NAME="AEN10448"
></A
><H3
><A
@ -1369,6 +1400,9 @@ HREF="X"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN10457"
></A
><P
></P
><TABLE
@ -1378,6 +1412,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1410,6 +1445,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>the value parsed (as an int)</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1418,7 +1454,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10382"
NAME="AEN10470"
></A
><H3
><A
@ -1451,6 +1487,9 @@ HREF="libxml-htmlparser.html#HTMLPARSERCTXTPTR"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN10479"
></A
><P
></P
><TABLE
@ -1460,6 +1499,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1477,6 +1517,7 @@ ALIGN="LEFT"
VALIGN="TOP"
> an HTML parser context</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1485,7 +1526,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10400"
NAME="AEN10488"
></A
><H3
><A
@ -1525,6 +1566,9 @@ If sax is NULL, fallback to the default DOM tree building routines.</P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN10497"
></A
><P
></P
><TABLE
@ -1534,6 +1578,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1617,6 +1662,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>the resulting document tree</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1625,7 +1671,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10434"
NAME="AEN10522"
></A
><H3
><A
@ -1658,6 +1704,9 @@ HREF="libxml-tree.html#XMLCHAR"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN10530"
></A
><P
></P
><TABLE
@ -1667,6 +1716,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1716,6 +1766,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>the resulting document tree</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1724,7 +1775,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10459"
NAME="AEN10547"
></A
><H3
><A
@ -1762,6 +1813,9 @@ If sax is NULL, fallback to the default DOM tree building routines.</P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN10555"
></A
><P
></P
><TABLE
@ -1771,6 +1825,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1854,6 +1909,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>the resulting document tree</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1862,7 +1918,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10492"
NAME="AEN10580"
></A
><H3
><A
@ -1893,6 +1949,9 @@ compressed document is provided by default if found at compile-time.</P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN10587"
></A
><P
></P
><TABLE
@ -1902,6 +1961,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1951,6 +2011,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>the resulting document tree</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1959,7 +2020,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10516"
NAME="AEN10604"
></A
><H3
><A
@ -1989,6 +2050,9 @@ plus HTML entities block of chars out.</P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN10610"
></A
><P
></P
><TABLE
@ -1998,6 +2062,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -2104,6 +2169,7 @@ CLASS="PARAMETER"
></TT
> after return is the number of octets consumed.</TD
></TR
></TBODY
></TABLE
><P
></P
@ -2112,7 +2178,7 @@ CLASS="PARAMETER"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10551"
NAME="AEN10639"
></A
><H3
><A
@ -2143,6 +2209,9 @@ plus HTML entities block of chars out.</P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN10645"
></A
><P
></P
><TABLE
@ -2152,6 +2221,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -2275,6 +2345,7 @@ CLASS="PARAMETER"
></TT
> after return is the number of octets consumed.</TD
></TR
></TBODY
></TABLE
><P
></P
@ -2283,7 +2354,7 @@ CLASS="PARAMETER"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10590"
NAME="AEN10678"
></A
><H3
><A
@ -2312,6 +2383,9 @@ HREF="libxml-tree.html#XMLCHAR"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN10685"
></A
><P
></P
><TABLE
@ -2321,6 +2395,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -2353,6 +2428,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>1 is the attribute is a script 0 otherwise</TD
></TR
></TBODY
></TABLE
><P
></P
@ -2361,7 +2437,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10610"
NAME="AEN10698"
></A
><H3
><A
@ -2387,6 +2463,9 @@ CLASS="PROGRAMLISTING"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN10704"
></A
><P
></P
><TABLE
@ -2396,6 +2475,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -2428,6 +2508,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>the last value for 0 for no handling, 1 for auto insertion.</TD
></TR
></TBODY
></TABLE
><P
></P
@ -2436,7 +2517,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10629"
NAME="AEN10717"
></A
><H3
><A
@ -2466,6 +2547,9 @@ document in ctxt-&gt;myDoc is not freed.</P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN10724"
></A
><P
></P
><TABLE
@ -2475,6 +2559,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -2492,6 +2577,7 @@ ALIGN="LEFT"
VALIGN="TOP"
> an HTML parser context</TD
></TR
></TBODY
></TABLE
><P
></P
@ -2500,7 +2586,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10645"
NAME="AEN10733"
></A
><H3
><A
@ -2553,6 +2639,9 @@ and error/warning reports.</P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN10744"
></A
><P
></P
><TABLE
@ -2562,6 +2651,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -2679,6 +2769,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>the new parser context or NULL</TD
></TR
></TBODY
></TABLE
><P
></P
@ -2687,7 +2778,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10689"
NAME="AEN10777"
></A
><H3
><A
@ -2719,6 +2810,9 @@ HREF="libxml-htmlparser.html#HTMLPARSERCTXTPTR"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN10784"
></A
><P
></P
><TABLE
@ -2728,6 +2822,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -2811,6 +2906,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>zero if no error, the xmlParserErrors otherwise.</TD
></TR
></TBODY
></TABLE
><P
></P

View File

@ -4,7 +4,7 @@
>HTMLtree</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><LINK
CONTENT="Modular DocBook HTML Stylesheet Version 1.59"><LINK
REL="HOME"
TITLE="Gnome XML Library Reference Manual"
HREF="book1.html"><LINK
@ -18,6 +18,7 @@ REL="NEXT"
TITLE="xpath"
HREF="libxml-xpath.html"></HEAD
><BODY
CLASS="REFENTRY"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
@ -121,7 +122,7 @@ NAME="LIBXML-HTMLTREE"
><DIV
CLASS="REFNAMEDIV"
><A
NAME="AEN10726"
NAME="AEN10814"
></A
><H2
>Name</H2
@ -129,7 +130,7 @@ NAME="AEN10726"
><DIV
CLASS="REFSYNOPSISDIV"
><A
NAME="AEN10729"
NAME="AEN10817"
></A
><H2
>Synopsis</H2
@ -290,7 +291,7 @@ HREF="libxml-tree.html#XMLDOCPTR"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN10769"
NAME="AEN10857"
></A
><H2
>Description</H2
@ -300,14 +301,14 @@ NAME="AEN10769"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN10772"
NAME="AEN10860"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
NAME="AEN10774"
NAME="AEN10862"
></A
><H3
><A
@ -328,12 +329,15 @@ CLASS="PROGRAMLISTING"
></TR
></TABLE
><P
>Macro, a text node in a HTML document is really implemented
the same way as a text node in an XML document.</P
><P
></P
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10779"
NAME="AEN10868"
></A
><H3
><A
@ -354,12 +358,15 @@ CLASS="PROGRAMLISTING"
></TR
></TABLE
><P
>Macro, an entity reference in a HTML document is really implemented
the same way as an entity reference in an XML document.</P
><P
></P
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10784"
NAME="AEN10874"
></A
><H3
><A
@ -380,12 +387,15 @@ CLASS="PROGRAMLISTING"
></TR
></TABLE
><P
>Macro, a comment in a HTML document is really implemented
the same way as a comment in an XML document.</P
><P
></P
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10789"
NAME="AEN10880"
></A
><H3
><A
@ -406,12 +416,15 @@ CLASS="PROGRAMLISTING"
></TR
></TABLE
><P
>Macro, a preserved node in a HTML document is really implemented
the same way as a CDATA section in an XML document.</P
><P
></P
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10794"
NAME="AEN10886"
></A
><H3
><A
@ -432,12 +445,15 @@ CLASS="PROGRAMLISTING"
></TR
></TABLE
><P
>Macro, a processing instruction in a HTML document is really implemented
the same way as a processing instruction in an XML document.</P
><P
></P
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10799"
NAME="AEN10892"
></A
><H3
><A
@ -473,6 +489,9 @@ HREF="libxml-tree.html#XMLCHAR"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN10901"
></A
><P
></P
><TABLE
@ -482,6 +501,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -531,6 +551,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>a new document</TD
></TR
></TBODY
></TABLE
><P
></P
@ -539,7 +560,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10825"
NAME="AEN10918"
></A
><H3
><A
@ -575,6 +596,9 @@ HREF="libxml-tree.html#XMLCHAR"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN10927"
></A
><P
></P
><TABLE
@ -584,6 +608,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -633,6 +658,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>a new document, do not intialize the DTD if not provided</TD
></TR
></TBODY
></TABLE
><P
></P
@ -641,7 +667,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10851"
NAME="AEN10944"
></A
><H3
><A
@ -673,6 +699,9 @@ HREF="libxml-htmlparser.html#HTMLDOCPTR"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN10952"
></A
><P
></P
><TABLE
@ -682,6 +711,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -714,6 +744,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>the current encoding as flagged in the HTML source</TD
></TR
></TBODY
></TABLE
><P
></P
@ -722,7 +753,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10872"
NAME="AEN10965"
></A
><H3
><A
@ -757,6 +788,9 @@ the META flag associated.</P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN10973"
></A
><P
></P
><TABLE
@ -766,6 +800,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -815,6 +850,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>0 in case of success and -1 in case of error</TD
></TR
></TBODY
></TABLE
><P
></P
@ -823,7 +859,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10897"
NAME="AEN10990"
></A
><H3
><A
@ -858,6 +894,9 @@ It's up to the caller to free the memory.</P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN10998"
></A
><P
></P
><TABLE
@ -867,6 +906,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -918,6 +958,7 @@ ALIGN="LEFT"
VALIGN="TOP"
> OUT: the memory lenght</TD
></TR
></TBODY
></TABLE
><P
></P
@ -926,7 +967,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10922"
NAME="AEN11015"
></A
><H3
><A
@ -959,6 +1000,9 @@ HREF="libxml-tree.html#XMLDOCPTR"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN11023"
></A
><P
></P
><TABLE
@ -968,6 +1012,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1017,6 +1062,7 @@ ALIGN="LEFT"
VALIGN="TOP"
> the number of byte written or -1 in case of failure.</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1025,7 +1071,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10947"
NAME="AEN11040"
></A
><H3
><A
@ -1061,6 +1107,9 @@ used.</P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN11048"
></A
><P
></P
><TABLE
@ -1070,6 +1119,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1119,6 +1169,7 @@ ALIGN="LEFT"
VALIGN="TOP"
> the number of byte written or -1 in case of failure.</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1127,7 +1178,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10972"
NAME="AEN11065"
></A
><H3
><A
@ -1164,6 +1215,9 @@ HREF="libxml-tree.html#XMLNODEPTR"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN11074"
></A
><P
></P
><TABLE
@ -1173,6 +1227,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1224,6 +1279,7 @@ ALIGN="LEFT"
VALIGN="TOP"
> the current node</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1232,7 +1288,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10998"
NAME="AEN11091"
></A
><H3
><A
@ -1269,6 +1325,9 @@ HREF="libxml-tree.html#XMLNODEPTR"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN11100"
></A
><P
></P
><TABLE
@ -1278,6 +1337,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1329,6 +1389,7 @@ ALIGN="LEFT"
VALIGN="TOP"
> the current node</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1337,7 +1398,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN11024"
NAME="AEN11117"
></A
><H3
><A
@ -1368,6 +1429,9 @@ HREF="libxml-tree.html#XMLDOCPTR"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN11124"
></A
><P
></P
><TABLE
@ -1377,6 +1441,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1443,6 +1508,7 @@ ALIGN="LEFT"
VALIGN="TOP"
> the number of byte written or -1 in case of failure.</TD
></TR
></TBODY
></TABLE
><P
></P

View File

@ -4,7 +4,7 @@
>Libxml Library Reference</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><LINK
CONTENT="Modular DocBook HTML Stylesheet Version 1.59"><LINK
REL="HOME"
TITLE="Gnome XML Library Reference Manual"
HREF="book1.html"><LINK
@ -15,6 +15,7 @@ REL="NEXT"
TITLE="parser"
HREF="libxml-parser.html"></HEAD
><BODY
CLASS="CHAPTER"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"

View File

@ -4,7 +4,7 @@
>nanoftp</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><LINK
CONTENT="Modular DocBook HTML Stylesheet Version 1.59"><LINK
REL="HOME"
TITLE="Gnome XML Library Reference Manual"
HREF="book1.html"><LINK
@ -18,6 +18,7 @@ REL="NEXT"
TITLE="xmlIO"
HREF="libxml-xmlio.html"></HEAD
><BODY
CLASS="REFENTRY"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
@ -121,7 +122,7 @@ NAME="LIBXML-NANOFTP"
><DIV
CLASS="REFNAMEDIV"
><A
NAME="AEN15191"
NAME="AEN15701"
></A
><H2
>Name</H2
@ -129,7 +130,7 @@ NAME="AEN15191"
><DIV
CLASS="REFSYNOPSISDIV"
><A
NAME="AEN15194"
NAME="AEN15704"
></A
><H2
>Synopsis</H2
@ -281,7 +282,7 @@ HREF="libxml-nanoftp.html#XMLNANOFTPREAD"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN15223"
NAME="AEN15733"
></A
><H2
>Description</H2
@ -291,14 +292,14 @@ NAME="AEN15223"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN15226"
NAME="AEN15736"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
NAME="AEN15228"
NAME="AEN15738"
></A
><H3
><A
@ -333,9 +334,15 @@ HREF="LONG"
></TR
></TABLE
><P
>A callback for the xmlNanoFTPList command
Note that only one of year and day:minute are specified</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN15745"
></A
><P
></P
><TABLE
@ -345,6 +352,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -360,7 +368,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
> user provided data for the callback</TD
></TR
><TR
><TD
@ -377,7 +385,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
> the file name (including "-&gt;" when links are shown)</TD
></TR
><TR
><TD
@ -394,7 +402,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
> the attribute string</TD
></TR
><TR
><TD
@ -411,7 +419,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
> the owner string</TD
></TR
><TR
><TD
@ -428,7 +436,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
> the group string</TD
></TR
><TR
><TD
@ -445,7 +453,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
> the file size</TD
></TR
><TR
><TD
@ -462,7 +470,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
> the link count</TD
></TR
><TR
><TD
@ -479,7 +487,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
> the year</TD
></TR
><TR
><TD
@ -496,7 +504,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
> the month</TD
></TR
><TR
><TD
@ -513,7 +521,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
> the day</TD
></TR
><TR
><TD
@ -530,7 +538,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
> the hour</TD
></TR
><TR
><TD
@ -547,8 +555,9 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&#13;</TD
> the minute</TD
></TR
></TBODY
></TABLE
><P
></P
@ -557,7 +566,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN15287"
NAME="AEN15798"
></A
><H3
><A
@ -580,9 +589,14 @@ CLASS="PROGRAMLISTING"
></TR
></TABLE
><P
>A callback for the xmlNanoFTPGet command</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN15804"
></A
><P
></P
><TABLE
@ -592,6 +606,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -607,7 +622,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
> the user provided context</TD
></TR
><TR
><TD
@ -624,7 +639,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
> the data received</TD
></TR
><TR
><TD
@ -641,8 +656,9 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&#13;</TD
> its size in bytes</TD
></TR
></TBODY
></TABLE
><P
></P
@ -651,7 +667,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN15309"
NAME="AEN15821"
></A
><H3
><A
@ -681,7 +697,7 @@ and get the hostname</P
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN15315"
NAME="AEN15827"
></A
><H3
><A
@ -709,7 +725,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN15321"
NAME="AEN15833"
></A
><H3
><A
@ -735,6 +751,9 @@ CLASS="PROGRAMLISTING"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN15839"
></A
><P
></P
><TABLE
@ -744,6 +763,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -761,6 +781,7 @@ ALIGN="LEFT"
VALIGN="TOP"
> The URL used to initialize the context</TD
></TR
></TBODY
></TABLE
><P
></P
@ -769,7 +790,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN15336"
NAME="AEN15848"
></A
><H3
><A
@ -795,6 +816,9 @@ CLASS="PROGRAMLISTING"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN15854"
></A
><P
></P
><TABLE
@ -804,6 +828,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -821,6 +846,7 @@ ALIGN="LEFT"
VALIGN="TOP"
> an FTP context</TD
></TR
></TBODY
></TABLE
><P
></P
@ -829,7 +855,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN15351"
NAME="AEN15863"
></A
><H3
><A
@ -856,6 +882,9 @@ CLASS="PROGRAMLISTING"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN15869"
></A
><P
></P
><TABLE
@ -865,6 +894,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -899,6 +929,7 @@ ALIGN="LEFT"
VALIGN="TOP"
> the port (use 21 if 0)</TD
></TR
></TBODY
></TABLE
><P
></P
@ -907,7 +938,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN15370"
NAME="AEN15882"
></A
><H3
><A
@ -933,6 +964,9 @@ CLASS="PROGRAMLISTING"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN15888"
></A
><P
></P
><TABLE
@ -942,6 +976,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -959,6 +994,7 @@ ALIGN="LEFT"
VALIGN="TOP"
> the URL to the resource</TD
></TR
></TBODY
></TABLE
><P
></P
@ -967,7 +1003,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN15385"
NAME="AEN15897"
></A
><H3
><A
@ -993,6 +1029,9 @@ CLASS="PROGRAMLISTING"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN15903"
></A
><P
></P
><TABLE
@ -1002,6 +1041,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1034,6 +1074,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>-1 in case of error, 0 otherwise</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1042,7 +1083,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN15404"
NAME="AEN15916"
></A
><H3
><A
@ -1068,6 +1109,9 @@ CLASS="PROGRAMLISTING"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN15922"
></A
><P
></P
><TABLE
@ -1077,6 +1121,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1109,6 +1154,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>-1 incase of error, 0 otherwise</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1117,7 +1163,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN15423"
NAME="AEN15935"
></A
><H3
><A
@ -1143,6 +1189,9 @@ CLASS="PROGRAMLISTING"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN15941"
></A
><P
></P
><TABLE
@ -1152,6 +1201,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1184,6 +1234,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>-1 in case of error, 0 otherwise</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1192,7 +1243,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN15442"
NAME="AEN15954"
></A
><H3
><A
@ -1221,6 +1272,9 @@ A NULL URL cleans up proxy informations.</P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN15960"
></A
><P
></P
><TABLE
@ -1230,6 +1284,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1247,6 +1302,7 @@ ALIGN="LEFT"
VALIGN="TOP"
> The proxy URL used to initialize the proxy context</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1255,7 +1311,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN15457"
NAME="AEN15969"
></A
><H3
><A
@ -1287,6 +1343,9 @@ ftp_proxy_password environment variables.</P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN15975"
></A
><P
></P
><TABLE
@ -1296,6 +1355,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1386,6 +1446,7 @@ CLASS="PARAMETER"
></TT
></TD
></TR
></TBODY
></TABLE
><P
></P
@ -1394,7 +1455,7 @@ CLASS="PARAMETER"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN15489"
NAME="AEN16001"
></A
><H3
><A
@ -1425,6 +1486,9 @@ be established.</P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN16007"
></A
><P
></P
><TABLE
@ -1434,6 +1498,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1483,6 +1548,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>0 if Ok, -1 in case of error (other host).</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1491,7 +1557,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN15512"
NAME="AEN16024"
></A
><H3
><A
@ -1517,6 +1583,9 @@ CLASS="PROGRAMLISTING"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN16030"
></A
><P
></P
><TABLE
@ -1526,6 +1595,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1558,6 +1628,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>the code number</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1566,7 +1637,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN15531"
NAME="AEN16043"
></A
><H3
><A
@ -1592,6 +1663,9 @@ CLASS="PROGRAMLISTING"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN16049"
></A
><P
></P
><TABLE
@ -1601,6 +1675,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1633,6 +1708,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>the code number, or 0</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1641,7 +1717,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN15550"
NAME="AEN16062"
></A
><H3
><A
@ -1668,6 +1744,9 @@ CLASS="PROGRAMLISTING"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN16068"
></A
><P
></P
><TABLE
@ -1677,6 +1756,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1726,6 +1806,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>-1 incase of error, 1 if CWD worked, 0 if it failed</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1734,7 +1815,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN15573"
NAME="AEN16085"
></A
><H3
><A
@ -1761,6 +1842,9 @@ passive mode is supported.</P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN16091"
></A
><P
></P
><TABLE
@ -1770,6 +1854,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1802,6 +1887,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>-1 incase of error, 0 otherwise</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1810,7 +1896,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN15592"
NAME="AEN16104"
></A
><H3
><A
@ -1836,6 +1922,9 @@ CLASS="PROGRAMLISTING"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN16110"
></A
><P
></P
><TABLE
@ -1845,6 +1934,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1877,6 +1967,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>-1 incase of error, 0 otherwise</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1885,7 +1976,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN15611"
NAME="AEN16123"
></A
><H3
><A
@ -1918,6 +2009,9 @@ in the callbacks.</P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN16130"
></A
><P
></P
><TABLE
@ -1927,6 +2021,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -2010,6 +2105,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>-1 incase of error, 0 otherwise</TD
></TR
></TBODY
></TABLE
><P
></P
@ -2018,7 +2114,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN15643"
NAME="AEN16155"
></A
><H3
><A
@ -2045,6 +2141,9 @@ CLASS="PROGRAMLISTING"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN16161"
></A
><P
></P
><TABLE
@ -2054,6 +2153,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -2103,6 +2203,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>the socket for the data connection, or &lt;0 in case of error</TD
></TR
></TBODY
></TABLE
><P
></P
@ -2111,7 +2212,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN15666"
NAME="AEN16178"
></A
><H3
><A
@ -2144,6 +2245,9 @@ in the callbacks. The last callback has a size of 0 block.</P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN16185"
></A
><P
></P
><TABLE
@ -2153,6 +2257,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -2236,6 +2341,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>-1 incase of error, 0 otherwise</TD
></TR
></TBODY
></TABLE
><P
></P
@ -2244,7 +2350,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN15698"
NAME="AEN16210"
></A
><H3
><A
@ -2283,6 +2389,9 @@ CLASS="PARAMETER"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN16218"
></A
><P
></P
><TABLE
@ -2292,6 +2401,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -2359,6 +2469,7 @@ VALIGN="TOP"
>the number of byte read. 0 is an indication of an end of connection.
-1 indicates a parameter error.</TD
></TR
></TBODY
></TABLE
><P
></P

View File

@ -4,7 +4,7 @@
>nanohttp</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><LINK
CONTENT="Modular DocBook HTML Stylesheet Version 1.59"><LINK
REL="HOME"
TITLE="Gnome XML Library Reference Manual"
HREF="book1.html"><LINK
@ -18,6 +18,7 @@ REL="NEXT"
TITLE="nanoftp"
HREF="libxml-nanoftp.html"></HEAD
><BODY
CLASS="REFENTRY"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
@ -121,7 +122,7 @@ NAME="LIBXML-NANOHTTP"
><DIV
CLASS="REFNAMEDIV"
><A
NAME="AEN14955"
NAME="AEN15465"
></A
><H2
>Name</H2
@ -129,7 +130,7 @@ NAME="AEN14955"
><DIV
CLASS="REFSYNOPSISDIV"
><A
NAME="AEN14958"
NAME="AEN15468"
></A
><H2
>Synopsis</H2
@ -205,7 +206,7 @@ HREF="libxml-nanohttp.html#XMLNANOHTTPCLOSE"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN14972"
NAME="AEN15482"
></A
><H2
>Description</H2
@ -215,14 +216,14 @@ NAME="AEN14972"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN14975"
NAME="AEN15485"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
NAME="AEN14977"
NAME="AEN15487"
></A
><H3
><A
@ -251,7 +252,7 @@ Currently it just checks for proxy informations</P
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN14983"
NAME="AEN15493"
></A
><H3
><A
@ -277,7 +278,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN14988"
NAME="AEN15498"
></A
><H3
><A
@ -306,6 +307,9 @@ A NULL URL cleans up proxy informations.</P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN15504"
></A
><P
></P
><TABLE
@ -315,6 +319,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -332,6 +337,7 @@ ALIGN="LEFT"
VALIGN="TOP"
> The proxy URL used to initialize the proxy context</TD
></TR
></TBODY
></TABLE
><P
></P
@ -340,7 +346,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN15003"
NAME="AEN15513"
></A
><H3
><A
@ -369,6 +375,9 @@ and save it's content in the file.</P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN15519"
></A
><P
></P
><TABLE
@ -378,6 +387,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -446,6 +456,7 @@ VALIGN="TOP"
>-1 in case of failure, 0 incase of success. The contentType,
if provided must be freed by the caller</TD
></TR
></TBODY
></TABLE
><P
></P
@ -454,7 +465,7 @@ if provided must be freed by the caller</TD
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN15030"
NAME="AEN15540"
></A
><H3
><A
@ -491,6 +502,9 @@ and the input buffer for the request content.</P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN15547"
></A
><P
></P
><TABLE
@ -500,6 +514,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -585,6 +600,7 @@ ALIGN="LEFT"
VALIGN="TOP"
> the extra headers</TD
></TR
></TBODY
></TABLE
><P
></P
@ -593,7 +609,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN15062"
NAME="AEN15572"
></A
><H3
><A
@ -621,6 +637,9 @@ via HTTP GET.</P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN15578"
></A
><P
></P
><TABLE
@ -630,6 +649,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -665,6 +685,7 @@ VALIGN="TOP"
> if available the Content-Type information will be
returned at that location</TD
></TR
></TBODY
></TABLE
><P
></P
@ -673,7 +694,7 @@ returned at that location</TD
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN15081"
NAME="AEN15591"
></A
><H3
><A
@ -699,6 +720,9 @@ CLASS="PROGRAMLISTING"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN15597"
></A
><P
></P
><TABLE
@ -708,6 +732,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -740,6 +765,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>the HTTP return code for the request.</TD
></TR
></TBODY
></TABLE
><P
></P
@ -748,7 +774,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN15100"
NAME="AEN15610"
></A
><H3
><A
@ -774,6 +800,9 @@ CLASS="PROGRAMLISTING"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN15616"
></A
><P
></P
><TABLE
@ -783,6 +812,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -816,6 +846,7 @@ VALIGN="TOP"
>the stashed value of the WWW-Authenticate or Proxy-Authenticate
header.</TD
></TR
></TBODY
></TABLE
><P
></P
@ -824,7 +855,7 @@ header.</TD
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN15119"
NAME="AEN15629"
></A
><H3
><A
@ -863,6 +894,9 @@ CLASS="PARAMETER"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN15637"
></A
><P
></P
><TABLE
@ -872,6 +906,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -939,6 +974,7 @@ VALIGN="TOP"
>the number of byte read. 0 is an indication of an end of connection.
-1 indicates a parameter error.</TD
></TR
></TBODY
></TABLE
><P
></P
@ -947,7 +983,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN15148"
NAME="AEN15658"
></A
><H3
><A
@ -975,6 +1011,9 @@ It closes and free the context at the end</P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN15664"
></A
><P
></P
><TABLE
@ -984,6 +1023,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1033,6 +1073,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>-1 in case of failure, 0 incase of success.</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1041,7 +1082,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN15171"
NAME="AEN15681"
></A
><H3
><A
@ -1068,6 +1109,9 @@ free all data related to it.</P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN15687"
></A
><P
></P
><TABLE
@ -1077,6 +1121,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1094,6 +1139,7 @@ ALIGN="LEFT"
VALIGN="TOP"
> the HTTP context</TD
></TR
></TBODY
></TABLE
><P
></P

View File

@ -4,7 +4,7 @@
>Libxml Programming Notes</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><LINK
CONTENT="Modular DocBook HTML Stylesheet Version 1.59"><LINK
REL="HOME"
TITLE="Gnome XML Library Reference Manual"
HREF="book1.html"><LINK
@ -15,6 +15,7 @@ REL="NEXT"
TITLE="Libxml Library Reference"
HREF="libxml-lib.html"></HEAD
><BODY
CLASS="CHAPTER"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -4,7 +4,7 @@
>uri</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><LINK
CONTENT="Modular DocBook HTML Stylesheet Version 1.59"><LINK
REL="HOME"
TITLE="Gnome XML Library Reference Manual"
HREF="book1.html"><LINK
@ -18,6 +18,7 @@ REL="NEXT"
TITLE="xmlerror"
HREF="libxml-xmlerror.html"></HEAD
><BODY
CLASS="REFENTRY"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
@ -121,7 +122,7 @@ NAME="LIBXML-URI"
><DIV
CLASS="REFNAMEDIV"
><A
NAME="AEN9602"
NAME="AEN9689"
></A
><H2
>Name</H2
@ -129,7 +130,7 @@ NAME="AEN9602"
><DIV
CLASS="REFSYNOPSISDIV"
><A
NAME="AEN9605"
NAME="AEN9692"
></A
><H2
>Synopsis</H2
@ -243,7 +244,7 @@ HREF="libxml-uri.html#XMLURIPTR"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN9633"
NAME="AEN9720"
></A
><H2
>Description</H2
@ -253,14 +254,14 @@ NAME="AEN9633"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN9636"
NAME="AEN9723"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
NAME="AEN9638"
NAME="AEN9725"
></A
><H3
><A
@ -277,26 +278,29 @@ CELLPADDING="6"
><PRE
CLASS="PROGRAMLISTING"
>struct xmlURI {
char *scheme;
char *opaque;
char *authority;
char *server;
char *user;
int port;
char *path;
char *query;
char *fragment;
char *scheme; /* the URI scheme */
char *opaque; /* opaque part */
char *authority; /* the authority part */
char *server; /* the server part */
char *user; /* the user part */
int port; /* the port number */
char *path; /* the path string */
char *query; /* the query string */
char *fragment; /* the fragment identifier */
};</PRE
></TD
></TR
></TABLE
><P
>A parsed URI reference. This is a struct containing the various fields
as described in RFC 2396 but separated for further processing</P
><P
></P
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN9643"
NAME="AEN9731"
></A
><H3
><A
@ -322,7 +326,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN9648"
NAME="AEN9736"
></A
><H3
><A
@ -351,6 +355,9 @@ HREF="libxml-uri.html#XMLURIPTR"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN9743"
></A
><P
></P
><TABLE
@ -360,6 +367,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -375,6 +383,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>the new structure or NULL in case of error</TD
></TR
></TBODY
></TABLE
><P
></P
@ -383,7 +392,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN9664"
NAME="AEN9752"
></A
><H3
><A
@ -424,6 +433,9 @@ RFC 2396</P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN9762"
></A
><P
></P
><TABLE
@ -433,6 +445,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -483,6 +496,7 @@ VALIGN="TOP"
>a new URI string (to be freed by the caller) or NULL in case
of error.</TD
></TR
></TBODY
></TABLE
><P
></P
@ -491,7 +505,7 @@ of error.</TD
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN9691"
NAME="AEN9779"
></A
><H3
><A
@ -522,6 +536,9 @@ HREF="libxml-uri.html#XMLURIPTR"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN9787"
></A
><P
></P
><TABLE
@ -531,6 +548,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -563,6 +581,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>a newly build xmlURIPtr or NULL in case of error</TD
></TR
></TBODY
></TABLE
><P
></P
@ -571,7 +590,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN9712"
NAME="AEN9800"
></A
><H3
><A
@ -609,6 +628,9 @@ CLASS="PARAMETER"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN9809"
></A
><P
></P
><TABLE
@ -618,6 +640,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -667,6 +690,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>0 or the error code</TD
></TR
></TBODY
></TABLE
><P
></P
@ -675,7 +699,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN9738"
NAME="AEN9826"
></A
><H3
><A
@ -707,6 +731,9 @@ HREF="libxml-uri.html#XMLURIPTR"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN9834"
></A
><P
></P
><TABLE
@ -716,6 +743,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -748,6 +776,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>a new string (to be deallocated by caller)</TD
></TR
></TBODY
></TABLE
><P
></P
@ -756,7 +785,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN9759"
NAME="AEN9847"
></A
><H3
><A
@ -794,6 +823,9 @@ CLASS="PARAMETER"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN9856"
></A
><P
></P
><TABLE
@ -803,6 +835,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -837,6 +870,7 @@ ALIGN="LEFT"
VALIGN="TOP"
> pointer to an xmlURI</TD
></TR
></TBODY
></TABLE
><P
></P
@ -845,7 +879,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN9781"
NAME="AEN9869"
></A
><H3
><A
@ -877,6 +911,9 @@ CLASS="LITERAL"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN9876"
></A
><P
></P
><TABLE
@ -886,6 +923,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -952,6 +990,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>an copy of the string, but unescaped</TD
></TR
></TBODY
></TABLE
><P
></P
@ -960,7 +999,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN9809"
NAME="AEN9897"
></A
><H3
><A
@ -989,6 +1028,9 @@ Section 5.2, steps 6.c through 6.g.</P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN9904"
></A
><P
></P
><TABLE
@ -998,6 +1040,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1030,6 +1073,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>0 or an error code</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1038,7 +1082,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN9829"
NAME="AEN9917"
></A
><H3
><A
@ -1079,6 +1123,9 @@ to the rules (c.f. bug 51876)</P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN9927"
></A
><P
></P
><TABLE
@ -1088,6 +1135,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1120,6 +1168,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>an copy of the string, but escaped</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1128,7 +1177,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN9852"
NAME="AEN9940"
></A
><H3
><A
@ -1157,6 +1206,9 @@ HREF="libxml-uri.html#XMLURIPTR"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN9947"
></A
><P
></P
><TABLE
@ -1166,6 +1218,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1183,6 +1236,7 @@ ALIGN="LEFT"
VALIGN="TOP"
> pointer to an xmlURI</TD
></TR
></TBODY
></TABLE
><P
></P

File diff suppressed because it is too large Load Diff

View File

@ -4,7 +4,7 @@
>xinclude</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><LINK
CONTENT="Modular DocBook HTML Stylesheet Version 1.59"><LINK
REL="HOME"
TITLE="Gnome XML Library Reference Manual"
HREF="book1.html"><LINK
@ -18,6 +18,7 @@ REL="NEXT"
TITLE="nanohttp"
HREF="libxml-nanohttp.html"></HEAD
><BODY
CLASS="REFENTRY"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
@ -121,7 +122,7 @@ NAME="LIBXML-XINCLUDE"
><DIV
CLASS="REFNAMEDIV"
><A
NAME="AEN14916"
NAME="AEN15426"
></A
><H2
>Name</H2
@ -129,7 +130,7 @@ NAME="AEN14916"
><DIV
CLASS="REFSYNOPSISDIV"
><A
NAME="AEN14919"
NAME="AEN15429"
></A
><H2
>Synopsis</H2
@ -158,7 +159,7 @@ HREF="libxml-tree.html#XMLDOCPTR"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN14924"
NAME="AEN15434"
></A
><H2
>Description</H2
@ -168,14 +169,14 @@ NAME="AEN14924"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN14927"
NAME="AEN15437"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
NAME="AEN14929"
NAME="AEN15439"
></A
><H3
><A
@ -209,6 +210,9 @@ CLASS="PARAMETER"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN15447"
></A
><P
></P
><TABLE
@ -218,6 +222,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -251,6 +256,7 @@ VALIGN="TOP"
>0 if no substition were done, -1 if some processing failed
or the number of substitutions done.</TD
></TR
></TBODY
></TABLE
><P
></P

View File

@ -4,7 +4,7 @@
>xmlerror</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><LINK
CONTENT="Modular DocBook HTML Stylesheet Version 1.59"><LINK
REL="HOME"
TITLE="Gnome XML Library Reference Manual"
HREF="book1.html"><LINK
@ -18,6 +18,7 @@ REL="NEXT"
TITLE="HTMLparser"
HREF="libxml-htmlparser.html"></HEAD
><BODY
CLASS="REFENTRY"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
@ -121,7 +122,7 @@ NAME="LIBXML-XMLERROR"
><DIV
CLASS="REFNAMEDIV"
><A
NAME="AEN9873"
NAME="AEN9961"
></A
><H2
>Name</H2
@ -129,7 +130,7 @@ NAME="AEN9873"
><DIV
CLASS="REFSYNOPSISDIV"
><A
NAME="AEN9876"
NAME="AEN9964"
></A
><H2
>Synopsis</H2
@ -207,7 +208,7 @@ HREF="libxml-parser.html#XMLPARSERINPUTPTR"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN9891"
NAME="AEN9979"
></A
><H2
>Description</H2
@ -217,14 +218,14 @@ NAME="AEN9891"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN9894"
NAME="AEN9982"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
NAME="AEN9896"
NAME="AEN9984"
></A
><H3
><A
@ -377,7 +378,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN9901"
NAME="AEN9989"
></A
><H3
><A
@ -403,6 +404,9 @@ CLASS="PROGRAMLISTING"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN9994"
></A
><P
></P
><TABLE
@ -412,6 +416,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -461,8 +466,9 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&#13;</TD
>&nbsp;</TD
></TR
></TBODY
></TABLE
><P
></P
@ -471,7 +477,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN9923"
NAME="AEN10011"
></A
><H3
><A
@ -532,6 +538,9 @@ CLASS="PARAMETER"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN10023"
></A
><P
></P
><TABLE
@ -541,6 +550,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -575,6 +585,7 @@ ALIGN="LEFT"
VALIGN="TOP"
> the new handler function</TD
></TR
></TBODY
></TABLE
><P
></P
@ -583,7 +594,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN9948"
NAME="AEN10036"
></A
><H3
><A
@ -612,6 +623,9 @@ extra parameters.</P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN10042"
></A
><P
></P
><TABLE
@ -621,6 +635,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -672,6 +687,7 @@ ALIGN="LEFT"
VALIGN="TOP"
> extra parameters for the message display</TD
></TR
></TBODY
></TABLE
><P
></P
@ -680,7 +696,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN9971"
NAME="AEN10059"
></A
><H3
><A
@ -709,6 +725,9 @@ extra parameters.</P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN10065"
></A
><P
></P
><TABLE
@ -718,6 +737,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -769,6 +789,7 @@ ALIGN="LEFT"
VALIGN="TOP"
> extra parameters for the message display</TD
></TR
></TBODY
></TABLE
><P
></P
@ -777,7 +798,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN9994"
NAME="AEN10082"
></A
><H3
><A
@ -806,6 +827,9 @@ line, position and extra parameters.</P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN10088"
></A
><P
></P
><TABLE
@ -815,6 +839,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -866,6 +891,7 @@ ALIGN="LEFT"
VALIGN="TOP"
> extra parameters for the message display</TD
></TR
></TBODY
></TABLE
><P
></P
@ -874,7 +900,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10017"
NAME="AEN10105"
></A
><H3
><A
@ -903,6 +929,9 @@ position and extra parameters.</P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN10111"
></A
><P
></P
><TABLE
@ -912,6 +941,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -963,6 +993,7 @@ ALIGN="LEFT"
VALIGN="TOP"
> extra parameters for the message display</TD
></TR
></TBODY
></TABLE
><P
></P
@ -971,7 +1002,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10040"
NAME="AEN10128"
></A
><H3
><A
@ -1000,6 +1031,9 @@ HREF="libxml-parser.html#XMLPARSERINPUTPTR"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN10135"
></A
><P
></P
><TABLE
@ -1009,6 +1043,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1026,6 +1061,7 @@ ALIGN="LEFT"
VALIGN="TOP"
> an xmlParserInputPtr input</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1034,7 +1070,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN10056"
NAME="AEN10144"
></A
><H3
><A
@ -1063,6 +1099,9 @@ HREF="libxml-parser.html#XMLPARSERINPUTPTR"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN10151"
></A
><P
></P
><TABLE
@ -1072,6 +1111,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1089,6 +1129,7 @@ ALIGN="LEFT"
VALIGN="TOP"
> an xmlParserInputPtr input</TD
></TR
></TBODY
></TABLE
><P
></P

File diff suppressed because it is too large Load Diff

View File

@ -4,7 +4,7 @@
>xmlmemory</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><LINK
CONTENT="Modular DocBook HTML Stylesheet Version 1.59"><LINK
REL="HOME"
TITLE="Gnome XML Library Reference Manual"
HREF="book1.html"><LINK
@ -15,6 +15,7 @@ REL="PREVIOUS"
TITLE="debugXML"
HREF="libxml-debugxml.html"></HEAD
><BODY
CLASS="REFENTRY"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
@ -109,7 +110,7 @@ NAME="LIBXML-XMLMEMORY"
><DIV
CLASS="REFNAMEDIV"
><A
NAME="AEN20949"
NAME="AEN21534"
></A
><H2
>Name</H2
@ -117,7 +118,7 @@ NAME="AEN20949"
><DIV
CLASS="REFSYNOPSISDIV"
><A
NAME="AEN20952"
NAME="AEN21537"
></A
><H2
>Synopsis</H2
@ -140,14 +141,6 @@ HREF="libxml-xmlmemory.html#DEBUG-MEMORY-CAPS"
HREF="libxml-xmlmemory.html#MEM-LIST-CAPS"
>MEM_LIST</A
>
#define <A
HREF="libxml-xmlmemory.html#DEBUG-MEMORY-FREED-CAPS"
>DEBUG_MEMORY_FREED</A
>
#define <A
HREF="libxml-xmlmemory.html#MEM-CLEANUP-CAPS"
>MEM_CLEANUP</A
> (p,l)
void (<A
HREF="libxml-xmlmemory.html#XMLFREEFUNC"
>*xmlFreeFunc</A
@ -268,7 +261,7 @@ HREF="libxml-xmlmemory.html#XMLMEMSTRDUPLOC"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN20986"
NAME="AEN21569"
></A
><H2
>Description</H2
@ -278,14 +271,14 @@ NAME="AEN20986"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN20989"
NAME="AEN21572"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
NAME="AEN20991"
NAME="AEN21574"
></A
><H3
><A
@ -306,12 +299,17 @@ CLASS="PROGRAMLISTING"
></TR
></TABLE
><P
>should be activated only done when debugging libxml. It replaces the
allocator with a collect and debug shell to the libc allocator.
DEBUG_MEMORY should be activated only when debugging
libxml i.e. if libxml has been configured with --with-debug-mem too</P
><P
></P
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN20996"
NAME="AEN21580"
></A
><H3
><A
@ -337,108 +335,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN21001"
></A
><H3
><A
NAME="DEBUG-MEMORY-FREED-CAPS"
></A
>DEBUG_MEMORY_FREED</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>#define DEBUG_MEMORY_FREED</PRE
></TD
></TR
></TABLE
><P
></P
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN21006"
></A
><H3
><A
NAME="MEM-CLEANUP-CAPS"
></A
>MEM_CLEANUP()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>#define MEM_CLEANUP(p,l)</PRE
></TD
></TR
></TABLE
><P
></P
><DIV
CLASS="INFORMALTABLE"
><P
></P
><TABLE
BORDER="0"
WIDTH="100%"
BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>p</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>l</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&#13;</TD
></TR
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN21024"
NAME="AEN21585"
></A
><H3
><A
@ -462,6 +359,9 @@ CLASS="PROGRAMLISTING"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN21590"
></A
><P
></P
><TABLE
@ -471,6 +371,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -486,8 +387,9 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&#13;</TD
>&nbsp;</TD
></TR
></TBODY
></TABLE
><P
></P
@ -496,7 +398,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN21038"
NAME="AEN21599"
></A
><H3
><A
@ -520,6 +422,9 @@ CLASS="PROGRAMLISTING"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN21604"
></A
><P
></P
><TABLE
@ -529,6 +434,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -544,8 +450,9 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&#13;</TD
>&nbsp;</TD
></TR
></TBODY
></TABLE
><P
></P
@ -554,7 +461,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN21052"
NAME="AEN21613"
></A
><H3
><A
@ -579,6 +486,9 @@ CLASS="PROGRAMLISTING"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN21618"
></A
><P
></P
><TABLE
@ -588,6 +498,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -620,8 +531,9 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&#13;</TD
>&nbsp;</TD
></TR
></TBODY
></TABLE
><P
></P
@ -630,7 +542,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN21070"
NAME="AEN21631"
></A
><H3
><A
@ -654,6 +566,9 @@ CLASS="PROGRAMLISTING"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN21636"
></A
><P
></P
><TABLE
@ -663,6 +578,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -693,8 +609,9 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&#13;</TD
>&nbsp;</TD
></TR
></TBODY
></TABLE
><P
></P
@ -703,7 +620,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN21088"
NAME="AEN21649"
></A
><H3
><A
@ -748,6 +665,9 @@ done ?</P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN21660"
></A
><P
></P
><TABLE
@ -757,6 +677,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -852,6 +773,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>0 on success</TD
></TR
></TBODY
></TABLE
><P
></P
@ -860,7 +782,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN21128"
NAME="AEN21689"
></A
><H3
><A
@ -901,6 +823,9 @@ HREF="libxml-xmlmemory.html#XMLSTRDUPFUNC"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN21699"
></A
><P
></P
><TABLE
@ -910,6 +835,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1005,6 +931,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>0 on success</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1013,7 +940,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN21167"
NAME="AEN21728"
></A
><H3
><A
@ -1039,6 +966,9 @@ CLASS="PROGRAMLISTING"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN21734"
></A
><P
></P
><TABLE
@ -1048,6 +978,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1063,6 +994,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>0 on success</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1071,7 +1003,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN21182"
NAME="AEN21743"
></A
><H3
><A
@ -1097,6 +1029,9 @@ CLASS="PROGRAMLISTING"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN21749"
></A
><P
></P
><TABLE
@ -1106,6 +1041,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1121,6 +1057,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>an int representing the amount of memory allocated.</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1129,7 +1066,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN21197"
NAME="AEN21758"
></A
><H3
><A
@ -1158,6 +1095,9 @@ HREF="FILE-CAPS"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN21765"
></A
><P
></P
><TABLE
@ -1167,6 +1107,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1185,6 +1126,7 @@ VALIGN="TOP"
> a FILE descriptor used as the output file, if NULL, the result is
written to the file .memorylist</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1193,7 +1135,7 @@ written to the file .memorylist</TD
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN21213"
NAME="AEN21774"
></A
><H3
><A
@ -1229,6 +1171,9 @@ CLASS="PARAMETER"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN21782"
></A
><P
></P
><TABLE
@ -1238,6 +1183,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1272,6 +1218,7 @@ ALIGN="LEFT"
VALIGN="TOP"
> number of entries to dump</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1280,7 +1227,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN21234"
NAME="AEN21795"
></A
><H3
><A
@ -1308,7 +1255,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN21240"
NAME="AEN21801"
></A
><H3
><A
@ -1332,6 +1279,9 @@ CLASS="PROGRAMLISTING"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN21806"
></A
><P
></P
><TABLE
@ -1341,6 +1291,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1356,8 +1307,9 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&#13;</TD
>&nbsp;</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1366,7 +1318,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN21254"
NAME="AEN21815"
></A
><H3
><A
@ -1390,6 +1342,9 @@ CLASS="PROGRAMLISTING"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN21820"
></A
><P
></P
><TABLE
@ -1399,6 +1354,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1431,8 +1387,9 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&#13;</TD
>&nbsp;</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1441,7 +1398,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN21272"
NAME="AEN21833"
></A
><H3
><A
@ -1465,6 +1422,9 @@ CLASS="PROGRAMLISTING"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN21838"
></A
><P
></P
><TABLE
@ -1474,6 +1434,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1489,8 +1450,9 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&#13;</TD
>&nbsp;</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1499,7 +1461,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN21286"
NAME="AEN21847"
></A
><H3
><A
@ -1530,6 +1492,9 @@ HREF="MALLOC"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN21854"
></A
><P
></P
><TABLE
@ -1539,6 +1504,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1590,6 +1556,7 @@ ALIGN="LEFT"
VALIGN="TOP"
> the line number</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1598,7 +1565,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN21310"
NAME="AEN21871"
></A
><H3
><A
@ -1630,6 +1597,9 @@ HREF="REALLOC"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN21878"
></A
><P
></P
><TABLE
@ -1639,6 +1609,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1707,6 +1678,7 @@ ALIGN="LEFT"
VALIGN="TOP"
> the line number</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1715,7 +1687,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN21338"
NAME="AEN21899"
></A
><H3
><A
@ -1746,6 +1718,9 @@ HREF="STRDUP"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN21906"
></A
><P
></P
><TABLE
@ -1755,6 +1730,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1821,6 +1797,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>a pointer to the new string or NULL if allocation error occured.</TD
></TR
></TBODY
></TABLE
><P
></P

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -4,7 +4,7 @@
>xpointer</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><LINK
CONTENT="Modular DocBook HTML Stylesheet Version 1.59"><LINK
REL="HOME"
TITLE="Gnome XML Library Reference Manual"
HREF="book1.html"><LINK
@ -18,6 +18,7 @@ REL="NEXT"
TITLE="xinclude"
HREF="libxml-xinclude.html"></HEAD
><BODY
CLASS="REFENTRY"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
@ -121,7 +122,7 @@ NAME="LIBXML-XPOINTER"
><DIV
CLASS="REFNAMEDIV"
><A
NAME="AEN14315"
NAME="AEN14825"
></A
><H2
>Name</H2
@ -129,7 +130,7 @@ NAME="AEN14315"
><DIV
CLASS="REFSYNOPSISDIV"
><A
NAME="AEN14318"
NAME="AEN14828"
></A
><H2
>Synopsis</H2
@ -409,7 +410,7 @@ HREF="libxml-xpath.html#XMLXPATHPARSERCONTEXTPTR"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN14393"
NAME="AEN14903"
></A
><H2
>Description</H2
@ -419,14 +420,14 @@ NAME="AEN14393"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN14396"
NAME="AEN14906"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
NAME="AEN14398"
NAME="AEN14908"
></A
><H3
><A
@ -456,7 +457,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN14403"
NAME="AEN14913"
></A
><H3
><A
@ -482,7 +483,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN14408"
NAME="AEN14918"
></A
><H3
><A
@ -519,6 +520,9 @@ CLASS="PARAMETER"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN14927"
></A
><P
></P
><TABLE
@ -528,6 +532,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -560,6 +565,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>the newly created object.</TD
></TR
></TBODY
></TABLE
><P
></P
@ -568,7 +574,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN14430"
NAME="AEN14940"
></A
><H3
><A
@ -597,6 +603,9 @@ HREF="libxml-xpointer.html#XMLLOCATIONSETPTR"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN14947"
></A
><P
></P
><TABLE
@ -606,6 +615,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -623,6 +633,7 @@ ALIGN="LEFT"
VALIGN="TOP"
> the xmlLocationSetPtr to free</TD
></TR
></TBODY
></TABLE
><P
></P
@ -631,7 +642,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN14446"
NAME="AEN14956"
></A
><H3
><A
@ -677,6 +688,9 @@ CLASS="PARAMETER"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN14967"
></A
><P
></P
><TABLE
@ -686,6 +700,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -735,6 +750,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>val1 once extended or NULL in case of error.</TD
></TR
></TBODY
></TABLE
><P
></P
@ -743,7 +759,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN14474"
NAME="AEN14984"
></A
><H3
><A
@ -781,6 +797,9 @@ HREF="libxml-tree.html#XMLNODEPTR"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN14993"
></A
><P
></P
><TABLE
@ -790,6 +809,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -873,6 +893,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>the newly created object.</TD
></TR
></TBODY
></TABLE
><P
></P
@ -881,7 +902,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN14508"
NAME="AEN15018"
></A
><H3
><A
@ -917,6 +938,9 @@ HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN15027"
></A
><P
></P
><TABLE
@ -926,6 +950,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -975,6 +1000,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>the newly created object.</TD
></TR
></TBODY
></TABLE
><P
></P
@ -983,7 +1009,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN14534"
NAME="AEN15044"
></A
><H3
><A
@ -1019,6 +1045,9 @@ HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN15053"
></A
><P
></P
><TABLE
@ -1028,6 +1057,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1077,6 +1107,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>the newly created object.</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1085,7 +1116,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN14560"
NAME="AEN15070"
></A
><H3
><A
@ -1121,6 +1152,9 @@ HREF="libxml-tree.html#XMLNODEPTR"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN15079"
></A
><P
></P
><TABLE
@ -1130,6 +1164,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1179,6 +1214,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>the newly created object.</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1187,7 +1223,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN14586"
NAME="AEN15096"
></A
><H3
><A
@ -1223,6 +1259,9 @@ HREF="libxml-tree.html#XMLNODEPTR"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN15105"
></A
><P
></P
><TABLE
@ -1232,6 +1271,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1281,6 +1321,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>the newly created object.</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1289,7 +1330,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN14612"
NAME="AEN15122"
></A
><H3
><A
@ -1337,6 +1378,9 @@ CLASS="PARAMETER"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN15133"
></A
><P
></P
><TABLE
@ -1346,6 +1390,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1395,6 +1440,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>the newly created object.</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1403,7 +1449,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN14640"
NAME="AEN15150"
></A
><H3
><A
@ -1442,6 +1488,9 @@ CLASS="PARAMETER"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN15159"
></A
><P
></P
><TABLE
@ -1451,6 +1500,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1483,6 +1533,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>the newly created object.</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1491,7 +1542,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN14662"
NAME="AEN15172"
></A
><H3
><A
@ -1527,6 +1578,9 @@ HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN15181"
></A
><P
></P
><TABLE
@ -1536,6 +1590,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1585,6 +1640,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>the newly created object.</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1593,7 +1649,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN14688"
NAME="AEN15198"
></A
><H3
><A
@ -1625,6 +1681,9 @@ HREF="libxml-tree.html#XMLNODEPTR"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN15206"
></A
><P
></P
><TABLE
@ -1634,6 +1693,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1666,6 +1726,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>the newly created object.</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1674,7 +1735,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN14709"
NAME="AEN15219"
></A
><H3
><A
@ -1713,6 +1774,9 @@ CLASS="PARAMETER"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN15228"
></A
><P
></P
><TABLE
@ -1722,6 +1786,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1756,6 +1821,7 @@ ALIGN="LEFT"
VALIGN="TOP"
> a new xmlXPathObjectPtr</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1764,7 +1830,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN14731"
NAME="AEN15241"
></A
><H3
><A
@ -1801,6 +1867,9 @@ CLASS="PARAMETER"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN15250"
></A
><P
></P
><TABLE
@ -1810,6 +1879,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1842,6 +1912,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>the newly created object.</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1850,7 +1921,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN14753"
NAME="AEN15263"
></A
><H3
><A
@ -1883,6 +1954,9 @@ HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN15271"
></A
><P
></P
><TABLE
@ -1892,6 +1966,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -1926,6 +2001,7 @@ ALIGN="LEFT"
VALIGN="TOP"
> an xmlXPathObjectPtr</TD
></TR
></TBODY
></TABLE
><P
></P
@ -1934,7 +2010,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN14774"
NAME="AEN15284"
></A
><H3
><A
@ -1964,6 +2040,9 @@ HREF="libxml-xpointer.html#XMLLOCATIONSETPTR"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN15291"
></A
><P
></P
><TABLE
@ -1973,6 +2052,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -2007,6 +2087,7 @@ ALIGN="LEFT"
VALIGN="TOP"
> the index to remove</TD
></TR
></TBODY
></TABLE
><P
></P
@ -2015,7 +2096,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN14794"
NAME="AEN15304"
></A
><H3
><A
@ -2055,6 +2136,9 @@ HREF="libxml-tree.html#XMLNODEPTR"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN15314"
></A
><P
></P
><TABLE
@ -2064,6 +2148,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -2131,6 +2216,7 @@ ALIGN="LEFT"
VALIGN="TOP"
>the xmlXPathContext just allocated.</TD
></TR
></TBODY
></TABLE
><P
></P
@ -2139,7 +2225,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN14825"
NAME="AEN15335"
></A
><H3
><A
@ -2175,6 +2261,9 @@ HREF="libxml-xpath.html#XMLXPATHCONTEXTPTR"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN15344"
></A
><P
></P
><TABLE
@ -2184,6 +2273,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -2234,6 +2324,7 @@ VALIGN="TOP"
>the xmlXPathObjectPtr resulting from the eveluation or NULL.
the caller has to free the object.</TD
></TR
></TBODY
></TABLE
><P
></P
@ -2242,7 +2333,7 @@ the caller has to free the object.</TD
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN14851"
NAME="AEN15361"
></A
><H3
><A
@ -2275,6 +2366,9 @@ HREF="TO"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN15369"
></A
><P
></P
><TABLE
@ -2284,6 +2378,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -2318,6 +2413,7 @@ ALIGN="LEFT"
VALIGN="TOP"
> the number of args</TD
></TR
></TBODY
></TABLE
><P
></P
@ -2326,7 +2422,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN14872"
NAME="AEN15382"
></A
><H3
><A
@ -2358,6 +2454,9 @@ HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN15390"
></A
><P
></P
><TABLE
@ -2367,6 +2466,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -2400,6 +2500,7 @@ VALIGN="TOP"
>an xmlNodePtr list or NULL.
the caller has to free the node tree.</TD
></TR
></TBODY
></TABLE
><P
></P
@ -2408,7 +2509,7 @@ the caller has to free the node tree.</TD
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN14893"
NAME="AEN15403"
></A
><H3
><A
@ -2444,6 +2545,9 @@ a Location Set instead of a node set</P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN15412"
></A
><P
></P
><TABLE
@ -2453,6 +2557,7 @@ BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
@ -2470,6 +2575,7 @@ ALIGN="LEFT"
VALIGN="TOP"
> the XPointer Parser context</TD
></TR
></TBODY
></TABLE
><P
></P

View File

@ -19,10 +19,40 @@
extern "C" {
#endif
/**
* HTML_TEXT_NODE:
*
* Macro, a text node in a HTML document is really implemented
* the same way as a text node in an XML document.
*/
#define HTML_TEXT_NODE XML_TEXT_NODE
/**
* HTML_ENTITY_REF_NODE:
*
* Macro, an entity reference in a HTML document is really implemented
* the same way as an entity reference in an XML document.
*/
#define HTML_ENTITY_REF_NODE XML_ENTITY_REF_NODE
/**
* HTML_COMMENT_NODE:
*
* Macro, a comment in a HTML document is really implemented
* the same way as a comment in an XML document.
*/
#define HTML_COMMENT_NODE XML_COMMENT_NODE
/**
* HTML_PRESERVE_NODE:
*
* Macro, a preserved node in a HTML document is really implemented
* the same way as a CDATA section in an XML document.
*/
#define HTML_PRESERVE_NODE XML_CDATA_SECTION_NODE
/**
* HTML_PI_NODE:
*
* Macro, a processing instruction in a HTML document is really implemented
* the same way as a processing instruction in an XML document.
*/
#define HTML_PI_NODE XML_PI_NODE
htmlDocPtr htmlNewDoc (const xmlChar *URI,

View File

@ -65,8 +65,10 @@ void xmlLsOneNode (FILE *output,
*/
typedef char * (* xmlShellReadlineFunc)(char *prompt);
/*
* The shell context itself
/**
* xmlShellCtxt:
*
* A debugging shell context
* TODO: add the defined function tables.
*/
typedef struct _xmlShellCtxt xmlShellCtxt;

View File

@ -20,13 +20,17 @@
extern "C" {
#endif
/*
/**
* XML_MAX_NAMELEN:
*
* Identifiers can be longer, but this will be more costly
* at runtime.
*/
#define XML_MAX_NAMELEN 100
/*
/**
* INPUT_CHUNK:
*
* The parser tries to always have that amount of input ready
* one of the point is providing context when reporting errors
*/
@ -37,7 +41,12 @@ extern "C" {
* UNICODE version of the macros. *
* *
************************************************************************/
/*
/**
* IS_CHAR:
* @c: an UNICODE value (int)
*
* Macro to check the following production in the XML spec
*
* [2] Char ::= #x9 | #xA | #xD | [#x20-#xD7FF] | [#xE000-#xFFFD]
* | [#x10000-#x10FFFF]
* any Unicode character, excluding the surrogate blocks, FFFE, and FFFF.
@ -48,57 +57,119 @@ extern "C" {
(((c) >= 0xE000) && ((c) <= 0xFFFD)) || \
(((c) >= 0x10000) && ((c) <= 0x10FFFF)))
/*
/**
* IS_BLANK:
* @c: an UNICODE value (int)
*
* Macro to check the following production in the XML spec
*
* [3] S ::= (#x20 | #x9 | #xD | #xA)+
*/
#define IS_BLANK(c) (((c) == 0x20) || ((c) == 0x09) || ((c) == 0xA) || \
((c) == 0x0D))
/*
/**
* IS_BASECHAR:
* @c: an UNICODE value (int)
*
* Macro to check the following production in the XML spec
*
* [85] BaseChar ::= ... long list see REC ...
*/
#define IS_BASECHAR(c) xmlIsBaseChar(c)
/*
/**
* IS_DIGIT:
* @c: an UNICODE value (int)
*
* Macro to check the following production in the XML spec
*
* [88] Digit ::= ... long list see REC ...
*/
#define IS_DIGIT(c) xmlIsDigit(c)
/*
/**
* IS_COMBINING:
* @c: an UNICODE value (int)
*
* Macro to check the following production in the XML spec
*
* [87] CombiningChar ::= ... long list see REC ...
*/
#define IS_COMBINING(c) xmlIsCombining(c)
/*
/**
* IS_EXTENDER:
* @c: an UNICODE value (int)
*
* Macro to check the following production in the XML spec
*
*
* [89] Extender ::= #x00B7 | #x02D0 | #x02D1 | #x0387 | #x0640 |
* #x0E46 | #x0EC6 | #x3005 | [#x3031-#x3035] |
* [#x309D-#x309E] | [#x30FC-#x30FE]
*/
#define IS_EXTENDER(c) xmlIsExtender(c)
/*
/**
* IS_IDEOGRAPHIC:
* @c: an UNICODE value (int)
*
* Macro to check the following production in the XML spec
*
*
* [86] Ideographic ::= [#x4E00-#x9FA5] | #x3007 | [#x3021-#x3029]
*/
#define IS_IDEOGRAPHIC(c) xmlIsIdeographic(c)
/*
/**
* IS_LETTER:
* @c: an UNICODE value (int)
*
* Macro to check the following production in the XML spec
*
*
* [84] Letter ::= BaseChar | Ideographic
*/
#define IS_LETTER(c) (IS_BASECHAR(c) || IS_IDEOGRAPHIC(c))
/*
/**
* IS_PUBIDCHAR:
* @c: an UNICODE value (int)
*
* Macro to check the following production in the XML spec
*
*
* [13] PubidChar ::= #x20 | #xD | #xA | [a-zA-Z0-9] | [-'()+,./:=?;!*#@$_%]
*/
#define IS_PUBIDCHAR(c) xmlIsPubidChar(c)
/**
* SKIP_EOL:
* @p: and UTF8 string pointer
*
* Skips the end of line chars
*/
#define SKIP_EOL(p) \
if (*(p) == 0x13) { p++ ; if (*(p) == 0x10) p++; } \
if (*(p) == 0x10) { p++ ; if (*(p) == 0x13) p++; }
/**
* MOVETO_ENDTAG:
* @p: and UTF8 string pointer
*
* Skips to the next '>' char
*/
#define MOVETO_ENDTAG(p) \
while ((*p) && (*(p) != '>')) (p)++
/**
* MOVETO_STARTTAG:
* @p: and UTF8 string pointer
*
* Skips to the next '<' char
*/
#define MOVETO_STARTTAG(p) \
while ((*p) && (*(p) != '<')) (p)++

View File

@ -59,25 +59,36 @@ typedef enum {
#endif
} xmlElementType;
/*
* Size of an internal character representation.
/**
* xmlChar:
*
* We use 8bit chars internal representation for memory efficiency,
* Note that with 8 bits wide xmlChars one can still use UTF-8 to handle
* correctly non ISO-Latin input.
* This is a basic byte in an UTF-8 encoded string.
* It's unsigned allowing to pinpoint case where char * are assigned
* to xmlChar * (possibly making serialization back impossible).
*/
typedef unsigned char xmlChar;
/*
* Removed in 2.3.9 ... nobody should still use this
*
#ifndef WIN32
#ifndef CHAR
#define CHAR xmlChar
#endif
#endif
*/
/**
* BAD_CAST:
*
* Macro to cast a string to an xmlChar * when one know its safe.
*/
#define BAD_CAST (xmlChar *)
/*
/**
* xmlNotation:
*
* a DTD Notation definition
*/
@ -89,8 +100,10 @@ struct _xmlNotation {
const xmlChar *SystemID; /* System identifier, if any */
};
/*
* a DTD Attribute definition
/**
* xmlAttributeType:
*
* a DTD Attribute type definition
*/
typedef enum {
@ -106,6 +119,12 @@ typedef enum {
XML_ATTRIBUTE_NOTATION
} xmlAttributeType;
/**
* xmlAttributeDefault:
*
* a DTD Attribute default definition
*/
typedef enum {
XML_ATTRIBUTE_NONE = 1,
XML_ATTRIBUTE_REQUIRED,
@ -113,6 +132,12 @@ typedef enum {
XML_ATTRIBUTE_FIXED
} xmlAttributeDefault;
/**
* xmlEnumeration:
*
* list structure used when there is an enumeration in DTDs
*/
typedef struct _xmlEnumeration xmlEnumeration;
typedef xmlEnumeration *xmlEnumerationPtr;
struct _xmlEnumeration {
@ -120,6 +145,12 @@ struct _xmlEnumeration {
const xmlChar *name; /* Enumeration name */
};
/**
* xmlAttribute:
*
* an Attribute declaration in a DTD
*/
typedef struct _xmlAttribute xmlAttribute;
typedef xmlAttribute *xmlAttributePtr;
struct _xmlAttribute {
@ -144,8 +175,10 @@ struct _xmlAttribute {
const xmlChar *elem; /* Element holding the attribute */
};
/*
* a DTD Element definition.
/**
* xmlElementContentType:
*
* Possible definitions of element content types
*/
typedef enum {
XML_ELEMENT_CONTENT_PCDATA = 1,
@ -154,6 +187,11 @@ typedef enum {
XML_ELEMENT_CONTENT_OR
} xmlElementContentType;
/**
* xmlElementContentOccur:
*
* Possible definitions of element content occurences
*/
typedef enum {
XML_ELEMENT_CONTENT_ONCE = 1,
XML_ELEMENT_CONTENT_OPT,
@ -161,6 +199,13 @@ typedef enum {
XML_ELEMENT_CONTENT_PLUS
} xmlElementContentOccur;
/**
* xmlElementContent:
*
* an XML Element content as stored after parsing an element definition
* in a DTD.
*/
typedef struct _xmlElementContent xmlElementContent;
typedef xmlElementContent *xmlElementContentPtr;
struct _xmlElementContent {
@ -172,6 +217,12 @@ struct _xmlElementContent {
struct _xmlElementContent *parent; /* parent */
};
/**
* xmlElementTypeVal:
*
* the differnt possibility for an element content type
*/
typedef enum {
XML_ELEMENT_TYPE_UNDEFINED = 0,
XML_ELEMENT_TYPE_EMPTY = 1,
@ -180,6 +231,12 @@ typedef enum {
XML_ELEMENT_TYPE_ELEMENT
} xmlElementTypeVal;
/**
* xmlElement:
*
* an XML Element declaration from a DTD
*/
typedef struct _xmlElement xmlElement;
typedef xmlElement *xmlElementPtr;
struct _xmlElement {
@ -201,7 +258,13 @@ struct _xmlElement {
const xmlChar *prefix; /* the namespace prefix if any */
};
/*
#define XML_LOCAL_NAMESPACE XML_NAMESPACE_DECL
typedef xmlElementType xmlNsType;
/**
* xmlNs:
*
* An XML namespace.
* Note that prefix == NULL is valid, it defines the default namespace
* within the subtree (until overriden).
@ -210,9 +273,6 @@ struct _xmlElement {
* xmlNsType is unified with xmlElementType
*/
#define XML_LOCAL_NAMESPACE XML_NAMESPACE_DECL
typedef xmlElementType xmlNsType;
typedef struct _xmlNs xmlNs;
typedef xmlNs *xmlNsPtr;
struct _xmlNs {
@ -222,8 +282,11 @@ struct _xmlNs {
const xmlChar *prefix; /* prefix for the namespace */
};
/*
* An XML DtD, as defined by <!DOCTYPE.
/**
* xmlDtd:
*
* An XML DtD, as defined by <!DOCTYPE ... There is actually one for
* the internal subset and for the external subset
*/
typedef struct _xmlDtd xmlDtd;
typedef xmlDtd *xmlDtdPtr;
@ -250,8 +313,10 @@ struct _xmlDtd {
void *pentities; /* Hash table for param entities if any */
};
/*
* A attribute of an XML node.
/**
* xmlAttr:
*
* A attribute on an XML node.
*/
typedef struct _xmlAttr xmlAttr;
typedef xmlAttr *xmlAttrPtr;
@ -271,7 +336,9 @@ struct _xmlAttr {
xmlAttributeType atype; /* the attribute type if validating */
};
/*
/**
* xmlID:
*
* An XML ID instance.
*/
@ -283,7 +350,9 @@ struct _xmlID {
xmlAttrPtr attr; /* The attribut holding it */
};
/*
/**
* xmlRef:
*
* An XML IDREF instance.
*/
@ -295,8 +364,11 @@ struct _xmlRef {
xmlAttrPtr attr; /* The attribut holding it */
};
/*
* A buffer structure
/**
* xmlBufferAllocationScheme:
*
* A buffer allocation scheme can be defined to either match exactly the
* need or double it's allocated size each time it is found too small
*/
typedef enum {
@ -304,6 +376,11 @@ typedef enum {
XML_BUFFER_ALLOC_EXACT
} xmlBufferAllocationScheme;
/**
* xmlBuffer:
*
* A buffer structure
*/
typedef struct _xmlBuffer xmlBuffer;
typedef xmlBuffer *xmlBufferPtr;
struct _xmlBuffer {
@ -344,7 +421,9 @@ struct _xmlNode {
xmlNs *nsDef; /* namespace definitions on this node */
};
/*
/**
* xmlDoc:
*
* An XML document.
*/
typedef struct _xmlDoc xmlDoc;
@ -377,11 +456,21 @@ struct _xmlDoc {
actually an xmlCharEncoding */
};
/*
* Compatibility naming layer with libxml1
/**
* xmlChildrenNode:
*
* Macro for compatibility naming layer with libxml1
*/
#ifndef xmlChildrenNode
#define xmlChildrenNode children
#endif
/**
* xmlRootNode:
*
* Macro for compatibility naming layer with libxml1
*/
#ifndef xmlRootNode
#define xmlRootNode children
#endif

View File

@ -25,7 +25,9 @@ extern void xmlCheckVersion(int version);
#define LIBXML_VERSION_STRING "@LIBXML_VERSION_NUMBER@"
#define LIBXML_TEST_VERSION xmlCheckVersion(@LIBXML_VERSION_NUMBER@);
/*
/**
* WITH_TRIO:
*
* Whether the trio support need to be configured in
*/
#if @WITH_TRIO@
@ -34,7 +36,9 @@ extern void xmlCheckVersion(int version);
#define WITHOUT_TRIO
#endif
/*
/**
* LIBXML_FTP_ENABLED:
*
* Whether the FTP support is configured in
*/
#if @WITH_FTP@
@ -43,7 +47,9 @@ extern void xmlCheckVersion(int version);
#define LIBXML_FTP_DISABLED
#endif
/*
/**
* LIBXML_HTTP_ENABLED:
*
* Whether the HTTP support is configured in
*/
#if @WITH_HTTP@
@ -52,7 +58,9 @@ extern void xmlCheckVersion(int version);
#define LIBXML_HTTP_DISABLED
#endif
/*
/**
* LIBXML_HTML_ENABLED:
*
* Whether the HTML support is configured in
*/
#if @WITH_HTML@
@ -61,7 +69,9 @@ extern void xmlCheckVersion(int version);
#define LIBXML_HTML_DISABLED
#endif
/*
/**
* LIBXML_CATALOG_ENABLED:
*
* Whether the Catalog support is configured in
*/
#if @WITH_CATALOG@
@ -70,7 +80,9 @@ extern void xmlCheckVersion(int version);
#define LIBXML_CATALOG_DISABLED
#endif
/*
/**
* LIBXML_DOCB_ENABLED:
*
* Whether the SGML Docbook support is configured in
*/
#if @WITH_DOCB@
@ -79,7 +91,9 @@ extern void xmlCheckVersion(int version);
#define LIBXML_DOCB_DISABLED
#endif
/*
/**
* LIBXML_XPATH_ENABLED:
*
* Whether XPath is configured in
*/
#if @WITH_XPATH@
@ -88,7 +102,9 @@ extern void xmlCheckVersion(int version);
#define LIBXML_XPATH_DISABLED
#endif
/*
/**
* LIBXML_XPTR_ENABLED:
*
* Whether XPointer is configured in
*/
#if @WITH_XPTR@
@ -97,7 +113,9 @@ extern void xmlCheckVersion(int version);
#define LIBXML_XPTR_DISABLED
#endif
/*
/**
* LIBXML_XINCLUDE_ENABLED:
*
* Whether XInclude is configured in
*/
#if @WITH_XINCLUDE@
@ -106,7 +124,9 @@ extern void xmlCheckVersion(int version);
#define LIBXML_XINCLUDE_DISABLED
#endif
/*
/**
* LIBXML_ICONV_ENABLED:
*
* Whether iconv support is available
*/
#ifndef WIN32
@ -117,7 +137,9 @@ extern void xmlCheckVersion(int version);
#endif
#endif
/*
/**
* LIBXML_DEBUG_ENABLED:
*
* Whether Debugging module is configured in
*/
#if @WITH_DEBUG@
@ -126,7 +148,9 @@ extern void xmlCheckVersion(int version);
#define LIBXML_DEBUG_DISABLED
#endif
/*
/**
* DEBUG_MEMORY_LOCATION:
*
* Whether the memory debugging is configured in
*/
#if @WITH_MEM_DEBUG@
@ -141,6 +165,11 @@ extern void xmlCheckVersion(int version);
#endif
#endif
/**
* ATTRIBUTE_UNUSED:
*
* Macro used to signal to GCC unused function parameters
*/
#ifdef __GNUC__
#ifdef HAVE_ANSIDECL_H
#include <ansidecl.h>

View File

@ -167,7 +167,9 @@ struct _xmlXPathAxis {
xmlXPathAxisFunc func; /* the search function */
};
/*
/**
* xmlXPathContext:
*
* Expression evaluation occurs with respect to a context.
* he context consists of:
* - a node (the context node)
@ -229,7 +231,9 @@ struct _xmlXPathContext {
typedef struct _xmlXPathCompExpr xmlXPathCompExpr;
typedef xmlXPathCompExpr *xmlXPathCompExprPtr;
/*
/**
* xmlXPathParserContext:
*
* An XPath parser context, it contains pure parsing informations,
* an xmlXPathContext, and the stack of objects.
*/
@ -249,7 +253,9 @@ struct _xmlXPathParserContext {
int xptr; /* it this an XPointer expression */
};
/*
/**
* xmlXPathFunction:
*
* An XPath function
* The arguments (if any) are popped out of the context stack
* and the result is pushed on the stack.
@ -288,7 +294,7 @@ int xmlXPathCmpNodes (xmlNodePtr node1,
*/
int xmlXPathCastNumberToBoolean (double val);
int xmlXPathCastStringToBoolean (const xmlChar * val);
int xmlXPathCastNodeToBoolean (xmlNodeSetPtr ns);
int xmlXPathCastNodeSetToBoolean (xmlNodeSetPtr ns);
int xmlXPathCastToBoolean (xmlXPathObjectPtr val);
double xmlXPathCastBooleanToNumber (int val);

View File

@ -22,36 +22,86 @@ extern "C" {
* *
************************************************************************/
/**
* CHECK_ERROR:
*
* macro to return from the function if an XPath error was detected
*/
#define CHECK_ERROR \
if (ctxt->error != XPATH_EXPRESSION_OK) return
/**
* CHECK_ERROR0:
*
* macro to return 0 from the function if an XPath error was detected
*/
#define CHECK_ERROR0 \
if (ctxt->error != XPATH_EXPRESSION_OK) return(0)
/**
* XP_ERROR:
* @X: the error code
*
* Macro to raise an XPath error and return
*/
#define XP_ERROR(X) \
{ xmlXPatherror(ctxt, __FILE__, __LINE__, X); \
ctxt->error = (X); return; }
/**
* XP_ERROR0:
* @X: the error code
*
* Macro to raise an XPath error and return 0
*/
#define XP_ERROR0(X) \
{ xmlXPatherror(ctxt, __FILE__, __LINE__, X); \
ctxt->error = (X); return(0); }
/**
* CHECK_TYPE:
* @typeval: the XPath type
*
* Macro to check that the value on top of the XPath stack is of a given
* type.
*/
#define CHECK_TYPE(typeval) \
if ((ctxt->value == NULL) || (ctxt->value->type != typeval)) \
XP_ERROR(XPATH_INVALID_TYPE)
/**
* CHECK_ARITY:
* @x: the number of expected args
*
* Macro to check that the number of args passed to an XPath function matches
*/
#define CHECK_ARITY(x) \
if (nargs != (x)) \
XP_ERROR(XPATH_INVALID_ARITY);
/**
* CAST_TO_STRING:
*
* Macro to try to cast the value on the top of the XPath stack to a string
*/
#define CAST_TO_STRING \
if ((ctxt->value != NULL) && (ctxt->value->type != XPATH_STRING)) \
xmlXPathStringFunction(ctxt, 1);
/**
* CAST_TO_NUMBER:
*
* Macro to try to cast the value on the top of the XPath stack to a number
*/
#define CAST_TO_NUMBER \
if ((ctxt->value != NULL) && (ctxt->value->type != XPATH_NUMBER)) \
xmlXPathNumberFunction(ctxt, 1);
/**
* CAST_TO_BOOLEAN:
*
* Macro to try to cast the value on the top of the XPath stack to a boolean
*/
#define CAST_TO_BOOLEAN \
if ((ctxt->value != NULL) && (ctxt->value->type != XPATH_BOOLEAN)) \
xmlXPathBooleanFunction(ctxt, 1);

View File

@ -20,13 +20,17 @@
extern "C" {
#endif
/*
/**
* XML_MAX_NAMELEN:
*
* Identifiers can be longer, but this will be more costly
* at runtime.
*/
#define XML_MAX_NAMELEN 100
/*
/**
* INPUT_CHUNK:
*
* The parser tries to always have that amount of input ready
* one of the point is providing context when reporting errors
*/
@ -37,7 +41,12 @@ extern "C" {
* UNICODE version of the macros. *
* *
************************************************************************/
/*
/**
* IS_CHAR:
* @c: an UNICODE value (int)
*
* Macro to check the following production in the XML spec
*
* [2] Char ::= #x9 | #xA | #xD | [#x20-#xD7FF] | [#xE000-#xFFFD]
* | [#x10000-#x10FFFF]
* any Unicode character, excluding the surrogate blocks, FFFE, and FFFF.
@ -48,57 +57,119 @@ extern "C" {
(((c) >= 0xE000) && ((c) <= 0xFFFD)) || \
(((c) >= 0x10000) && ((c) <= 0x10FFFF)))
/*
/**
* IS_BLANK:
* @c: an UNICODE value (int)
*
* Macro to check the following production in the XML spec
*
* [3] S ::= (#x20 | #x9 | #xD | #xA)+
*/
#define IS_BLANK(c) (((c) == 0x20) || ((c) == 0x09) || ((c) == 0xA) || \
((c) == 0x0D))
/*
/**
* IS_BASECHAR:
* @c: an UNICODE value (int)
*
* Macro to check the following production in the XML spec
*
* [85] BaseChar ::= ... long list see REC ...
*/
#define IS_BASECHAR(c) xmlIsBaseChar(c)
/*
/**
* IS_DIGIT:
* @c: an UNICODE value (int)
*
* Macro to check the following production in the XML spec
*
* [88] Digit ::= ... long list see REC ...
*/
#define IS_DIGIT(c) xmlIsDigit(c)
/*
/**
* IS_COMBINING:
* @c: an UNICODE value (int)
*
* Macro to check the following production in the XML spec
*
* [87] CombiningChar ::= ... long list see REC ...
*/
#define IS_COMBINING(c) xmlIsCombining(c)
/*
/**
* IS_EXTENDER:
* @c: an UNICODE value (int)
*
* Macro to check the following production in the XML spec
*
*
* [89] Extender ::= #x00B7 | #x02D0 | #x02D1 | #x0387 | #x0640 |
* #x0E46 | #x0EC6 | #x3005 | [#x3031-#x3035] |
* [#x309D-#x309E] | [#x30FC-#x30FE]
*/
#define IS_EXTENDER(c) xmlIsExtender(c)
/*
/**
* IS_IDEOGRAPHIC:
* @c: an UNICODE value (int)
*
* Macro to check the following production in the XML spec
*
*
* [86] Ideographic ::= [#x4E00-#x9FA5] | #x3007 | [#x3021-#x3029]
*/
#define IS_IDEOGRAPHIC(c) xmlIsIdeographic(c)
/*
/**
* IS_LETTER:
* @c: an UNICODE value (int)
*
* Macro to check the following production in the XML spec
*
*
* [84] Letter ::= BaseChar | Ideographic
*/
#define IS_LETTER(c) (IS_BASECHAR(c) || IS_IDEOGRAPHIC(c))
/*
/**
* IS_PUBIDCHAR:
* @c: an UNICODE value (int)
*
* Macro to check the following production in the XML spec
*
*
* [13] PubidChar ::= #x20 | #xD | #xA | [a-zA-Z0-9] | [-'()+,./:=?;!*#@$_%]
*/
#define IS_PUBIDCHAR(c) xmlIsPubidChar(c)
/**
* SKIP_EOL:
* @p: and UTF8 string pointer
*
* Skips the end of line chars
*/
#define SKIP_EOL(p) \
if (*(p) == 0x13) { p++ ; if (*(p) == 0x10) p++; } \
if (*(p) == 0x10) { p++ ; if (*(p) == 0x13) p++; }
/**
* MOVETO_ENDTAG:
* @p: and UTF8 string pointer
*
* Skips to the next '>' char
*/
#define MOVETO_ENDTAG(p) \
while ((*p) && (*(p) != '>')) (p)++
/**
* MOVETO_STARTTAG:
* @p: and UTF8 string pointer
*
* Skips to the next '<' char
*/
#define MOVETO_STARTTAG(p) \
while ((*p) && (*(p) != '<')) (p)++

139
tree.h
View File

@ -59,25 +59,36 @@ typedef enum {
#endif
} xmlElementType;
/*
* Size of an internal character representation.
/**
* xmlChar:
*
* We use 8bit chars internal representation for memory efficiency,
* Note that with 8 bits wide xmlChars one can still use UTF-8 to handle
* correctly non ISO-Latin input.
* This is a basic byte in an UTF-8 encoded string.
* It's unsigned allowing to pinpoint case where char * are assigned
* to xmlChar * (possibly making serialization back impossible).
*/
typedef unsigned char xmlChar;
/*
* Removed in 2.3.9 ... nobody should still use this
*
#ifndef WIN32
#ifndef CHAR
#define CHAR xmlChar
#endif
#endif
*/
/**
* BAD_CAST:
*
* Macro to cast a string to an xmlChar * when one know its safe.
*/
#define BAD_CAST (xmlChar *)
/*
/**
* xmlNotation:
*
* a DTD Notation definition
*/
@ -89,8 +100,10 @@ struct _xmlNotation {
const xmlChar *SystemID; /* System identifier, if any */
};
/*
* a DTD Attribute definition
/**
* xmlAttributeType:
*
* a DTD Attribute type definition
*/
typedef enum {
@ -106,6 +119,12 @@ typedef enum {
XML_ATTRIBUTE_NOTATION
} xmlAttributeType;
/**
* xmlAttributeDefault:
*
* a DTD Attribute default definition
*/
typedef enum {
XML_ATTRIBUTE_NONE = 1,
XML_ATTRIBUTE_REQUIRED,
@ -113,6 +132,12 @@ typedef enum {
XML_ATTRIBUTE_FIXED
} xmlAttributeDefault;
/**
* xmlEnumeration:
*
* list structure used when there is an enumeration in DTDs
*/
typedef struct _xmlEnumeration xmlEnumeration;
typedef xmlEnumeration *xmlEnumerationPtr;
struct _xmlEnumeration {
@ -120,6 +145,12 @@ struct _xmlEnumeration {
const xmlChar *name; /* Enumeration name */
};
/**
* xmlAttribute:
*
* an Attribute declaration in a DTD
*/
typedef struct _xmlAttribute xmlAttribute;
typedef xmlAttribute *xmlAttributePtr;
struct _xmlAttribute {
@ -144,8 +175,10 @@ struct _xmlAttribute {
const xmlChar *elem; /* Element holding the attribute */
};
/*
* a DTD Element definition.
/**
* xmlElementContentType:
*
* Possible definitions of element content types
*/
typedef enum {
XML_ELEMENT_CONTENT_PCDATA = 1,
@ -154,6 +187,11 @@ typedef enum {
XML_ELEMENT_CONTENT_OR
} xmlElementContentType;
/**
* xmlElementContentOccur:
*
* Possible definitions of element content occurences
*/
typedef enum {
XML_ELEMENT_CONTENT_ONCE = 1,
XML_ELEMENT_CONTENT_OPT,
@ -161,6 +199,13 @@ typedef enum {
XML_ELEMENT_CONTENT_PLUS
} xmlElementContentOccur;
/**
* xmlElementContent:
*
* an XML Element content as stored after parsing an element definition
* in a DTD.
*/
typedef struct _xmlElementContent xmlElementContent;
typedef xmlElementContent *xmlElementContentPtr;
struct _xmlElementContent {
@ -172,6 +217,12 @@ struct _xmlElementContent {
struct _xmlElementContent *parent; /* parent */
};
/**
* xmlElementTypeVal:
*
* the differnt possibility for an element content type
*/
typedef enum {
XML_ELEMENT_TYPE_UNDEFINED = 0,
XML_ELEMENT_TYPE_EMPTY = 1,
@ -180,6 +231,12 @@ typedef enum {
XML_ELEMENT_TYPE_ELEMENT
} xmlElementTypeVal;
/**
* xmlElement:
*
* an XML Element declaration from a DTD
*/
typedef struct _xmlElement xmlElement;
typedef xmlElement *xmlElementPtr;
struct _xmlElement {
@ -201,7 +258,13 @@ struct _xmlElement {
const xmlChar *prefix; /* the namespace prefix if any */
};
/*
#define XML_LOCAL_NAMESPACE XML_NAMESPACE_DECL
typedef xmlElementType xmlNsType;
/**
* xmlNs:
*
* An XML namespace.
* Note that prefix == NULL is valid, it defines the default namespace
* within the subtree (until overriden).
@ -210,9 +273,6 @@ struct _xmlElement {
* xmlNsType is unified with xmlElementType
*/
#define XML_LOCAL_NAMESPACE XML_NAMESPACE_DECL
typedef xmlElementType xmlNsType;
typedef struct _xmlNs xmlNs;
typedef xmlNs *xmlNsPtr;
struct _xmlNs {
@ -222,8 +282,11 @@ struct _xmlNs {
const xmlChar *prefix; /* prefix for the namespace */
};
/*
* An XML DtD, as defined by <!DOCTYPE.
/**
* xmlDtd:
*
* An XML DtD, as defined by <!DOCTYPE ... There is actually one for
* the internal subset and for the external subset
*/
typedef struct _xmlDtd xmlDtd;
typedef xmlDtd *xmlDtdPtr;
@ -250,8 +313,10 @@ struct _xmlDtd {
void *pentities; /* Hash table for param entities if any */
};
/*
* A attribute of an XML node.
/**
* xmlAttr:
*
* A attribute on an XML node.
*/
typedef struct _xmlAttr xmlAttr;
typedef xmlAttr *xmlAttrPtr;
@ -271,7 +336,9 @@ struct _xmlAttr {
xmlAttributeType atype; /* the attribute type if validating */
};
/*
/**
* xmlID:
*
* An XML ID instance.
*/
@ -283,7 +350,9 @@ struct _xmlID {
xmlAttrPtr attr; /* The attribut holding it */
};
/*
/**
* xmlRef:
*
* An XML IDREF instance.
*/
@ -295,8 +364,11 @@ struct _xmlRef {
xmlAttrPtr attr; /* The attribut holding it */
};
/*
* A buffer structure
/**
* xmlBufferAllocationScheme:
*
* A buffer allocation scheme can be defined to either match exactly the
* need or double it's allocated size each time it is found too small
*/
typedef enum {
@ -304,6 +376,11 @@ typedef enum {
XML_BUFFER_ALLOC_EXACT
} xmlBufferAllocationScheme;
/**
* xmlBuffer:
*
* A buffer structure
*/
typedef struct _xmlBuffer xmlBuffer;
typedef xmlBuffer *xmlBufferPtr;
struct _xmlBuffer {
@ -344,7 +421,9 @@ struct _xmlNode {
xmlNs *nsDef; /* namespace definitions on this node */
};
/*
/**
* xmlDoc:
*
* An XML document.
*/
typedef struct _xmlDoc xmlDoc;
@ -377,11 +456,21 @@ struct _xmlDoc {
actually an xmlCharEncoding */
};
/*
* Compatibility naming layer with libxml1
/**
* xmlChildrenNode:
*
* Macro for compatibility naming layer with libxml1
*/
#ifndef xmlChildrenNode
#define xmlChildrenNode children
#endif
/**
* xmlRootNode:
*
* Macro for compatibility naming layer with libxml1
*/
#ifndef xmlRootNode
#define xmlRootNode children
#endif

11
valid.c
View File

@ -105,6 +105,8 @@ static int
vstateVPush(xmlValidCtxtPtr ctxt, xmlElementContentPtr cont,
xmlNodePtr node, unsigned char depth, long occurs,
unsigned char state) {
int i = ctxt->vstateNr - 1;
if (ctxt->vstateNr >= ctxt->vstateMax) {
ctxt->vstateMax *= 2;
ctxt->vstateTab = (xmlValidState *) xmlRealloc(ctxt->vstateTab,
@ -116,6 +118,15 @@ vstateVPush(xmlValidCtxtPtr ctxt, xmlElementContentPtr cont,
}
ctxt->vstate = &ctxt->vstateTab[0];
}
/*
* Don't push on the stack a state already here
*/
if ((i >= 0) && (ctxt->vstateTab[i].cont == cont) &&
(ctxt->vstateTab[i].node == node) &&
(ctxt->vstateTab[i].depth == depth) &&
(ctxt->vstateTab[i].occurs == occurs) &&
(ctxt->vstateTab[i].state == state))
return(ctxt->vstateNr);
ctxt->vstateTab[ctxt->vstateNr].cont = cont;
ctxt->vstateTab[ctxt->vstateNr].node = node;
ctxt->vstateTab[ctxt->vstateNr].depth = depth;

View File

@ -25,7 +25,9 @@ extern void xmlCheckVersion(int version);
#define LIBXML_VERSION_STRING "@LIBXML_VERSION_NUMBER@"
#define LIBXML_TEST_VERSION xmlCheckVersion(@LIBXML_VERSION_NUMBER@);
/*
/**
* WITH_TRIO:
*
* Whether the trio support need to be configured in
*/
#if @WITH_TRIO@
@ -34,7 +36,9 @@ extern void xmlCheckVersion(int version);
#define WITHOUT_TRIO
#endif
/*
/**
* LIBXML_FTP_ENABLED:
*
* Whether the FTP support is configured in
*/
#if @WITH_FTP@
@ -43,7 +47,9 @@ extern void xmlCheckVersion(int version);
#define LIBXML_FTP_DISABLED
#endif
/*
/**
* LIBXML_HTTP_ENABLED:
*
* Whether the HTTP support is configured in
*/
#if @WITH_HTTP@
@ -52,7 +58,9 @@ extern void xmlCheckVersion(int version);
#define LIBXML_HTTP_DISABLED
#endif
/*
/**
* LIBXML_HTML_ENABLED:
*
* Whether the HTML support is configured in
*/
#if @WITH_HTML@
@ -61,7 +69,9 @@ extern void xmlCheckVersion(int version);
#define LIBXML_HTML_DISABLED
#endif
/*
/**
* LIBXML_CATALOG_ENABLED:
*
* Whether the Catalog support is configured in
*/
#if @WITH_CATALOG@
@ -70,7 +80,9 @@ extern void xmlCheckVersion(int version);
#define LIBXML_CATALOG_DISABLED
#endif
/*
/**
* LIBXML_DOCB_ENABLED:
*
* Whether the SGML Docbook support is configured in
*/
#if @WITH_DOCB@
@ -79,7 +91,9 @@ extern void xmlCheckVersion(int version);
#define LIBXML_DOCB_DISABLED
#endif
/*
/**
* LIBXML_XPATH_ENABLED:
*
* Whether XPath is configured in
*/
#if @WITH_XPATH@
@ -88,7 +102,9 @@ extern void xmlCheckVersion(int version);
#define LIBXML_XPATH_DISABLED
#endif
/*
/**
* LIBXML_XPTR_ENABLED:
*
* Whether XPointer is configured in
*/
#if @WITH_XPTR@
@ -97,7 +113,9 @@ extern void xmlCheckVersion(int version);
#define LIBXML_XPTR_DISABLED
#endif
/*
/**
* LIBXML_XINCLUDE_ENABLED:
*
* Whether XInclude is configured in
*/
#if @WITH_XINCLUDE@
@ -106,7 +124,9 @@ extern void xmlCheckVersion(int version);
#define LIBXML_XINCLUDE_DISABLED
#endif
/*
/**
* LIBXML_ICONV_ENABLED:
*
* Whether iconv support is available
*/
#ifndef WIN32
@ -117,7 +137,9 @@ extern void xmlCheckVersion(int version);
#endif
#endif
/*
/**
* LIBXML_DEBUG_ENABLED:
*
* Whether Debugging module is configured in
*/
#if @WITH_DEBUG@
@ -126,7 +148,9 @@ extern void xmlCheckVersion(int version);
#define LIBXML_DEBUG_DISABLED
#endif
/*
/**
* DEBUG_MEMORY_LOCATION:
*
* Whether the memory debugging is configured in
*/
#if @WITH_MEM_DEBUG@
@ -141,6 +165,11 @@ extern void xmlCheckVersion(int version);
#endif
#endif
/**
* ATTRIBUTE_UNUSED:
*
* Macro used to signal to GCC unused function parameters
*/
#ifdef __GNUC__
#ifdef HAVE_ANSIDECL_H
#include <ansidecl.h>

14
xpath.h
View File

@ -167,7 +167,9 @@ struct _xmlXPathAxis {
xmlXPathAxisFunc func; /* the search function */
};
/*
/**
* xmlXPathContext:
*
* Expression evaluation occurs with respect to a context.
* he context consists of:
* - a node (the context node)
@ -229,7 +231,9 @@ struct _xmlXPathContext {
typedef struct _xmlXPathCompExpr xmlXPathCompExpr;
typedef xmlXPathCompExpr *xmlXPathCompExprPtr;
/*
/**
* xmlXPathParserContext:
*
* An XPath parser context, it contains pure parsing informations,
* an xmlXPathContext, and the stack of objects.
*/
@ -249,7 +253,9 @@ struct _xmlXPathParserContext {
int xptr; /* it this an XPointer expression */
};
/*
/**
* xmlXPathFunction:
*
* An XPath function
* The arguments (if any) are popped out of the context stack
* and the result is pushed on the stack.
@ -288,7 +294,7 @@ int xmlXPathCmpNodes (xmlNodePtr node1,
*/
int xmlXPathCastNumberToBoolean (double val);
int xmlXPathCastStringToBoolean (const xmlChar * val);
int xmlXPathCastNodeToBoolean (xmlNodeSetPtr ns);
int xmlXPathCastNodeSetToBoolean (xmlNodeSetPtr ns);
int xmlXPathCastToBoolean (xmlXPathObjectPtr val);
double xmlXPathCastBooleanToNumber (int val);

View File

@ -22,36 +22,86 @@ extern "C" {
* *
************************************************************************/
/**
* CHECK_ERROR:
*
* macro to return from the function if an XPath error was detected
*/
#define CHECK_ERROR \
if (ctxt->error != XPATH_EXPRESSION_OK) return
/**
* CHECK_ERROR0:
*
* macro to return 0 from the function if an XPath error was detected
*/
#define CHECK_ERROR0 \
if (ctxt->error != XPATH_EXPRESSION_OK) return(0)
/**
* XP_ERROR:
* @X: the error code
*
* Macro to raise an XPath error and return
*/
#define XP_ERROR(X) \
{ xmlXPatherror(ctxt, __FILE__, __LINE__, X); \
ctxt->error = (X); return; }
/**
* XP_ERROR0:
* @X: the error code
*
* Macro to raise an XPath error and return 0
*/
#define XP_ERROR0(X) \
{ xmlXPatherror(ctxt, __FILE__, __LINE__, X); \
ctxt->error = (X); return(0); }
/**
* CHECK_TYPE:
* @typeval: the XPath type
*
* Macro to check that the value on top of the XPath stack is of a given
* type.
*/
#define CHECK_TYPE(typeval) \
if ((ctxt->value == NULL) || (ctxt->value->type != typeval)) \
XP_ERROR(XPATH_INVALID_TYPE)
/**
* CHECK_ARITY:
* @x: the number of expected args
*
* Macro to check that the number of args passed to an XPath function matches
*/
#define CHECK_ARITY(x) \
if (nargs != (x)) \
XP_ERROR(XPATH_INVALID_ARITY);
/**
* CAST_TO_STRING:
*
* Macro to try to cast the value on the top of the XPath stack to a string
*/
#define CAST_TO_STRING \
if ((ctxt->value != NULL) && (ctxt->value->type != XPATH_STRING)) \
xmlXPathStringFunction(ctxt, 1);
/**
* CAST_TO_NUMBER:
*
* Macro to try to cast the value on the top of the XPath stack to a number
*/
#define CAST_TO_NUMBER \
if ((ctxt->value != NULL) && (ctxt->value->type != XPATH_NUMBER)) \
xmlXPathNumberFunction(ctxt, 1);
/**
* CAST_TO_BOOLEAN:
*
* Macro to try to cast the value on the top of the XPath stack to a boolean
*/
#define CAST_TO_BOOLEAN \
if ((ctxt->value != NULL) && (ctxt->value->type != XPATH_BOOLEAN)) \
xmlXPathBooleanFunction(ctxt, 1);