Maxim Cournoyer <maxim.courno...@gmail.com> skribis:

> Hello Hartmut,
>
> On Tue, Apr 11, 2017 at 10:27 PM, Hartmut Goebel
> <h.goe...@crazy-compilers.com> 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] <http://tdg.docbook.org/tdg/5.0/appa.html>
>
> 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))
                    cur++;

Ludo’.

Reply via email to