all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: Hartmut Goebel <h.goebel@crazy-compilers.com>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: libxml2: Wrong separator in XML_CATALOG_FILES?
Date: Wed, 12 Apr 2017 23:59:39 +0900	[thread overview]
Message-ID: <CAN-vT6Rmkbx4ng-PDR_1_PGFLYjHTeiqAiCOUSmnBcxobozsJg@mail.gmail.com> (raw)
In-Reply-To: <58ECD9C3.2010204@crazy-compilers.com>

Hello Hartmut,

On Tue, Apr 11, 2017 at 10:27 PM, Hartmut Goebel
<h.goebel@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. 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=GBT61nOT058C&pg=PA259&lpg=PA259&dq=xsltproc+XML+CATALOG+FILES+space+separated&source=bl&ots=UHr4NuXm1C&sig=9GgLW41OUmNOC9cRvyNyM6d3lYw&hl=en&sa=X&ved=0ahUKEwiq1tu2jp_TAhXCx7wKHazGDpMQ6AEIOTAD#v=onepage&q&f=false)

[2] Discussion on Gnome mailing list:
https://mail.gnome.org/archives/xml/2002-October/msg00028.html

  reply	other threads:[~2017-04-12 14:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-11 13:27 libxml2: Wrong separator in XML_CATALOG_FILES? Hartmut Goebel
2017-04-12 14:59 ` Maxim Cournoyer [this message]
2017-04-13 14:44   ` Ludovic Courtès
2017-04-14 16:00     ` Maxim Cournoyer
2017-04-17 21:48     ` Hartmut Goebel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAN-vT6Rmkbx4ng-PDR_1_PGFLYjHTeiqAiCOUSmnBcxobozsJg@mail.gmail.com \
    --to=maxim.cournoyer@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=h.goebel@crazy-compilers.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.