W3C home > Mailing lists > Public > public-html@w3.org > September 2007

Unquoted attributes starting with =

From: Henri Sivonen <hsivonen@iki.fi>
Date: Sat, 15 Sep 2007 23:56:56 +0300
Message-Id: <5C12DC19-F682-4868-BD3C-EC973BB762DC@iki.fi>
To: HTMLWG WG <public-html@w3.org>

(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

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:38:49 UTC