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
implement.

Thanks,

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

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:55 GMT