[whatwg] Entity parsing
rubys at intertwingly.net
Sat Jun 23 11:12:45 PDT 2007
On 6/14/07, Ian Hickson <ian at hixie.ch> wrote:
> On Sun, 5 Nov 2006, Øistein E. Andersen wrote:
> > From section 22.214.171.124. 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 (&, > and <), as
> > well as " and the uppercase variants (&, ©, >, <, "
> > and ®). [...]
> I've defined the parsing and conformance requirements in a way that
> matches IE. As a side-effect, this has made things like "naïve"
> actually conforming. I don't know if we want this. On the one hand, it's
> pragmatic (after all, why require the semicolon?), and is equivalent to
> not requiring quotes around attribute values. On the other, people don't
> want us to make the quotes optional either.
With the latest changes to html5lib, we get a failure on a test named
Before, "A &mdash B" == "A — B", now "A &mdash B" == "A &mdash B".
Is that what we really want? Testing with Firefox, the old behavior
- Sam Ruby
More information about the whatwg