Definition Type: Element
Name: textfilecontent_item
Namespace: http://oval.mitre.org/XMLSchema/system_characteristics#solaris
Type: system_characteristics:itemType
Containing Schema: solaris-system-characteristics-schema.xsd
Abstract
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. This item stores results from checking the contents of a text file.
Collapse XSD Schema Diagram:
Drilldown into data in schema solaris-system-characteristics-schema_xsd Drilldown into object in schema solaris-system-characteristics-schema_xsd Drilldown into message in schema system-characteristics-schema_xsd Drilldown into id in schema system-characteristics-schema_xsd Drilldown into itemType in schema system-characteristics-schema_xsdXSD Diagram of textfilecontent_item in schema solaris-system-characteristics-schema_xsd (Open Vulnerability and Assessment Language (OVAL®))
Collapse XSD Schema Code:
<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>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
message system_characteristics:message 0 1
object solaris:object 1 1
data solaris:data 0 1
Collapse Child Attributes:
Name Type Default Value Use
id system_characteristics:id Required
Collapse Derivation Tree:
Collapse References:
system_characteristics:item