<xsd:element name="patch_item" substitutionGroup="oval-sc:item">
<xsd:annotation>
<xsd:documentation>From /usr/bin/showrev -p. See showrev(1M).</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="oval-sc:ItemType">
<xsd:sequence>
<xsd:element name="base" type="oval-sc:EntityItemIntType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation />
<xsd:appinfo>
<sch:pattern id="patchitembase" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="sol-sc:patch_item/sol-sc:base">
<sch:assert test="@datatype='int'">item <sch:value-of select="../@id" /> - datatype attribute for the base entity of a patch_item should be 'int'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="version" type="oval-sc:EntityItemIntType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation />
<xsd:appinfo>
<sch:pattern id="patchitemversion" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="sol-sc:patch_item/sol-sc:version">
<sch:assert test="@datatype='int'">item <sch:value-of select="../@id" /> - datatype attribute for the version entity of a patch_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>
|