public inbox for docbook-tools-discuss@sourceware.org
 help / color / mirror / Atom feed
From: "Éric Bischoff" <ebischoff@nerim.net>
To: docbook-tools-discuss@sources.redhat.com
Cc: Alan Westhagen <afw@u.washington.edu>
Subject: Re: Indirection
Date: Wed, 11 May 2005 10:35:00 -0000	[thread overview]
Message-ID: <200505111233.43649.ebischoff@nerim.net> (raw)
In-Reply-To: <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

  reply	other threads:[~2005-05-11 10:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-10 20:48 Indirection Alan Westhagen
2005-05-11 10:35 ` Éric Bischoff [this message]
2005-05-13  9:31 ` Indirection Ismael Olea

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200505111233.43649.ebischoff@nerim.net \
    --to=ebischoff@nerim.net \
    --cc=afw@u.washington.edu \
    --cc=docbook-tools-discuss@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).