W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2001

suggestion for addition to DOM spec

From: Evert Haasdijk <evert@zukkespijkers.nl>
Date: Wed, 18 Jul 2001 11:08:10 +0200
To: <www-dom@w3.org>
Message-ID: <PIEHKFEKBMLMIHPENFPIOEFKCFAA.evert@zukkespijkers.nl>

Currently, there's no way to add a DOM_Attribute to an in-memory DOM tree
that is an ID, even if it should be according to the DTD. Also, when
importing a DOM_Element that has an ID attribute, the attribute is imported
along with the element, but not recorded as an ID.
I would like to suggest that either- the DOM_Document should check it's
DocumentType to see if new or imported Attributes should be used as an ID or
to add functionality to specifically request that an attribute be treated as
an ID (e.g. DOM_Document::createIDAttribute()).

Let me know what heppens next,

TIA, Evert
Received on Wednesday, 18 July 2001 05:08:11 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:08 UTC