W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2007

[whatwg] Please make < inside tags a parse error

From: Simon Pieters <zcorpan@gmail.com>
Date: Mon, 18 Jun 2007 10:34:11 +0200
Message-ID: <op.tt3ze9gi7a8kvn@hp-a0a83fcd39d2>
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
Received on Monday, 18 June 2007 01:34:11 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:56 UTC