<xsd:element name="passwordCannotBeName" type="oval-def:EntityStateBoolType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Defines if the password is allowed to be the same as the username or not</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="pwpstepasswordCannotBeName" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="macos-def:pwpolicy_state/macos-def:passwordCannotBeName">
<sch:assert test="not(@datatype) or @datatype='boolean'">
<sch:value-of select="../@id" /> - datatype attribute for the passwordCannotBeName entity of a pwpolicy_state should be 'boolean'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
|