Forum Discussion
trstuck
13 years agoNew Contributor
I found the offending schema fragment. Here it is:
Removing the type element in <xsd:element name="OrderType" type="xsd:string"> fixed the problem.
<xsd:element name="OrderType" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Order type must be 'SA' or 'DS'</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:pattern value="[A-Z][A-Z]"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
Removing the type element in <xsd:element name="OrderType" type="xsd:string"> fixed the problem.