<xsd:element name="size" type="oval-def:EntityStateIntType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>The size element is the size of the file in bytes.</xsd:documentation>
<xsd:appinfo>
<valid_datatypes>integer</valid_datatypes>
<valid_operators>equals, not equal, greater than, less than, greater than or equal, less than or equal</valid_operators>
<sch:pattern id="filestesize" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="win-def:file_state/win-def:size">
<sch:assert test="@datatype='int'">
<sch:value-of select="../@id" /> - datatype attribute for the size entity of a file_state should be 'int'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
|