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

Re: Making distribute-deb.xml work properly



 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.

Regards,

-- 
Philippe Batailler
in girum imus nocte et consumimur igni



Reply to: