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

Re: Variable and option binding proposal

From: Alessandro Vernet <avernet@orbeon.com>
Date: Wed, 26 Mar 2008 18:22:47 -0700
Message-Id: <2619EA02-27E5-47D1-833B-19D5D8F6D5FB@orbeon.com>
To: public-xml-processing-model-wg@w3.org

On Mar 26, 2008, at 7:31 AM, Henry S. Thompson wrote:
>> I don't think that's a necessary restriction. There's no reason why I
>> shouldn't be able to initialize two or three variables right before
>> the p:choose that needs them.
>
> Hmm.  I guess.  Given that I think we definitely should _evaluate_
> them all at the beginning, I thought it was simpler to _put_ them all
> at the beginning. . .


I don't think we need to say that variables are all evaluated at the  
beginning. Instead, each variable can be evaluated the first time it  
is used. It may render the implementation slightly more complicated,  
but not unreasonably so.

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.com/
Received on Thursday, 27 March 2008 01:23:23 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 27 March 2008 01:23:24 GMT