<xsd:element name="sql" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>The sql entity holds the specific query used to identify the object(s) in the database.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="sqlitemsql" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="ind-sc:sql_item/ind-sc:sql">
<sch:assert test="not(@datatype) or @datatype='string'">item <sch:value-of select="../@id" /> - datatype attribute for the sql entity of an sql_item should be 'string'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
|