[jdom-interest] Problem with getChildText()

Alex Rosen arosen at silverstream.com
Tue Jun 12 08:36:23 PDT 2001

Even though the child elements do not have namespace declarations, they are
still logically in the http://www.pancredit.com/schemas namespace. You have to
pass in a Namespace object to getChildText(). (If the API worked otherwise,
you'd have to write code that specially handled both your XML, and the
logically identical XML where the children did have namespace declarations.)


More information about the jdom-interest mailing list