[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg-devel
Subject:    Re: [PATCH libX11] docbook: Don't use --nonet in XSLTPROC_FLAGS
From:       Dan Nicholson <dbn.lists () gmail ! com>
Date:       2011-04-29 4:14:30
Message-ID: BANLkTimby0hnSrOwRFOi7jJtnWKaaBO7Ng () mail ! gmail ! com
[Download RAW message or body]

On Thu, Apr 28, 2011 at 5:46 PM, Jeremy Huddleston <jeremyhu@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
_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic