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

Re: @while

From: Erik Bruchez <ebruchez@orbeon.com>
Date: Wed, 18 Oct 2017 06:40:00 -0700
Message-ID: <CAAc0PEX_EZXE2UOekSz0c5Md_St_uhxf6Ky-fR6nWzvteaknJQ@mail.gmail.com>
To: Steven Pemberton <steven.pemberton@cwi.nl>
Cc: XForms <public-xformsusers@w3.org>
Maybe the clearest implication is that calculated values are not
automatically updated during the execution of `while`.

We could add a "For example, ..." after the first sentence above to clarify
this.

-Erik

On Wed, Oct 18, 2017 at 2:43 AM, Steven Pemberton <steven.pemberton@cwi.nl>
wrote:

> "The XForms action is executed repeatedly until the converted result of
> the expression evaluates to false.[...] When XForms actions are iteratively
> executed, they are still subject to the normal action processing rules of
> updating and applicability of conditional and iterative attributes."
>
> https://www.w3.org/community/xformsusers/wiki/XForms_2.0#The
> _while_attribute
>
> "Updates of a model are done after a user or action handler has caused a
> change to an instance.
>
> Updates are not done while an action handler is being processed, but only
> after the termination of the outermost action handler."
>
> https://www.w3.org/community/xformsusers/wiki/XForms_2.0#Updates
>
> Do we need to warn more explicitly here about the sort of test that is
> therefore possible in a @while?
>
> Steven
>
>
Received on Wednesday, 18 October 2017 13:40:44 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:37:48 UTC