<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>
|