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

Re: Making distribute-deb.xml work properly



On Sun, 13 Apr 2003 11:59:16 +0200, philippe.batailler@free.fr (Philippe
Batailler) claimed:

>  Aaron Isotton <aaron@isotton.com> écrivait :
>   « 
>   « If you convert it using xmlto, all entities (such as &mdash;,
>   &auml; « etc) is *lost* in the output (#183744); if you use
>   xsltproc, the « warnings are the same but the output is correct,
>   *independently of the « used doctype url*.
> 
> With the file you give in #183744,
> and with a doctype like this:
> 
> <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
>      "usr/share/sgml/docbook/dtd/xml/4.2/docbookx.dtd">
> 
> and with these two lines in my .bashrc:
> 
> XML_CATALOG_FILES=/usr/share/sgml/docbook/dtd/xml/4.2/catalog.xml
> export XML_CATALOG_FILES
> 
> xsltproc (and xmlto) does not complain and resolves the entities.
> By default, xsltproc looks for the catalog specified in
> XML_CATALOG_FILES.

Until now I only set SGML_CATALOG_FILES, but that should work too; the
xsltproc manpage says:

       ‐‐catalogs
              Use  the SGML catalog specified in SGML_CATALOG_FILES to
              resolve the location of external entities. By default,
              xsltproc  looks for  the  catalog specified in
              XML_CATALOG_FILES. If that is not specified, it uses
              /etc/xml/catalog.

Honestly, I don't exactly understand what that's supposed to mean.

Aaron Isotton                                 [ http://www.isotton.com ]
-- 
It's the good girls who keep the diaries, the bad girls never have the
time.
		-- Tallulah Bankhead

Attachment: pgpcTttKyGvxr.pgp
Description: PGP signature


Reply to: