- From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 30 Sep 2009 11:35:37 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/output
In directory hutz:/tmp/cvs-serv10917/src/org/w3c/unicorn/output
Modified Files:
SimpleOutputModule.java
Log Message:
it is the format of the default output formater that determines if the index template has to be used
Index: SimpleOutputModule.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/output/SimpleOutputModule.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- SimpleOutputModule.java 29 Sep 2009 16:07:57 -0000 1.9
+++ SimpleOutputModule.java 30 Sep 2009 11:35:35 -0000 1.10
@@ -23,7 +23,7 @@
}
public void produceError(Map<String, Object> mapOfStringObject, final Writer aWriter) {
- if (getMimeType().equals("text/html")) {
+ if (defaultOutputFormater.getFormat().equals("xhtml10")) {
displayOnIndex(mapOfStringObject, aWriter);
return;
}
Received on Wednesday, 30 September 2009 11:35:41 UTC