<xsd:element name="sql" type="oval-def:EntityStateStringType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>the sql entity defines a query used to identify the object(s) to test against.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="sqlstesql" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="ind-def:sql_state/ind-def:sql">
<sch:assert test="not(@datatype) or @datatype='string'">
<sch:value-of select="../@id" /> - datatype attribute for the sql entity of a sql_state should be 'string'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
|