W3C home > Mailing lists > Public > www-validator-cvs@w3.org > September 2009

2006/unicorn/WebContent/WEB-INF/resources/schemas tasklist.xsd,1.3,1.4

From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 02 Sep 2009 15:45:45 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1Mis1p-0002Qv-4Q@lionel-hutz.w3.org>
Update of /sources/public/2006/unicorn/WebContent/WEB-INF/resources/schemas
In directory hutz:/tmp/cvs-serv9242/WebContent/WEB-INF/resources/schemas

Modified Files:
	tasklist.xsd 
Log Message:
added group elements to output with special behavior (type=firstPassed will output only the first passed observation child)

Index: tasklist.xsd
===================================================================
RCS file: /sources/public/2006/unicorn/WebContent/WEB-INF/resources/schemas/tasklist.xsd,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- tasklist.xsd	2 Sep 2009 13:50:54 -0000	1.3
+++ tasklist.xsd	2 Sep 2009 15:45:43 -0000	1.4
@@ -32,8 +32,9 @@
     <xs:attribute type="xs:string" name="name"/>
   </xs:complexType>
   <xs:complexType name="outputType">
-    <xs:sequence>
-            <xs:element type="xs:string" name="observation" maxOccurs="unbounded" minOccurs="0" xmlns:tas="http://www.w3.org/unicorn/tasklist" />
+    <xs:sequence>
+
+            <xs:element name="group" type="tas:groupType" minOccurs="0" maxOccurs="unbounded"></xs:element>
     </xs:sequence>
   </xs:complexType>
   <xs:complexType name="paramType">
@@ -93,13 +94,17 @@
     </xs:sequence>
   </xs:complexType>
   <xs:complexType name="execType" mixed="true">
-    <xs:sequence>
-      <xs:element type="tas:paramType" name="param" minOccurs="0" xmlns:tas="http://www.w3.org/unicorn/tasklist"/>
-    </xs:sequence>
-    <xs:attribute type="xs:string" name="value" use="optional"/>
-    <xs:attribute type="xs:string" name="type" use="optional"/>
+  	<xs:sequence>
+  		<xs:element type="tas:paramType" name="param" minOccurs="0"
+  			xmlns:tas="http://www.w3.org/unicorn/tasklist" />
+  	</xs:sequence>
+
+  	<xs:attribute type="xs:string" name="value" use="optional" />
+  	<xs:attribute type="xs:string" name="type" use="optional" />
+
+  	<xs:attribute name="id" type="xs:string" use="required"></xs:attribute>
   </xs:complexType>
-    <xs:simpleType name="tInputMethod" xmlns:tas="http://www.w3.org/unicorn/tasklist">
+  <xs:simpleType name="tInputMethod" xmlns:tas="http://www.w3.org/unicorn/tasklist">
         <xs:restriction base="xs:string">
             <xs:enumeration value="file"/>
             <xs:enumeration value="direct"/>
@@ -124,4 +129,17 @@
             <xs:enumeration value="radio"/>
         </xs:restriction>
     </xs:simpleType>
+
+    <xs:complexType name="groupType">
+    	<xs:sequence>
+    		<xs:element name="observation" type="xs:string" maxOccurs="unbounded" minOccurs="1"></xs:element>
+    	</xs:sequence>
+    	<xs:attribute name="type" use="optional">
+    		<xs:simpleType>
+    			<xs:restriction base="xs:string">
+    				<xs:enumeration value="firstPassed"></xs:enumeration>
+    			</xs:restriction>
+    		</xs:simpleType>
+    	</xs:attribute>
+    </xs:complexType>
 </xs:schema>
Received on Wednesday, 2 September 2009 15:45:54 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:55:13 GMT