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

Re: Alternative to x!y

From: Jeni Tennison <jeni@jenitennison.com>
Date: Sat, 19 Aug 2006 04:32:34 -0400
Message-ID: <44E6CCA2.6020501@jenitennison.com>
To: public-xml-processing-model-wg@w3.org

Hi Norm,

> When I presented the XProc stuff, several folks commented that they
> didn't much like the x!y notation. I thought at least one person
> proposed a reasonable alternative. But I no longer recall what it was,
> if it even happened.
> Anyone else recall? Or have thoughts?

I'm not sure if it was reasonable or not, but the only suggestion I 
remember was to separate the reference into different attributes. So 
instead of:

<p:input port="document" source="validated!result" />

you'd have something like:

<p:input port="document" source-step="validated" source-port="result" />

This is good for validation (it's possible to put together identity 
constraints on separate attributes whereas it isn't for the x!y 
notation), and might lead to easy defaulting that in the usual case 
means only one (or neither) of the attributes needs to be specified 
(source-step defaults to the immediately preceding step, source-port to 
the primary output).

On the other hand, it's a lot more verbose.


Jeni Tennison
Received on Saturday, 19 August 2006 08:32:46 UTC

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