[jboss-dev-forums] [Design of JBossXB] - Re: @XmlType.propOrder required with no schema sequence
alex.loubyansky@jboss.com
do-not-reply at jboss.com
Fri Jul 3 10:51:57 EDT 2009
Again, XSD is irrelevant here since binding is based on Java annotations. That means you have to bind the type to a choice with annotations.
I can't see the class at the moment, i.e. svn.jboss.com is not accessible. To bind to a choice you have to annotate a class with e.g.
@JBossXmlModelGroup(name="pc", kind=JBossXmlConstants.MODEL_GROUP_CHOICE)
Sequence is the default.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4241738#4241738
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4241738
More information about the jboss-dev-forums
mailing list