Definition Type: Element
Name: test
Namespace: http://oval.mitre.org/XMLSchema/oval_results
Type: oval_results:testType
Containing Schema: oval-results-schema.xsd
Abstract True
Documentation:
This is an abstract element that is meant to be extended (via substitution groups) by the different 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 id and comment attribute from the its base testType.
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_xsd Drilldown into testType in schema oval-results-schema_xsdXSD Diagram of test in schema oval-results-schema_xsd (Open Vulnerability and Assessment Language (OVAL®))
Collapse XSD Schema Code:
<xsd:element name="test" type="oval_results:testType" abstract="true">
    <xsd:annotation>
        <xsd:documentation>This is an abstract element that is meant to be extended (via substitution groups) by the different 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 id and comment attribute from the its base testType.</xsd:documentation>
        <xsd:appinfo>
            <cardinality>1-n</cardinality>
            <attributes>id, comment, [version]</attributes>
            <content>none</content>
            <parent_elements>tests</parent_elements>
            <child_elements>(specified through extension)</child_elements>
        </xsd:appinfo>
    </xsd:annotation>
</xsd:element>
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: