- From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 24 Sep 2009 17:40:46 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/action In directory hutz:/tmp/cvs-serv28816/src/org/w3c/unicorn/action Modified Files: ObserveAction.java Log Message: adds baseUri to the context to avoid markup warnings + calls unicornCall.check() before trying to output something Index: ObserveAction.java =================================================================== RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/action/ObserveAction.java,v retrieving revision 1.42 retrieving revision 1.43 diff -u -d -r1.42 -r1.43 --- ObserveAction.java 24 Sep 2009 15:34:35 -0000 1.42 +++ ObserveAction.java 24 Sep 2009 17:40:44 -0000 1.43 @@ -1,5 +1,5 @@ // $Id$ -// Author: Jean-Guilhem Rouel +// Author: Jean-Guilhem Rouel & Thomas GAMBET // (c) COPYRIGHT MIT, ERCIM and Keio, 2006. // Please first read the full copyright statement in file COPYRIGHT.html package org.w3c.unicorn.action; @@ -106,6 +106,7 @@ // messages is the ArrayList containing the messages to display mapOfStringObject.put("messages", messages); mapOfStringObject.put("unicorncall", aUnicornCall); + mapOfStringObject.put("baseUri", "./"); resp.setContentType(mapOfOutputParameter.get("mimetype") + "; charset=UTF-8"); @@ -259,6 +260,7 @@ // Launch the observation try { + aUnicornCall.check(); aOutputModule.produceFirstOutput(mapOfStringObject, resp.getWriter()); aUnicornCall.doTask(); messages.addAll(aUnicornCall.getMessages());
Received on Thursday, 24 September 2009 17:40:56 UTC