Re: [html5] Multiple IDs for an element?

* Jens Meiert wrote:
>This is probably due to historical reasons (SGML?), but why isn't it
>(or shouldn't it be) allowed to use multiple IDs for a single element?

You are right about SGML, but more importantly, 1:1 relationships are
simpler than 1:n relationships. It's easy to answer "what is this
element's unique identifier" (e.g. if you want to link the element),
and it's easy to change the identifier. To make the model more flexible
you have to increase complexity, and this is not necessarily a good
tradeoff.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 

Received on Tuesday, 24 July 2007 16:38:43 UTC