<xsd:element name="textfilecontent_item" substitutionGroup="system_characteristics:item">
<xsd:annotation>
<xsd:documentation>This item has been deprecated in version 4.1 of the solaris-system-characterics-schema and will be removed completely in version 5. It is recommended that all future OVAL Content use the textfilecontent_item found in the independent-system-characterics-schema.</xsd:documentation>
<xsd:documentation>This item stores results from checking the contents of a text file.</xsd:documentation>
<xsd:appinfo>
<item_name>Text File Content Item</item_name>
<extends>itemType</extends>
<valid_sections>message, object, data</valid_sections>
<example>
</example>
</xsd:appinfo>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="system_characteristics:itemType">
<xsd:sequence>
<xsd:element name="object" minOccurs="1" maxOccurs="1">
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="system_characteristics:objectType">
<xsd:sequence>
<xsd:element name="path" type="system_characteristics:objectStringType" minOccurs="1" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Specifies the absolute path to a file on the machine.</xsd:documentation>
<xsd:appinfo>
<parent_item>textfilecontent_item</parent_item>
<cardinality>1</cardinality>
<content>string</content>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="line" type="system_characteristics:objectStringType" minOccurs="1" maxOccurs="1" nillable="true">
<xsd:annotation>
<xsd:documentation>The line element represents a line in the file and is represented using a regular expression.</xsd:documentation>
<xsd:appinfo>
<parent_item>textfilecontent_item</parent_item>
<cardinality>1</cardinality>
<content>string</content>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<xsd:element name="data" minOccurs="0" maxOccurs="1">
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="system_characteristics:dataType">
<xsd:sequence>
<xsd:element name="subexpression" type="system_characteristics:dataStringType" minOccurs="1" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>Each subexpression in the regular expression of the line element is then tested against the value specified in the subexpression element.</xsd:documentation>
<xsd:appinfo>
<parent_item>textfilecontent_item</parent_item>
<cardinality>1-n</cardinality>
<content>string</content>
<valid_datatypes>string</valid_datatypes>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
|