W3C home > Mailing lists > Public > public-html@w3.org > August 2007

Re: ID Characters (was: Re: 3.4. Global attributes)

From: Henri Sivonen <hsivonen@iki.fi>
Date: Thu, 2 Aug 2007 07:59:26 +0300
Message-Id: <EC1199BE-B45F-4D54-BAE0-A3AB691B24DF@iki.fi>
Cc: HTML WG <public-html@w3.org>
To: Jim Jewett <jimjjewett@gmail.com>

On Aug 2, 2007, at 01:04, Jim Jewett wrote:

> Even new (but simple or homegrown) tools written explicitly for use
> with html5 will often get this wrong, because people will continue to
> assume the "obvious" constraints on an ID.

Do real homegrown tools really do anything but compare ID strings for  
equality when *consuming* markup? Do real homegrown tools fail if an  
ID starts with a digit or contains [] brackets?

Assuming extra constraints when generating id attributes is harmless.

-- 
Henri Sivonen
hsivonen@iki.fi
http://hsivonen.iki.fi/
Received on Thursday, 2 August 2007 04:59:52 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:03 GMT