[jdom-interest] equality of Namespaces
Jason Hunter
jhunter at collab.net
Mon Jul 30 01:55:14 PDT 2001
bob mcwhirter wrote:
>
> Since JDOM uses identity comparison on pretty much
> all other objects, why are we doing semantic comparison
> with Namespaces?
There's a recent thread about it. I believe Elliotte started it.
> I'd argue that Namespace should follow Element and
> other identity-based equality comparisons.
I don't care one way or the other. But as Attila points out, it's the
(current) flyweight nature of Namespaces that would cause the equality
check to be true regardless.
-jh-
More information about the jdom-interest
mailing list