Parsing: "<" inside tags

See http://bugzilla.validator.nu/show_bug.cgi?id=504

Maybe the spec should make "<" in unquoted attributes and in attribute names a syntax error in order to catch authoring mistakes like the following:

   <div class=foo<p>bar</p></div>


   <div class=foo
    <p>bar</p>
   </div>

(Validators would issue other errors for those but they are not so helpful for identifying the actual mistake.)

-- 
Simon Pieters
Opera Software

Received on Wednesday, 6 May 2009 18:09:38 UTC