[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: TAG markup updated
This is updated TAG markup language.. |
<?xml version="1.0" encoding="UTF-8"?> <!-- edited with XMLSpy v2008 sp1 (http://www.altova.com) by yklee (Korea Polytechnic University) --> <xs:schema xmlns="http://www.oasis-open.org/TAG" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.oasis-open.org/TAG" elementFormDefault="qualified" attributeFormDefault="unqualified" version="0.1"> <xs:element name="testAssertionSet" type="testAssertionSetType"> <xs:annotation> <xs:documentation>The root element for capturing test assertions.</xs:documentation> </xs:annotation> </xs:element> <xs:complexType name="testAssertionSetType"> <xs:annotation> <xs:documentation>A data structure for capturing test assertions.</xs:documentation> </xs:annotation> <xs:sequence> <xs:element ref="testAssertionSetHeader"/> <xs:element name="TestAssertion" type="testAssertionType" maxOccurs="unbounded"/> </xs:sequence> </xs:complexType> <xs:element name="testAssertionSetHeader" type="testAssertionSetHeaderType"> <xs:annotation> <xs:documentation>A property of a test assertion set containing information that applies or is used across included test assertions.</xs:documentation> </xs:annotation> </xs:element> <xs:element name="testAssertion" type="testAssertionType"> <xs:annotation> <xs:documentation> test assertion element</xs:documentation> </xs:annotation> </xs:element> <xs:complexType name="testAssertionSetHeaderType"> <xs:annotation> <xs:documentation>A data structure for capturing information that is applicable or reused across test assertions in a set.</xs:documentation> </xs:annotation> <xs:sequence> <xs:element ref="ID" minOccurs="0"/> <xs:element ref="name" minOccurs="0"/> <xs:element name="version" type="xs:string"/> <xs:element ref="tag" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="conformanceProfile" type="xs:anyURI" minOccurs="0" maxOccurs="unbounded"/> <xs:element ref="variable" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> </xs:complexType> <xs:complexType name="testAssertionType"> <xs:annotation> <xs:documentation>A data structure for a test assertion.</xs:documentation> </xs:annotation> <xs:sequence> <xs:element ref="ID"/> <xs:element name="enabled" type="xs:boolean" minOccurs="0"/> <xs:element name="tagId" type="xs:string" minOccurs="0" maxOccurs="unbounded"/> <xs:element ref="normSource" minOccurs="0"/> <xs:element ref="target"/> <xs:element ref="prerequisite" minOccurs="0"/> <xs:element ref="predicate"/> <xs:element name="prescriptLevel" type="xs:string" minOccurs="0"/> </xs:sequence> </xs:complexType> <xs:element name="target"> <xs:annotation> <xs:documentation>The object under consideration of the test assertion.</xs:documentation> </xs:annotation> <xs:complexType> <xs:attribute name="name" type="xs:string"/> <xs:attribute name="expLang" type="xs:string"/> <xs:attribute name="id" type="xs:string"/> </xs:complexType> </xs:element> <xs:element name="normSource"> <xs:annotation> <xs:documentation>normative source of test assertion</xs:documentation> </xs:annotation> <xs:complexType> <xs:sequence> <xs:element name="reference" type="xs:anyType" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="quote" type="xs:string" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="interpretation" type="xs:string" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="prerequisite"> <xs:annotation> <xs:documentation>A prerequisite can be either another test assertion or a logical condition. Only if the prerequisite is true, then the test assertion predicate is applicable. If it is false, the test assertion predicate is not applicable.</xs:documentation> </xs:annotation> <xs:complexType> <xs:choice> <xs:element name="general" type="xs:string" minOccurs="0"/> <xs:element name="precondition" type="logicalConditionType" minOccurs="0"/> </xs:choice> </xs:complexType> </xs:element> <xs:element name="testAssertionID" type="xs:string"> <xs:annotation> <xs:documentation>A pointer to an ID for a test assertion.</xs:documentation> </xs:annotation> </xs:element> <xs:complexType name="logicalConditionType"> <xs:annotation> <xs:documentation>A generic type that capture a logical statement which can be evaluated to true or false. Note that the expressionLangauge may "Text", which means that it is not necessarily be a formal (computer computable) expression.</xs:documentation> </xs:annotation> <xs:simpleContent> <xs:extension base="xs:string"> <xs:attribute name="expLang" type="xs:string" use="required"/> </xs:extension> </xs:simpleContent> </xs:complexType> <xs:element name="predicate" type="logicalConditionType"> <xs:annotation> <xs:documentation>The test assertion compliance condition.</xs:documentation> </xs:annotation> </xs:element> <xs:element name="name" type="xs:string"> <xs:annotation> <xs:documentation>A pretty print name of the associated parent object.</xs:documentation> </xs:annotation> </xs:element> <xs:element name="tag" type="tagType"> <xs:annotation> <xs:documentation>A declaration of unique tag within a set of test assertions.</xs:documentation> </xs:annotation> </xs:element> <xs:element name="variable"> <xs:complexType> <xs:sequence> <xs:element name="ID" type="xs:string"/> <xs:element name="name" type="xs:string" minOccurs="0"/> <xs:element name="value" type="xs:string"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="ID" type="IDType"> <xs:annotation> <xs:documentation>An identification property.</xs:documentation> </xs:annotation> </xs:element> <xs:simpleType name="IDType"> <xs:annotation> <xs:documentation>An identification data structure.</xs:documentation> </xs:annotation> <xs:restriction base="xs:string"/> </xs:simpleType> <xs:complexType name="tagType"> <xs:sequence> <xs:element name="ID" type="IDType"/> <xs:element name="name" type="xs:string" minOccurs="0"/> <xs:element name="value" type="xs:string"/> <xs:element name="parent" type="tagType" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="child" type="tagType" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="depend" type="tagType" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> </xs:complexType> </xs:schema>
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]