Re: Review of XForms 2.0

Alain,

The specification just says (10.3.4 The xforms-refresh Event):

    All UI Expressions are reevaluated (implementations may optimize
this operation but must behave as if all UI Expressions are
reevaluated).

So it is implementation-dependent.

-Erik

On Mon, Jan 5, 2015 at 11:13 PM, alain.couthures@agencexml.com
<alain.couthures@agencexml.com> wrote:
> Erik,
>
> Section 4.2 says that an expression can reference an instance node. In the
> view, it can now also reference a variable which, itself, can reference an
> instance node. Actually, the reference list can contain both instance nodes
> and variables.
>
> XSLTForms is implementing dependencies in the view to limit recalculation,
> isn't it what the specifications say?
>
> --Alain
>
>> Le 5 janvier 2015 à 23:12, Erik Bruchez <erik@bruchez.org> a écrit :
>>
>>
>> Alain,
>>
>> In XForms 2, the use of var is not defined in the model, only in the
>> view (mixed with controls) and in actions. So there should be no
>> impact on dependencies.
>>
>> -Erik
>>
>> On Mon, Jan 5, 2015 at 12:21 PM, Alain Couthures
>> <alain.couthures@agencexml.com> wrote:
>> > All,
>> >
>> > Because I have just added var support in XSLTForms, I had to consider
>> > how
>> > the dependencies mechanism is concerned. As an easy programming
>> > approach, I
>> > have chosen to simply copy var dependencies during expression
>> > evaluation.
>> >
>> > The XForms 2.0 Specifications are defining dependencies at 4.2 as in
>> > XForms
>> > 1.1 and I think that something should be added about var, don't you?
>> >
>> > Thanks!
>> >
>> > --Alain
>> >
>> >
>>

Received on Tuesday, 6 January 2015 18:17:26 UTC