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.

Alex
-- 
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
http://www.orbeon.com/
Received on Monday, 16 July 2007 22:10:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:21:53 GMT