[jboss-jira] [JBoss JIRA] Created: (JBXB-242) binding repeatable elements into model group all should fail

Alexey Loubyansky (JIRA) jira-events at lists.jboss.org
Mon Mar 15 12:38:37 EDT 2010


binding repeatable elements into model group all should fail
------------------------------------------------------------

                 Key: JBXB-242
                 URL: https://jira.jboss.org/jira/browse/JBXB-242
             Project: JBoss XML Binding (JBossXB)
          Issue Type: Bug
    Affects Versions: JBossXB-2.0.2.Beta5
            Reporter: Alexey Loubyansky
            Assignee: Alexey Loubyansky
             Fix For: JBossXB-2.0.2.GA


AllBinding currently silently accepts repeatable elements which it shouldn't according to the spec.

Schema Component Constraint: All Group Limited
When a model group has {compositor} all, then all of the following must
be true:
1 It appears only as the value of one or both of the following
properties:
1.1 the {model group} property of a model group definition.
1.2 the {term} property of a particle with {max occurs}=1which is part
of a pair which constitutes the {content type} of a complex type
definition.
2 The {max occurs} of all the particles in the {particles} of the group
must be 0 or 1.

-- 
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