Tach,
http://www.w3.org/TR/html401/struct/links.html#adef-name-A:
This attribute names the current anchor so that it may be the destination of another link. The value of this attribute must be a unique anchor name. The scope of this name is the current document. Note that this attribute shares the same name space as the id attribute.
*)
fürs a-Element ist das Problem also gelöst, leider steht beim input-Element:
"name = cdata [CI]
This attribute assigns the control name."
Und der control-name gilt nur formularweit:
"A control's "control name" is given by its name attribute. The scope of the name attribute for a control within a FORM element is the FORM element."
Beim name-Attribut für Formular Elemente kann der oben zitierte Text aber nicht gelten, da hier name ja eben nicht einzigartig sein muß.
*) bei den anderen Name-Attributen steht leider nichts zum Thema namespace dabei, auch nicht in den Errata http://www.w3.org/MarkUp/html4-updates/errata.
Das ist insgesamt eher unbefriedigend, aber auch ein gemeinsamer Namensraum darf meiner Meinung nach nicht dazu führen, dass ich nur mit name ausgezeichnete Elemente per id auswählen kann, damit wäre die Einzigartigkeit der id verloren. Es existiert also sowohl eine (kleine, da die Situation ja doch etwas schizophren ist) Lücke im Standard, als auch ein Fehler im Internet Explorer.
mfg
Woodfighter