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

Re: HTML5 and XML syntax

From: Simon Pieters <simonp@opera.com>
Date: Mon, 28 Jan 2008 16:28:24 +0100
To: temp17@staldal.nu, public-html-comments@w3.org
Message-ID: <op.t5nbxmrxidj3kv@zcorpandell.palace.opera.no>

On Mon, 28 Jan 2008 16:16:48 +0100, <temp17@staldal.nu> wrote:

>
> 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.
>
> This implies that there is a browser in use which
>
> a) Refuse to display illformed XHTML when served as text/html

No, I meant application/xhtml+xml to all except IE.


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

All browsers I know of show "Foo & Bar" and "Foo &amp; Bar" the same (and  
both are valid HTML for that matter).

-- 
Simon Pieters
Opera Software
Received on Monday, 28 January 2008 15:29:25 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 1 June 2011 00:13:58 GMT