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

Re: WRONG_DOCUMENT_ERR, possible wiggle room from the definition of the exception

From: Joseph Kesselman <keshlam@us.ibm.com>
Date: Fri, 2 Dec 2005 11:12:59 -0500
To: "DOM mailing list" <www-dom@w3.org>
Message-ID: <OFAEAA5A59.8F7F5296-ON852570CB.00589FD8-852570CB.00591475@us.ibm.com>

Hmmm. Normally I'd say that the description of the operation which throws
the exception dominates over the description of the exception, but this
does raise the question of whether the wiggle room is
allowed-but-not-currently used (which may be perfectly reasonable, as
exceptions may be reused in the future) or if the operation description is
stricter than it need be.

I honestly don't know. Someone should dig back into the archives to check.

I don't have strong opinions either way on this one. Permitting it to
happen does risk letting folks write nonportable code... but if it's
documented that the exception may be thrown, then if they fail to catch it
and do something reasonable about it (or avoid provoking it in the first
place), that's their own fault.

______________________________________
Joe Kesselman, IBM Next-Generation Web Technologies: XML, XSL and more.
"The world changed profoundly and unpredictably the day Tim Berners Lee
got bitten by a radioactive spider." -- Rafe Culpin, in r.m.filk
Received on Friday, 2 December 2005 16:22:03 GMT

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