W3C home > Mailing lists > Public > www-forms@w3.org > September 2005

Re: How to handle the server response?

From: Aaron Reed <aaronr@us.ibm.com>
Date: Tue, 27 Sep 2005 17:04:16 -0500
To: daniel@pressure.net.nz
Cc: www-forms@w3.org
Message-ID: <OF631573E7.417A4A05-ON87257089.0078FF67-86257089.0078FDBD@us.ibm.com>




>I still think your suggestion is a good idea, but it seems that
>Mozilla's XForms client doesn't consider a 404 to be a submit error.

Hi Daniel,

You are right, Mozilla doesn't handle the http failures in the way
described by Mark, even though we thought that we did :=).
We have opened up a
bug(https://bugzilla.mozilla.org/show_bug.cgi?id=310125)
to address this issue.  Reading the spec, specifically 11.1 #5, it
certainly appears that
processors should dispatch a xforms-submit-error event in the case of
any 4xx and 5xx http response.  "For an error response nothing in the
document
is replaced, and submit processing concludes after dispatching
xforms-submit-error."
But like you noticed in Mozilla, it doesn't seem like other processors do
this for 404 responses, either.

Hopefully this thread will be discussed by the WG and the different
implementors so that we can get a nice, consistent behavior across
all platforms.

Thanks for pointing this out.

--Aaron
Received on Wednesday, 28 September 2005 01:06:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:22:01 GMT