<xsd:element name="getconf_item" substitutionGroup="oval-sc:item">
<xsd:annotation>
<xsd:documentation>These items contain getconf items.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="oval-sc:ItemType">
<xsd:sequence>
<xsd:element name="parameter_name" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>This is the parameter name to check</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="gcitemparameter_name" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="hpux-sc:getconf_item/hpux-sc:parameter_name">
<sch:assert test="not(@datatype) or @datatype='string'">item <sch:value-of select="../@id" /> - datatype attribute for the parameter_name entity of a getconf_item should be 'string'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="pathname" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>This is the pathname to check</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="gcitempathname" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="hpux-sc:getconf_item/hpux-sc:pathname">
<sch:assert test="not(@datatype) or @datatype='string'">item <sch:value-of select="../@id" /> - datatype attribute for the pathname entity of a getconf_item should be 'string'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="output" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>The output produced by the getconf command.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="gcitemoutput" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="hpux-sc:getconf_item/hpux-sc:output">
<sch:assert test="not(@datatype) or @datatype='string'">item <sch:value-of select="../@id" /> - datatype attribute for the output entity of a getconf_item should be 'string'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
|