Re: Options for dealing with IDs

Tim Bray <tbray@textuality.com> wrote:

> > Most (but not all) attributes called id are of type ID. Most (but not
> > all) attributes of type ID are called id. 
> 
> 1. What's the existence proof of a deployed vocabulary that has an 
> attribute named "id" which is not an ID?

Such as Simple Network Markup Language (SNML) [1], which declares an "id"
attribute as CDATA.  You may find a bunch of others by just searching
with the keywords "id CDATA" - perhaps that's because of the limitation
of the "Name" production, as Norm pointed out.

> 2. What's the existence proof of a deployed vocabulary that has an ID 
> attribute that's not named "id"?

For example, even within the W3C, specs like P3P, VoiceXML and SSML
declare the "name" attribute on some elements as ID.  XML Signature
and XML Encryption use an "Id" attribute, not "id".

[1] http://www.cert.org/kb/snortxml/snml-0.2.dtd.txt

Regards,
-- 
Masayasu Ishikawa / mimasa@w3.org
W3C - World Wide Web Consortium

Received on Wednesday, 8 January 2003 01:59:04 UTC