Re: Evaluation context for avts

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