<xsd:element name="criterion">
<xsd:annotation>
<xsd:documentation>The criterion element identifies a specific test to be included in either the software or configuration section of a definition's criteria. The required test_ref attribute is the actual id of the test being referenced. The optional negate attribute signifies that the result of an individual test should be negated during analysis. For example, consider a test that returns TRUE if a specific patch is installed. By negating this test, it now analyzes to TRUE if the patch is NOT installed. The required comment attribute provides a short description of the specified test and should mirror the comment attribute of the actual test.</xsd:documentation>
<xsd:appinfo>
<cardinality>1-n</cardinality>
<attributes>test_ref, [negate], comment</attributes>
<content>none</content>
<parent_elements>software, configuration</parent_elements>
<child_elements>none</child_elements>
</xsd:appinfo>
</xsd:annotation>
<xsd:complexType>
<xsd:attribute name="test_ref" type="oval:testid" use="required" />
<xsd:attribute name="negate" type="xsd:boolean" use="optional" default="false" />
<xsd:attribute name="comment" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
|