Parsing: Equals sign in unquoted attributes

The spec made the equals sign a parse error in unquoted attributes in  
order to catch this authoring mistake:

    <p class=="foo">

This seems to result in false positives for:

    <a href=foo?bar=baz>

...which is pretty common. Since the spec bans the " and ' characters in  
unquoted attributes, the above authoring mistake would be cought anyway.  
Therefore, I think that = should be allowed in unquoted attributes, at  
least when it's not the first character.

-- 
Simon Pieters
Opera Software

Received on Friday, 30 May 2008 10:27:12 UTC