Definition Type: Element
Name: version_state
Namespace: http://oval.mitre.org/XMLSchema/oval-definitions-5#esx
Type: oval-def:StateType
Containing Schema: esx-definitions-schema.xsd
Abstract
Documentation:
The version_state element defines the information about the release and build version. The release and build elements specify the release and build information of the VMware ESX server respectively. For instance, if the output of "vmware -v" command is "VMware ESX Server 3.0.1 build-39823", then release is equal to "3.0.1" and build is equal to "39823".
Collapse XSD Schema Diagram:
Drilldown into build in schema esx-definitions-schema_xsd Drilldown into release in schema esx-definitions-schema_xsd Drilldown into notes in schema oval-definitions-schema_xsd Drilldown into Signature in schema xmldsig-core-schema_xsd Drilldown into deprecated in schema oval-definitions-schema_xsd Drilldown into comment in schema oval-definitions-schema_xsd Drilldown into operator in schema oval-definitions-schema_xsd Drilldown into version in schema oval-definitions-schema_xsd Drilldown into id in schema oval-definitions-schema_xsd Drilldown into StateType in schema oval-definitions-schema_xsdXSD Diagram of version_state in schema esx-definitions-schema_xsd (Open Vulnerability and Assessment Language (OVAL®))
Collapse XSD Schema Code:
<xsd:element name="version_state" substitutionGroup="oval-def:state">
    <xsd:annotation>
        <xsd:documentation>The version_state element defines the information about the release and build version. The release and build elements specify the release and build information of the VMware ESX server respectively. For instance, if the output of "vmware -v" command is "VMware ESX Server 3.0.1 build-39823", then release is equal to "3.0.1" and build is equal to "39823".</xsd:documentation>
    </xsd:annotation>
    <xsd:complexType>
        <xsd:complexContent>
            <xsd:extension base="oval-def:StateType">
                <xsd:sequence>
                    <xsd:element name="release" type="oval-def:EntityStateStringType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation>This is the release version of current VMware ESX server.</xsd:documentation>
                            <xsd:appinfo>
                                <sch:pattern id="versionsterelease" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="esx-def:version_state/esx-def:release">
                                        <sch:assert test="@datatype='version'">
                                            <sch:value-of select="../@id" /> - datatype attribute for the release entity of an version_state should be 'version'</sch:assert>
                                    </sch:rule>
                                </sch:pattern>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="build" type="oval-def:EntityStateIntType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation>This is the build version of current VMware ESX server.</xsd:documentation>
                            <xsd:appinfo>
                                <sch:pattern id="versionstebuild" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="esx-def:version_state/esx-def:build">
                                        <sch:assert test="@datatype='int'">
                                            <sch:value-of select="../@id" /> - datatype attribute for the build entity of an version_state should be 'int'</sch:assert>
                                    </sch:rule>
                                </sch:pattern>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                </xsd:sequence>
            </xsd:extension>
        </xsd:complexContent>
    </xsd:complexType>
</xsd:element>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
Signature ds:Signature 0 1
notes oval-def:notes 0 1
release esx-def:release 0 1
build esx-def:build 0 1
Collapse Child Attributes:
Name Type Default Value Use
id oval-def:id Required
version oval-def:version Required
operator oval-def:operator AND Optional
comment oval-def:comment Optional
deprecated oval-def:deprecated false Optional
Collapse Derivation Tree:
Collapse References:
oval-def:state