[xslt] [patch] Patch for xsltproc.c (typo-fix) and the manpage (typo-fixes and improvements)
- From: Daniel Leidert <daniel leidert spam gmx net>
- To: ml_gnome-xslt <xslt gnome org>
- Subject: [xslt] [patch] Patch for xsltproc.c (typo-fix) and the manpage (typo-fixes and improvements)
- Date: Sat, 19 Aug 2006 04:32:15 +0200
Hello,
Attached are 2 patches. One is dedicated to the typo in xsltproc's help
output (found by Jeroen Ruigrok in my last thread). This patch should
fix the typo in xslt.html, pyxsltproc.py and xsltproc.c (the one in
xsltproc2.html should be fixed automatically after updating xslt.html
and running make, right?). The second patch is a short update for the
xsltproc manpage, where I fixed a typo, moved some stuff to "SEE ALSO"
and completed "ENVIRONMENT".
Regards, Daniel
Index: doc/xsltproc.xml
===================================================================
RCS file: /cvs/gnome/libxslt/doc/xsltproc.xml,v
retrieving revision 1.27
diff -u -r1.27 xsltproc.xml
--- doc/xsltproc.xml 12 Jun 2006 14:32:24 -0000 1.27
+++ doc/xsltproc.xml 19 Aug 2006 02:14:17 -0000
@@ -133,22 +133,6 @@
You can specify a file for output using
the <option>-o</option> or <option>--output</option> option.
</para>
- <para>More information can be found at
- <itemizedlist>
- <listitem>
- <para><citerefentry>
- <refentrytitle>libxml</refentrytitle>
- <manvolnum>3</manvolnum>
- </citerefentry> web page <ulink url="http://www.xmlsoft.org/"/>
- </para>
- </listitem>
- <listitem>
- <para>
- W3C <acronym>XSLT</acronym> page <ulink url="http://www.w3.org/TR/xslt"/>
- </para>
- </listitem>
- </itemizedlist>
- </para>
</refsect1>
<refsect1 id="options">
@@ -349,7 +333,7 @@
</term>
<listitem>
<para>
- Pass a paramenter of name <replaceable>PARAMNAME</replaceable> and
+ Pass a parameter of name <replaceable>PARAMNAME</replaceable> and
value <replaceable>PARAMVALUE</replaceable>
where <replaceable>PARAMVALUE</replaceable> is a string rather than a
node identifier. <emphasis role="bold">Note:</emphasis> The string
@@ -408,8 +392,8 @@
<term><option>--xinclude</option></term>
<listitem>
<para>
- Process the input document using the Xinclude specification. More
- details on this can be found in the Xinclude
+ Process the input document using the XInclude specification. More
+ details on this can be found in the XInclude
specification: <ulink url="http://www.w3.org/TR/xinclude/"/>
</para>
</listitem>
@@ -425,19 +409,23 @@
<varlistentry>
<term><envar>SGML_CATALOG_FILES</envar></term>
<listitem>
- <para>to be written ...</para>
+ <para><acronym>SGML</acronym> catalog behavior can be changed by redirecting
+ queries to the user's own set of catalogs. This can be done by setting
+ the <envar>SGML_CATALOG_FILES</envar> environment variable to a list
+ of catalogs. An empty one should deactivate loading the
+ default <filename>/etc/sgml/catalog</filename> catalog.
+ </para>
</listitem>
</varlistentry>
<varlistentry>
<term><envar>XML_CATALOG_FILES</envar></term>
<listitem>
- <para>
- Catalog behavior can be changed by redirecting queries to the user's
- own set of catalogs. This can be done by setting
+ <para><acronym>XML</acronym> catalog behavior can be changed by redirecting
+ queries to the user's own set of catalogs. This can be done by setting
the <envar>XML_CATALOG_FILES</envar> environment variable to a list
of catalogs. An empty one should deactivate loading the
- default <filename>/etc/xml/catalog</filename> default catalog.
+ default <filename>/etc/xml/catalog</filename> catalog.
</para>
</listitem>
</varlistentry>
@@ -448,7 +436,7 @@
<refsect1 id="diagnostics">
<title>DIAGNOSTICS</title>
<para>
- &xsltproc;'s return codes provide information that can be used when
+ &xsltproc; return codes provide information that can be used when
calling it from scripts.
</para>
<variablelist>
@@ -535,11 +523,29 @@
<refsect1 id="seealso">
<title>SEE ALSO</title>
- <para>
- <citerefentry>
+ <para><citerefentry>
+ <refentrytitle>libxml</refentrytitle>
+ <manvolnum>3</manvolnum>
+ </citerefentry>, <citerefentry>
<refentrytitle>libxslt</refentrytitle>
<manvolnum>3</manvolnum>
</citerefentry>
+ </para>
+ <para>
+ More information can be found at
+ <itemizedlist>
+ <listitem>
+ <para><citerefentry>
+ <refentrytitle>libxml</refentrytitle>
+ <manvolnum>3</manvolnum>
+ </citerefentry> web page <ulink url="http://www.xmlsoft.org/"/>
+ </para>
+ </listitem>
+ <listitem>
+ <para>W3C <acronym>XSLT</acronym> page <ulink url="http://www.w3.org/TR/xslt"/>
+ </para>
+ </listitem>
+ </itemizedlist>
</para>
</refsect1>
Index: doc/xslt.html
===================================================================
RCS file: /cvs/gnome/libxslt/doc/xslt.html,v
retrieving revision 1.158
diff -u -r1.158 xslt.html
--- doc/xslt.html 9 Jun 2006 13:40:32 -0000 1.158
+++ doc/xslt.html 19 Aug 2006 01:22:56 -0000
@@ -1093,7 +1093,7 @@
--nonet refuse to fetch DTDs or entities over network
--warnnet warn against fetching over the network
--catalogs : use the catalogs from $SGML_CATALOG_FILES
- --xinclude : do XInclude processing on document intput
+ --xinclude : do XInclude processing on document input
--profile or --norman : dump profiling informations
orchis:~ -></pre>
Index: python/tests/pyxsltproc.py
===================================================================
RCS file: /cvs/gnome/libxslt/python/tests/pyxsltproc.py,v
retrieving revision 1.4
diff -u -r1.4 pyxsltproc.py
--- python/tests/pyxsltproc.py 24 Nov 2002 14:51:51 -0000 1.4
+++ python/tests/pyxsltproc.py 19 Aug 2006 01:22:56 -0000
@@ -122,7 +122,7 @@
print "\t--catalogs : use SGML catalogs from $SGML_CATALOG_FILES"
print "\t otherwise XML Catalogs starting from "
print "\t file:///etc/xml/catalog are activated by default"
- print "\t--xinclude : do XInclude processing on document intput"
+ print "\t--xinclude : do XInclude processing on document input"
print "\t--profile or --norman : dump profiling informations "
print "\nProject libxslt home page: http://xmlsoft.org/XSLT/"
print "To report bugs and get help: http://xmlsoft.org/XSLT/bugs.html"
Index: xsltproc/xsltproc.c
===================================================================
RCS file: /cvs/gnome/libxslt/xsltproc/xsltproc.c,v
retrieving revision 1.65
diff -u -r1.65 xsltproc.c
--- xsltproc/xsltproc.c 16 Aug 2006 15:33:13 -0000 1.65
+++ xsltproc/xsltproc.c 19 Aug 2006 01:22:57 -0000
@@ -511,7 +511,7 @@
printf("\t file:///etc/xml/catalog are activated by default\n");
#endif
#ifdef LIBXML_XINCLUDE_ENABLED
- printf("\t--xinclude : do XInclude processing on document intput\n");
+ printf("\t--xinclude : do XInclude processing on document input\n");
#endif
printf("\t--load-trace : print trace of all external entites loaded\n");
printf("\t--profile or --norman : dump profiling informations \n");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]