W3C home > Mailing lists > Public > public-xformsusers@w3.org > January 2017

Re: Evaluation context

From: Liam R. E. Quin <liam@w3.org>
Date: Tue, 17 Jan 2017 21:45:52 -0500
Message-ID: <1484707552.26891.255.camel@w3.org>
To: Erik Bruchez <ebruchez@orbeon.com>, Steven Pemberton <steven.pemberton@cwi.nl>
Cc: XForms <public-xformsusers@w3.org>
On Tue, 2017-01-17 at 16:50 -0800, Erik Bruchez wrote:
> 
[...]
> It would be nice in XForms if we had the same:
> 
>     <xf:repeat ref="E1">
>       ... evaluation of E2 using `size(), `position()`, and `last()`
> works
> ...
Note (from the peanut gallery) - the order of evaluation is not defined
in XPath and XSLT - they are not loops but definitions of mappings from
input ot output.

Similarly in XPath 3,
    for $i in 1 to 10 return $i * 3
could be evaluated in parallel (although I doubt any implementation
would for something this simple, they actually do for more complex
things).

Liam
Received on Wednesday, 18 January 2017 02:46:02 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 18 January 2017 02:46:02 UTC