[
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]