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

2006/unicorn/src/org/w3c/unicorn/output SimpleOutputModule.java,1.9,1.10

From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 30 Sep 2009 11:35:37 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1MsxT7-0002qN-Ky@lionel-hutz.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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:55:14 GMT