[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 :
  « 
  « 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.

You need a catalog to resolve entities.
If you use xsltproc without the --catalogs option, it looks for XML_CATALOG_FILES.
or /etc/xml/catalog.
With this option, it looks for SGML_CATALOG_FILES.
There is a third way: put a processing instruction in your document like this,
<?oasis-xml-catalog catalog="some catalog"?>.

But we need an xml catalog in /etc/xml/catalog.

Regards,

-- 
Philippe Batailler
in girum imus nocte et consumimur igni



Reply to: