Tim Tepaße: Warum ist eigentlich nur eine ID pro Element erlaubt?

Beitrag lesen

Hallo Hans,

(..) und ist auch XML-logisch.

Über logisch läßt sich debattieren, es ist jedenfalls in XML verboten.
Zitat aus XML 1.0, 3rd Edition:

»Validity constraint: ID
  Values of type ID MUST match the Name production. A name MUST NOT appear
  more than once in an XML document as a value of this type; i.e., ID values
  MUST uniquely identify the elements which bear them.«
  (http://www.w3.org/TR/2004/REC-xml-20040204/#sec-attribute-types)

<p id="bla" secondid="blubb">bla blubb</p>
Wozu soll das gut sein?

Ein sehr hypothetisches Konstrukt habe ich im Eröffnungsposting schon
skizziert und ich glaube nicht, daß Du auch das noch überlesen hast.

Aber generell geht es mir um die Frage, wieso hier nicht liberaler
standardisiert wurde, mir ist nämlich immer noch kein nachvollziehbarer
Grund für diese Einschränkung bekannt. Ich schrieb ja auch: Exegese. ;-)

Tim