<xsd:element name="version" type="oval-def:EntityStateStringType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>The version of a package.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="portinfosteversion" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="freebsd-def:portinfo_state/freebsd-def:version">
<sch:assert test="not(@datatype) or @datatype='string'">
<sch:value-of select="../@id" /> - datatype attribute for the version entity of a portinfo_state should be 'string'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
|