Kees wrote:
> The sequence of attributes seems to be alphabetical.
> The sequence of elements are the same sequence as in the schema.
>
> Is there a way to get the sequence of attributes the same as in the schema?
I'm afraid not. I don't remember sorting them inside the JAXB RI, but
there really isn't a way to control their ordering.
Perhaps you could write your own XMLWriter that knows how to rearrange
attributes?
--
Kohsuke Kawaguchi
Sun Microsystems kohsuke.kawaguchi_at_sun.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net