[jdom-interest] Re: Radical Suggestion
dms at sosnoski.com
Mon Jul 29 10:59:05 PDT 2002
That's great to find out about - I was thinking of suggesting null as a
wildcard for namespace, but didn't realize it was already being done.
The behavior should definitely be documented in the javadocs, though -
otherwise some people may consider it a bug and "fix" it. :-)
The same convention could potentially be used for creating "chameleon"
elements that would take on the default namespace for wherever they were
inserted into a document tree.
Laurent Bihanic wrote:
> David Kavanagh wrote:
>> Isn't it true that the getChild(ren)(String name, Namespace ns)
>> method will match any namespace when a null is provided for
>> Namespace? That is how I've been using it since I don't care about
>> namespace in my documents.
> Apparently, it does. But the javadoc does not say anything about this
> feature! Cool!
> To control your jdom-interest membership:
More information about the jdom-interest