2006/unicorn/org/w3c/unicorn/tests FirstServlet.java,1.7,1.8

Update of /sources/public/2006/unicorn/org/w3c/unicorn/tests
In directory hutz:/tmp/cvs-serv15856/org/w3c/unicorn/tests

Modified Files:
	FirstServlet.java 
Log Message:
simplified observationresponse and generalize output format (now we can map a format type what defnied in the contract to a ResponseParser)

Index: FirstServlet.java
===================================================================
RCS file: /sources/public/2006/unicorn/org/w3c/unicorn/tests/FirstServlet.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- FirstServlet.java	12 Feb 2008 15:23:29 -0000	1.7
+++ FirstServlet.java	20 Feb 2008 15:45:29 -0000	1.8
@@ -122,7 +122,7 @@
 		final Map<String, String[]> mapOfSpecificParameter = new Hashtable<String, String[]>();
 		final Map<String, String> mapOfOutputParameter = new Hashtable<String, String>();
 		mapOfOutputParameter.put("output", "simple");
-		mapOfOutputParameter.put("format", "xhtml10");
+		mapOfOutputParameter.put("format", "xhtml20");
 		mapOfOutputParameter.put("charset", "UTF-8");
 		mapOfOutputParameter.put("mimetype", "text/html");
 		
@@ -222,7 +222,7 @@
 		// Variables related to the output
 		final Map<String, String> mapOfOutputParameter = new Hashtable<String, String>();
 		mapOfOutputParameter.put("output", "simple");
-		mapOfOutputParameter.put("format", "xhtml10");
+		mapOfOutputParameter.put("format", "xhtml20");
 		mapOfOutputParameter.put("charset", "UTF-8");
 		mapOfOutputParameter.put("mimetype", "text/html");
 		

Received on Wednesday, 20 February 2008 15:45:36 UTC