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

2006/unicorn/WebContent/WEB-INF/conf route.xml,1.1.2.1,1.1.2.2

From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 05 Aug 2009 16:17:15 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1MYjAx-0000Cq-5B@lionel-hutz.w3.org>
Update of /sources/public/2006/unicorn/WebContent/WEB-INF/conf
In directory hutz:/tmp/cvs-serv736/WebContent/WEB-INF/conf

Modified Files:
      Tag: dev2
	route.xml 
Log Message:
route.xml modified

Index: route.xml
===================================================================
RCS file: /sources/public/2006/unicorn/WebContent/WEB-INF/conf/Attic/route.xml,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -d -r1.1.2.1 -r1.1.2.2
--- route.xml	5 Aug 2009 13:32:36 -0000	1.1.2.1
+++ route.xml	5 Aug 2009 16:17:13 -0000	1.1.2.2
@@ -1,23 +1,25 @@
-<routes>
-	<route>
-		<action-type>forward</action-type>
-		<action-class>org.w3c.unicorn.action.IndexAction</action-class>
-		<pattern>/</pattern>
-		<pattern></pattern>
-	</route>
+<?xml version="1.0" encoding="UTF-8" ?>
+<routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+		xsi:schemaLocation="http://www.w3.org/unicorn/route ../schemas/route.xsd"
+		xmlns="http://www.w3.org/unicorn/route">
+		
 	<route>
-		<action-type>forward</action-type>
-		<action-class>org.w3c.unicorn.action.ObserveAction</action-class>
 		<pattern>/observe</pattern>
 		<pattern>/validate</pattern>
+		<action>org.w3c.unicorn.action.ObserveAction</action>
 	</route>
+	
 	<route>
-		<action-type>redirect</action-type>
-		<redirect-url>http://www.google.com</redirect-url>
 		<pattern>/google</pattern>
+		<url>http://www.google.com</url>
 	</route>
-	<default>
-		<action-type>forward</action-type>
-		<action-class>org.w3c.unicorn.action.Error404Action</action-class>
-	</default>
+	
+	<index>
+		<action>org.w3c.unicorn.action.IndexAction</action>
+	</index>
+	
+	<error404>
+		<action>org.w3c.unicorn.action.Error404Action</action>
+	</error404>
+
 </routes>
\ No newline at end of file
Received on Wednesday, 5 August 2009 16:17:32 UTC

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