<xs:complexType name="ErrorType">
<xs:annotation>
<xs:documentation xml:lang="en">Standard way to indicate that an error occurred during the processing of an OTA message. If the message successfully processes, but there are business errors, those errors should be passed in the warning element.</xs:documentation>
</xs:annotation>
<xs:simpleContent>
<xs:extension base="FreeTextType">
<xs:attribute name="Type" type="OTA_CodeType" use="required">
<xs:annotation>
<xs:documentation xml:lang="en">The Error element MUST contain the Type attribute that uses a recommended set of values to indicate the error type. The validating XSD can expect to accept values that it has NOT been explicitly coded for and process them by using Type ="Unknown". Refer to OTA Code List Error Warning Type (EWT).</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attributeGroup ref="ErrorWarningAttributeGroup">
<xs:annotation>
<xs:documentation xml:lang="en">Details of the error.</xs:documentation>
</xs:annotation>
</xs:attributeGroup>
<xs:attribute name="NodeList" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">An XPath expression that selects all the nodes whose data caused this error. Further, this expression should have an additional contraint which contains the data of the node. This will provide the offending data back to systems that cannot maintain the original message. </xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
|