[ https://issues.apache.org/jira/browse/TUSCANY-1221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12490962 ]
Andy Grove commented on TUSCANY-1221: ------------------------------------- Sorry, I was looking at the wrong table in the spec. You're correct. I'll close the JIRA. Thanks, Andy. > Incorrect containment value when creating property from XSD > ----------------------------------------------------------- > > Key: TUSCANY-1221 > URL: https://issues.apache.org/jira/browse/TUSCANY-1221 > Project: Tuscany > Issue Type: Bug > Components: Java SDO Implementation > Reporter: Andy Grove > > When creating an SDO type from the following XSD complexType, Tuscany is > creating the property "red" with containment = false instead of containment = > true. I have checked the specification and this contradicts the rules on page > 90 of the SDO for Java 2.1.0 specification (see the table with the title "XML > Elements with Complex Type"). This is highlighted by the CTS test > XSDChoiceTest.testTC226_Choice. > <xs:complexType name="choiceType"> > <xs:choice> > <xs:element name="red" type="xs:string"/> > <xs:element name="green"/> > <xs:element name="blue"/> > </xs:choice> > </xs:complexType> -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]