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/01/26 08:46:49 UTC
[jira] Created: (TUSCANY-1079) Possible error in XSDSerialization
tests
Possible error in XSDSerialization tests
----------------------------------------
Key: TUSCANY-1079
URL: https://issues.apache.org/jira/browse/TUSCANY-1079
Project: Tuscany
Issue Type: Bug
Components: Java SDO Community Test Suite
Reporter: Andy Grove
The current test cases are expecting 2 types to be created from the following schema but does not contain assertions about what those types should look like. I would expect this schema to create only one type (http://www.example.com/simple#Quote) and one open content property (stockQuote) of that type. What other type should be created?
Thanks,
Andy.
<xsd:schema
targetNamespace="http://www.example.com/simple"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:simple="http://www.example.com/simple">
<xsd:element name="stockQuote" type="simple:Quote"/>
<xsd:complexType name="Quote">
<xsd:sequence>
<xsd:element name="symbol" type="xsd:string"/>
<xsd:element name="companyName" type="xsd:string"/>
<xsd:element name="price" type="xsd:decimal"/>
<xsd:element name="open1" type="xsd:decimal"/>
<xsd:element name="high" type="xsd:decimal"/>
<xsd:element name="low" type="xsd:decimal"/>
<xsd:element name="volume" type="xsd:double"/>
<xsd:element name="change1" type="xsd:double"/>
<xsd:element name="quotes" type="simple:Quote" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
--
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] Updated: (TUSCANY-1079) Possible error in XSDSerialization
tests
Posted by "Amita Vadhavkar (JIRA)" <tu...@ws.apache.org>.
[ https://issues.apache.org/jira/browse/TUSCANY-1079?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Amita Vadhavkar updated TUSCANY-1079:
-------------------------------------
Fix Version/s: (was: Java-SDO-Next)
Java-SDO-1.1
> Possible error in XSDSerialization tests
> ----------------------------------------
>
> Key: TUSCANY-1079
> URL: https://issues.apache.org/jira/browse/TUSCANY-1079
> Project: Tuscany
> Issue Type: Bug
> Components: Java SDO Community Test Suite
> Affects Versions: Java-SDO-Next
> Reporter: Andy Grove
> Fix For: Java-SDO-1.1
>
>
> The current test cases are expecting 2 types to be created from the following schema but does not contain assertions about what those types should look like. I would expect this schema to create only one type (http://www.example.com/simple#Quote) and one open content property (stockQuote) of that type. What other type should be created?
> Thanks,
> Andy.
> <xsd:schema
> targetNamespace="http://www.example.com/simple"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:simple="http://www.example.com/simple">
>
> <xsd:element name="stockQuote" type="simple:Quote"/>
> <xsd:complexType name="Quote">
> <xsd:sequence>
> <xsd:element name="symbol" type="xsd:string"/>
> <xsd:element name="companyName" type="xsd:string"/>
> <xsd:element name="price" type="xsd:decimal"/>
> <xsd:element name="open1" type="xsd:decimal"/>
> <xsd:element name="high" type="xsd:decimal"/>
> <xsd:element name="low" type="xsd:decimal"/>
> <xsd:element name="volume" type="xsd:double"/>
> <xsd:element name="change1" type="xsd:double"/>
> <xsd:element name="quotes" type="simple:Quote" minOccurs="0" maxOccurs="unbounded"/>
> </xsd:sequence>
> </xsd:complexType>
> </xsd:schema>
--
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] Updated: (TUSCANY-1079) Possible error in XSDSerialization
tests
Posted by "Kelvin Goodson (JIRA)" <tu...@ws.apache.org>.
[ https://issues.apache.org/jira/browse/TUSCANY-1079?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kelvin Goodson updated TUSCANY-1079:
------------------------------------
Fix Version/s: (was: Java-SDO-1.1)
Java-SDO-CTS-Next
> Possible error in XSDSerialization tests
> ----------------------------------------
>
> Key: TUSCANY-1079
> URL: https://issues.apache.org/jira/browse/TUSCANY-1079
> Project: Tuscany
> Issue Type: Bug
> Components: Java SDO Community Test Suite
> Affects Versions: Java-SDO-Next
> Reporter: Andy Grove
> Fix For: Java-SDO-CTS-Next
>
>
> The current test cases are expecting 2 types to be created from the following schema but does not contain assertions about what those types should look like. I would expect this schema to create only one type (http://www.example.com/simple#Quote) and one open content property (stockQuote) of that type. What other type should be created?
> Thanks,
> Andy.
> <xsd:schema
> targetNamespace="http://www.example.com/simple"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:simple="http://www.example.com/simple">
>
> <xsd:element name="stockQuote" type="simple:Quote"/>
> <xsd:complexType name="Quote">
> <xsd:sequence>
> <xsd:element name="symbol" type="xsd:string"/>
> <xsd:element name="companyName" type="xsd:string"/>
> <xsd:element name="price" type="xsd:decimal"/>
> <xsd:element name="open1" type="xsd:decimal"/>
> <xsd:element name="high" type="xsd:decimal"/>
> <xsd:element name="low" type="xsd:decimal"/>
> <xsd:element name="volume" type="xsd:double"/>
> <xsd:element name="change1" type="xsd:double"/>
> <xsd:element name="quotes" type="simple:Quote" minOccurs="0" maxOccurs="unbounded"/>
> </xsd:sequence>
> </xsd:complexType>
> </xsd:schema>
--
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-1079) Possible error in XSDSerialization
tests
Posted by "Andy Grove (JIRA)" <tu...@ws.apache.org>.
[ https://issues.apache.org/jira/browse/TUSCANY-1079?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andy Grove resolved TUSCANY-1079.
---------------------------------
Resolution: Fixed
Thanks for clearing that up. I was forgetting about DocumentRoot. I'm marking this JIRA as fixed.
Andy.
> Possible error in XSDSerialization tests
> ----------------------------------------
>
> Key: TUSCANY-1079
> URL: https://issues.apache.org/jira/browse/TUSCANY-1079
> Project: Tuscany
> Issue Type: Bug
> Components: Java SDO Community Test Suite
> Affects Versions: Java-SDO-Mx
> Reporter: Andy Grove
> Fix For: Java-SDO-Mx
>
>
> The current test cases are expecting 2 types to be created from the following schema but does not contain assertions about what those types should look like. I would expect this schema to create only one type (http://www.example.com/simple#Quote) and one open content property (stockQuote) of that type. What other type should be created?
> Thanks,
> Andy.
> <xsd:schema
> targetNamespace="http://www.example.com/simple"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:simple="http://www.example.com/simple">
>
> <xsd:element name="stockQuote" type="simple:Quote"/>
> <xsd:complexType name="Quote">
> <xsd:sequence>
> <xsd:element name="symbol" type="xsd:string"/>
> <xsd:element name="companyName" type="xsd:string"/>
> <xsd:element name="price" type="xsd:decimal"/>
> <xsd:element name="open1" type="xsd:decimal"/>
> <xsd:element name="high" type="xsd:decimal"/>
> <xsd:element name="low" type="xsd:decimal"/>
> <xsd:element name="volume" type="xsd:double"/>
> <xsd:element name="change1" type="xsd:double"/>
> <xsd:element name="quotes" type="simple:Quote" minOccurs="0" maxOccurs="unbounded"/>
> </xsd:sequence>
> </xsd:complexType>
> </xsd:schema>
--
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-1079) Possible error in XSDSerialization
tests
Posted by "Yang ZHONG (JIRA)" <tu...@ws.apache.org>.
[ https://issues.apache.org/jira/browse/TUSCANY-1079?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12467864 ]
Yang ZHONG commented on TUSCANY-1079:
-------------------------------------
Quote and DocumentRoot.
Quote has properties symbol, etc.
DocumentRoot has properties stockQuote, etc.
> Possible error in XSDSerialization tests
> ----------------------------------------
>
> Key: TUSCANY-1079
> URL: https://issues.apache.org/jira/browse/TUSCANY-1079
> Project: Tuscany
> Issue Type: Bug
> Components: Java SDO Community Test Suite
> Affects Versions: Java-SDO-Mx
> Reporter: Andy Grove
> Fix For: Java-SDO-Mx
>
>
> The current test cases are expecting 2 types to be created from the following schema but does not contain assertions about what those types should look like. I would expect this schema to create only one type (http://www.example.com/simple#Quote) and one open content property (stockQuote) of that type. What other type should be created?
> Thanks,
> Andy.
> <xsd:schema
> targetNamespace="http://www.example.com/simple"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:simple="http://www.example.com/simple">
>
> <xsd:element name="stockQuote" type="simple:Quote"/>
> <xsd:complexType name="Quote">
> <xsd:sequence>
> <xsd:element name="symbol" type="xsd:string"/>
> <xsd:element name="companyName" type="xsd:string"/>
> <xsd:element name="price" type="xsd:decimal"/>
> <xsd:element name="open1" type="xsd:decimal"/>
> <xsd:element name="high" type="xsd:decimal"/>
> <xsd:element name="low" type="xsd:decimal"/>
> <xsd:element name="volume" type="xsd:double"/>
> <xsd:element name="change1" type="xsd:double"/>
> <xsd:element name="quotes" type="simple:Quote" minOccurs="0" maxOccurs="unbounded"/>
> </xsd:sequence>
> </xsd:complexType>
> </xsd:schema>
--
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] Updated: (TUSCANY-1079) Possible error in XSDSerialization
tests
Posted by "ant elder (JIRA)" <tu...@ws.apache.org>.
[ https://issues.apache.org/jira/browse/TUSCANY-1079?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ant elder updated TUSCANY-1079:
-------------------------------
Fix Version/s: Java-SDO-Mx
Affects Version/s: Java-SDO-Mx
> Possible error in XSDSerialization tests
> ----------------------------------------
>
> Key: TUSCANY-1079
> URL: https://issues.apache.org/jira/browse/TUSCANY-1079
> Project: Tuscany
> Issue Type: Bug
> Components: Java SDO Community Test Suite
> Affects Versions: Java-SDO-Mx
> Reporter: Andy Grove
> Fix For: Java-SDO-Mx
>
>
> The current test cases are expecting 2 types to be created from the following schema but does not contain assertions about what those types should look like. I would expect this schema to create only one type (http://www.example.com/simple#Quote) and one open content property (stockQuote) of that type. What other type should be created?
> Thanks,
> Andy.
> <xsd:schema
> targetNamespace="http://www.example.com/simple"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:simple="http://www.example.com/simple">
>
> <xsd:element name="stockQuote" type="simple:Quote"/>
> <xsd:complexType name="Quote">
> <xsd:sequence>
> <xsd:element name="symbol" type="xsd:string"/>
> <xsd:element name="companyName" type="xsd:string"/>
> <xsd:element name="price" type="xsd:decimal"/>
> <xsd:element name="open1" type="xsd:decimal"/>
> <xsd:element name="high" type="xsd:decimal"/>
> <xsd:element name="low" type="xsd:decimal"/>
> <xsd:element name="volume" type="xsd:double"/>
> <xsd:element name="change1" type="xsd:double"/>
> <xsd:element name="quotes" type="simple:Quote" minOccurs="0" maxOccurs="unbounded"/>
> </xsd:sequence>
> </xsd:complexType>
> </xsd:schema>
--
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