Re: several messages

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