Definition Type: Element
Name: test
Namespace: http://oval.mitre.org/XMLSchema/oval
Type: oval:testType
Containing Schema: oval-schema.xsd
Abstract True
Documentation:
This is an abstract element that is meant to be extended (via substitution groups) by the tests found in the family schemas. An actual test element is not valid. The use of this abstract class simplifies the OVAL schema and allows descriptive element names to be used in place of test. The abstract test element inherits the optional notes child element, and the id and comment attributes from the base testType. A description of the notes element can be found under the definitions section. Please refer to the "Complex Types" section of this document for a description of the testType.
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_xsd Drilldown into testType in schema oval-schema_xsdXSD Diagram of test in schema oval-schema_xsd (Open Vulnerability and Assessment Language (OVAL®))
Collapse XSD Schema Code:
<xsd:element name="test" type="oval:testType" abstract="true">
    <xsd:annotation>
        <xsd:documentation>This is an abstract element that is meant to be extended (via substitution groups) by the tests found in the family schemas.  An actual test element is not valid.  The use of this abstract class simplifies the OVAL schema and allows descriptive element names to be used in place of test.  The abstract test element inherits the optional notes child element, and the id and comment attributes from the base testType.  A description of the notes element can be found under the definitions section.  Please refer to the "Complex Types" section of this document for a description of the testType.</xsd:documentation>
        <xsd:appinfo>
            <cardinality>1-n</cardinality>
            <attributes>id, comment</attributes>
            <content>none</content>
            <parent_elements>tests</parent_elements>
            <child_elements>[notes], (specified through extension)</child_elements>
        </xsd:appinfo>
    </xsd:annotation>
</xsd:element>
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: