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

Re: Alternative to x!y

From: Norman Walsh <Norman.Walsh@Sun.COM>
Date: Mon, 21 Aug 2006 14:59:19 -0400
To: public-xml-processing-model-wg@w3.org
Message-ID: <87fyfpnce0.fsf@nwalsh.com>
/ 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.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh
XML Standards Architect
Sun Microsystems, Inc.

Received on Monday, 21 August 2006 18:59:27 GMT

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