<xsd:element name="realname" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>User's real name, aka gecos field of /etc/passwd.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="accountitemrealname" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="macos-sc:accountinfo_item/macos-sc:realname">
<sch:assert test="not(@datatype) or @datatype='string'">item <sch:value-of select="../@id" /> - datatype attribute for the realname entity of an accountinfo_item should be 'string'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
|