1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-11-02 09:33:23 +03:00

Updated the docs, and configuratio/spec stuff to release is at libxml2 , daniel.

This commit is contained in:
Daniel Veillard
2000-03-14 19:59:05 +00:00
parent 75c29218ce
commit edfb29b8af
21 changed files with 3474 additions and 1144 deletions

View File

@@ -115,7 +115,7 @@ SIZE="3"
><DIV
CLASS="REFNAMEDIV"
><A
NAME="AEN12239"
NAME="AEN12758"
></A
><H2
>Name</H2
@@ -123,7 +123,7 @@ NAME="AEN12239"
><DIV
CLASS="REFSYNOPSISDIV"
><A
NAME="AEN12242"
NAME="AEN12761"
></A
><H2
>Synopsis</H2
@@ -148,14 +148,14 @@ HREF="gnome-xml-encoding.html#XMLCHARENCODINGINPUTFUNC"
>) (unsigned char *out,
int outlen,
unsigned char *in,
int inlen);
int *inlen);
int (<A
HREF="gnome-xml-encoding.html#XMLCHARENCODINGOUTPUTFUNC"
>*xmlCharEncodingOutputFunc</A
>) (unsigned char *out,
int outlen,
unsigned char *in,
int inlen);
int *inlen);
struct <A
HREF="gnome-xml-encoding.html#XMLCHARENCODINGHANDLER"
>xmlCharEncodingHandler</A
@@ -185,7 +185,8 @@ HREF="gnome-xml-encoding.html#XMLCHARENCODING"
> <A
HREF="gnome-xml-encoding.html#XMLDETECTCHARENCODING"
>xmlDetectCharEncoding</A
> (unsigned char *in);
> (unsigned char *in,
int len);
<A
HREF="gnome-xml-encoding.html#XMLCHARENCODING"
>xmlCharEncoding</A
@@ -211,7 +212,11 @@ HREF="gnome-xml-encoding.html#XMLCHARENCODINGHANDLERPTR"
HREF="gnome-xml-encoding.html#XMLFINDCHARENCODINGHANDLER"
>xmlFindCharEncodingHandler</A
>
(const char *name);</PRE
(const char *name);
int <A
HREF="gnome-xml-encoding.html#XMLCHECKUTF8"
>xmlCheckUTF8</A
> (unsigned char *utf);</PRE
></TD
></TR
></TABLE
@@ -219,7 +224,7 @@ HREF="gnome-xml-encoding.html#XMLFINDCHARENCODINGHANDLER"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN12263"
NAME="AEN12783"
></A
><H2
>Description</H2
@@ -229,14 +234,14 @@ NAME="AEN12263"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN12266"
NAME="AEN12786"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
NAME="AEN12268"
NAME="AEN12788"
></A
><H3
><A
@@ -286,7 +291,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN12273"
NAME="AEN12793"
></A
><H3
><A
@@ -305,7 +310,7 @@ CLASS="PROGRAMLISTING"
>int (*xmlCharEncodingInputFunc) (unsigned char *out,
int outlen,
unsigned char *in,
int inlen);</PRE
int *inlen);</PRE
></TD
></TR
></TABLE
@@ -413,7 +418,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN12303"
NAME="AEN12823"
></A
><H3
><A
@@ -432,7 +437,7 @@ CLASS="PROGRAMLISTING"
>int (*xmlCharEncodingOutputFunc) (unsigned char *out,
int outlen,
unsigned char *in,
int inlen);</PRE
int *inlen);</PRE
></TD
></TR
></TABLE
@@ -540,7 +545,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN12333"
NAME="AEN12853"
></A
><H3
><A
@@ -570,7 +575,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN12338"
NAME="AEN12858"
></A
><H3
><A
@@ -596,7 +601,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN12343"
NAME="AEN12863"
></A
><H3
><A
@@ -627,7 +632,7 @@ in normal processing.</P
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN12349"
NAME="AEN12869"
></A
><H3
><A
@@ -656,7 +661,7 @@ unregisters all the encoding handlers.</P
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN12355"
NAME="AEN12875"
></A
><H3
><A
@@ -719,7 +724,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN12371"
NAME="AEN12891"
></A
><H3
><A
@@ -738,7 +743,8 @@ CLASS="PROGRAMLISTING"
><A
HREF="gnome-xml-encoding.html#XMLCHARENCODING"
>xmlCharEncoding</A
> xmlDetectCharEncoding (unsigned char *in);</PRE
> xmlDetectCharEncoding (unsigned char *in,
int len);</PRE
></TD
></TR
></TABLE
@@ -781,6 +787,23 @@ VALIGN="TOP"
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>len</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> pointer to the length of the buffer</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><I
CLASS="EMPHASIS"
>Returns</I
@@ -799,7 +822,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN12391"
NAME="AEN12915"
></A
><H3
><A
@@ -880,7 +903,7 @@ if not recognized.</TD
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN12411"
NAME="AEN12935"
></A
><H3
><A
@@ -962,7 +985,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN12432"
NAME="AEN12956"
></A
><H3
><A
@@ -1036,6 +1059,101 @@ VALIGN="TOP"
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN12975"
></A
><H3
><A
NAME="XMLCHECKUTF8"
></A
>xmlCheckUTF8 ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>int xmlCheckUTF8 (unsigned char *utf);</PRE
></TD
></TR
></TABLE
><P
>Checks <TT
CLASS="PARAMETER"
><I
>utf</I
></TT
> for being valid utf-8. <TT
CLASS="PARAMETER"
><I
>utf</I
></TT
> is assumed to be
null-terminated. This function is not super-strict, as it will
allow longer utf-8 sequences than necessary. Note that Java is
capable of producing these sequences if provoked. Also note, this
routine checks for the 4-byte maxiumum size, but does not check for
0x10ffff maximum value.</P
><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
>utf</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> Pointer to putative utf-8 encoded string.</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><I
CLASS="EMPHASIS"
>Returns</I
> :</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> true if <TT
CLASS="PARAMETER"
><I
>utf</I
></TT
> is valid.</TD
></TR
></TABLE
><P
></P
></DIV
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"