From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9071 invoked by alias); 11 May 2005 10:35:44 -0000 Mailing-List: contact docbook-tools-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: docbook-tools-discuss-owner@sources.redhat.com Received: (qmail 9017 invoked from network); 11 May 2005 10:35:33 -0000 Received: from unknown (HELO kraid.nerim.net) (62.4.16.103) by sourceware.org with SMTP; 11 May 2005 10:35:33 -0000 Received: from ns.bureau-cornavin.com (ebischoff.net2.nerim.net [213.41.175.110]) by kraid.nerim.net (Postfix) with ESMTP id F121440E38; Wed, 11 May 2005 12:35:32 +0200 (CEST) From: =?iso-8859-1?q?=C9ric_Bischoff?= To: docbook-tools-discuss@sources.redhat.com Subject: Re: Indirection Date: Wed, 11 May 2005 10:35:00 -0000 User-Agent: KMail/1.7.1 Cc: Alan Westhagen References: <42811E15.5000604@u.washington.edu> In-Reply-To: <42811E15.5000604@u.washington.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200505111233.43649.ebischoff@nerim.net> X-SW-Source: 2005/txt/msg00018.txt.bz2 Le Mardi 10 Mai 2005 22:48, Alan Westhagen a =E9crit=A0: > 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: > > > "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 "=3D//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. --=20 Never try and teach a pig to sing, you waste your time and annoy the pig - Mark Twain