Re: HTML5 and XML syntax

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 UTC