<xsd:complexType name="CriterionType">
<xsd:annotation>
<xsd:documentation>The CriterionType complex type identifies a specific test that is included in the definition's criteria.</xsd:documentation>
<xsd:documentation>The required test_id attribute is the actual id of the included test. The required version attribute is the specific version of the OVAL Test used during analysis. The optional variable_instance attribute differentiates between unique instances of a test. This can happen when a test includes a variable reference and different values for that variable are used by different definitions. The optional negate attribute signifies that the result of an individual test should be negated during analysis. For example, consider a test that evaluates to TRUE if a specific patch is installed. By negating this test, it now evaluates to TRUE if the patch is NOT installed. The required result attribute holds the result of the evaluation. Please refer to the description of the resultEnumeration for details about the different result values.</xsd:documentation>
</xsd:annotation>
<xsd:attribute name="test_ref" type="oval:TestIDPattern" use="required" />
<xsd:attribute name="version" type="xsd:nonNegativeInteger" use="required" />
<xsd:attribute name="variable_instance" type="xsd:nonNegativeInteger" use="optional" default="1" />
<xsd:attribute name="negate" type="xsd:boolean" use="optional" default="false" />
<xsd:attribute name="result" type="oval-res:ResultEnumeration" use="required" />
</xsd:complexType>
|