resource-error on xforms-submit-error

I've just run up against a problem with the context information for the  
xforms-submit-error event.

If you get the event, then event('error-type') is meant to tell you what  
the problem is. But you get 'resource-error' for the following cases:

1. If the resource is not specified (and thus no submission is done)
2. replace="instance" when the result is of a non-XML media type
3. replace="text" for a result that is neither an XML media type nor a  
text type (i.e. with a content type not matching text/*)
4. replace="all" with an error response

It seems to me it would be better if we had a different error-type for  
each type of error.

Steven

Received on Thursday, 13 March 2014 11:19:55 UTC