Definition Type: Attribute
Name: max_depth
Namespace: http://oval.mitre.org/XMLSchema/oval-definitions-5#independent
Type: integer:http://www.w3.org/2001/XMLSchema
Containing Schema: independent-definitions-schema.xsd
ContentType Restriction
Default 1
Use Optional
Documentation:
'max_depth' defines the maximum depth of recursion to perform when a recurse_direction is specified. A value of '0' is equivalent to no recursion, '1' means to step only one directory level up/down, and so on. The default value is '-1' meaning no limitation. Note that the default recurse_direction behavior is 'none' so even though max_depth specifies no limitation by default, the recurse_direction behavior turns recusion off.
Collapse XSD Schema Diagram:
XSD Diagram of max_depth in schema independent-definitions-schema_xsd (Open Vulnerability and Assessment Language (OVAL®))
Collapse XSD Schema Code:
<xsd:attribute name="max_depth" use="optional" default="1">
    <xsd:annotation>
        <xsd:documentation>'max_depth' defines the maximum depth of recursion to perform when a recurse_direction is specified. A value of '0' is equivalent to no recursion, '1' means to step only one directory level up/down, and so on. The default value is '-1' meaning no limitation. Note that the default recurse_direction behavior is 'none' so even though max_depth specifies no limitation by default, the recurse_direction behavior turns recusion off.</xsd:documentation>
    </xsd:annotation>
    <xsd:simpleType>
        <xsd:restriction base="xsd:integer">
            <xsd:fractionDigits value="0" />
        </xsd:restriction>
    </xsd:simpleType>
</xsd:attribute>
Collapse Facets:
Facet Value
FractionalDigits 0