<xsd:element name="version" type="oval-def:EntityObjectIntType" minOccurs="1" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Patches are identified by unique alphanumeric strings, with the patch base code first, a hyphen, and a number that represents the patch revision number.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="patch54objversion" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="sol-def:patch54_object/sol-def:version">
<sch:assert test="@datatype='int'">
<sch:value-of select="../@id" /> - datatype attribute for the version entity of a patch54_object should be 'int'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
|