W3C home > Mailing lists > Public > public-xformsusers@w3.org > February 2019

Re: Evaluation context for avts

From: Steven Pemberton <steven.pemberton@cwi.nl>
Date: Wed, 20 Feb 2019 14:23:55 +0100
To: "Alain Couthures" <alain.couthures@agencexml.com>
Cc: XForms <public-xformsusers@w3.org>
Message-ID: <op.zxih55yjsmjzpq@steven-xps>
Alain, I think you do the opposite. What do you think?

Steven

On Tue, 19 Feb 2019 20:44:14 +0100, Erik Bruchez <ebruchez@orbeon.com>  
wrote:

> Good question as to what it should be.
>
> In our implementation, we evaluate AVTs relative to the `ref` when  
> present, so we get `green`.
>
> -Erik
>
> On Tue, Feb 19, 2019 at 9:44 AM Steven Pemberton  
> <steven.pemberton@cwi.nl> wrote:
>> There are two conflicting rules for evaluation context, so I want to  
>> check which you think is right:
>>
>> <instance>
>>    <data xmlns="">
>>       <parent colour="red">
>>          <child colour="green">1</child>
>>       </parent>
>>    </data>
>> </instance>
>> ...
>> <group ref="parent">
>>     <output ref="child" class="{@colour}"/>
>> </group>
>>
>> What is the value of @class?
>>
>> Steven
Received on Wednesday, 20 February 2019 13:24:19 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 20 February 2019 13:24:20 UTC