Re: <reset instance="id"/>

On Mon, 10 Jul 2017 15:49:43 +0200, Erik Bruchez <>  

> For `<submission>`, we say:
>    "if the instance attribute does not indicate an instance in the same  
> model as the submission, submission fails with target-model-error"
> I would say we dispatch an `xforms-action-error` in on the case of  
> `<reset>` and `<retain>`.

That's what I thought at first, but then looked at the other actions with  
id attributes:

setindex: The element referred to by the repeat attribute is identified.  
If no such repeat element exists, this action has no effect.

toggle: If no case element is identified by this value, then the toggle  
action has no effect.

setfocus: If no such control is identified, then this action has no effect.

dispatch: If no element is so identified, this action has no effect.

send: If the submission attribute is given but does not identify a  
submission element, then the send action has no effect.


> -Erik
> On Thu, Jul 6, 2017 at 4:32 PM, Steven Pemberton  
> <> wrote:
>> What should happen with
>>  <reset instance="id"/>
>> if 'id' doesn't identify an instance?
>> Steven

Received on Tuesday, 11 July 2017 12:35:16 UTC