[whatwg] Please make < inside tags a parse error

Anne van Kesteren annevk at opera.com
Sun Jun 17 23:38:01 PDT 2007


On Sun, 17 Jun 2007 23:15:33 +0200, Henri Sivonen <hsivonen at iki.fi> wrote:
> The new treatment of < inside tags is
>   * Potentially very confusing for authors
>   * Different from previous de jure parsing
>   * Different from what shipped Gecko and WebKit do.
>
> Therefore, please add an entry for < to tag name state, before attribute  
> name state, attribute name state, after attribute name state and  
> attribute value (unquoted) state:
>
> U+003C LESS-THAN SIGN (<)
>    Parse error. Then treat according to the "Anything else" entry below.

How is this character different from &, ", ', etc.? The element eventually  
created would be non-conforming anyway.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>



More information about the whatwg mailing list