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

Hi,

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, then 
slashes in unquoted attribute values should cause a parse error.

E.g., the snippet:

   <p title=foo//>test</p>

...is equivalent to:

   <p title="foo//">test</p>

...according to the HTML5 parsing algorithm (and goes without parse errors). 
But according to SGML (assuming the HTML4 doctype and the SGML declaration 
for HTML4) it's equivalent to:

   <p title="foo"></p>&gt;test</p>

Regards,
Simon Pieters

_________________________________________________________________
Satsa p? en romantisk h?st http://www.msn.se/dejting/

Received on Thursday, 19 October 2006 14:20:16 UTC