Sun Nov 4 13:11:41 MST 2001 John Fleck <jfleck@inkstain.net
Sun Nov 4 13:11:41 MST 2001 John Fleck <jfleck@inkstain.net
* doc/xmllint.xml, xmllint.1 - updating xmllint man page to
document --sgml option, fixing gnome bugzilla #63382
diff --git a/ChangeLog b/ChangeLog
index c20be18..504201d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Sun Nov 4 13:11:41 MST 2001 John Fleck <jfleck@inkstain.net
+
+ * doc/xmllint.xml, xmllint.1 - updating xmllint man page to
+ document --sgml option, fixing gnome bugzilla #63382
+
Sun Nov 4 20:56:53 CET 2001 Daniel Veillard <daniel@veillard.com>
* include/libxml/catalog.h catalog.c: Fixed SGML catalogs
diff --git a/doc/xmllint.1 b/doc/xmllint.1
index 3fd5b6b..434f4be 100644
--- a/doc/xmllint.1
+++ b/doc/xmllint.1
@@ -21,7 +21,7 @@
.SH NAME
xmllint \- command line XML tool
.SH "SYNOPSIS"
-\fBxmllint\fR [\fB--version\fR | \fB--debug\fR | \fB--shell\fR | \fB--debugent\fR | \fB--copy\fR | \fB--recover\fR | \fB--noent\fR | \fB--noout\fR | \fB--htmlout\fR | \fB--nowrap\fR | \fB--valid\fR | \fB--postvalid\fR | \fB--dtdvalid \fIURL\fR \fR | \fB--timing\fR | \fB--repeat\fR | \fB--insert\fR | \fB--compress\fR | \fB--html\fR | \fB--push\fR | \fB--memory\fR | \fB--nowarning\fR | \fB--noblanks\fR | \fB--format\fR | \fB--testIO\fR | \fB--encode \fIencoding\fR \fR | \fB--catalogs\fR | \fB--nocatalogs\fR | \fB--auto\fR | \fB--xinclude\fR | \fB--loaddtd\fR | \fB--dtdattr\fR] [\fB\fIxmlfile\fR\fR]
+\fBxmllint\fR [\fB--version\fR | \fB--debug\fR | \fB--shell\fR | \fB--debugent\fR | \fB--copy\fR | \fB--recover\fR | \fB--noent\fR | \fB--noout\fR | \fB--htmlout\fR | \fB--nowrap\fR | \fB--valid\fR | \fB--postvalid\fR | \fB--dtdvalid \fIURL\fR \fR | \fB--timing\fR | \fB--repeat\fR | \fB--insert\fR | \fB--compress\fR | \fB--sgml\fR | \fB--html\fR | \fB--push\fR | \fB--memory\fR | \fB--nowarning\fR | \fB--noblanks\fR | \fB--format\fR | \fB--testIO\fR | \fB--encode \fIencoding\fR \fR | \fB--catalogs\fR | \fB--nocatalogs\fR | \fB--auto\fR | \fB--xinclude\fR | \fB--loaddtd\fR | \fB--dtdattr\fR] [\fB\fIxmlfile\fR\fR]
.SH "INTRODUCTION"
.PP
@@ -118,6 +118,11 @@
Turn on gzip compression of output.
.TP
+\fB--sgml\fR
+
+Use the DocBook SGML parser. This allows documents written in SGML DocBook to be converted into an in-memory tree and treated as if they were written in XML.
+
+.TP
\fB--html\fR
Use the HTML parser.
diff --git a/doc/xmllint.xml b/doc/xmllint.xml
index 4b9f74d..bc9e27e 100644
--- a/doc/xmllint.xml
+++ b/doc/xmllint.xml
@@ -67,6 +67,7 @@
<arg>--repeat</arg>
<arg>--insert</arg>
<arg>--compress</arg>
+ <arg>--sgml</arg>
<arg>--html</arg>
<arg>--push</arg>
<arg>--memory</arg>
@@ -274,6 +275,16 @@
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><option>--sgml</option></term>
+ <listitem>
+ <simpara>Use the DocBook <acronym>SGML</acronym> parser. This allows
+ documents written in <acronym>SGML</acronym> DocBook to be converted
+ into an in-memory tree and treated as if they were written in
+ <acronym>XML</acronym>.</simpara>
+ </listitem>
+ </varlistentry>
+
<varlistentry>
<term><option>--html</option></term>
<listitem>