[jboss-jira] [JBoss JIRA] Created: (JBXB-217) SchemaBindingValidator: extended XSD choice is not recognized

Alexey Loubyansky (JIRA) jira-events at lists.jboss.org
Tue Jul 14 12:13:29 EDT 2009


SchemaBindingValidator: extended XSD choice is not recognized
-------------------------------------------------------------

                 Key: JBXB-217
                 URL: https://jira.jboss.org/jira/browse/JBXB-217
             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


Xerces XSD model for something like

   <xsd:complexType name="classloaderType" mixed="true">
      <xsd:complexContent>
         <xsd:extension base="classLoaderValueType"/>
      </xsd:complexContent>
   </xsd:complexType>

where classLoaderValueType is a choice will be represented by xerces as

sequence[choice[classLoaderValueType's choice content], sequence[]]

One of the confusing parts is the empty sequence at the end. Validator should be able to recognize a structure like this and treat it as a choice.

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