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

Re: Behavior of namespace during appendChild

From: Gerwin Jansen <gjansen@cordys.com>
Date: Tue, 1 Nov 2011 16:57:05 +0100
Message-ID: <CA+7yE8J8-eT4+pu_jK1mnrtT_RO8=NLxdj-5O+ovdHY-1dFT0Q@mail.gmail.com>
To: Boris Zbarsky <bzbarsky@mit.edu>, Bjoern Hoehrmann <derhoermi@gmx.net>
Cc: www-dom@w3.org
Hi Boris, Bjoern,

Thanks for your replies, it clears my mind.

But now a next doubt pops up in my mind:
Is there a difference in a node X created with namespace "" and a node
Y created with namespace NULL?
If yes, what is the difference?
If no, should X.isEqualNode(Y) return true?


On Tue, Nov 1, 2011 at 03:04, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> On 10/31/11 10:05 AM, Gerwin Jansen wrote:
>> 1) What should be the result of appending 'child' in
>> <root><child/></root>  to<newparent xmlns="q"/>  ?
> The namespace of a node does not change as a result of being moved around in the DOM.
> Does that help?
> -Boris
Received on Tuesday, 1 November 2011 15:58:10 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:36:59 UTC