This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: XML_CATALOG_FILES
- From: Daniel Veillard <veillard at redhat dot com>
- To: Bob Stayton <bobs at caldera dot com>
- Cc: docbook-apps at lists dot oasis-open dot org
- Date: Fri, 07 Dec 2001 05:00:27 -0500
- Subject: Re: DOCBOOK-APPS: XML_CATALOG_FILES
- References: <20011207014422.A2956@caldera.com>
- Reply-to: veillard at redhat dot com
On Fri, Dec 07, 2001 at 01:44:22AM -0800, Bob Stayton wrote:
> I'm using XML catalogs with xsltproc with some success. If
> I set the env variable XML_CATALOG_FILES to the pathname of
> an XML catalog file, it works very nicely. Thanks!
>
> But I interpret the "S" on the end of the env variable name
> to mean plural. When I try to put more than one catalog
> file path in that variable (inside quotes), then xsltproc
> (and the xmlcatalog utility) always interprets the whole
> string as a single pathname, which fails. I've tried using
> a colon, semicolon, space, and linefeed as separators with
> no luck. Is it a bug, or is there some magical separator
> that I can't guess?
Let's say it's a non-feature (and hence the name is not wisely chosen).
I didn't tried to implement $XML_CATALOG_FILES handling as a list.
I agree it's a bit confusing because xmllint and xsltproc handling of
$SGML_CATALOG_FILES does use a list (blank or column separated).
Implementing list handling for $XML_CATALOG_FILES would make sense,
it's "just" a matter of coding :-) , the good point being that this
should not break the existing working behaviour.
Daniel
P.S.: I cannot garantee to catch all reports about libxml or libxslt
which are raised in docbook-apps , the lists xml@gnome.org and
xslt@gnome.org are far more reliable channels for this purpose.
--
Daniel Veillard | Red Hat Network https://rhn.redhat.com/
veillard@redhat.com | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/