users@jaxb.java.net

Order of xml elements in generated schema

From: vr.sundar <vr.sundar_at_gmail.com>
Date: Fri, 13 Jul 2007 15:59:54 -0700

Hi,

I am generating an xml schema from annotated java classes through the
schemagen ant task. The generated schema has the elements of any tag
in xs:sequence. I did not specify XmlAccessorOrder anywhere (which I
guess means it is XmlAccessOrder.UNDEFINED). But the elements are
still in alphabetical order in the generated schema. Is there a way to
get the elements to be in xs:all instead of xs:sequence? Am I missing
something or doing something wrong?

Any help is appreciated

thanks
sundar