Re: NIST tests passing DTD validation

>attrsetvaluenomodificationallowederr.xml attempted to raise a DOMException
with code=NO_MODIFICATION_ERR on >when attempting to set Node.value.  This
was not defined in the Level 1 spec but was added to the Level 2 spec.

That's  Level 1 behavior if the node is read-only. See
http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-one-core.html#ID-F68D080

(I seem to remember that there may have been an erratum in earlier versions
of the DOM which failed to define this behavior, whcih might explain the
confusion...?)


______________________________________
Joe Kesselman  / IBM Research

Received on Monday, 20 August 2001 11:23:05 UTC