Why sniff out browsers that accept XML? If the document is marked as XHTML
1.1 it should allways be sent as XML.
Though, I have seen people sniffing out browsers and using server side
scripting to change the doctype. XHTML 1.1 to browsers than supports it, and
XHTML 1.0 with the html mime to older browsers. Which is meaningless since
the document effectivly is XHTML 1.0.
----- Original Message -----
From: "David Hucklesby" <[EMAIL PROTECTED]>
To: <wsg@webstandardsgroup.org>
Sent: Thursday, January 31, 2008 7:07 AM
Subject: Re: [WSG] Conflict between Mime Type and Document Type
On Tue, 29 Jan 2008 21:37:26 +1100, Andrew Freedman wrote:
Conflict between Mime Type and Document Type
http://www.bigbaer.com/css_tutorials/css.image.text.wrap.htm
Yah. DOCTYPE is XHTML 1.1, which should only be served as XML.
I suggest HTML 4.01 or XHTML 1.0 instead, unless you want to
sniff for browsers that accept XML on your server processing.
Be aware that the XML prolog puts IE6 into "quirks" mode.
Cordially,
David
--
*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************
*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************