- From: Philippe Le Hegaret <plh@w3.org>
- Date: 28 Aug 2003 14:45:21 -0400
- To: Francois Yergeau <FYergeau@alis.com>
- Cc: "'www-dom@w3.org'" <www-dom@w3.org>
On Fri, 2003-08-08 at 11:39, Francois Yergeau wrote: > C2) Document interface, "adoptNode()" method: the fact that this does not > throw an INVALID_CHARACTER_ERR when a 1.0 document adopts a node containing > names not legal in 1.0 is clarified but really bizarre. Why is this > different from importNode()? importNode will invoke createElement in order to create the new node and this method can throw an INVALID_CHARACTER_ERR. This is not the case for adoptNode, which simply change the owner of the document. This explains this difference between importNode and adoptNode. Philippe
Received on Thursday, 28 August 2003 14:49:29 UTC