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

[whatwg] Reserving "id" attribute values?

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 8 Jul 2009 02:48:06 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0907080247210.1060@hixie.dreamhostps.com>
On Wed, 10 Jun 2009, Giovanni Campagna wrote:
> 2009/6/10 Ian Hickson <ian at hixie.ch>:
> > On Tue, 19 May 2009, Brett Zamir 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)?
> >
> > Why can't we just change the XML ID requirements in XML to be less 
> > strict?
> 
> Because you are not part of the XMLCore WG, because XML is a 
> Recommendation and because ID has been a Name from the very beginning of 
> SGML. If something should be changed, it is the HTML5 draft. Naturally 
> it should be only an author conformance requirement.

Simon has forwarded the thread to the XML working group, so maybe they 
will change the rules.

In the meantime, I don't see any reason to limit what HTML can do based on 
arbitrary limits that XML has, so I haven't changed HTML5 here.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 7 July 2009 19:48:06 UTC

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