[whatwg] Please make < inside tags a parse error

Simon Pieters zcorpan at gmail.com
Mon Jun 18 01:34:11 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.

"<" in unquoted attribute values works interoperably. No need to make it a  
parse error in the attribute value (unquoted) state.

-- 
Simon Pieters



More information about the whatwg mailing list