W3C home > Mailing lists > Public > public-xml-processing-model-wg@w3.org > July 2007

Making 'href' optional in p:log

From: Alessandro Vernet <avernet@orbeon.com>
Date: Mon, 16 Jul 2007 15:10:31 -0700
Message-ID: <4828ceec0707161510o45446e83r2d86acb26ea81b74@mail.gmail.com>
To: public-xml-processing-model-wg <public-xml-processing-model-wg@w3.org>

I suggest we make the 'href' attribute in p:log optional. When the
attribute is missing, p:log writes to a location which is
implementation dependent.

This is to avoid having write something like <p:log port="..."
href="file:///var/log/xproc.log"/>. (1) This creates redundancy
(repeating 'href'). (2) It means we have to change multiple places in
the code if the location of the log file changes. (3) This makes the
pipeline not portable (/var/log/xproc.log may not be the right
location to write to on Windows).

Instead, I prefer to write just <p:log port="..."/> and set where the
data goes by configuring the XProc implementation.

Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Received on Monday, 16 July 2007 22:10:35 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:32:43 UTC