Re: application/xhtml+xml and forms

On Fri, 2005-10-28 at 17:00 -0400, Tim Callahan wrote:
> forms and [snip] application/xhtml+xml

> Firefox gets the document as application/xhtml+xml handling the
> document somewhat correctly. 

> input is forgotten when you hit back when redirected to the error
> page.

> this form problem is due to sending the document as application/xhtml
> +xml because I removed the PHP script that sends the header and my
> message input was remembered when I hit back.

> What am I missing here with sending the document correctly?
> There must be some specification I can read up on about this.

I'm not aware of any specification that says anything about this, I
suspect that it is an implementation issue.

I'd reconsider your use of XHTML, your message suggests that you are
sending it with an incorrect content-type to browsers which don't
understand XHTML, so it seems likely you aren't taking advantage of any
of the benefits of the language. HTML 4.01 is better established and
supported, to the extent the that Mozilla project recommends it over
XHTML[1], so you might be better off sticking to that for the time
being.

[1] http://www.mozilla.org/docs/web-developer/faq.html#accept

-- 
David Dorward                           <http://dorward.me.uk/>
"Anybody remotely interesting is mad, in some way or another."
                             -- The Greatest Show in the Galaxy

Received on Saturday, 29 October 2005 07:27:32 UTC