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

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
-- 
Sierk Bornemann
email:            sierkb@gmx.de
WWW:              http://sierkbornemann.de/

Received on Monday, 5 November 2007 22:03:26 UTC