[jdom-interest] Namespace and getChild()
mike at saxonica.com
Fri Jan 12 16:16:45 PST 2007
> It seems like that since when the XML is parsed, child elements that
don't have a namespace defined inherit their parent elements namespace
Your premise is wrong. Given:
the b element is in no namespace. A child element with no prefix goes in the
default namespace, not the namespace of its parent.
In any case, suggesting improvements to an API that obviously can't be
changed at this stage of the game is rather futile.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the jdom-interest