W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2003

RE: C2 (Re: i18n reviews of DOM 3 Core and Load&Save)

From: Francois Yergeau <FYergeau@alis.com>
Date: Thu, 28 Aug 2003 15:06:38 -0400
Message-ID: <F7D4BDA0E5A1D14B99D32C022AEB73660EB360@alis-2k.alis.domain>
To: "'Philippe Le Hegaret'" <plh@w3.org>
Cc: "'www-dom@w3.org'" <www-dom@w3.org>

Fine, thanks.

> -----Message d'origine-----
> De : Philippe Le Hegaret [mailto:plh@w3.org]
> Envoyé : 28 août 2003 14:45
> À : Francois Yergeau
> Cc : 'www-dom@w3.org'
> Objet : C2 (Re: i18n reviews of DOM 3 Core and Load&Save)
> 
> 
> 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 15:08:16 GMT

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