<xsd:element name="module_number" type="oval-def:EntityObjectIntType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>A number that identifies the a specific module.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="moduleobjmodule_number" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="catos-def:module_object/catos-def:module_number">
<sch:assert test="@datatype='int'">
<sch:value-of select="../@id" /> - datatype attribute for the module_number entity of a module_object should be 'int'</sch:assert>
<sch:assert test="not(@operation) or @operation='equals' or @operation='not equal' or @operation='greater than' or @operation='greater than or equal' or @operation='less than' or @operation='less than or equal'">
<sch:value-of select="../@id" /> - operation attribute for the module_number entity of a module_object should be 'equals', 'not equal', 'greater than', 'greater than or equal', 'less than', or 'less than or equal'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
|