From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: libxml2: Wrong separator in XML_CATALOG_FILES? Date: Thu, 13 Apr 2017 16:44:39 +0200 Message-ID: <8760i8pdt4.fsf@gnu.org> References: <58ECD9C3.2010204@crazy-compilers.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38872) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cyfzK-0008TM-7C for guix-devel@gnu.org; Thu, 13 Apr 2017 10:44:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cyfzF-0002TF-JR for guix-devel@gnu.org; Thu, 13 Apr 2017 10:44:46 -0400 In-Reply-To: (Maxim Cournoyer's message of "Wed, 12 Apr 2017 23:59:39 +0900") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Maxim Cournoyer Cc: guix-devel Maxim Cournoyer skribis: > Hello Hartmut, > > On Tue, Apr 11, 2017 at 10:27 PM, Hartmut Goebel > 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 =3D catalogs; nextent =3D &catal->xml; while (*cur !=3D '\0') { while (xmlIsBlank_ch(*cur)) cur++; Ludo=E2=80=99.