<xsd:element name="os_name" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>This entity specifies the operating system name. This corresponds to the command uname -s.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="unameitemos_name" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="unix-sc:uname_item/unix-sc:os_name">
<sch:assert test="not(@datatype) or @datatype='string'">item <sch:value-of select="../@id" /> - datatype attribute for the os_name entity of a uname_item should be 'string'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
|