<xsd:element name="patch_item" substitutionGroup="oval-sc:item">
<xsd:annotation>
<xsd:documentation>Installation information about a specific patch in the VMware ESX server. This information can be retrieved by the "esxupdate query | grep ESX-xxxxxxx" command.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="oval-sc:ItemType">
<xsd:sequence>
<xsd:element name="patch_number" type="oval-sc:EntityItemIntType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>This is the patch number which identifies the patch being checked in current VMware ESX server.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="esxpatchitempatch_number" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="esx-sc:patch_item/esx-sc:patch_number">
<sch:assert test="@datatype='int'">item <sch:value-of select="../@id" /> - datatype attribute for the patch_number entity of a patch_item should be 'int'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="status" type="oval-sc:EntityItemBoolType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>This is the installtaion status of a specific patch which is checked in current VMware ESX server.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="esxpatchitemstatus" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="esx-sc:patch_item/esx-sc:status">
<sch:assert test="@datatype='boolean'">item <sch:value-of select="../@id" /> - datatype attribute for the status entity of a patch_item should be 'boolean'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
|