[jdom-interest] Accessing Child Elements

David W. Smiley dsmiley at mitre.org
Wed Sep 6 15:07:15 PDT 2000


Jason Hunter wrote:
> 
> > Element.getNamespace() should tell you what namespace an element is
> > _currently_ in, a new method is needed to query the namespace an
> > element was explicitly declared in.
> 
> That's similar to how we started off with JDOM, but it was successfully
> argued that an element's namespace is an intrinsic part of that element,
> just as a Java class' namespace is a part of that class.

	--you could have that argument for any system in which namespaces are
used; it means nothing.  Namespaces are about convenience.  Does
"successfully argued" mean that Peter, myself, and others are
effectively stone-walled against the powers that be on this issue?

>As such the
> namespace should be held with the class during moves between documents
> and moves within a document, and not "inherited" depending on where it's
> placed.

	** My namespace implementation proposition is true to this. **

I really hope Peter & I are not wasting our time  >:-|

-- David Smiley




More information about the jdom-interest mailing list