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

[whatwg] Please make < inside tags a parse error

From: Henri Sivonen <hsivonen@iki.fi>
Date: Mon, 18 Jun 2007 10:07:25 +0300
Message-ID: <1B449306-DD56-4545-AAD6-914798491A6B@iki.fi>
On Jun 18, 2007, at 00:15, Henri Sivonen 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.

Anne pointed out on IRC that I hadn't properly considered the tag  
name state, before attribute name state, attribute name state and  
after attribute name state being caught on a higher layer anyway.

In the case of attribute value (unquoted) state Gecko and WebKit  
already do what the spec says. It is highly confusing though.

-- 
Henri Sivonen
hsivonen at iki.fi
http://hsivonen.iki.fi/
Received on Monday, 18 June 2007 00:07:25 UTC

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