commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <>
Subject Re: [betwixt] bug: output is in reverse order of input...
Date Fri, 14 Jun 2002 04:00:13 GMT
From: "Jon Scott Stevens" <>
> on 6/13/02 11:24 AM, "robert burrell donkin" <> wrote:
> > it's hard to see how betwixt could automatically guess the ordering
> > without access to the DTD. it might be necessary to create betwixt file
> > an XMLBeanInfo class to correctly order the output.
> >
> > - robert
> I'm not sure if it is possible to get this information from reflection,
> I would be ok with making the ordering the same as the ordering of the
> methods in the class file.

The ordering by default is the same as the order returned by the BeanInfo
returned by the Introspector in java.beans. Unfortunately this bears no
relation to the order in the class file :-(. It does seem to be constant
though :-) I suspect its some hash-order or something.


Do You Yahoo!?
Get your free address at

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message