Hey Bob,

Designer wrote:
> Interesting. I have recently been experimenting with the problem of 
> presenting XHTML1.1 as application/xhtml+xml without blowing up IE, and 
> I came across the excellent work outlined at :
> 
> http://www.workingwith.me.uk/articles/scripting/mimetypes/
> 
> This uses PHP to check the http_accept and insert the DTD 
> header/mimetype as appropriate.  You can see it working on my site at 
> the signature below.  It's very easy to implement and seems to work 
> fine.  Decent browsers display 'proper' xhtml 1.1 and IE produces 
> HTML4.01 strict.

Yepp, the Content Negotioation thing by PHP is great. I use
it myself on my site.
But, I think often people take the "serving XHTML as XML"
issue a bit too serious in cases where it is not really
necessary, as.. yeah.. on my site ;-).

The standard [1] says, that XHTML Documents "may" be served
as text/html for compatibility issues as long as it follows
the guidelines in Appendix C [2].

My opinion is, that often it's a good idea better to use
HTML4 Strict when XHTML is not really necessary (= you don't
use any other XML namespaces).



[1] http://www.w3.org/TR/xhtml1/issues.html#issues
[2] http://www.w3.org/TR/xhtml1/guidelines.html#guidelines


-- 
Best,

Marcel
http://marcelfahle.com
http://mat-computing.com
http://travelbert.com
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to