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

xforms-action-error error-type values

From: Steven Pemberton <steven.pemberton@cwi.nl>
Date: Thu, 14 Sep 2017 17:14:37 +0200
To: public-xformsusers@w3.org
Message-ID: <op.y6j9ynv6smjzpq@steven-xps>
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 15:15:11 UTC

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