Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Java-SDO-Next
-
None
Description
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>