Tuscany
  1. Tuscany
  2. TUSCANY-1079

Possible error in XSDSerialization tests

    Details

      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>

        Activity

        Andy Grove created issue -
        ant elder made changes -
        Field Original Value New Value
        Affects Version/s Java-SDO-Mx [ 12312262 ]
        Fix Version/s Java-SDO-Mx [ 12312262 ]
        Andy Grove made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Amita Vadhavkar made changes -
        Fix Version/s Java-SDO-1.1 [ 12312995 ]
        Fix Version/s Java-SDO-Next [ 12312262 ]
        Kelvin Goodson made changes -
        Fix Version/s Java-SDO-CTS-Next [ 12312410 ]
        Fix Version/s Java-SDO-1.1 [ 12312995 ]
        ant elder made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Andy Grove
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development