Re: Syntax noodling

/ Jeni Tennison <jeni@jenitennison.com> was heard to say:
| Yep. I've been playing in my head with having a 'copies' attribute on
| <p:output> as a shorthand for "tee" and "sink" components: copies="0"
| would "sink" while copies="2" or more would tee the requisite number
| of times. But I'm currently undecided whether we really need to draw
| attention to teeing/sinking at all at the syntax level: doing so
| provides error checking when outputs get forgotten about, but I don't
| think a user would forget about an output that they were interested in.

I want to be able to check that all the outputs are accounted for;
users make mistakes. But I think we'll either want to do that by
adding explicit tee components or by allowing multiple refrences to
the same label to imply a tee. I don't think we'll need to ask the
user to indicate explicitly the number of copies required.

                                        Be seeing you,
                                          norm

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

Received on Wednesday, 10 May 2006 15:33:34 UTC