W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2006

[whatwg] Character/Entity Reference Syntax Support

From: Ian Hickson <ian@hixie.ch>
Date: Sat, 11 Mar 2006 00:20:03 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0603110019090.315@dhalsim.dreamhost.com>
On Sun, 16 Oct 2005, Lachlan Hunt wrote:
>
> I wrote a test page [1] to test the support for the syntax of hex and 
> numeric character refernces and entity references using all character 
> references defined in HTML4.  It tests each with and without the REFC 
> delimiter (;).
> 
> It seems that IE doesn't support omitting the REFC for any hex character 
> reference and only supports omitting it for ISO-8859-1 entities plus 
> &amp, &lt, &gt and &quot from the markup significant category.  IE 
> doesn't support &apos either, but it's not defined in HTML4 anyway.
> 
> Firefox and Opera support all of them just fine with or without the 
> REFC.

I decided to go with the more sane Firefox/Opera model for parsing, but 
made the semicolon required (parse error if it is omitted).

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 10 March 2006 16:20:03 UTC

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