[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: XML Catalogs



>> "cb" == christophe barb <christophe> writes:

> On Mon, Jun 10, 2002 at 10:02:48PM +0200, Frank Lenaerts wrote:

[...]

>> The use of a catalog file depends on the program. Most programs
>> however use the SGML_CATALOG_FILES env variable. See the --catalogs
>> option in the manpages for xmllint or xsltproc. Apparently, Debian
>> also stores XML catalogs in /etc/sgml (and not in /etc/xml). You can
>> take a look at a docbook.cat file to see its syntax.

> Reading you, It sounds like a xsltproc bug (it should do the
> translation URL-> local_file but I see nothing in
> docbook-xsl-stylesheets that looks  like a catalog. And I would expect a
> general solution. 

For now we don't have xml catalog :

http://lists.debian.org/debian-sgml/2002/debian-sgml-200206/msg00000.html

You should hack the xml file to remove URI by local file (I do that for
the GNOME 2 packages) with :

find -name *.xml -exec perl -i -pe 's/http:\/\/www.oasis-open.org\/docbook\/xml\/4.1.2\/docbookx.dtd/\/usr\/share\/sgml\/docbook\/dtd\/xml\/4.1.2\/docbookx.dtd/' {} \;

Christian


-- 
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: