- From: Julian Reschke <julian.reschke@gmx.de>
- Date: Sun, 22 Nov 2009 06:34:14 +0100
- To: Adam Barth <w3c@adambarth.com>
- CC: Boris Zbarsky <bzbarsky@mit.edu>, Gavin Carothers <gavin@carothers.name>, Maciej Stachowiak <mjs@apple.com>, HTMLwg <public-html@w3.org>
Adam Barth wrote: > On Sat, Nov 21, 2009 at 9:38 AM, Boris Zbarsky <bzbarsky@mit.edu> wrote: >> On 11/20/09 8:06 PM, Gavin Carothers wrote: >>> I agree, it's totally unlikely that anyone meant for the body tag not >>> to be in the XHTML namespace. I think it's equally unlikely that >>> http://www.microsoft.com/learning/en/us/Book.aspx?ID=13697&locale=en-us >>> is meant to be served with no content-type resulting in well... >>> disaster. >> Interesting. The only reason that page breaks, looks like, is that the byte >> stream starts with the UTF-8 BOM. If it started with "<!" browsers would >> treat it as HTML (or at least Gecko certainly would). >> >> If we had more cases like this I would actually propose changing the >> sniffing algorithm to deal, but as it is it might not be worth it. > > Interesting case. I'm not sure if changing the sniffing algorithm > would cause more harm than good in this case. An argument *could* be made that the scope of sniffing should be different for cases where the server does not supply a media type itself. BR, Julian
Received on Sunday, 22 November 2009 05:35:03 UTC