You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Yang ZHONG (JIRA)" <tu...@ws.apache.org> on 2007/01/26 18:13:49 UTC
[jira] Commented: (TUSCANY-1079) Possible error in XSDSerialization
tests
[ 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