[jdom-interest] Problem with Element.getChildren()
Jason Hunter
jhunter at collab.net
Mon Aug 14 16:06:00 PDT 2000
You don't say which JDOM version you're using. Make sure you're using
the latest CVS (or daily download) code before posting bug reports.
Debugging old code is a waste.
This is a recording. Beep.
-jh-
"Christophe D. Laprun" wrote:
>
> Hi all,
>
> I have a problem with getChildren(String) on Element. I try to affect
> the result of getChildren to a List (called "children" :) and then
> process this List. However, it seems that isEmpty returns false on this
> list even if it is not supposed to be (there are elements corresponding
> to the String that I pass to getChildren in the document that I
> process). After looking at the state of the objects with a debugger, it
> seems that children has a size of 0 which is rather surprising. I looked
> at PartialList.java and using the debugger, I verifed that the backing
> list is not empty. I tried to override LinkedList.isEmpty on PartialList
> to return backingList.isEmpty but it didn't change anything. I am not
> familiar enough with the code to tell if it is a bug or if I am doing
> something wrong. Can somebody help me on this ? I really would
> appreciate it.
>
> Regards,
>
> Chris
>
> --
> Christophe Laprun [Ingenieur ISIMA, France / Guest researcher @NIST]
> web: http://www.nist.gov/speech/staff/laprunch.htm
> email: chris.laprun at nist.gov
> phone: (301) 975 3191 fax: (301) 670 0939
> --
> The universe seems neither benign nor hostile, merely indifferent -
> Sagan
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com
More information about the jdom-interest
mailing list