[jboss-jira] [JBoss JIRA] Created: (JBXB-218) Requires property order even when maked as choice

Thomas Diesler (JIRA) jira-events at lists.jboss.org
Thu Jul 16 09:23:29 EDT 2009


Requires property order even when maked as choice
-------------------------------------------------

                 Key: JBXB-218
                 URL: https://jira.jboss.org/jira/browse/JBXB-218
             Project: JBoss XML Binding (JBossXB)
          Issue Type: Bug
    Affects Versions: JBossXB-2.0.1.GA
            Reporter: Thomas Diesler


Caused by: org.jboss.xb.binding.JBossXBRuntimeException: Property order is not specified for type org.jboss.osgi.blueprint.parser.xb.TReferenceListener bound to a sequence. Property order can be specified using @XmlType.propOrder or @XmlAccessorOrder. List of properties: bean any reference refElement
	at org.jboss.xb.builder.JBossXBNoSchemaBuilder.assertPropOrderNotRequired(JBossXBNoSchemaBuilder.java:1278)
	at org.jboss.xb.builder.JBossXBNoSchemaBuilder.generateType(JBossXBNoSchemaBuilder.java:1071)
	at org.jboss.xb.builder.JBossXBNoSchemaBuilder.generateBean(JBossXBNoSchemaBuilder.java:779)

@XmlType(name = "TreferenceListener", namespace = BlueprintContext.XMLNS_BLUEPRINT)
public class TReferenceListener extends GTargetComponent

@XmlType(name = "GtargetComponent", namespace = BlueprintContext.XMLNS_BLUEPRINT)
@JBossXmlModelGroup(kind = JBossXmlConstants.MODEL_GROUP_CHOICE)
public class GTargetComponent extends TComponent

https://anonsvn.jboss.org/repos/jbossas/projects/jboss-osgi/trunk/reactor/bundles/blueprint/impl/src/main/java/org/jboss/osgi/blueprint/parser/xb/TReferenceListener.java

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list