Just out of curiousity, I was wondering why if you call Element.getChild( elementName ) without explicitly passing a namespace, why does JDOM assume no namespace rather than assuming the namespace of the parent element ( the element you are calling getChild() against )?
It seems like that since when the XML is parsed, child elements that don’t have a namespace defined inherit their parent elements namespace, that the getChild() method would behave the same way when not passing a specific namespace in.
Just my $0.02
Thoughts?
Chris Schmidt
Web Developer
ServiceMagic
email: cschmidt@servicemagic.com
phone: 303-963-7254
web: http://www.servicemagic.com