<xsd:element name="train_number" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>The train number is the dotted version that starts a version string. For example the version string 12.2(3)T has a train number of 12.2.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="iosversionitemtrain_number" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="ios-sc:version_item/ios-sc:train_number">
<sch:assert test="not(@datatype) or @datatype='string'">item <sch:value-of select="../@id" /> - datatype attribute for the train_number entity of a version_item should be 'string'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
|