From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxim Cournoyer Subject: Re: libxml2: Wrong separator in XML_CATALOG_FILES? Date: Wed, 12 Apr 2017 23:59:39 +0900 Message-ID: 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]:51586) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cyJkF-0002cH-DP for guix-devel@gnu.org; Wed, 12 Apr 2017 10:59:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cyJkE-0002Ts-9B for guix-devel@gnu.org; Wed, 12 Apr 2017 10:59:43 -0400 Received: from mail-yb0-x230.google.com ([2607:f8b0:4002:c09::230]:33698) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cyJkE-0002St-50 for guix-devel@gnu.org; Wed, 12 Apr 2017 10:59:42 -0400 Received: by mail-yb0-x230.google.com with SMTP id l201so7275613ybf.0 for ; Wed, 12 Apr 2017 07:59:40 -0700 (PDT) In-Reply-To: <58ECD9C3.2010204@crazy-compilers.com> 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: Hartmut Goebel Cc: guix-devel 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. I could find at least one source which said it should be spaces [1], and another one suggested that both the column and spaces should work, at least on Unix [2]. I guess to get a definitive answer one would have to dive in the code of libxml2. I suggest we stick to what is known to work, i.e., using the space as the separator for XML_CATALOG_FILES. [1] Effective XML: 50 Specific Ways to Improve Your XML, by Elliotte Rusty Harold (https://books.google.co.jp/books?id=3DGBT61nOT058C&pg=3DPA259= &lpg=3DPA259&dq=3Dxsltproc+XML+CATALOG+FILES+space+separated&source=3Dbl&ot= s=3DUHr4NuXm1C&sig=3D9GgLW41OUmNOC9cRvyNyM6d3lYw&hl=3Den&sa=3DX&ved=3D0ahUK= Ewiq1tu2jp_TAhXCx7wKHazGDpMQ6AEIOTAD#v=3Donepage&q&f=3Dfalse) [2] Discussion on Gnome mailing list: https://mail.gnome.org/archives/xml/2002-October/msg00028.html