W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2001

Re: Read Only Attributes

From: Joseph Kesselman <keshlam@us.ibm.com>
Date: Wed, 28 Mar 2001 11:29:00 -0500
To: "WWW DOM" <www-dom@w3.org>
Message-ID: <OF7A4EDB55.D8710126-ON85256A1D.00597AE3@pok.ibm.com>

As of DOM Level 2, , the answer is that if you invent a stopgap solution
involving your own custom APIs to make the attribute and/or its contents
read-only, the DOM does provide a description of what that should mean in
terms of resulting behavior. But as of DOM Level 2, there is no portable
API for making individual attributes -- or individual nodes in general --

The DOM does have the concept of a read-only node, but only puts nodes into
this state when they are within the subtree of an EntityReference or Entity
(and doesn't actually explain how the Entity's readonly subtree is to be

There is a known open issue requesting application-level control of a
node's readonly status and/or some equivalent form of data locking. We
haven't yet reached a consensus on that issue, and it is currently tabled
pending new insights and/or some spare cycles to work on it.

(I do hope to get the Open Issues list into a form that can be published on
the public part of the DOM's web page, when I can find some time to work on
it. That'll help answer some of the "have you ever considered" questions.)

Joe Kesselman  / IBM Research
Received on Wednesday, 28 March 2001 11:29:20 UTC

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