Definition Type: Element
Name: service_name
Namespace: http://oval.mitre.org/XMLSchema/oval-definitions-5#unix
Type: oval-def:EntityStateStringType
Containing Schema: unix-definitions-schema.xsd
MinOccurs 0
MaxOccurs 1
Abstract
Documentation:
The name of a valid service.
Collapse XSD Schema Diagram:
Drilldown into var_ref in schema oval-definitions-schema_xsd Drilldown into mask in schema oval-definitions-schema_xsd Drilldown into operation in schema oval-definitions-schema_xsd Drilldown into datatype in schema oval-definitions-schema_xsd Drilldown into var_check in schema oval-definitions-schema_xsd Drilldown into entity_check in schema oval-definitions-schema_xsd Drilldown into EntityStateStringType in schema oval-definitions-schema_xsdXSD Diagram of service_name in schema unix-definitions-schema_xsd (Open Vulnerability and Assessment Language (OVAL®))
Collapse XSD Schema Code:
<xsd:element name="service_name" type="oval-def:EntityStateStringType" minOccurs="0" maxOccurs="1">
    <xsd:annotation>
        <xsd:documentation>The name of a valid service.</xsd:documentation>
        <xsd:appinfo>
            <sch:pattern id="xinetdsteservice_name" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
                <sch:rule context="unix-def:xinetd_state/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 an xinetd_state should be 'string'</sch:assert>
                </sch:rule>
            </sch:pattern>
        </xsd:appinfo>
    </xsd:annotation>
</xsd:element>
Collapse Child Attributes:
Name Type Default Value Use
datatype oval-def:datatype string Optional
operation oval-def:operation equals Optional
mask oval-def:mask false Optional
var_ref oval-def:var_ref Optional
entity_check oval-def:entity_check all Optional
var_check oval-def:var_check all Optional
Collapse Derivation Tree: