Re: xforms-action-error error-type

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