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

2006/unicorn/WebContent/WEB-INF/resources/schemas test.xml,1.1,1.2

From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 14 Oct 2009 17:32:07 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1My7hn-0007ie-Ir@lionel-hutz.w3.org>
Update of /sources/public/2006/unicorn/WebContent/WEB-INF/resources/schemas
In directory hutz:/tmp/cvs-serv29658/WebContent/WEB-INF/resources/schemas

Modified Files:
	test.xml 
Log Message:
test response document with observer-response2.xsd

Index: test.xml
===================================================================
RCS file: /sources/public/2006/unicorn/WebContent/WEB-INF/resources/schemas/test.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- test.xml	1 Oct 2009 17:58:55 -0000	1.1
+++ test.xml	14 Oct 2009 17:32:05 -0000	1.2
@@ -1,42 +1,54 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <observationresponse xmlns="http://www.w3.org/unicorn/observationresponse"
-                     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-                     xsi:schemaLocation="http://www.w3.org/unicorn/observationresponse ./observer-response2.xsd">
+      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+      xsi:schemaLocation="http://www.w3.org/unicorn/observationresponse ./observer-response2.xsd">
 
-	<passed>true</passed>
-	  
-	<rating>37</rating>
-	  
-	<list uri="http://www.w3.org/style.css">
+	<docURI>http://doc.uri</docURI>
+	<date>2009-10-14</date> <!-- Valeurs: YYYY-MM-DD -->
+
+	<status>failed</status> <!-- Valeurs: failed|passed|undef -->
+	<rating>50</rating>     <!-- Optional - Valeurs: int 0-100 -->
+	
+	<group name="group1">
+		<title>minimal group</title>
+	</group>
+	
+	<group name="group2" parent="group1">
+		<title>child group</title>
+		<description>
+			<h1 id="id" class="class">title</h1>
+			<h2></h2>
+			<h3></h3>
+			
+			<span></span>
+		
+		</description>
+	</group>
+	
+	<list ref="http://uri" group="uri-scope-group">
 		<message type="error">
-			<context line="2" column="5">color: green</context>
-			<context line="26" column="5">background-color: green</context>
-			<context line="26" column="5">color: orange</context>
-			<text>Color not supported</text>
-			<description>
-				blahqsd
-			</description>
+			<title>minimal message. 'type' attribute is one of info|warning|error</title>
 		</message>
 		
-		<message type="info">
-			<context line="2" column="5">color: green</context>
-			<context line="26" column="5">background-color: green</context>
-			<context line="26" column="5">color: orange</context>
-			<text>Color not supported</text>
-			<description>
-				blahqsd
-			</description>
+		<message type="error" ref="http://message.uri">
+			<title>message-scope uri</title>
 		</message>
 		
-		<message type="warning">
-			<context line="2" column="5">color: green</context>
-			<context line="26" column="5">background-color: green</context>
-			<context line="26" column="5">color: orange</context>
-			<text>Color not supported</text>
-			<description>
-				blahqsd
-			</description>
+		<message type="error" ref="http://message.uri">
+			<context column="1" line="2" line-range="5-8" column-range="25-58" offset="1" position="any string">context1</context>
+			<context ref="http://context.uri">context-scope uri</context>
+			<title>message</title>
 		</message>
 	</list>
-
+	
+	<group name="group3" parent="group2">
+		<title>second child</title>
+		<description>groups can be anywhere in the response</description>
+	</group>
+	
+	<message type="error" ref="http://message.uri" group="group3">
+		<title>...</title>
+		<description></description>
+	</message>
+	
 </observationresponse>
\ No newline at end of file
Received on Wednesday, 14 October 2009 17:32:11 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:39 UTC