- From: Erik Bruchez <ebruchez@orbeon.com>
- Date: Mon, 13 Apr 2020 11:18:31 -0700
- To: Steven Pemberton <steven.pemberton@cwi.nl>
- Cc: XForms <public-xformsusers@w3.org>
Received on Monday, 13 April 2020 18:18:56 UTC
I am not sure the spec says.
If this happens, our implementation dispatches an `xforms-submit-error`
event with a `target-error`, which was specified in XForms 1.1 but seems to
have disappeared from 2.0.
The following should produce the same error if possible:
- instance="missing-instance"
- targetref="instance('missing-instance')"
-Erik
On Mon, Apr 13, 2020 at 7:43 AM Steven Pemberton <steven.pemberton@cwi.nl>
wrote:
>
>
> https://www.w3.org/community/xformsusers/wiki/XForms_2.0#Replacing_Data_with_the_Submission_Response
>
> What should happen if I have a submission
>
> <submission ... replace="instance" instance="foobar"/>
>
> and foobar doesn't exist (or if it isn't an instance)?
>
> Steven
>
>
Received on Monday, 13 April 2020 18:18:56 UTC