Re: DOM Core Level 3 comment

> - Node.equalsNode():  the notion of Node equality does not seem to be
>   defined anywhere; this needs to be done before test suites can be
>   written.  In particular, what it means attribute and element nodes
>   is not clear, especially in cases involving namespaces.

This does need to be spelled out in more detail. I believe that's just
work-in-progress.

I think you can assume that structural equality would be defined as being
namespace-sensitive and prefix-insensitive for namespaced nodes, since
that's the semantically meaningful view of the document. For non-namespaced
nodes. For non-namespaced nodes, I'd presume the nodename would be used; we
said that localname was null for those so there isn't much alternative.



______________________________________
Joe Kesselman  / IBM Research

Received on Tuesday, 17 April 2001 09:37:18 UTC