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>
Hi,

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:49 GMT