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