Uploaded image for project: 'Tuscany'
  1. Tuscany
  2. TUSCANY-1168

Type.isSequenced() returns wrong value for my XSD

    XMLWordPrintableJSON

Details

    Description

      For the following XSD:

      <schema targetNamespace="http://www.example.com/wrapper" xmlns="http://www.w3.org/2001/XMLSchema">
      <!-- Faults -->
      <element name="op">
      <complexType>
      <sequence maxOccurs="unbounded">
      <element name="message" minOccurs="1" type="string" />
      <element name="symbol" minOccurs="1" maxOccurs="3" type="string" />
      </sequence>
      </complexType>
      </element>

      <element name="opResponse">
      <complexType>
      <sequence maxOccurs="1">
      <element name="price" minOccurs="1" maxOccurs="unbounded" type="string" />
      </sequence>
      </complexType>
      </element>
      </schema>

      I assume the type for "op" element is sequenced since maxOccurs >1.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rfeng Zhaohui Feng
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: