<xsd:element name="patch_name" type="oval-def:EntityObjectStringType" minOccurs="1" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>This is the patch name to check</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="patchobjpatch_name" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="hpux-def:patch_object/hpux-def:patch_name">
<sch:assert test="not(@datatype) or @datatype='string'">
<sch:value-of select="../@id" /> - datatype attribute for the patch_name entity of a patch_object should be 'string'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
|