guix-devel
[Top][All Lists]
Advanced

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

Re: libxml2: Wrong separator in XML_CATALOG_FILES?


From: Maxim Cournoyer
Subject: Re: libxml2: Wrong separator in XML_CATALOG_FILES?
Date: Sat, 15 Apr 2017 01:00:24 +0900
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Hi Ludovic,

address@hidden (Ludovic Courtès) writes:

> 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] <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’.

Thanks for digging this out for us! This will be a good reference for
when this question comes around next time!

Maxim

Attachment: signature.asc
Description: PGP signature


reply via email to

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