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