<xsd:element name="version" type="oval-def:EntityStateIntType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>The version entity represents a patch version number found after the hyphen</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="patchsteversion" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="sol-def:patch_state/sol-def:version">
<sch:assert test="@datatype='int'">
<sch:value-of select="../@id" /> - datatype attribute for the version entity of a patch_state should be 'int'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
|