<xsd:element name="service_name" type="oval-def:EntityObjectStringType" minOccurs="1" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>The service_name entity refers the name associated with a service. This name is usually the filename of the script file located in /etc/init.d directory.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="unixrlobjservice_name" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="unix-def:runlevel_object/unix-def:service_name">
<sch:assert test="not(@datatype) or @datatype='string'">
<sch:value-of select="../@id" /> - datatype attribute for the service_name entity of a runlevel_object be 'string'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
|