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 12:57:24 +0300
Message-ID: <DF036B56-E273-4C09-AF02-E94083A5D6C4@iki.fi>
On Jun 18, 2007, at 12:47, Simon Pieters wrote:

> On Mon, 18 Jun 2007 11:24:31 +0200, Thomas Broyer  
> <t.broyer at gmail.com> wrote:
>> Parse errors are for conformance checkers, and I
>> believe those should report "<" in unquoted attribute values as
>> errors.
>
> Why? It doesn't create any problem as far as parsing goes in legacy  
> UAs.

The source code looks like it parses to something different than it  
actually does. This makes typos harder to spot. I've made this a  
warning in my working copy.

-- 
Henri Sivonen
hsivonen at iki.fi
http://hsivonen.iki.fi/
Received on Monday, 18 June 2007 02:57:24 UTC

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