W3C home > Mailing lists > Public > public-xformsusers@w3.org > November 2016

Re: The xforms-recalculate Event

From: Steven Pemberton <steven.pemberton@cwi.nl>
Date: Tue, 22 Nov 2016 11:39:16 +0100
To: "Erik Bruchez" <ebruchez@orbeon.com>
Cc: "public-xformsusers@w3.org" <public-xformsusers@w3.org>
Message-ID: <op.yrbrvqtfsmjzpq@steven-aspire-s7>
On Mon, 21 Nov 2016 19:20:20 +0100, Erik Bruchez <ebruchez@orbeon.com>  
wrote:

>> https://www.w3.org/community/xformsusers/wiki/XForms_2.0#The_xforms-recalculate_Event
>>
>> "When a recalculate event begins, there will be a list L of one or more  
>> instance nodes whose values may have been changed"
>> ...
>> "All nodes in L, if any, and nodes that are computationally dependent  
>> on nodes in L must be recalculated."
>>
>> If L is "one or more" nodes then the "if any" in the second sentence is  
>> redundant. If the "if any" is right, then L should be "zero or more".
>
> Damn logic ;) I am not sure that there is a guarantee at the beginning  
> of a recalculate that at least one node has changed value. So I favor  
> the >"zero or more" option.

I think you are right, in particular because the recalculate action can be  
initiated independently of the normal processing model.

Steven

>
> -Erik
Received on Tuesday, 22 November 2016 10:39:56 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 22 November 2016 10:39:56 UTC