<xsd:element name="slackwarepkginfo_item" substitutionGroup="oval-sc:item">
<xsd:annotation>
<xsd:documentation>This item discribes info related to Slackware packages. It extends the standard ItemType as defined in the oval-system-characteristics schema and one should refer to the ItemType description for more information.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="oval-sc:ItemType">
<xsd:sequence>
<xsd:element name="name" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>This is the pakage name to check.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="spkginfoitemname" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="linux-sc:slackwarepkginfo_item/linux-sc:name">
<sch:assert test="not(@datatype) or @datatype='string'">item <sch:value-of select="../@id" /> - datatype attribute for the name entity of a slackwarepkginfo_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>This is the version number of the pakage.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="spkginfoitemversion" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="linux-sc:slackwarepkginfo_item/linux-sc:version">
<sch:assert test="not(@datatype) or @datatype='string'">item <sch:value-of select="../@id" /> - datatype attribute for the version entity of a slackwarepkginfo_item should be 'string'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="architecture" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>This is the architecture the package is designed for.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="spkginfoitemarchitecture" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="linux-sc:slackwarepkginfo_item/linux-sc:architecture">
<sch:assert test="not(@datatype) or @datatype='string'">item <sch:value-of select="../@id" /> - datatype attribute for the architecture entity of a slackwarepkginfo_item should be 'string'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="revision" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>This is the revision of the package.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="spkginfoitemrevision" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="linux-sc:slackwarepkginfo_item/linux-sc:revision">
<sch:assert test="not(@datatype) or @datatype='string'">item <sch:value-of select="../@id" /> - datatype attribute for the revision entity of a slackwarepkginfo_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>
|