[whatwg] Character/Entity Reference Syntax Support

Ian Hickson ian at hixie.ch
Fri Mar 10 16:20:03 PST 2006


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.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list