[jboss-jira] [JBoss JIRA] Closed: (JBXB-218) Requires property order even when maked as choice
Alexey Loubyansky (JIRA)
jira-events at lists.jboss.org
Mon Aug 10 08:36:29 EDT 2009
[ https://jira.jboss.org/jira/browse/JBXB-218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexey Loubyansky closed JBXB-218.
----------------------------------
Resolution: Rejected
Assignee: Alexey Loubyansky
This is not supposed to work. XmlType on the subclass overrides the XmlType of the superclass.
> 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
> Assignee: Alexey Loubyansky
>
> 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