<xsd:complexType name="ObjectComponentType">
<xsd:annotation>
<xsd:documentation>The ObjectComponentType complex type defines a specific value on the local system to obtain. The required obj_id provides a reference to an existing OVAL Object declaration. This object defines the object to examine and eventually pull the value from. The required item_field defines which piece of data to retrieve from the object referenced by the obj_id. For example, if the obj_id references a file, the item_field may define the version as the piece of information to use as the value of the variable. The data to retrieve can be found in the OVAL System Characteristics file under the items associated with the object referenced by obj_id.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="item_field" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="oval-def:object_component">
<sch:assert test="@item_field!=''">The item_field attribute of an object_component of variable <sch:value-of select="../../@id" /> can not be empty.</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
<xsd:attribute name="object_ref" type="oval:ObjectIDPattern" use="required" />
<xsd:attribute name="item_field" type="xsd:string" use="required" />
</xsd:complexType>
|