[whatwg] Reserving "id" attribute values?

Brett Zamir brettz9 at yahoo.com
Tue May 19 04:46:43 PDT 2009


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


More information about the whatwg mailing list