Definition Type: Element
Name: patch_item
Namespace: http://oval.mitre.org/XMLSchema/oval-system-characteristics-5#solaris
Type: oval-sc:ItemType
Containing Schema: solaris-system-characteristics-schema.xsd
Abstract
Documentation:
From /usr/bin/showrev -p. See showrev(1M).
Collapse XSD Schema Diagram:
Drilldown into version in schema solaris-system-characteristics-schema_xsd Drilldown into base in schema solaris-system-characteristics-schema_xsd Drilldown into message in schema oval-system-characteristics-schema_xsd Drilldown into status in schema oval-system-characteristics-schema_xsd Drilldown into id in schema oval-system-characteristics-schema_xsd Drilldown into ItemType in schema oval-system-characteristics-schema_xsdXSD Diagram of patch_item in schema solaris-system-characteristics-schema_xsd (Open Vulnerability and Assessment Language (OVAL®))
Collapse XSD Schema Code:
<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>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
message oval-sc:message 0 1
base sol-sc:base 0 1
version sol-sc:version 0 1
Collapse Child Attributes:
Name Type Default Value Use
id oval-sc:id Required
status oval-sc:status exists Optional
Collapse Derivation Tree:
Collapse References:
oval-sc:item