This is the mail archive of the
docbook-tools-discuss@sources.redhat.com
mailing list for the docbook-tools project.
Re: Indirection
- From: Éric Bischoff <ebischoff at nerim dot net>
- To: docbook-tools-discuss at sources dot redhat dot com
- Cc: Alan Westhagen <afw at u dot washington dot edu>
- Date: Wed, 11 May 2005 12:33:43 +0200
- Subject: Re: Indirection
- References: <42811E15.5000604@u.washington.edu>
Le Mardi 10 Mai 2005 22:48, Alan Westhagen a écrit?:
> I have a lot of documents written in docbook xml which, up until
> recently, worked fine with docbook-tools.
>
> A typical header looks like this:
>
> <?xml version="1.0"?>
> <!DOCTYPE article PUBLIC "=//OASIS//DTD DocBook XML V4.2//EN"
> "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
> [
> ]>
>
> I can no longer process the documents with docbook-tools. I believe
> the element that has changed is the dtd located at oasis-open.org.
>
> Since I have no power to correct what is installed at
> oasis-open.org, I would like to use local files, but with indirection,
> so that I do not have to change all the documents each time I
> upgrade my system.
I think that if you declare the local address of
"=//OASIS//DTD DocBook XML V4.2//EN"
in your catalogs, it should work.
> I tried putting OVERRIDE YES in the catalog file, but the tools
> still insist on being able to open the file referenced by the
> system identifier.
Ah. Then you would have to run a script to remove
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
from all your documents. I don't know.
> Does anyone have a simple way of setting up indirection, catalog
> based or otherwise, for docbook tools? My setup is standard
> RedHat Enterprise Linux.
Sorry, looks like I don't know.
--
Never try and teach a pig to sing,
you waste your time and annoy the pig
- Mark Twain