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

Re: Options for dealing with IDs

From: Tim Bray <tbray@textuality.com>
Date: Tue, 21 Jan 2003 07:18:00 -0800
Message-ID: <3E2D64A8.1080304@textuality.com>
To: Steven Pemberton <Steven.Pemberton@cwi.nl>
Cc: robin.berjon@expway.fr, Chris Lilley <chris@w3.org>, www-tag@w3.org

Steven Pemberton wrote:

> I have never understood this restriction in XML. I understand the problem of
> having two elements with the same name, but not of having two names on one
> element.
> Can anyone explain to me what breaks when an element has two (different)
> names? Why does XML prevent you from having more than one attribute of type
> ID on an element?

Design error we inherited from SGML.  If someone had really gotten 
excited about this when we were doing XML we could have discarded it, 
and probably should have. -Tim
Received on Tuesday, 21 January 2003 10:18:03 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:32:36 UTC