You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Andy Grove (JIRA)" <tu...@ws.apache.org> on 2007/04/23 16:15:16 UTC
[jira] Created: (TUSCANY-1221) Incorrect containment value when
creating property from XSD
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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org
[jira] Commented: (TUSCANY-1221) Incorrect containment value when
creating property from XSD
Posted by "Frank Budinsky (JIRA)" <tu...@ws.apache.org>.
[ https://issues.apache.org/jira/browse/TUSCANY-1221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12490950 ]
Frank Budinsky commented on TUSCANY-1221:
-----------------------------------------
I don't understand this. The "red" element is not Complex Type. It is a Simple Type (xs:string) so containment is false, as expected.
> 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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org
[jira] Resolved: (TUSCANY-1221) Incorrect containment value when
creating property from XSD
Posted by "Andy Grove (JIRA)" <tu...@ws.apache.org>.
[ https://issues.apache.org/jira/browse/TUSCANY-1221?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andy Grove resolved TUSCANY-1221.
---------------------------------
Resolution: Invalid
Marking this JIRA as invalid.
> 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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org
[jira] Commented: (TUSCANY-1221) Incorrect containment value when
creating property from XSD
Posted by "Andy Grove (JIRA)" <tu...@ws.apache.org>.
[ 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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org