[jdom-interest] Are Children under an Element returned in the proper order
aspicool at yahoo.com
Thu Mar 8 08:31:42 PST 2001
I made this query and am quite interested in the final conclusion.
It is clear, as I had suspected, that order is maintained as a side
effect but not as an intention.
Since the JDOM implementation seems to provide the order by list
implementation with no additional cost, couldn't we just make it an
I see a lot of value in being able to extract Element children in the
> -----Original Message-----
> From: jdom-interest-admin at jdom.org
> [mailto:jdom-interest-admin at jdom.org]On Behalf Of Richard Cook
> Sent: Thursday, March 08, 2001 8:13 AM
> To: jdom-interest at jdom.org
> Subject: RE: [jdom-interest] Are Children under an Element
> returned in
> the proper order
> > >
> > > When we invoke the method Element.getChildren() does
> the return list
> > > maintain the order in which the children existed in the XML.
> > In practice it may happen but there is no code to enforce this.
> I hope that's not true - implementing it via a list is how
> it's enforced?
> > _______________________________________________
> > To control your jdom-interest membership:
> > http://lists.denveronline.net/mailman/options/jdom-interest/yourad
> dr at yourhost.com
> To control your jdom-interest membership:
> youraddr at yourhost.com
More information about the jdom-interest