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

Update of /sources/public/2006/unicorn/WebContent/WEB-INF/resources/schemas
In directory hutz:/tmp/cvs-serv5848/WebContent/WEB-INF/resources/schemas

Modified Files:
	observer-response.xsd 
Log Message:
added 'rating' markup, non mandatory, between 0 and 100

Index: observer-response.xsd
===================================================================
RCS file: /sources/public/2006/unicorn/WebContent/WEB-INF/resources/schemas/observer-response.xsd,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- observer-response.xsd	14 Sep 2009 11:48:50 -0000	1.3
+++ observer-response.xsd	18 Sep 2009 15:16:24 -0000	1.4
@@ -10,18 +10,26 @@
   <xs:element name="observationresponse">
     <xs:complexType>
       <xs:sequence>
-        <!-- URI of the document checked-->
-        <xs:element ref="m:uri" minOccurs="0" maxOccurs="1"/>
-        <!-- URI of the observer -->
-        <xs:element ref="m:callingUri"  minOccurs="0"/>
-        <!-- "Version" of the document. For example CSS 2, XHTML 1.0 Strict, ... -->
-        <xs:element ref="m:version" minOccurs="0"/>
-        <!-- Observation date-->
-        <xs:element ref="m:date"  minOccurs="0"/>
-        <!-- used for conformance checks -->
-        <xs:element ref="m:passed" minOccurs="0"/>
-        <!-- Result of the observation -->
-        <xs:element ref="m:result"/>
+      	<!-- URI of the document checked-->
+      	<xs:element ref="m:uri" minOccurs="0" maxOccurs="1" />
+      	<!-- URI of the observer -->
+      	<xs:element ref="m:callingUri" minOccurs="0" />
+      	<!-- "Version" of the document. For example CSS 2, XHTML 1.0 Strict, ... -->
+      	<xs:element ref="m:version" minOccurs="0" />
+      	<!-- Observation date-->
+      	<xs:element ref="m:date" minOccurs="0" />
+      	<!-- used for conformance checks -->
+      	<xs:element ref="m:passed" minOccurs="0" />
+      	<!-- Result of the observation -->
+      	<xs:element ref="m:result" />
+      	<xs:element name="rating" minOccurs="0" maxOccurs="1">
+      		<xs:simpleType>
+      			<xs:restriction base="xs:int">
+      				<xs:minExclusive value="0"></xs:minExclusive>
+      				<xs:maxExclusive value="100"></xs:maxExclusive>
+      			</xs:restriction>
+      		</xs:simpleType>
+      	</xs:element>
       </xs:sequence>
     </xs:complexType>
   </xs:element>

Received on Friday, 18 September 2009 15:16:35 UTC