Freigeben über


2.2.4.2.2.30 ErrorConfiguration

The ErrorConfiguration complex type represents error configuration settings to deal with issues in the source data.

   <xsd:complexType name="ErrorConfiguration">
     <xsd:all>
       <xsd:element name="KeyErrorLimit" type="xsd:long" minOccurs="0"/>
       <xsd:element name="KeyErrorLogFile" type="xsd:string" minOccurs="0"/>
       <xsd:element name="KeyErrorAction" minOccurs="0">
         <xsd:simpleType>
           <xsd:restriction base="xsd:string">
             <xsd:enumeration value="ConvertToUnknown" />
             <xsd:enumeration value="DiscardRecord" />
           </xsd:restriction>
         </xsd:simpleType>
       </xsd:element>
       <xsd:element name="KeyErrorLimitAction" minOccurs="0">
         <xsd:simpleType>
           <xsd:restriction base="xsd:string">
             <xsd:enumeration value="StopProcessing" />
             <xsd:enumeration value="StopLogging" />
           </xsd:restriction>
         </xsd:simpleType>
       </xsd:element>
       <xsd:element name="KeyNotFound" minOccurs="0">
         <xsd:simpleType>
           <xsd:restriction base="xsd:string">
             <xsd:enumeration value="IgnoreError" />
             <xsd:enumeration value="ReportAndContinue" />
             <xsd:enumeration value="ReportAndStop" />
           </xsd:restriction>
         </xsd:simpleType>
       </xsd:element>
       <xsd:element name="KeyDuplicate" minOccurs="0">
         <xsd:simpleType>
           <xsd:restriction base="xsd:string">
             <xsd:enumeration value="IgnoreError" />
             <xsd:enumeration value="ReportAndContinue" />
             <xsd:enumeration value="ReportAndStop" />
           </xsd:restriction>
         </xsd:simpleType>
       </xsd:element>
       <xsd:element name="NullKeyConvertedToUnknown" minOccurs="0">
         <xsd:simpleType>
           <xsd:restriction base="xsd:string">
             <xsd:enumeration value="IgnoreError" />
             <xsd:enumeration value="ReportAndContinue" />
             <xsd:enumeration value="ReportAndStop" />
           </xsd:restriction>
         </xsd:simpleType>
       </xsd:element>
       <xsd:element name="NullKeyNotAllowed" minOccurs="0">
         <xsd:simpleType>
           <xsd:restriction base="xsd:string">
             <xsd:enumeration value="IgnoreError" />
             <xsd:enumeration value="ReportAndContinue" />
             <xsd:enumeration value="ReportAndStop" />
           </xsd:restriction>
         </xsd:simpleType>
       </xsd:element>
       <xsd:element ref="eng200:CalculationError" minOccurs="0" />
     </xsd:all>
   </xsd:complexType>

The ErrorConfiguration XSD depends upon the following definitions in namespaces other than the default namespace.

In the namespace eng200:

   <xsd:element name="CalculationError">
     <xsd:simpleType>
       <xsd:restriction base="xsd:string">
         <xsd:enumeration value="IgnoreError" />
         <xsd:enumeration value="ReportAndStop" />
       </xsd:restriction>
     </xsd:simpleType>
   </xsd:element>

Element

Read-Only

Default value

Description

KeyErrorLimit

Zero

The number of key errors after which processing will fail.

KeyErrorLogFile

Empty

The file path for logging key errors.

KeyErrorAction

"ConvertToUnknown"

The action to take upon encountering a key error.

KeyErrorLimitAction

"StopProcessing"

The action to take upon encountering a key error limit.

KeyNotFound

"ReportAndContinue"

The action to take upon encountering a "Key not found" error.

KeyDuplicate

"IgnoreError"

The action to take upon encountering a key duplicate error.

NullKeyConvertedToUnknown

"IgnoreError"

The action to take if a null key is converted to Unknown.

NullKeyNotAllowed

"ReportAndContinue"

The action to take if a null key is encountered and not allowed.

CalculationError

"IgnoreError"

The action to take upon encountering a calculation error.