W3C home > Mailing lists > Public > www-dom@w3.org > October to December 2001

Re: Which Exception should be raised when multiple codes are possible

From: Tobias Peters <t-peters@gmx.de>
Date: Sun, 4 Nov 2001 08:26:00 +0100 (CET)
To: <www-dom@w3.org>
Message-ID: <Pine.LNX.4.33.0111032130050.388-100000@futsch>
Joseph Kesselman wrote:
> See recent discussion in this list.
> If the operation if always illegal with
> these two node types, no matter what the values of those nodes are
> otherwise, it should probably be reported as a hierarchy error, and most
> existing DOMs seem to do it that way simply because it's easiest to
> code...
> but it isn't clear that the DOM has completely nailed this down.

So, as a conclusion, it is possible to raise any one of the exceptions
that apply, and DOM implementors can choose the one that is easiest to


Tobias Peters
Received on Sunday, 4 November 2001 02:26:10 UTC

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