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