From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxim Cournoyer Subject: Re: libxml2: Wrong separator in XML_CATALOG_FILES? Date: Sat, 15 Apr 2017 01:00:24 +0900 Message-ID: <87efwvasiv.fsf@gmail.com> References: <58ECD9C3.2010204@crazy-compilers.com> <8760i8pdt4.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55927) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cz3eD-0004WW-Qz for guix-devel@gnu.org; Fri, 14 Apr 2017 12:00:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cz3eC-0008Ft-SG for guix-devel@gnu.org; Fri, 14 Apr 2017 12:00:33 -0400 In-Reply-To: <8760i8pdt4.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Thu, 13 Apr 2017 16:44:39 +0200") 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: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Ludovic, ludo@gnu.org (Ludovic Court=C3=A8s) writes: > 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. Thanks for digging this out for us! This will be a good reference for when this question comes around next time! Maxim --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEJ9WGpPiQCFQyn/CfEmDkZILmNWIFAljw8hgACgkQEmDkZILm NWIrcw//dYcIZp6uOKR85c6186epecrYn2F2uSzNxkjKjahJQuZQ0QE6SDCSVyXt s3u8mdGW2Cz2XpYcyyU9gDLSShlOudcG6f3ojzgJXnOGv5uwjZHb/az9KDzBPTDC dAydngNM1YJmtqR40hFlWC//nCqM3ooh6+0GB2xq4tF0zjPJ0UkE4DeIil3CP69l BM2Nf9g1yCxx2TCE+hyh40UOt0Mx1n0kiweIphUlZvKzHERNEEJR9PcrUhaeV0DJ dE8jRDoGB8L1VJdTYNbspL1Te/y2s2DF1tizMHrSN6XCj6cUWNA8uQEZYZFpGz5j sso5OB2P6Pab5JXe297l2Huf+JcWAYXdqt3CV5aQg8KDeuH65hSrt05+5wk4LYcE Prh6vAfCExPqa1wiCeXnOAs1LQUadA5PD+k1MGbQZEgz0chLgy6DdzZWWYpl8r40 CyGGkTNmw1ccn8Y6PykgQ2oma3fAzNmkgK+pKl2WN0WgP+o4qQvRjJ0gsIaL8aPY vYpZnD9E14aQpEfQFD58lYRIfM5DVdQTDUM62jFDrvaF4PbimSe4K9vRCOZT6tu3 hgJ9fU4QTgdyT2PRA28prZr21kELsle84LTxIh88hHaH7nvGUTOuMdWrT8ZYZ0dD lOAV07wWTh2BNmna6GbHq9DWNpDEuRQxboFFohSipz4UinpEnRY= =f+B+ -----END PGP SIGNATURE----- --=-=-=--