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

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

From: Sierk Bornemann <sierkb@gmx.de>
Date: Mon, 5 Nov 2007 23:03:11 +0100
Message-Id: <428BAE6F-B2F8-48E6-8D88-4973CB02BECE@gmx.de>
Cc: <www-validator@w3.org>
To: David Coll <david.coll.78@gmail.com>

Am 05.11.2007 um 21:16 schrieb David Coll:

> 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

W3C Recommendation (standards) say "SHOULD" for "application/xhtml 
+xml" and "MAY" for "text/html", if serving as XHTML 1.0 and "SHOULD  
NOT" for "text/html", when serving as XHTML 1.1, see http:// 
www.w3.org/TR/xhtml-media-types/ .

> when creating your documents dynamically (so that every kind of  
> browsers can read your content, which is the point of dynamic  
> content rendering).

David, please be aware, that some people seem to have an academic- 
testing-centric horizon, which rarely fits real world needs. Serving  
dynamically content, serving more than two or three pages, and  
topping that, serving them dynamically (and maybe built with  
Templates in JSP, PHP or SSI als minimal solution), seems to be out  
of the horizon of their experience. ;-)

Sierk Bornemann
email:            sierkb@gmx.de
WWW:              http://sierkbornemann.de/
Received on Monday, 5 November 2007 22:03:26 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:54 UTC