W3C home > Mailing lists > Public > www-validator@w3.org > November 2007

Re: [Suggestion] Wrong environment variable specified when validating ($_SERVER['http-accept])

From: David Coll <david.coll.78@gmail.com>
Date: Mon, 5 Nov 2007 21:16:24 +0100
Message-ID: <1FE4F93DF18F44B3B88A13511E99177E@PC0722051C6846F>
To: <www-validator@w3.org>
Thanks Sierk for the lead on those discussions.

@Andreas, I think we are misunderstanding each other.. 

IE doesn't understand xhtml, it's not a fraud to declare the document for him as text/html because it IS IE that is "in fault". The point is to give him a valid document that he can understand/render.

The point is that the w3c validation only "recommend" declaring the document as "application/xhtml+xml" when using the doctype xhtml 1.1 (it is a valid xhtml 1.1 document) but is not sending the correct headers to do that when creating your documents dynamically (so that every kind of browsers can read your content, which is the point of dynamic content rendering).

Thus, I don't see where is the fraud when you need to tweek your document for a browser that isn't listening to the standards ? You could call it that way however, but then, there is a lot of frauds made specifically for IE to display the content correctly over the web...

Sincerely
David
Received on Monday, 5 November 2007 20:17:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:26 GMT