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

Re: Parsing: "<" inside tags

From: Olivier GENDRIN <olivier.gendrin@gmail.com>
Date: Thu, 7 May 2009 10:06:32 +0200
Message-ID: <e2c275120905070106t250d0091y3f0f87f5db93a22f@mail.gmail.com>
To: Simon Pieters <simonp@opera.com>
Cc: "public-html@w3.org" <public-html@w3.org>
On Wed, May 6, 2009 at 8:08 PM, Simon Pieters <simonp@opera.com> wrote:
> 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.)

On the other hand, be able to write :
<abbr title="United Nations <span lang='fr'>Nations
Unies</span>">UN</abbr> would be great for accessibility, but a
nightmare to implement in UA (I guess).

-- 
Olivier G.
http://twitter.com/lespacedunmatin
http://www.lespacedunmatin.info/blog/
Received on Thursday, 7 May 2009 08:07:35 UTC

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