<xsd:element name="nvram_state" substitutionGroup="oval-def:state">
<xsd:annotation>
<xsd:documentation>This test pulls data from the 'nvram -p' output.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="oval-def:StateType">
<xsd:sequence>
<xsd:element name="nvram_var" type="oval-def:EntityStateStringType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>This specifies the nvram variable to check.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="nvramstenvram_var" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="macos-def:nvram_state/macos-def:nvram_var">
<sch:assert test="not(@datatype) or @datatype='string'">
<sch:value-of select="../@id" /> - datatype attribute for the nvram_var entity of a nvram_state should be 'string'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="nvram_value" type="oval-def:EntityStateStringType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>This is the value of the associated nvram variable.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="nvramstenvram_value" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="macos-def:nvram_state/macos-def:nvram_value">
<sch:assert test="not(@datatype) or @datatype='string'">
<sch:value-of select="../@id" /> - datatype attribute for the nvram_value entity of a nvram_state 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>
|