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/

Reply via email to