[PATCH libX11] docbook: Don't use --nonet in XSLTPROC_FLAGS

Dan Nicholson dbn.lists at gmail.com
Thu Apr 28 21:14:30 PDT 2011


On Thu, Apr 28, 2011 at 5:46 PM, Jeremy Huddleston <jeremyhu at apple.com> wrote:
>> This is what I observed as well. The xsltproc flags were derived from
>> the xsltproc command
>> issued by xmlto which is just a wrapper srcipt.
>
> It looks like a problem with the catalog installed with docbook-xsl-1.76.1 ... ugg... I hate generating docs.
>
> <?xml version="1.0" encoding="utf-8"?>
> <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
>  <!-- XML Catalog file for DocBook XSL Stylesheets v1.76.1 -->
>  <rewriteURI uriStartString="http://docbook.sourceforge.net/release/xsl/current/" rewritePrefix="./"/>
>  <rewriteSystem systemIdStartString="http://docbook.sourceforge.net/release/xsl/current/" rewritePrefix="./"/>
>  <rewriteURI uriStartString="http://docbook.sourceforge.net/release/xsl/1.76.1/" rewritePrefix="./"/>
>  <rewriteSystem systemIdStartString="http://docbook.sourceforge.net/release/xsl/1.76.1/" rewritePrefix="./"/>
> </catalog>

Getting those catalogs right is a total PITA. I'm glad my distro does
it for me. :)

This entry is not actually wrong if the catalog is at the root of your
stylesheets and you're pointing xsltproc at this catalog OR have a
bunch of delegate* entries in your main catalog. Not sure how much you
want to dive into it, but the xmlcatalog command can be useful. E.g.:

$ xmlcatalog /etc/xml/catalog http://docbook.sourceforge.net/release/xsl/current
file:///usr/share/sgml/docbook/xsl-stylesheets-1.75.2

This website is pretty enlightening:

http://www.xmlsoft.org/catalog.html

--
Dan


More information about the xorg-devel mailing list