Definition Type: ComplexType
Name: ErrorType
Type: FreeTextType
Containing Schema: OTA_CommonTypes.xsd
Abstract
Documentation:
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.
Collapse XSD Schema Diagram:
Drilldown into Language in schema ota_commontypes_xsd1 Drilldown into LanguageGroup in schema ota_commontypes_xsd Drilldown into FreeTextType in schema ota_commontypes_xsd Drilldown into NodeList in schema ota_commontypes_xsd1 Drilldown into RecordID in schema ota_commontypes_xsd1 Drilldown into Tag in schema ota_commontypes_xsd1 Drilldown into Status in schema ota_commontypes_xsd1 Drilldown into DocURL in schema ota_commontypes_xsd1 Drilldown into Code in schema ota_commontypes_xsd1 Drilldown into ShortText in schema ota_commontypes_xsd1 Drilldown into ErrorWarningAttributeGroup in schema ota_commontypes_xsd Drilldown into Type in schema ota_commontypes_xsd1XSD Diagram of ErrorType in schema ota_commontypes_xsd (Open Travel (OTA))
Collapse XSD Schema Code:
<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>
Collapse Child Attributes:
Name Type Default Value Use
Language Language Optional
Type Type Required
ShortText ShortText Optional
Code Code Optional
DocURL DocURL Optional
Status Status Optional
Tag Tag Optional
RecordID RecordID Optional
NodeList NodeList (Optional)
Collapse Derivation Tree:
Collapse References:
Error