Definition Type: ComplexType
Name: ErrorWarning
Namespace: http://www.opentravel.org/OTM/Common/v4
Type: ota2-0400:String
Containing Schema: Common_4_0_0.xsd
Abstract
Documentation:
The error in textual format. Assigned XSD Type: {http://www.w3.org/2001/XMLSchema}StringLength1to64
Collapse XSD Schema Diagram:
Drilldown into statusExtension in schema common_4_0_0_xsd Drilldown into status in schema common_4_0_0_xsd Drilldown into nodeList in schema common_4_0_0_xsd Drilldown into recordID in schema common_4_0_0_xsd Drilldown into tag in schema common_4_0_0_xsd Drilldown into docURL in schema common_4_0_0_xsd Drilldown into code in schema common_4_0_0_xsd Drilldown into shortText in schema common_4_0_0_xsd Drilldown into typeExtension in schema common_4_0_0_xsd Drilldown into type in schema common_4_0_0_xsd Drilldown into language in schema common_4_0_0_xsdXSD Diagram of ErrorWarning in schema common_4_0_0_xsd (Open Travel (OTA))
Collapse XSD Schema Code:
<xsd:complexType name="ErrorWarning">
    <xsd:annotation>
        <xsd:documentation source="Description">The error in textual format.</xsd:documentation>
        <xsd:documentation source="Implementer">Assigned XSD Type: {http://www.w3.org/2001/XMLSchema}StringLength1to64</xsd:documentation>
        <xsd:appinfo>
            <otm:OTA2Entity type="ValueWithAttributes" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">ErrorWarning</otm:OTA2Entity>
            <otm:Equivalent context="Common" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">ErrorWarningAttributeGroup</otm:Equivalent>
        </xsd:appinfo>
    </xsd:annotation>
    <xsd:simpleContent>
        <xsd:extension base="ota2-0400:String">
            <xsd:attribute name="language" type="ota2-0400:LanguageCode" use="optional">
                <xsd:annotation>
                    <xsd:documentation source="Description">The language in which the error is returned.</xsd:documentation>
                </xsd:annotation>
            </xsd:attribute>
            <xsd:attribute name="type" type="ota2-0300:ErrorWarningType_Enum_Base" use="optional">
                <xsd:annotation>
                    <xsd:documentation source="Description">The category of error or warning.</xsd:documentation>
                </xsd:annotation>
            </xsd:attribute>
            <xsd:attribute name="typeExtension" type="ota2:String_EnumExtension" />
            <xsd:attribute name="shortText" type="ota2-0400:StringShort" use="optional">
                <xsd:annotation>
                    <xsd:documentation source="Description">An abbreviated version of the error in textual format.</xsd:documentation>
                </xsd:annotation>
            </xsd:attribute>
            <xsd:attribute name="code" type="ota2-0400:OTA_Code" use="optional">
                <xsd:annotation>
                    <xsd:documentation source="Description">If present, this refers to a table of coded values exchanged between applications to identify errors or warnings. Refer to OpenTravel Code List Error Codes (ERR).</xsd:documentation>
                    <xsd:documentation source="Implementer">Assigned XSD Type: {http://www.w3.org/2001/XMLSchema}OTA_CodeType</xsd:documentation>
                    <xsd:appinfo>
                        <otm:Equivalent context="Common" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">Code</otm:Equivalent>
                    </xsd:appinfo>
                </xsd:annotation>
            </xsd:attribute>
            <xsd:attribute name="docURL" type="xsd:anyURI" use="optional">
                <xsd:annotation>
                    <xsd:documentation source="Description">If present, this URL refers to an online description of the error that occurred.</xsd:documentation>
                    <xsd:documentation source="Implementer">Assigned XSD Type: {http://www.w3.org/2001/XMLSchema}anyURI</xsd:documentation>
                    <xsd:appinfo>
                        <otm:Equivalent context="Common" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">DocURL</otm:Equivalent>
                    </xsd:appinfo>
                </xsd:annotation>
            </xsd:attribute>
            <xsd:attribute name="tag" type="ota2-0400:String" use="optional">
                <xsd:annotation>
                    <xsd:documentation source="Description">If present, this attribute may identify an unknown or misspelled tag that caused an error in processing. It is recommended that the Tag attribute use XPath notation to identify the location of a tag in the event that more than one tag of the same name is present in the document. Alternatively, the tag name alone can be used to identify missing data [Type=ReqFieldMissing].</xsd:documentation>
                    <xsd:documentation source="Implementer">Assigned XSD Type: {http://www.w3.org/2001/XMLSchema}string</xsd:documentation>
                    <xsd:appinfo>
                        <otm:Equivalent context="Common" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">Tag</otm:Equivalent>
                    </xsd:appinfo>
                </xsd:annotation>
            </xsd:attribute>
            <xsd:attribute name="recordID" type="ota2-0400:StringShort" use="optional">
                <xsd:annotation>
                    <xsd:documentation source="Description">If present, this attribute allows for batch processing and the identification of the record that failed amongst a group of records. This value may contain a concatenation of a unique failed transaction ID with specific record(s) associated with that transaction.</xsd:documentation>
                    <xsd:documentation source="Implementer">Assigned XSD Type: {http://www.w3.org/2001/XMLSchema}StringLength1to64</xsd:documentation>
                    <xsd:appinfo>
                        <otm:Equivalent context="Common" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">RecordID</otm:Equivalent>
                    </xsd:appinfo>
                </xsd:annotation>
            </xsd:attribute>
            <xsd:attribute name="nodeList" type="ota2-0400:String" use="optional">
                <xsd:annotation>
                    <xsd:documentation source="Description">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.</xsd:documentation>
                </xsd:annotation>
            </xsd:attribute>
            <xsd:attribute name="status" type="ota2-0300:Status_Enum_Base" use="optional">
                <xsd:annotation>
                    <xsd:documentation source="Description">Identfies the status condition.</xsd:documentation>
                </xsd:annotation>
            </xsd:attribute>
            <xsd:attribute name="statusExtension" type="ota2:String_EnumExtension" />
        </xsd:extension>
    </xsd:simpleContent>
</xsd:complexType>
Collapse Child Attributes:
Name Type Default Value Use
language ota2-0400:language Optional
type ota2-0400:type Optional
typeExtension ota2-0400:typeExtension (Optional)
shortText ota2-0400:shortText Optional
code ota2-0400:code Optional
docURL ota2-0400:docURL Optional
tag ota2-0400:tag Optional
recordID ota2-0400:recordID Optional
nodeList ota2-0400:nodeList Optional
status ota2-0400:status Optional
statusExtension ota2-0400:statusExtension (Optional)
Collapse Derivation Tree:
Collapse References:
ota2-0400:Errors, fin-0300:Warningota2-0400:Warnings,