This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: XML_CATALOG_FILES


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]