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

Re: several messages

From: Simon Pieters <simonp@opera.com>
Date: Tue, 02 Jun 2009 13:51:31 +0200
To: "Simon Pieters" <simonp@opera.com>, "Ian Hickson" <ian@hixie.ch>, "Julian Reschke" <julian.reschke@gmx.de>, Kornel <kornel@geekhood.net>
Cc: public-html@w3.org
Message-ID: <op.uuwa75tqidj3kv@simon-pieterss-macbook.local>
On Tue, 02 Jun 2009 12:22:56 +0200, Simon Pieters <simonp@opera.com> wrote:

> Writing HTML documents seems to make this valid:
>
>     <a href="&copy=">
>
> and claims that the attribute value contains just text and no character  
> references (since character references end with ";").
>
> Yet, Parsing HTML documents interprets the above the same as <a  
> href="©=">, as far as I can tell.
>
> Now, I guess there are several possible ways to fix this mismatch.
>
>    1. Revert the change.
>    2. Tweak the writing rules so that the ampersand above would be  
> ambiguous.
>    3. Tweak the parsing rules so that = is treated the same as 0-9a-zA-Z.

If action (2) or (3) are taken, then I guess it would make sense to make  
"&=" allowed, too.

-- 
Simon Pieters
Opera Software
Received on Tuesday, 2 June 2009 11:52:25 UTC

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