W3C home > Mailing lists > Public > public-html@w3.org > May 2009

Parsing: "<" inside tags

From: Simon Pieters <simonp@opera.com>
Date: Wed, 06 May 2009 20:08:48 +0200
To: "public-html@w3.org" <public-html@w3.org>
Message-ID: <op.utisoyxjidj3kv@simon-pieterss-macbook.local>
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

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:39:03 UTC