Re: Variables and parameters

/ Jeni Tennison <jeni@jenitennison.com> was heard to say:
| Hi,
|
| Norm Walsh wrote:
|> / Rui Lopes <rlopes@di.fc.ul.pt> was heard to say:
|> | Maybe I'm missing something here, but I don't see why should we
|> | provide an extra attribute as a shortcut for ''.
|>
|> *Shrug* I could go either way. We could also say that the value
|> attribute is an AVT in XSLT terms and allow value="{2+4}"
|
| If variables and parameters can only be strings, then I prefer an AVT
| (because the semantics of AVTs is that they create strings). If they can
| be of other types, then I prefer a select attribute.

I'm really on the fence about limiting parameters to string values. On
the one hand, it's entirely coherent to allow parameters to be XML
documents. On the other hand, if you do that, then they're really just
extra, auxilliary inputs and the component could simply have been
written that way.

Thoughts?

                                        Be seeing you,
                                          norm

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

Received on Wednesday, 17 May 2006 20:14:17 UTC