📄 测试结果.txt
字号:
<?xml version="1.0" encoding="UTF-8" ?>
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:c="http://www.ieee.org/ATML/2006/Common" xmlns="http://www.ieee.org/ATML/2006/TestResults" targetNamespace="http://www.ieee.org/ATML/2006/TestResults" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.0">
<xs:import namespace="http://www.ieee.org/ATML/2006/Common" schemaLocation="Common.xsd" />
- <xs:element name="TestResults">
- <xs:annotation>
<xs:documentation>Root element for this schema.</xs:documentation>
</xs:annotation>
- <xs:complexType>
- <xs:all>
- <xs:element name="UUT" type="c:HardwareInstance" minOccurs="0">
- <xs:annotation>
<xs:documentation>Optional element; if used, at least one of the child elements MUST appear.</xs:documentation>
</xs:annotation>
</xs:element>
- <xs:element name="ResultSet" type="TestGroup">
- <xs:annotation>
<xs:documentation>Parent element to permit heirarchical structure of TestGroups.</xs:documentation>
</xs:annotation>
</xs:element>
- <xs:element name="TestProgram" type="c:SoftwareInstance" minOccurs="0">
- <xs:annotation>
<xs:documentation>Provides for the identification of a specific Test Program used for the subject Test Results.</xs:documentation>
</xs:annotation>
</xs:element>
- <xs:element name="TestStation" type="c:HardwareInstance" minOccurs="0">
- <xs:annotation>
<xs:documentation>Provides for the identification of a specific Test Station used for the subject Test Results.</xs:documentation>
</xs:annotation>
</xs:element>
- <xs:element name="TestDescription" type="c:SoftwareInstance" minOccurs="0">
- <xs:annotation>
<xs:documentation>Reference information to enable linkage to a specific TestDescription instance document.</xs:documentation>
</xs:annotation>
</xs:element>
- <xs:element name="WorkOrder" minOccurs="0">
- <xs:annotation>
<xs:documentation>The reference ID of a Work Order related to this test.</xs:documentation>
</xs:annotation>
- <xs:complexType>
- <xs:sequence minOccurs="0">
- <xs:element name="WorkItem" type="c:NamedValue" minOccurs="0" maxOccurs="unbounded">
- <xs:annotation>
<xs:documentation>Optional holder for specific Work Item(s) from the Work Order.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="ID" type="c:NonBlankString" use="required" />
</xs:complexType>
</xs:element>
- <xs:element name="PreTestRepairs" minOccurs="0">
- <xs:annotation>
<xs:documentation>Identifies repairs made prior to a test or test run. Used in the diagnostic process.</xs:documentation>
</xs:annotation>
- <xs:complexType>
- <xs:sequence>
- <xs:element name="Repair" type="Repair" maxOccurs="unbounded">
- <xs:annotation>
<xs:documentation>Identify the repair.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="Environmental" type="c:EnvironmentalElements" minOccurs="0">
- <xs:annotation>
<xs:documentation>External environmental data pertinent to the test instance.</xs:documentation>
</xs:annotation>
</xs:element>
- <xs:element name="References" minOccurs="0">
- <xs:annotation>
<xs:documentation>Collector element. If used, at least one Reference child element must appear in the instance document.</xs:documentation>
</xs:annotation>
- <xs:complexType>
- <xs:sequence>
- <xs:element name="Reference" type="c:Document" maxOccurs="unbounded">
- <xs:annotation>
<xs:documentation>Miscellaneous reference information relevant to the overall set of Tests in an instance document.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="Indictments" minOccurs="0">
- <xs:complexType>
- <xs:sequence>
<xs:element name="Indictment" type="c:ItemInstance" maxOccurs="unbounded" />
<xs:element name="OtherData" type="c:NamedValue" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="Personnel" minOccurs="0">
- <xs:complexType>
- <xs:sequence>
- <xs:element name="CustomerRepresentative" minOccurs="0">
- <xs:annotation>
<xs:documentation>Identification information for the customer representative witnessing or signing off the TestResults instance document.</xs:documentation>
</xs:annotation>
- <xs:complexType>
- <xs:attribute name="name" type="c:NonBlankString" use="required">
- <xs:annotation>
<xs:documentation>The name associated with the contact. Useful when multiple e-mail addresses are specified.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="affiliation" type="c:NonBlankString" use="optional" />
- <xs:attribute name="email" type="c:NonBlankString" use="optional">
- <xs:annotation>
<xs:documentation>Do we want to define an ATML type for an e-mail address? If yes, should be defined in Common.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
- <xs:element name="QualityAssurance" minOccurs="0">
- <xs:annotation>
<xs:documentation>Identification information for the QA representative signing off the TestResults instance document.</xs:documentation>
</xs:annotation>
- <xs:complexType>
- <xs:attribute name="name" type="c:NonBlankString" use="required">
- <xs:annotation>
<xs:documentation>The name associated with the contact. Useful when multiple e-mail addresses are specified.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="affiliation" type="c:NonBlankString" use="optional" />
- <xs:attribute name="email" type="c:NonBlankString" use="optional">
- <xs:annotation>
<xs:documentation>Do we want to define an ATML type for an e-mail address? If yes, should be defined in Common.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
- <xs:element name="SystemOperator" minOccurs="0">
- <xs:annotation>
<xs:documentation>Identification information for the operator of the ATE.</xs:documentation>
</xs:annotation>
- <xs:complexType>
- <xs:attribute name="name" type="c:NonBlankString" use="required">
- <xs:annotation>
<xs:documentation>The name associated with the contact. Useful when multiple e-mail addresses are specified.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="affiliation" type="c:NonBlankString" use="optional" />
- <xs:attribute name="email" type="c:NonBlankString" use="optional">
- <xs:annotation>
<xs:documentation>Do we want to define an ATML type for an e-mail address? If yes, should be defined in Common.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="Extension" type="c:Extension" minOccurs="0">
- <xs:annotation>
<xs:documentation>Element provided to permit extensibility of the schema.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:all>
<xs:attributeGroup ref="c:DocumentRootAttributes" />
<xs:attribute name="name" type="c:NonBlankString" use="optional" />
</xs:complexType>
</xs:element>
- <xs:simpleType name="RepairCode">
- <xs:annotation>
<xs:documentation>Enumeration of repair codes.</xs:documentation>
</xs:annotation>
- <xs:restriction base="xs:string">
<xs:enumeration value="Repair" />
<xs:enumeration value="Replace" />
<xs:enumeration value="Cannibalize" />
<xs:enumeration value="Reseat" />
<xs:enumeration value="UserDefined" />
</xs:restriction>
</xs:simpleType>
- <xs:simpleType name="OutcomeValue">
- <xs:annotation>
<xs:documentation>Simple enumeration to specify test outcomes Passed/Failed/Aborted.</xs:documentation>
</xs:annotation>
- <xs:restriction base="xs:string">
<xs:enumeration value="Passed" />
<xs:enumeration value="Failed" />
<xs:enumeration value="Aborted" />
</xs:restriction>
</xs:simpleType>
- <xs:complexType name="Repair">
- <xs:annotation>
<xs:documentation>Uses the enumerated RepairCode type to identify the type of repair conducted.</xs:documentation>
</xs:annotation>
- <xs:sequence>
- <xs:element name="Component" type="c:ItemInstance" maxOccurs="unbounded">
- <xs:annotation>
<xs:documentation>Identify the specific repaired component.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="repairCode" type="RepairCode" use="required" />
<xs:attribute name="repairName" type="c:NonBlankString" use="optional" />
</xs:complexType>
- <xs:complexType name="Outcome">
- <xs:annotation>
<xs:documentation>Uses the enumerated OutcomeValue type to categorize a test or session action outcome.</xs:documentation>
</xs:annotation>
<xs:attribute name="value" type="OutcomeValue" use="required" />
- <xs:attribute name="qualifier" type="c:NonBlankString" use="optional">
- <xs:annotation>
<xs:documentation>The qualifier attribute may be used to expand upon the state indicated in the value attribute.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
- <xs:complexType name="Event">
- <xs:annotation>
<xs:documentation>Provides for the capture of non-result data or system/operator messages generated during a test.</xs:documentation>
</xs:annotation>
- <xs:sequence>
- <xs:element name="Message" type="c:NonBlankString" nillable="false" minOccurs="0" maxOccurs="unbounded">
- <xs:annotation>
<xs:documentation>Any textual message associated with the Event.</xs:documentation>
</xs:annotation>
</xs:element>
- <xs:element name="Data" type="c:NamedValue" minOccurs="0" maxOccurs="unbounded">
- <xs:annotation>
<xs:documentation>When required, used to capture data value(s) associated with an Event.</xs:documentation>
</xs:annotation>
</xs:element>
- <xs:element name="Reference" type="c:Document" minOccurs="0" maxOccurs="unbounded">
- <xs:annotation>
<xs:documentation>When required, used to capture reference(s) to external items (e.g., documents)</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
- <xs:attribute name="ID" type="c:NonBlankString" use="required">
- <xs:annotation>
<xs:documentation>A string value to uniquely identify an Event. Enforcement of uniqueness left to the user.</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="name" type="c:NonBlankString" use="optional">
- <xs:annotation>
<xs:documentation>An optional use-case defined name for the Event.</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="severity" use="optional">
- <xs:annotation>
<xs:documentation>0 - lowest severity; information only 4 - highest severity; critical event</xs:documentation>
</xs:annotation>
- <xs:simpleType>
- <xs:restriction base="xs:int">
<xs:enumeration value="0" />
<xs:enumeration value="1" />
<xs:enumeration value="2" />
<xs:enumeration value="3" />
<xs:enumeration value="4" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
- <xs:attribute name="source" type="c:NonBlankString" use="required">
- <xs:annotation>
<xs:documentation>Source of the recorded Event.</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="timeStamp" type="xs:dateTime" use="optional">
- <xs:annotation>
<xs:documentation>Date/time of occurence of the Event.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
- <xs:complexType name="Parameter">
- <xs:annotation>
<xs:documentation>Provides for capture of test input parameters using a ValueType.</xs:documentation>
</xs:annotation>
- <xs:sequence minOccurs="0">
<xs:element name="Description" type="c:NonBlankString" minOccurs="0" />
<xs:element name="Data" type="c:Value" minOccurs="0" />
<xs:element name="Reference" type="c:Document" minOccurs="0" />
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -