Fwd: Re: [whatwg] Reserving "id" attribute values?

Forwarding to the XML Core WG.


For new readers:

HTML5 says

"The id attribute represents its element's unique identifier. The value  
must be unique in the element's home subtree and must contain at least one  
character. The value must not contain any space characters."
http://www.whatwg.org/specs/web-apps/current-work/multipage/dom.html#the-id-attribute



------- Forwarded message -------
From: "Giovanni Campagna" <scampa.giovanni@gmail.com>
To: "Ian Hickson" <ian@hixie.ch>
Cc: "Henri Sivonen" <hsivonen@iki.fi>, "Brett Zamir" <brettz9@yahoo.com>,  
whatwg@whatwg.org
Subject: Re: [whatwg] Reserving "id" attribute values?
Date: Wed, 10 Jun 2009 14:09:45 +0200

2009/6/10 Ian Hickson <ian@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.

>
>> Also, there is this minor errata:
>> http://www.whatwg.org/specs/web-apps/current-work/#refsCSS21 is broken
>> (in section 3.2)
>
> I haven't done any references yet; I'll probably get to them in a couple
> of months.
>
> --
> Ian Hickson               U+1047E                )\._.,--....,'``.    fL
> http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
> Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
>

Giovanni


-- 
Simon Pieters
Opera Software

Received on Wednesday, 10 June 2009 12:38:06 UTC