W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2007

[whatwg] Entity parsing

From: Simon Pieters <zcorpan@gmail.com>
Date: Fri, 15 Jun 2007 08:49:11 +0200
Message-ID: <op.ttyaj9fv7a8kvn@hp-a0a83fcd39d2>
On Fri, 15 Jun 2007 03:05:05 +0200, Ian Hickson <ian at hixie.ch> wrote:

> On Sun, 5 Nov 2006, ?istein E. Andersen wrote:
>>
>> From section 9.2.3.1. Tokenising entities:
>> >  For some entities, UAs require a semicolon, for others they don't.
>>
>> This applies to IE.
>>
>> FWIW, the entities not requiring a semicolon are the ones encoding
>> Latin-1 characters, the other HTML 3.2 entities (&amp, &gt and &lt), as
>> well as &quot and the uppercase variants (&AMP, &COPY, &GT, &LT, &QUOT
>> and &REG). [...]
>
> I've defined the parsing and conformance requirements in a way that
> matches IE. As a side-effect, this has made things like "na&iumlve"
> actually conforming. I don't know if we want this.

Firefox, Opera and Safari treat "na&iumlve" as equivalent to  
"na&amp;iumlve". So for compat with them, the semicolon should be made  
required.

-- 
Simon Pieters
Received on Thursday, 14 June 2007 23:49:11 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:56 UTC