<xsd:element name="version_item" substitutionGroup="oval-sc:item">
<xsd:annotation>
<xsd:documentation>Information about the release and build version of VMware ESX server. This information can be retrieved by the "vmware -v" command or by checking the /proc/vmware/version file.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="oval-sc:ItemType">
<xsd:sequence>
<xsd:element name="release" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>This is the release of current VMware ESX server.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="versionitemrelease" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="esx-sc:version_item/esx-sc:release">
<sch:assert test="@datatype='version'">item <sch:value-of select="../@id" /> - datatype attribute for the release entity of a version_item should be 'version'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="build" type="oval-sc:EntityItemIntType" 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="versionitembuild" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="esx-sc:version_item/esx-sc:build">
<sch:assert test="@datatype='int'">item <sch:value-of select="../@id" /> - datatype attribute for the build entity of a version_item 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>
|