[whatwg] Parsing: Disallow slashes in unquoted attribute values?

Ian Hickson ian at hixie.ch
Thu Oct 19 15:03:44 PDT 2006

On Thu, 19 Oct 2006, Simon Pieters wrote:
> If it is desireable that conforming HTML5 documents that use a common 
> subset of HTML4 and HTML5 would be valid HTML4 if the doctype was 
> switched

It isn't, IMHO. I don't really see why that would be a useful goal.

> then slashes in unquoted attribute values should cause a parse error.

It is very common to see markup such as:

   <a href=http://example.com/>Example</a>

I don't see any good reason to make that non-conforming in HTML5.

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

More information about the whatwg mailing list