<xsd:element name="version" type="oval-def:EntityStateStringType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>The version entity is used to check the version of the httpd binary. The datatype for the version entity is 'version' which means the value should be a delimited set of numbers. It is obtained by running 'httpd -v'.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="httpdsteversion" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="apache-def:httpd_state/apache-def:version">
<sch:assert test="@datatype='version'">
<sch:value-of select="../@id" /> - datatype attribute for the version entity of a httpd_state should be 'version'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
|