[jdom-interest] Are Children under an Element returned in theproper order

Jason Hunter jhunter at collab.net
Thu Mar 8 11:26:53 PST 2001


> I don't think it is an accident that the current JDOM
> preserves the order of elements, and hopefully this
> thread will be a reminder to any potential
> contributers that order can matter in an XML document,
> and so should be preserved by JDOM.

It's no accident.  Child element order is preserved.  It's not a
side-effect, it's intent, and I'll add that to the Javadocs.

-jh-



More information about the jdom-interest mailing list