W3C home > Mailing lists > Public > www-dom@w3.org > July to September 1998


From: Don Park <donpark@quake.net>
Date: Fri, 14 Aug 1998 13:00:05 -0700
Message-ID: <006601bdc7be$2dcac8e0$2ee044c6@arcot-main>
To: <www-dom@w3.org>
>I don't think this has been mentioned yet, but the spec needs to indicate
>that replaceChild, removeChild and appendChild will throw this exception if
>the node subclass does not support children.  Currently, only insertBefore
>is stated as throwing that exception.


I can see that replaceChild and appendChild needs to throw
NO_CHILDREN_ALLOWED_ERR but I don't see why removeChild needs to throw it?

BTW, the latest spec (not public yet) documents insertBefore, appendChild,
and replaceChild as throwing HIERARCHY_REQUEST_ERR instead of

Received on Friday, 14 August 1998 16:09:07 UTC

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