Re: Alternative to x!y

/ 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 UTC