Definition Type: Element
Name: swlist_item
Namespace: http://oval.mitre.org/XMLSchema/oval-system-characteristics-5#hpux
Type: oval-sc:ItemType
Containing Schema: hpux-system-characteristics-schema.xsd
Abstract
Documentation:
Output of /usr/sbin/swlist command. Note: A quick way to check for the installation of a specific fileset is to use the command 'swlist -a version -l fileset filesetname'. See manpage for swlist for explanation of additional command options.
Collapse XSD Schema Diagram:
Drilldown into vendor in schema hpux-system-characteristics-schema_xsd Drilldown into title in schema hpux-system-characteristics-schema_xsd Drilldown into version in schema hpux-system-characteristics-schema_xsd Drilldown into fileset in schema hpux-system-characteristics-schema_xsd Drilldown into bundle in schema hpux-system-characteristics-schema_xsd Drilldown into swlist in schema hpux-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 swlist_item in schema hpux-system-characteristics-schema_xsd (Open Vulnerability and Assessment Language (OVAL®))
Collapse XSD Schema Code:
<xsd:element name="swlist_item" substitutionGroup="oval-sc:item">
    <xsd:annotation>
        <xsd:documentation>Output of /usr/sbin/swlist command.  Note:  A quick way to check for the installation of a specific fileset is to use the command 'swlist -a version -l fileset filesetname'. See manpage for swlist for explanation of additional command options.</xsd:documentation>
    </xsd:annotation>
    <xsd:complexType>
        <xsd:complexContent>
            <xsd:extension base="oval-sc:ItemType">
                <xsd:sequence>
                    <xsd:element name="swlist" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation>This is the name of the bundle or fileset to check.</xsd:documentation>
                            <xsd:appinfo>
                                <sch:pattern id="swlistitemswlist" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="hpux-sc:swlist_item/hpux-sc:swlist">
                                        <sch:assert test="not(@datatype) or @datatype='string'">item <sch:value-of select="../@id" /> - datatype attribute for the swlist entity of a swlist_item should be 'string'</sch:assert>
                                    </sch:rule>
                                </sch:pattern>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="bundle" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation />
                            <xsd:appinfo>
                                <sch:pattern id="swlistitembundle" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="hpux-sc:swlist_item/hpux-sc:bundle">
                                        <sch:assert test="not(@datatype) or @datatype='string'">item <sch:value-of select="../@id" /> - datatype attribute for the bundle entity of a swlist_item should be 'string'</sch:assert>
                                    </sch:rule>
                                </sch:pattern>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="fileset" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation />
                            <xsd:appinfo>
                                <sch:pattern id="swlistitemfileset" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="hpux-sc:swlist_item/hpux-sc:fileset">
                                        <sch:assert test="not(@datatype) or @datatype='string'">item <sch:value-of select="../@id" /> - datatype attribute for the fileset entity of a swlist_item should be 'string'</sch:assert>
                                    </sch:rule>
                                </sch:pattern>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="version" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation />
                            <xsd:appinfo>
                                <sch:pattern id="swlistitemversion" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="hpux-sc:swlist_item/hpux-sc:version">
                                        <sch:assert test="@datatype='fileset_revision'">item <sch:value-of select="../@id" /> - datatype attribute for the version entity of a swlist_item should be 'fileset_revision'</sch:assert>
                                    </sch:rule>
                                </sch:pattern>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="title" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation />
                            <xsd:appinfo>
                                <sch:pattern id="swlistitemtitle" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="hpux-sc:swlist_item/hpux-sc:title">
                                        <sch:assert test="not(@datatype) or @datatype='string'">item <sch:value-of select="../@id" /> - datatype attribute for the title entity of a swlist_item should be 'string'</sch:assert>
                                    </sch:rule>
                                </sch:pattern>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="vendor" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation />
                            <xsd:appinfo>
                                <sch:pattern id="swlistitemvendor" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="hpux-sc:swlist_item/hpux-sc:vendor">
                                        <sch:assert test="not(@datatype) or @datatype='string'">item <sch:value-of select="../@id" /> - datatype attribute for the vendor entity of a swlist_item should be 'string'</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
swlist hpux-sc:swlist 0 1
bundle hpux-sc:bundle 0 1
fileset hpux-sc:fileset 0 1
version hpux-sc:version 0 1
title hpux-sc:title 0 1
vendor hpux-sc:vendor 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