- From: Joseph Kesselman <keshlam@us.ibm.com>
- Date: Wed, 7 Jan 2004 08:45:31 -0500
- To: www-dom@w3.org
>Would it be possible to state that WRONG_DOCUMENT_ERR should be >thrown on attempt to adopt a node into the same document? I'm not convinced that this is a Good Idea. It turns a mostly-harmless operation into an error condition, and prevents adoptNode from being used as a general safety net prior to insertion of a node obtained from an untrusted source. Making adopting a node into its own document be a no-op would seem to be a cleaner fix for Curt's concern about the side-effect... though leaving it as it now stands also strikes me as acceptable. ______________________________________ 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 Wednesday, 7 January 2004 08:47:20 UTC