exceptions in DOM

I have sent this to www-dom@w3.org for a couple of days ago, 
but I did not really get an answer that I was satisfied with:

<copy>
What exception should be raised if you for instance call 
Comment::replaceChild or Comment::insertBefore (probably not only these).

Should my implementation raise HIERARCHY_REQUEST_ERR or NOT_FOUND_ERR?

I guess it is NOT_FOUND_ERR (?) (Since a comment can't have children)

I can't find anything about this issue in the specification...
</copy>

Perhaps the exceptions that are listed in the spec should have been 
listed in a prioritized order?

Best regards
Jan-Arve Sæther

Received on Wednesday, 24 October 2001 08:52:57 UTC