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

Re: Evaluation context for avts

From: Erik Bruchez <ebruchez@orbeon.com>
Date: Tue, 19 Feb 2019 11:44:14 -0800
Message-ID: <CAAc0PEX3AmRtVNAFkUntOhs9JOZvxLGR732rgT++pdaT+69ZhQ@mail.gmail.com>
To: Steven Pemberton <steven.pemberton@cwi.nl>
Cc: XForms <public-xformsusers@w3.org>
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 Tuesday, 19 February 2019 19:44:48 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 19 February 2019 19:44:49 UTC