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

Re: xforms-action-error error-type

From: Erik Bruchez <ebruchez@orbeon.com>
Date: Thu, 14 Sep 2017 09:17:46 -0700
Message-ID: <CAAc0PEX6mm0j0eEv+4RhT9yiknj4ZDUe6WCSz=muAqquzABwTA@mail.gmail.com>
To: Steven Pemberton <steven.pemberton@cwi.nl>
Cc: XForms <public-xformsusers@w3.org>
What happens if you write:

    <setvalue ref="some-incorrect-expression" value="42"/>

I imagine that the intent of `expression-error` would have been to reflect
that kind of error.

On Thu, Sep 14, 2017 at 7:49 AM, Steven Pemberton <steven.pemberton@cwi.nl>
wrote:

> While working on the two error-type actions, I noticed this:
>
> https://www.w3.org/community/xformsusers/wiki/XForms_2.0#The
> _xforms-action-error_Event
>
> error-type       string          One of the following: expression-error,
> binding-error, script-error, script-language-error, other-error.
>
> However, I can find no place where expression-error, binding-error, or
> other-error are used.
> (There are however separate events for xforms-expression-error,
> xforms-binding-error.)
>
> Does anyone generate an xforms-action-error with any of these values? If
> not, I will remove them from the spec.
>
> Also, since the remaining two are new to this spec, I intend to remove the
> word "error" from the end, since it is redundant.
>
> Steven
>
>
Received on Thursday, 14 September 2017 16:18:30 UTC

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