W3C home > Mailing lists > Public > www-tag@w3.org > January 2003

Re: Options for dealing with IDs

From: Masayasu Ishikawa <mimasa@w3.org>
Date: Wed, 08 Jan 2003 15:59:01 +0900 (JST)
Message-Id: <20030108.155901.74748292.mimasa@w3.org>
To: www-tag@w3.org

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:47:15 GMT