<xsd:element name="pattern" type="oval-def:EntityStateStringType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>The pattern entity represents a regular expression that is used to define a block of text.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="txt54stepattern" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="ind-def:textfilecontent54_state/ind-def:pattern">
<sch:assert test="not(@datatype) or @datatype='string'">
<sch:value-of select="../@id" /> - datatype attribute for the pattern entity of a textfilecontent54_state should be 'string'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
|