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

Re: Alternative to x!y

From: Erik Bruchez <ebruchez@orbeon.com>
Date: Mon, 21 Aug 2006 12:00:47 -0700
Message-ID: <44EA02DF.6030603@orbeon.com>
To: public-xml-processing-model-wg@w3.org

Norman Walsh wrote:
> / Jeni Tennison <jeni@jenitennison.com> was heard to say:
> | 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.
> 
> Yeah, I'm not naturally moved in that direction.

Is "!" just a placeholder or the actual proposed syntax?

-Erik

-- 
Orbeon - XForms Everywhere:
http://www.orbeon.com/blog/
Received on Monday, 21 August 2006 19:01:03 GMT

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