[jdom-interest] Re: Problem getting children
rlear at algorithmics.com
Tue Aug 26 05:42:30 PDT 2003
From: Kenneth Ellefsen [mailto:kellefsen at bergen.oilfield.slb.com]
Sent: Tuesday, August 26, 2003 5:31 AM
To: jdom-interest at jdom.org
Subject: [jdom-interest] Re: Problem getting children
missing slash in the end rootnode tag. It's just an example.
On Tue, 2003-08-26 at 11:28, Kenneth Ellefsen wrote:
> I've been using jdom for quite a while, but haven't had to look into
> schemas yet.
> I now have the following problem.
> I recive a xml file from an external source that contains a schema like
> this example:
> <rootnode xmlns="x-schema:SomeSchema.xdr">
> I parse the file using SAXParser, and get the root element.
> If I try to do:
> I get an empty list back.
> If I remove the root attribute xmlns="x-schema:SomeSchema.xdr" the same
> code gets the a elements.
> I'm using Jdom B8, and can't upgrade at this point in time.
> Any suggestions what to do?
Kenneth Ellefsen | Tlf: (+47) 55985829
Schlumberger Information Solutions | www.sis.slb.com
To control your jdom-interest membership:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the jdom-interest