Re: XMLNS in Inkscape and other editors

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.

Adam

Received on Sunday, 22 November 2009 01:28:26 UTC