W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2009

[whatwg] Reserving "id" attribute values?

From: Brett Zamir <brettz9@yahoo.com>
Date: Tue, 19 May 2009 19:46:43 +0800
Message-ID: <4A129C23.3000606@yahoo.com>
Anne van Kesteren wrote:
> On Tue, 19 May 2009 03:20:49 +0200, Brett Zamir <brettz9 at yahoo.com> 
> wrote:
>> In order to comply with XML ID requirements in XML, and facilitate 
>> future transitions to XML, can HTML 5 explicitly encourage id 
>> attribute values to follow this pattern (e.g., disallowing numbers 
>> for the starting character)?
>
> Those are only validity requirements and only when DTDs are involved 
> (and possibly XSD) so it doesn't really matter.
>
While it may not be that common, people may want at a later date to 
apply some files for validation...

And don't forget the vanity/business factor in having a fully validating 
site.... :)

Brett
Received on Tuesday, 19 May 2009 04:46:43 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:12 UTC