Commit 06047432 authored by Daniel Veillard's avatar Daniel Veillard

removed extraneous xmlRemoveProp definition added item about

* tree.h: removed extraneous xmlRemoveProp definition
* TODO: added item about --disable-corba configure switch
* tree.c parser.c: fixed problems for xmlCopyDoc and postvalidation
* nanoftp.c: fixed include problems giving troubles on AIX and
  slowlaris
* xmlIO.[ch] valid.h tree.[ch] xlink.c xmlmemory.c uri.c
  parser.c nanoftp.c nanohttp.c SAX.c testSAX.c :
  comment and headers changes to lower gtk-doc number of warnings
* doc/html/*: rebuilt docs
Daniel
parent e0aed304
Mon Apr 24 13:30:13 CEST 2000 Daniel Veillard <Daniel.Veillard@w3.org>
* tree.h: removed extraneous xmlRemoveProp definition
* TODO: added item about --disable-corba configure switch
* tree.c parser.c: fixed problems for xmlCopyDoc and postvalidation
* nanoftp.c: fixed include problems giving troubles on AIX and
slowlaris
* xmlIO.[ch] valid.h tree.[ch] xlink.c xmlmemory.c uri.c
parser.c nanoftp.c nanohttp.c SAX.c testSAX.c :
comment and headers changes to lower gtk-doc number of warnings
* doc/html/*: rebuilt docs
Sun Apr 16 11:23:29 CEST 2000 Daniel Veillard <Daniel.Veillard@w3.org>
* HACKING: documented the tag for 1.x and instructions
......
......@@ -144,7 +144,10 @@ hasExternalSubset(void *ctx)
/**
* internalSubset:
* @ctx: the user data (XML parser context)
* @ctx: the user data (XML parser context)
* @name: the root element name
* @ExternalID: the external ID
* @SystemID: the SYSTEM ID (e.g. filename or URL)
*
* Callback on internal subset declaration.
*/
......@@ -163,6 +166,9 @@ internalSubset(void *ctx, const xmlChar *name,
/**
* externalSubset:
* @ctx: the user data (XML parser context)
* @name: the root element name
* @ExternalID: the external ID
* @SystemID: the SYSTEM ID (e.g. filename or URL)
*
* Callback on external subset declaration.
*/
......@@ -378,11 +384,12 @@ entityDecl(void *ctx, const xmlChar *name, int type,
/**
* attributeDecl:
* @ctx: the user data (XML parser context)
* @elem: the name of the element
* @fullname: the attribute name
* @type: the attribute type
* @publicId: The public ID of the attribute
* @systemId: The system ID of the attribute
* @content: the attribute value (without processing).
* @def: the type of default value
* @defaultValue: the attribute default value
* @tree: the tree of enumerated value set
*
* An attribute definition has been parsed
*/
......@@ -428,9 +435,7 @@ attributeDecl(void *ctx, const xmlChar *elem, const xmlChar *fullname,
* @ctx: the user data (XML parser context)
* @name: the element name
* @type: the element type
* @publicId: The public ID of the element
* @systemId: The system ID of the element
* @content: the element value (without processing).
* @content: the element value tree
*
* An element definition has been parsed
*/
......@@ -595,7 +600,7 @@ endDocument(void *ctx)
/**
* attribute:
* @ctx: the user data (XML parser context)
* @name: The attribute name
* @fullname: The attribute name, including namespace prefix
* @value: The attribute value
*
* Handle an attribute that has been read by the parser.
......@@ -743,7 +748,7 @@ attribute(void *ctx, const xmlChar *fullname, const xmlChar *value)
/**
* startElement:
* @ctx: the user data (XML parser context)
* @name: The element name
* @fullname: The element name, including namespace prefix
* @atts: An array of name/value attributes pairs, NULL terminated
*
* called when an opening tag has been processed.
......@@ -1029,7 +1034,6 @@ ignorableWhitespace(void *ctx, const xmlChar *ch, int len)
* @ctx: the user data (XML parser context)
* @target: the target name
* @data: the PI data's
* @len: the number of xmlChar
*
* A processing instruction has been parsed.
*/
......@@ -1102,6 +1106,7 @@ globalNamespace(void *ctx, const xmlChar *href, const xmlChar *prefix)
*
* Set the current element namespace.
*/
void
setNamespace(void *ctx, const xmlChar *name)
{
......@@ -1128,7 +1133,10 @@ setNamespace(void *ctx, const xmlChar *name)
* @ctx: the user data (XML parser context)
*
* Get the current element namespace.
*
* Returns the xmlNsPtr or NULL if none
*/
xmlNsPtr
getNamespace(void *ctx)
{
......@@ -1149,7 +1157,10 @@ getNamespace(void *ctx)
*
* Check that the current element namespace is the same as the
* one read upon parsing.
*
* Returns 1 if true 0 otherwise
*/
int
checkNamespace(void *ctx, xmlChar *namespace)
{
......
......@@ -23,6 +23,8 @@ TODO:
- Handle undefined namespaces in entity contents better ... at least
issue a warning
- General checking of DTD validation in presence of namespaces ... hairy
- fix --disable-corba configure switch handling, and use XML_WITHOUT_CORBA
not WITHOUT_CORBA flag
TODO:
=====
......
......@@ -4,13 +4,16 @@
>Gnome XML Library Reference Manual</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.33"><LINK
CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><LINK
REL="NEXT"
TITLE="Libxml Programming Notes"
HREF="libxml-notes.html"></HEAD
><BODY
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="BOOK"
><DIV
......@@ -46,14 +49,14 @@ CLASS="AFFILIATION"
><DIV
CLASS="ADDRESS"
><P
CLASS="LITERALLAYOUT"
CLASS="ADDRESS"
> &nbsp;&nbsp;&nbsp;&nbsp;Daniel.Veillard@w3.org<br>
&nbsp;&nbsp;</P
></DIV
></DIV
><P
CLASS="COPYRIGHT"
>Copyright 1999 by <SPAN
>Copyright &copy; 1999 by <SPAN
CLASS="HOLDER"
>Daniel Veillard</SPAN
></P
......
<
......@@ -4,7 +4,7 @@
>debugXML</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.33"><LINK
CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><LINK
REL="HOME"
TITLE="Gnome XML Library Reference Manual"
HREF="book1.html"><LINK
......@@ -20,6 +20,9 @@ HREF="gnome-xml-xmlmemory.html"></HEAD
><BODY
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
......@@ -111,19 +114,22 @@ SIZE="3"
></TABLE
></DIV
><H1
>debugXML</H1
><A
NAME="GNOME-XML-DEBUGXML"
>debugXML</A
></H1
><DIV
CLASS="REFNAMEDIV"
><A
NAME="AEN13459"
NAME="AEN11140"
></A
><H2
>Name</H2
>debugXML &#8212; </DIV
>debugXML&nbsp;--&nbsp;</DIV
><DIV
CLASS="REFSYNOPSISDIV"
><A
NAME="AEN13462"
NAME="AEN11143"
></A
><H2
>Synopsis</H2
......@@ -210,17 +216,6 @@ HREF="gnome-xml-tree.html#XMLNODEPTR"
> node,
int depth);
void <A
HREF="gnome-xml-debugxml.html#XMLDEBUGDUMPDOCUMENTHEAD"
>xmlDebugDumpDocumentHead</A
> (<GTKDOCLINK
HREF="FILE"
>FILE</GTKDOCLINK
> *output,
<A
HREF="gnome-xml-tree.html#XMLDOCPTR"
>xmlDocPtr</A
> doc);
void <A
HREF="gnome-xml-debugxml.html#XMLDEBUGDUMPDOCUMENT"
>xmlDebugDumpDocument</A
> (<GTKDOCLINK
......@@ -230,73 +225,7 @@ HREF="FILE"
<A
HREF="gnome-xml-tree.html#XMLDOCPTR"
>xmlDocPtr</A
> doc);
void <A
HREF="gnome-xml-debugxml.html#XMLDEBUGDUMPENTITIES"
>xmlDebugDumpEntities</A
> (<GTKDOCLINK
HREF="FILE"
>FILE</GTKDOCLINK
> *output,
<A
HREF="gnome-xml-tree.html#XMLDOCPTR"
>xmlDocPtr</A
> doc);
void <A
HREF="gnome-xml-debugxml.html#XMLLSONENODE"
>xmlLsOneNode</A
> (<GTKDOCLINK
HREF="FILE"
>FILE</GTKDOCLINK
> *output,
<A
HREF="gnome-xml-tree.html#XMLNODEPTR"
>xmlNodePtr</A
> node);
char* (<A
HREF="gnome-xml-debugxml.html#XMLSHELLREADLINEFUNC"
>*xmlShellReadlineFunc</A
>) (char *prompt);
struct <A
HREF="gnome-xml-debugxml.html#XMLSHELLCTXT"
>xmlShellCtxt</A
>;
typedef <A
HREF="gnome-xml-debugxml.html#XMLSHELLCTXTPTR"
>xmlShellCtxtPtr</A
>;
int (<A
HREF="gnome-xml-debugxml.html#XMLSHELLCMD"
>*xmlShellCmd</A
>) (<A
HREF="gnome-xml-debugxml.html#XMLSHELLCTXTPTR"
>xmlShellCtxtPtr</A
> ctxt,
char *arg,
<A
HREF="gnome-xml-tree.html#XMLNODEPTR"
>xmlNodePtr</A
> node,
<A
HREF="gnome-xml-tree.html#XMLNODEPTR"
>xmlNodePtr</A
> node2);
void <A
HREF="gnome-xml-debugxml.html#XMLSHELL"
>xmlShell</A
> (<A
HREF="gnome-xml-tree.html#XMLDOCPTR"
>xmlDocPtr</A
> doc,
char *filename,
<A
HREF="gnome-xml-debugxml.html#XMLSHELLREADLINEFUNC"
>xmlShellReadlineFunc</A
> input,
<GTKDOCLINK
HREF="FILE"
>FILE</GTKDOCLINK
> *output);</PRE
> doc);</PRE
></TD
></TR
></TABLE
......@@ -304,7 +233,7 @@ HREF="FILE"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN13506"
NAME="AEN11167"
></A
><H2
>Description</H2
......@@ -314,14 +243,14 @@ NAME="AEN13506"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN13509"
NAME="AEN11170"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
NAME="AEN13511"
NAME="AEN11172"
></A
><H3
><A
......@@ -403,7 +332,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN13531"
NAME="AEN11192"
></A
><H3
><A
......@@ -503,7 +432,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN13555"
NAME="AEN11216"
></A
><H3
><A
......@@ -603,7 +532,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN13579"
NAME="AEN11240"
></A
><H3
><A
......@@ -703,7 +632,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN13603"
NAME="AEN11264"
></A
><H3
><A
......@@ -803,7 +732,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN13627"
NAME="AEN11288"
></A
><H3
><A
......@@ -903,89 +832,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN13651"
></A
><H3
><A
NAME="XMLDEBUGDUMPDOCUMENTHEAD"
></A
>xmlDebugDumpDocumentHead ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>void xmlDebugDumpDocumentHead (<GTKDOCLINK
HREF="FILE"
>FILE</GTKDOCLINK
> *output,
<A
HREF="gnome-xml-tree.html#XMLDOCPTR"
>xmlDocPtr</A
> doc);</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
>output</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
>doc</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN13671"
NAME="AEN11312"
></A
><H3
><A
......@@ -1064,564 +911,6 @@ VALIGN="TOP"
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN13691"
></A
><H3
><A
NAME="XMLDEBUGDUMPENTITIES"
></A
>xmlDebugDumpEntities ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>void xmlDebugDumpEntities (<GTKDOCLINK
HREF="FILE"
>FILE</GTKDOCLINK
> *output,
<A
HREF="gnome-xml-tree.html#XMLDOCPTR"
>xmlDocPtr</A
> doc);</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
>output</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
>doc</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN13711"
></A
><H3
><A
NAME="XMLLSONENODE"
></A
>xmlLsOneNode ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>void xmlLsOneNode (<GTKDOCLINK
HREF="FILE"
>FILE</GTKDOCLINK
> *output,
<A
HREF="gnome-xml-tree.html#XMLNODEPTR"
>xmlNodePtr</A
> node);</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
>output</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
>node</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN13731"
></A
><H3
><A
NAME="XMLSHELLREADLINEFUNC"
></A
>xmlShellReadlineFunc ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>char* (*xmlShellReadlineFunc) (char *prompt);</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
>prompt</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><I
CLASS="EMPHASIS"
>Returns</I
> :</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN13749"
></A
><H3
><A
NAME="XMLSHELLCTXT"
></A
>struct xmlShellCtxt</H3