[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Shouldn't docbook-xml/xsl set XML_CATALOG_FILES?
From: |
Ludovic Courtès |
Subject: |
Re: Shouldn't docbook-xml/xsl set XML_CATALOG_FILES? |
Date: |
Sun, 26 Mar 2017 22:13:04 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
Heya,
Hartmut Goebel <address@hidden> skribis:
> within a few day I stumbled twice over this: When using docbook-xml or
> docbook-xsl in a package description, one needs to set XML_CATALOG_FILES
> to make xslproc (and others) find the catalogs.
>
> Shouldn't XML_CATALOG_FILES be defined as native-search-paths?
It is, but in libxml2, since libxml2 is the piece of software that does
getenv("XML_CATALOG_FILES").
Now, what’s problematic, is that often users don’t install libxml2
itself but rather tools that happen to be linked against libxml2. This
is where the problem is: <https://bugs.gnu.org/22138>.
> BTW: For docbook-xsl the directory-name includes version, while for
> docbook-xml it does not. Which one should be used?
Dunno, we should just follow what upstream does I guess?
HTH,
Ludo’.