W3C home > Mailing lists > Public > www-tag@w3.org > October 2006

Re: new TAG issue TagSoupIntegration-54

From: L. David Baron <dbaron@dbaron.org>
Date: Wed, 25 Oct 2006 22:41:12 -0700
To: www-tag@w3.org
Message-ID: <20061026054112.GA31366@ridley.dbaron.org>
On Thursday 2006-10-26 00:42 -0400, Mark Baker wrote:
> FWIW, I spearheaded the creation of an XHTML media type in large part
> because I was concerned that without one, HTML UAs would find
> themselves having to deal with XML/XHTML "isms" in their HTML code
> path.  If Ian's correct about how browsers work today - which I assume
> he is - it seems that they decided to tackle those issues anyhow.

Well, it's not exactly that there was anything to tackle.  HTML
parsers have been pretty error-tolerant for a long time, since there
are lots of errors in HTML on the Web.  Error handling was already
consistent-enough across browsers on at least most of the errors
caused by sending XML as text/html.

So the browsers mostly haven't changed to handle XML sent as
text/html.  They just use the same error correction that they've
been using for years, although perhaps with a few tweaks so that the
particular types of errors caused by sending XML are handled more
consistently between browsers.

-David

-- 
L. David Baron                                <URL: http://dbaron.org/ >
           Technical Lead, Layout & CSS, Mozilla Corporation

Received on Thursday, 26 October 2006 05:41:25 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:47:42 GMT