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. PhilippeReceived on Thursday, 28 August 2003 14:49:29 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 October 2009 08:24:57 GMT