[webkit-dev] XML id attribute

Maciej Stachowiak mjs at apple.com
Sun Jul 30 13:55:08 PDT 2006


On Jul 30, 2006, at 9:21 AM, Allan Sandfeld Jensen wrote:

> On Friday 28 July 2006 00:05, Mike Emmel wrote:
>> I've notices that id is defined in  HTMLAttributeNames.in
>>
>> Should it not be in xml/xmlattrs.in because of this ?
>>
>> http://www.w3.org/TR/xml-id/
>
> No, html:id and xml:id are two different attributes.
>
> xml:id is not supported yet

(Just to be needlessly nitpicky, the HTML id attribute is actually in  
the null namespace, not the HTML namespace - attributes that are part  
of a language are not normally namespaced.) But what Allan said is  
basically right. And it's tricky to figure out the right behavior for  
languages that both have a native id attribute and support xml:id,  
the spec is not very helpful in this regard.

Regards,
Maciej




More information about the webkit-dev mailing list