W3C home > Mailing lists > Public > public-html@w3.org > January 2008

Re: HTML5 and XML syntax

From: liorean <liorean@gmail.com>
Date: Mon, 28 Jan 2008 16:30:58 +0100
Message-ID: <cee13aa30801280730i3680cdbcx349fbf7b94e4349e@mail.gmail.com>
To: "HTML WG" <public-html@w3.org>

> Simon Pieters skrev:
> > Consider that you make a site for a client, in XHTML, but served as
> > text/html to IE. You use a popular CMS so that the client can update the
> > site himself. The site validates and all is nice and dandy, a work well
> > done.
> >
> > Now 6 months later the client updates the front page on his site and
> > forgets to escape an ampersand. The client doesn't notice because he
> > uses IE. Suddenly the client is locking out customers without knowing
> > about it.

On 28/01/2008, temp17@staldal.nu <temp17@staldal.nu> wrote:
> This implies that there is a browser in use which
> a) Refuse to display illformed XHTML when served as text/html

Not at all. The document was specifically served as text/html to ie,
implying that other browsers got application/xhtml+xml.

> b) Correctly display HTML with incorrect character entities
> Which browser is that?

Tell me which browser doesn't support unescaped ampersands in HREF and
SRC attributes for text/html content? It's one of the most common
XHTML coding errors around. It gets ignored in HTML mode, but YSoD in
XML mode.
David "liorean" Andersson
Received on Monday, 28 January 2008 15:31:21 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:29 UTC