- From: Terrel Shumway <terrel_shumway@hotmail.com>
- Date: Sat, 17 Jul 1999 15:53:40 -0400 (EDT)
- To: <www-dom@w3.org>
Received on Monday, 19 July 1999 09:42:05 UTC
in
http://www.w3.org/TR/REC-DOM-Level-1/level-one-core.html#ID-1780488922
the behavior of removeNamedItem() is not specified in the case that the NamedNodeMap is readonly.
I believe that it should raise a NO_MODIFICATION_ALLOWED_ERR:
public Node removeNamedItem(String name) throws DOMException{
if( readonly ){ // the spec misses this case
throw new DOMException( DOMException.NO_MODIFICATION_ALLOWED_ERR );
}
...
}
Received on Monday, 19 July 1999 09:42:05 UTC