Definition Type: Element
Name: swlist_state
Namespace: http://oval.mitre.org/XMLSchema/oval-definitions-5#hpux
Type: oval-def:StateType
Containing Schema: hpux-definitions-schema.xsd
Abstract
Collapse XSD Schema Diagram:
Drilldown into vendor in schema hpux-definitions-schema_xsd Drilldown into title in schema hpux-definitions-schema_xsd Drilldown into version in schema hpux-definitions-schema_xsd Drilldown into fileset in schema hpux-definitions-schema_xsd Drilldown into bundle in schema hpux-definitions-schema_xsd Drilldown into swlist in schema hpux-definitions-schema_xsd Drilldown into notes in schema oval-definitions-schema_xsd Drilldown into Signature in schema xmldsig-core-schema_xsd Drilldown into deprecated in schema oval-definitions-schema_xsd Drilldown into comment in schema oval-definitions-schema_xsd Drilldown into operator in schema oval-definitions-schema_xsd Drilldown into version in schema oval-definitions-schema_xsd Drilldown into id in schema oval-definitions-schema_xsd Drilldown into StateType in schema oval-definitions-schema_xsdXSD Diagram of swlist_state in schema hpux-definitions-schema_xsd (Open Vulnerability and Assessment Language (OVAL®))
Collapse XSD Schema Code:
<xsd:element name="swlist_state" substitutionGroup="oval-def:state">
    <xsd:annotation>
        <xsd:documentation />
    </xsd:annotation>
    <xsd:complexType>
        <xsd:complexContent>
            <xsd:extension base="oval-def:StateType">
                <xsd:sequence>
                    <xsd:element name="swlist" type="oval-def:EntityStateStringType" 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="swliststeswlist" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="hpux-def:swlist_state/hpux-def:swlist">
                                        <sch:assert test="not(@datatype) or @datatype='string'">
                                            <sch:value-of select="../@id" /> - datatype attribute for the swlist entity of a swlist_state should be 'string'</sch:assert>
                                    </sch:rule>
                                </sch:pattern>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="bundle" type="oval-def:EntityStateStringType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation />
                            <xsd:appinfo>
                                <sch:pattern id="swliststebundle" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="hpux-def:swlist_state/hpux-def:bundle">
                                        <sch:assert test="not(@datatype) or @datatype='string'">
                                            <sch:value-of select="../@id" /> - datatype attribute for the bundle entity of a swlist_state should be 'string'</sch:assert>
                                    </sch:rule>
                                </sch:pattern>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="fileset" type="oval-def:EntityStateStringType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation />
                            <xsd:appinfo>
                                <sch:pattern id="swliststefileset" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="hpux-def:swlist_state/hpux-def:fileset">
                                        <sch:assert test="not(@datatype) or @datatype='string'">
                                            <sch:value-of select="../@id" /> - datatype attribute for the fileset entity of a swlist_state should be 'string'</sch:assert>
                                    </sch:rule>
                                </sch:pattern>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="version" type="oval-def:EntityStateStringType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation />
                            <xsd:appinfo>
                                <sch:pattern id="swliststeversion" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="hpux-def:swlist_state/hpux-def:version">
                                        <sch:assert test="@datatype='fileset_revision'">
                                            <sch:value-of select="../@id" /> - datatype attribute for the version entity of a swlist_state should be 'fileset_revision'</sch:assert>
                                    </sch:rule>
                                </sch:pattern>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="title" type="oval-def:EntityStateStringType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation />
                            <xsd:appinfo>
                                <sch:pattern id="swliststetitle" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="hpux-def:swlist_state/hpux-def:title">
                                        <sch:assert test="not(@datatype) or @datatype='string'">
                                            <sch:value-of select="../@id" /> - datatype attribute for the title entity of a swlist_state should be 'string'</sch:assert>
                                    </sch:rule>
                                </sch:pattern>
                            </xsd:appinfo>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="vendor" type="oval-def:EntityStateStringType" minOccurs="0" maxOccurs="1">
                        <xsd:annotation>
                            <xsd:documentation />
                            <xsd:appinfo>
                                <sch:pattern id="swliststevendor" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                                    <sch:rule context="hpux-def:swlist_state/hpux-def:vendor">
                                        <sch:assert test="not(@datatype) or @datatype='string'">
                                            <sch:value-of select="../@id" /> - datatype attribute for the vendor entity of a swlist_state 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
Signature ds:Signature 0 1
notes oval-def:notes 0 1
swlist hpux-def:swlist 0 1
bundle hpux-def:bundle 0 1
fileset hpux-def:fileset 0 1
version hpux-def:version 0 1
title hpux-def:title 0 1
vendor hpux-def:vendor 0 1
Collapse Child Attributes:
Name Type Default Value Use
id oval-def:id Required
version oval-def:version Required
operator oval-def:operator AND Optional
comment oval-def:comment Optional
deprecated oval-def:deprecated false Optional
Collapse Derivation Tree:
Collapse References:
oval-def:state