Definition Type: ComplexType
Name: testType
Namespace: http://oval.mitre.org/XMLSchema/oval_results
Containing Schema: oval-results-schema.xsd
Abstract
Documentation:
The base type of every test includes a notes element and two attributes. The required id attribute uniquely identifies each test. It is of the form 'xxx-#'. The three letter character code helps distinguish the type of test. This is followed by an unspecified number of digits. For example 'wrt-123'. The optional version attribute differentiates between different version 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 required comment attribute provides a short description of the test.
Collapse XSD Schema Diagram:
Drilldown into message in schema oval-results-schema_xsd Drilldown into version in schema oval-results-schema_xsd Drilldown into comment in schema oval-results-schema_xsd Drilldown into id in schema oval-results-schema_xsdXSD Diagram of testType in schema oval-results-schema_xsd (Open Vulnerability and Assessment Language (OVAL®))
Collapse XSD Schema Code:
<xsd:complexType name="testType">
    <xsd:annotation>
        <xsd:documentation>The base type of every test includes a notes element and two attributes.  The required id attribute uniquely identifies each test.  It is of the form 'xxx-#'.  The three letter character code helps distinguish the type of test.  This is followed by an unspecified number of digits.  For example 'wrt-123'.  The optional version attribute differentiates between different version 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 required comment attribute provides a short description of the test.</xsd:documentation>
        <xsd:appinfo>
            <attributes>id, comment, [version]</attributes>
            <content>none</content>
            <child_elements>[message]</child_elements>
        </xsd:appinfo>
    </xsd:annotation>
    <xsd:sequence>
        <xsd:element ref="oval_results:message" minOccurs="0" maxOccurs="unbounded" />
    </xsd:sequence>
    <xsd:attribute name="id" type="oval_results:testid" use="required" />
    <xsd:attribute name="comment" type="xsd:string" use="required" />
    <xsd:attribute name="version" type="oval_results:versionType" use="optional" default="1" />
</xsd:complexType>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
message oval_results:message 0 unbounded
Collapse Child Attributes:
Name Type Default Value Use
id oval_results:id Required
comment oval_results:comment Required
version oval_results:version 1 Optional
Collapse Derivation Tree:
Collapse References:
independent:compound_test, oval_results:compound_test, oval_results:standardTestType, oval_results:test, independent:unknown_test, oval_results:unknown_test, independent:variable_test, oval_results:variable_test