[Top][All Lists]

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

Re: libxml2: Wrong separator in XML_CATALOG_FILES?

From: Ludovic Courtès
Subject: Re: libxml2: Wrong separator in XML_CATALOG_FILES?
Date: Thu, 13 Apr 2017 16:44:39 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Maxim Cournoyer <address@hidden> skribis:

> Hello Hartmut,
> On Tue, Apr 11, 2017 at 10:27 PM, Hartmut Goebel
> <address@hidden> wrote:
>> Hi,
>> I just discovered that libxml2 sets the search-path-specification for
>> variable "XML_CATALOG_FILES" using space as separator, which is very
>> uncommon. The documentation for libxml2 does not state which separator
>> to use, while the docbook-tutorial [1] has an example using colons.
>> So I'm curious whether the space is correct.
>> [1] <>
> From my experiences with the udisks package, the XML_CATALOG_FILES
> entries should be separated by space.

Specifically, catalog.c in libxml2 has this:

            /* the XML_CATALOG_FILES envvar is allowed to contain a
               space-separated list of entries. */
            cur = catalogs;
            nextent = &catal->xml;
            while (*cur != '\0') {
                while (xmlIsBlank_ch(*cur))


reply via email to

[Prev in Thread] Current Thread [Next in Thread]