- From: Philippe Le Hegaret <plh@w3.org>
- Date: Wed, 08 Mar 2000 15:40:29 +0000
- To: "L. David Baron" <dbaron@fas.harvard.edu>
- CC: WWW DOM <www-dom@w3.org>
"L. David Baron" wrote: > > In the DOM2 Range, should the functions set(Start|End)(After|Before) > [1] throw an exception if the parent of their refNode argument is > null? If so, which? Fixed. See http://www.w3.org/TR/2000/CR-DOM-Level-2-20000307/range.html#Level-2-Range-idl > (While I mention it, should setStart and setEnd throw an exception if > the refNode is null? The current spec only says it can't be null, not > what to do if it is.) No, the DOM never throws an exception in such case because we don't want to deal with all possibilities (not enough memory, ...).Basically, you will get a runtime exception. Philippe.
Received on Wednesday, 8 March 2000 10:40:31 UTC