[whatwg] Entity parsing
MegaZone
megazone at megazone.org
Fri Jun 15 15:58:21 PDT 2007
Once upon a time Ian Hickson shaped the electrons to say...
> 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.
I think the semicolon is important for readability and clarity - where
does the entity reference end? There is potential confusion with
similarly named entities: ¬ ∉ ∨ ª º π ϖ
σ ς ⊂ ⊆ ⊃ ¹ ² ³ ⊇
θ ϑ
The semicolon eliminates confusion.
Personally I prefer quoted attribute values too, but I don't feel
that strongly about it. I just now that with the quotes optional
someone is going to try to list space separated 'class' names. ;-)
-MZ
--
megazone-at-megazone.org http://www.MegaZone.org/ Gweep, Geek, Human, me.
http://www.TiVoLovers.com/ http://www.Eyrie-Productions.com/ -><- Hail Eris
"A little nonsense now and then, is relished by the wisest men" 508-852-2171
More information about the whatwg
mailing list