Schema Name: independent-system-characteristics-schema.xsd
Target Namespace: http://oval.mitre.org/XMLSchema/system_characteristics#independent
Documentation:
This document outlines the items of the OVAL System Characteristics XML schema that are independent of any specific family or platform. Each iten is an extention of a basic System Characteristics item defined in the core System Characteristics XML schema. The OVAL Schema is maintained by The Mitre Corporation and developed by the public OVAL Community. For more information, including how to get involved in the project and how to submit change requests, please visit the OVAL website at http://oval.mitre.org.
Collapse XSD Schema Code:

<xsd:schema targetNamespace="http://oval.mitre.org/XMLSchema/system_characteristics#independent" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:system_characteristics="http://oval.mitre.org/XMLSchema/system_characteristics" xmlns:independent="http://oval.mitre.org/XMLSchema/system_characteristics#independent" elementFormDefault="qualified" version="4.2">
	<xsd:import namespace="http://oval.mitre.org/XMLSchema/system_characteristics" schemaLocation="system-characteristics-schema.xsd"/>
	<xsd:annotation>
		<xsd:documentation>This document outlines the items of the OVAL System Characteristics XML schema that are independent of any specific family or platform.  Each iten is an extention of a basic System Characteristics item defined in the core System Characteristics XML schema.</xsd:documentation>
		<xsd:documentation>The OVAL Schema is maintained by The Mitre Corporation and developed by the public OVAL Community.  For more information, including how to get involved in the project and how to submit change requests, please visit the OVAL website at http://oval.mitre.org.</xsd:documentation>
		<xsd:appinfo>
			<schema>Independent System Characteristics</schema>
			<version>4.2</version>
			<date>2 December 2005</date>
		</xsd:appinfo>
	</xsd:annotation>
	<!-- =============================================================================== -->
	<!-- =======================  TEXT FILE CONTENT TEST (tft)  ======================== -->
	<!-- =============================================================================== -->
	<xsd:element name="textfilecontent_items" substitutionGroup="system_characteristics:item_container">
		<xsd:annotation>
			<xsd:documentation>This element is a container of many textfilecontent_item elements.</xsd:documentation>
			<xsd:appinfo>
				<extends>item_container</extends>
				<valid_items>Text File Content Item</valid_items>
			</xsd:appinfo>
		</xsd:annotation>
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element ref="independent:textfilecontent_item" minOccurs="1" maxOccurs="unbounded"/> 
			</xsd:sequence>
		</xsd:complexType>
	</xsd:element>
	<xsd:element name="textfilecontent_item" substitutionGroup="system_characteristics:item">
		<xsd:annotation>
			<xsd:documentation>The textfilecontent item looks at the contents of a text file (aka a configuration file) by looking at individual lines.</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>none</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>
	<!-- =============================================================================== -->
	<!-- =======================  XML FILE CONTENT TEST (xft)  ========================= -->
	<!-- =============================================================================== -->

	<xsd:element name="xmlfilecontent_items" substitutionGroup="system_characteristics:item_container">
		<xsd:annotation>
			<xsd:documentation>This element is a container of many xmlfilecontent_item elements.</xsd:documentation>
			<xsd:appinfo>
				<extends>item_container</extends>
				<valid_items>XML File Content Item</valid_items>
			</xsd:appinfo>
		</xsd:annotation>
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element ref="independent:xmlfilecontent_item" minOccurs="1" maxOccurs="unbounded"/> 
			</xsd:sequence>
		</xsd:complexType>
	</xsd:element>
	<xsd:element name="xmlfilecontent_item" substitutionGroup="system_characteristics:item">
		<xsd:annotation>
			<xsd:documentation>This item stores results from checking the contents of an xml file.</xsd:documentation>
			<xsd:appinfo>
				<item_name>XML 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>XML File Content Item</parent_item>
														<cardinality>1</cardinality>
														<content>string</content>
													</xsd:appinfo>
												</xsd:annotation>
											</xsd:element>
											<xsd:element name="xpath" type="system_characteristics:objectStringType" minOccurs="1" maxOccurs="1" nillable="true">
												<xsd:annotation>
													<xsd:documentation>Specifies an Xpath expression describing the nodes to look at.</xsd:documentation>
													<xsd:appinfo>
														<parent_item>XML File Content 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="value_of" type="system_characteristics:dataStringType" minOccurs="1" maxOccurs="1">
												<xsd:annotation>
													<xsd:documentation>The value element checks the value of the nodes found.  How this is used is entirely controlled by operator attributes.</xsd:documentation>
													<xsd:appinfo>
														<parent_item>XML File Content Item</parent_item>
														<cardinality>1</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>
	<!-- =============================================================================== -->
	<!-- =============================================================================== -->
	<!-- =============================================================================== -->
</xsd:schema>
Collapse Elements: