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

Re: xforms-action-error error-type values

From: Erik Bruchez <ebruchez@orbeon.com>
Date: Thu, 14 Sep 2017 09:15:09 -0700
Message-ID: <CAAc0PEXHkZspN_YjDeea_v0ZO3DC0yAk65WyF0QWPDdW28X6-g@mail.gmail.com>
To: Steven Pemberton <steven.pemberton@cwi.nl>
Cc: "public-xformsusers@w3.org" <public-xformsusers@w3.org>
SGTM.

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

> You get an action-error when some action causes an error; error-type then
> tells you what the error was.
>
> In the spec many actions fail to say what the error-type should be (search
> for TBD in the current version of the spec).
>
> So I propose the current general pattern:
>
>         <action-name>-<attribute-name>          for problems with the
> attribute
>         <action-name>-<attribute-name>-<error>  for problems when using
> the attribute
>
> So that will give us:
>
>         setvalue-ref-children
>         setvalue-ref-root
>         setindex-repeat
>         toggle-case
>         setfocus-control
>         dispatch-targetid
>         reset-instance
>         retain-instance
>         send-submission
>         action-type
>
> It leaves one, where the problem is with the body of the action rather
> than an attribute, when the action element contains script:
>
>         action-script-error
>
> OK?
>
> Steven
>
>
Received on Thursday, 14 September 2017 16:15:53 UTC

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