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

doc/xmllint.xml, xmllint.html, xmllint.1 update man page to reflect

Sat Jun 19 18:34:11 MDT 2004 John Fleck <jfleck@inkstain.net>

	* doc/xmllint.xml, xmllint.html, xmllint.1
	update man page to reflect William's newly disciplined return
	code mojo
This commit is contained in:
MDT 2004 John Fleck 2004-06-20 00:36:06 +00:00 committed by John Fleck
parent 3cf6950b93
commit 4c76c4f7f9
4 changed files with 126 additions and 3 deletions

View File

@ -1,3 +1,9 @@
Sat Jun 19 18:34:11 MDT 2004 John Fleck <jfleck@inkstain.net>
* doc/xmllint.xml, xmllint.html, xmllint.1
update man page to reflect William's newly disciplined return
code mojo
Thu Jun 17 00:51:55 CEST 2004 Daniel Veillard <daniel@veillard.com>
* doc/examples/io2.c doc/examples/parse4.c: fixing a couple of

View File

@ -277,5 +277,50 @@ Catalog behavior can be changed by redirecting queries to the user's own set of
.PP
Setting the environment variable \fIXML_DEBUG_CATALOG\fR using the command \fB"export XML_DEBUG_CATALOG="\fR outputs debugging information related to catalog operations\&.
.SH "ERROR RETURN CODES"
.PP
On the completion of execution, Xmllint returns the following error codes:
.TP
0
No error
.TP
1
Unclassified
.TP
2
Error in DTD
.TP
3
Validation error
.TP
4
Validation error
.TP
5
Error in schema compilation
.TP
6
Error writing output
.TP
7
Error in pattern (generated when [\-\-pattern] option is used)
.TP
8
Error in Reader registration (generated when [\-\-chkregister] option is used)
.TP
9
Out of memory error
.SH AUTHORS
John Fleck, Ziying Sherwin, Heiko Rupp.

View File

@ -1,4 +1,4 @@
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>xmllint</title><meta name="generator" content="DocBook XSL Stylesheets V1.61.2"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en"><a name="id2431614"></a><div class="titlepage"><div></div><div></div></div><div class="refnamediv"><h2>Name</h2><p>xmllint &#8212; command line <span class="acronym">XML</span> tool</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><tt class="command">xmllint</tt> [[--version] | [--debug] | [--shell] | [--debugent] | [--copy] | [--recover] | [--noent] | [--nocdata] | [--nsclean] | [--noout] | [--htmlout] | [--nowrap] | [--valid] | [--postvalid] | [--dtdvalid <i class="replaceable"><tt>URL</tt></i>] | [--dtdvalidfpi <i class="replaceable"><tt>FPI</tt></i>] | [--timing] | [--repeat] | [--insert] | [--compress] | [--html] | [--push] | [--memory] | [--nowarning] | [--noblanks] | [--format] | [--testIO] | [--encode <i class="replaceable"><tt>encoding</tt></i>] | [--catalogs] | [--nocatalogs] | [--auto] | [--xinclude] | [--loaddtd] | [--dtdattr] | [--dropdtd] | [--stream] | [--chkregister] | [--relaxng] | [--schema] | [--nonet]] [<tt class="option"><i class="replaceable"><tt>xmlfile</tt></i></tt>]</p></div></div><div class="refsect1" lang="en"><a name="introduction"></a><h2>Introduction</h2><p>
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>xmllint</title><meta name="generator" content="DocBook XSL Stylesheets V1.61.2"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en"><a name="id2719562"></a><div class="titlepage"><div></div><div></div></div><div class="refnamediv"><h2>Name</h2><p>xmllint &#8212; command line <span class="acronym">XML</span> tool</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><tt class="command">xmllint</tt> [[--version] | [--debug] | [--shell] | [--debugent] | [--copy] | [--recover] | [--noent] | [--nocdata] | [--nsclean] | [--noout] | [--htmlout] | [--nowrap] | [--valid] | [--postvalid] | [--dtdvalid <i class="replaceable"><tt>URL</tt></i>] | [--dtdvalidfpi <i class="replaceable"><tt>FPI</tt></i>] | [--timing] | [--repeat] | [--insert] | [--compress] | [--html] | [--push] | [--memory] | [--nowarning] | [--noblanks] | [--format] | [--testIO] | [--encode <i class="replaceable"><tt>encoding</tt></i>] | [--catalogs] | [--nocatalogs] | [--auto] | [--xinclude] | [--loaddtd] | [--dtdattr] | [--dropdtd] | [--stream] | [--chkregister] | [--relaxng] | [--schema] | [--nonet]] [<tt class="option"><i class="replaceable"><tt>xmlfile</tt></i></tt>]</p></div></div><div class="refsect1" lang="en"><a name="introduction"></a><h2>Introduction</h2><p>
The xmllint program parses one or more XML files, specified on the
command line as <i class="replaceable"><tt>xmlfile</tt></i>. It prints various
types of output, depending upon the options selected. It is useful for
@ -150,4 +150,7 @@
catalogs. An empty one should deactivate loading the default
<tt class="filename">/etc/xml/catalog</tt> default catalog.</p></div><div class="refsect1" lang="en"><h2>Debugging Catalogs</h2><p>Setting the environment variable <tt class="varname">XML_DEBUG_CATALOG</tt>
using the command <b class="command">"export XML_DEBUG_CATALOG="</b>
outputs debugging information related to catalog operations.</p></div></div></body></html>
outputs debugging information related to catalog operations.</p></div><div class="refsect1" lang="en"><h2>Error Return Codes</h2><p>On the completion of execution, <span class="application">Xmllint</span>
returns the following error codes:</p><div class="variablelist"><dl><dt><span class="term">0</span></dt><dd>No error</dd><dt><span class="term">1</span></dt><dd>Unclassified</dd><dt><span class="term">2</span></dt><dd>Error in DTD</dd><dt><span class="term">3</span></dt><dd>Validation error</dd><dt><span class="term">4</span></dt><dd>Validation error</dd><dt><span class="term">5</span></dt><dd>Error in schema compilation</dd><dt><span class="term">6</span></dt><dd>Error writing output</dd><dt><span class="term">7</span></dt><dd>Error in pattern (generated when
[<span class="optional">--pattern</span>] option is used)</dd><dt><span class="term">8</span></dt><dd>Error in Reader registration (generated when
[<span class="optional">--chkregister</span>] option is used)</dd><dt><span class="term">9</span></dt><dd>Out of memory error</dd></dl></div></div></div></body></html>

View File

@ -29,7 +29,7 @@
</author>
<address><email>hwr@pilhuhn.de</email></address>
<releaseinfo>This is release 0.3 of the xmllint Manual.</releaseinfo>
<releaseinfo>This is release 0.4 of the xmllint Manual.</releaseinfo>
</refentryinfo>
<refmeta>
@ -640,4 +640,73 @@
using the command <command>&quot;export XML_DEBUG_CATALOG=&quot;</command>
outputs debugging information related to catalog operations.</para>
</refsect1>
<refsect1>
<title>Error Return Codes</title>
<para>On the completion of execution, <application>Xmllint</application>
returns the following error codes:</para>
<variablelist>
<varlistentry>
<term>0</term>
<listitem>
<simpara>No error</simpara>
</listitem>
</varlistentry>
<varlistentry>
<term>1</term>
<listitem>
<simpara>Unclassified</simpara>
</listitem>
</varlistentry>
<varlistentry>
<term>2</term>
<listitem>
<simpara>Error in DTD</simpara>
</listitem>
</varlistentry>
<varlistentry>
<term>3</term>
<listitem>
<simpara>Validation error</simpara>
</listitem>
</varlistentry>
<varlistentry>
<term>4</term>
<listitem>
<simpara>Validation error</simpara>
</listitem>
</varlistentry>
<varlistentry>
<term>5</term>
<listitem>
<simpara>Error in schema compilation</simpara>
</listitem>
</varlistentry>
<varlistentry>
<term>6</term>
<listitem>
<simpara>Error writing output</simpara>
</listitem>
</varlistentry>
<varlistentry>
<term>7</term>
<listitem>
<simpara>Error in pattern (generated when
<optional>--pattern</optional> option is used)</simpara>
</listitem>
</varlistentry>
<varlistentry>
<term>8</term>
<listitem>
<simpara>Error in Reader registration (generated when
<optional>--chkregister</optional> option is used)</simpara>
</listitem>
</varlistentry>
<varlistentry>
<term>9</term>
<listitem>
<simpara>Out of memory error</simpara>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
</refentry>