[jboss-jira] [JBoss JIRA] Closed: (JBXB-219) SchemaBindingValidator: unbounded choice as unordered sequence
Alexey Loubyansky (JIRA)
jira-events at lists.jboss.org
Wed Aug 5 06:59:29 EDT 2009
[ https://jira.jboss.org/jira/browse/JBXB-219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexey Loubyansky closed JBXB-219.
----------------------------------
Resolution: Done
Fixed.
> SchemaBindingValidator: unbounded choice as unordered sequence
> --------------------------------------------------------------
>
> Key: JBXB-219
> URL: https://jira.jboss.org/jira/browse/JBXB-219
> Project: JBoss XML Binding (JBossXB)
> Issue Type: Bug
> Affects Versions: JBossXB-2.0.2.Beta1
> Reporter: Alexey Loubyansky
> Assignee: Alexey Loubyansky
> Fix For: JBossXB-2.0.2.GA
>
>
> Unbounded choice should be equivalent to unordered sequence binding. E.g.
> <xsd:element name="root">
> <xsd:complexType>
> <xsd:choice maxOccurs="unbounded">
> <xsd:element name="a" type="xsd:string" maxOccurs="unbounded"/>
> <xsd:element name="b" type="xsd:string" maxOccurs="unbounded"/>
> </xsd:choice>
> </xsd:complexType>
> </xsd:element>
> @JBossXmlSchema(namespace="urn:jboss:xb:test", elementFormDefault=XmlNsForm.QUALIFIED)
> @XmlRootElement(name="root")
> @JBossXmlType(modelGroup=JBossXmlConstants.MODEL_GROUP_UNORDERED_SEQUENCE)
> public class UnorderedSequenceType
> {
> private Collection<String> a;
> private Collection<String> b;
> ...
--
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