CARIS BASE Editor : Support Files : Quality Control : QC File Structure : Global Tests
 

Global Tests

The <GlobalTests> section contains tests that are applied to all features. Each global test contains a test ID, a filter, and a message that is displayed in the Output window when a matching feature is detected.

This is an example of the global test section.

<GlobalTests>

  <Test Id="S-58 46">

    <Filter>

      <And>

        <AttributeHasValue Acronym="DATSTA" />

        <AttributeHasValue Acronym="DATEND" />

        <CompareAttributeValues Acronym1="DATSTA" Acronym2="DATEND" Operator=">" />

      </And>

      </Filter>

  <Message Level="ERROR" Description="Check for any object having DATEND and DATSTA encoded that DATEND is the same or later than DATSTA." Reference="S-58 Test Number 46. Conformity to: Logical Consistency" Solution="Enter valid dates." />

  </Test>

</GlobalTests>

The following table describes the tags in this section.

Tags/Attributes

Description

Status

<GlobalTests>

<Test>

Id

Number ID of the test being used.

Mandatory

<Filter>

The <Filter> element determines if the attributes being mapped met the criteria set in the test. A filter can be simple or complex using conditional and logical operators.

Mandatory

<Message />

The following attributes describe what output messages are displayed to the user when a feature matches the filter.

Level

The type of message.

Optional

Description

A brief summary of the test

Mandatory

Reference

The test number

Optional

Solution

Possible solution to errors

Optional