W3C home > Mailing lists > Public > www-html@w3.org > October 2005

Re: application/xhtml+xml and forms

From: David Dorward <david@dorward.me.uk>
Date: Sat, 29 Oct 2005 08:32:15 +0100
To: Tim Callahan <timstext@gmail.com>
Cc: www-html@w3.org
Message-Id: <1130571135.7462.10.camel@cyberman.dorward.me.uk>

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

[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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:11 UTC