<xsd:group name="ComponentGroup">
<xsd:annotation>
<xsd:documentation>Any value that is pulled directly off the local system is defined by the basic component element. For example, the name of a user or the value of a registry key. Please refer to the definition of the ObjectComponentType for more information. A value can also be obtained from another variable. The variable element identifies a variable id to pull a value(s) from. Please refer to the definition of the VariableComponentType for more information. Literal values can also be specified.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="literal_component" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="oval-def:literal_component">
<sch:assert test=".!=''">The literal_component of variable <sch:value-of select="../../@id" /> can not be empty.</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
<xsd:choice>
<xsd:element name="object_component" type="oval-def:ObjectComponentType" />
<xsd:element name="variable_component" type="oval-def:VariableComponentType" />
<xsd:element name="literal_component" type="xsd:anySimpleType" />
<xsd:group ref="oval-def:FunctionGroup" />
</xsd:choice>
</xsd:group>
|