Unquoted attributes starting with =

(Thanks to Simon Pieters for noticing this.)

Currently, unquoted attributes may start with a =:
http://parsetree.validator.nu/?doc=http%3A%2F%2Fhsivonen.iki.fi%2Ftest 
%2Feq-eq-attr.html

This means that the notion of conformance fails to catch what is most  
likely an error:
http://html5.validator.nu/?doc=http%3A%2F%2Fhsivonen.iki.fi%2Ftest% 
2Feq-eq-attr.html

To make the notion of conformance more useful for authors (that is,  
to make conformance checking catch unintentional stuff), I suggest  
making starting an unquoted attribute value with a = a parse error.  
This wouldn't limit the expressiveness of the language as authors  
always have the option to quote attribute values.

-- 
Henri Sivonen
hsivonen@iki.fi
http://hsivonen.iki.fi/

Received on Saturday, 15 September 2007 20:57:16 UTC