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

Re: Node.attributes readonly?

From: Joseph Kesselman <keshlam@us.ibm.com>
Date: Tue, 16 Jan 2001 10:11:24 -0500
To: "Fred L. Drake, Jr." <fdrake@acm.org>
Cc: Dieter Köhler <dieter.koehler@ppp.uni-bamberg.de>, "www-dom@w3.org" <www-dom@w3.org>
Message-ID: <OFA64D50CB.80469E1E-ON852569D6.0052F955@pok.ibm.com>

> What I *would* like is a way to determine that a DOM object is
> read-only;

Other than trying it and letting it throw the exception, I presume

Currently, the only officially-blessed condition under which nodes become
readonly is when they're within the value of an EntityReference. There is
some interest in coming up with a more official definition of read-only
documents or subtrees -- it's on the Open Isses list -- but at this time
it's unclear how much of that might or might not be included in DOM Level
3; it's not currently one of our top priorities, though the XSLT folks have
inquired about it since they want a way to say that their input tree Must
Not be altered during stylesheet processing.

Joe Kesselman  / IBM Research
Received on Tuesday, 16 January 2001 10:11:29 UTC

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