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

2006/unicorn/src/org/w3c/unicorn/output MailOutputModule.java,1.12,1.13

From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
Date: Mon, 05 Oct 2009 13:04:54 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1MunFG-0006SD-81@lionel-hutz.w3.org>
Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/output
In directory hutz:/tmp/cvs-serv24793/src/org/w3c/unicorn/output

Modified Files:
	MailOutputModule.java 
Log Message:
produceError : checks the format instead of the mimetype

Index: MailOutputModule.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/output/MailOutputModule.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- MailOutputModule.java	30 Sep 2009 13:36:15 -0000	1.12
+++ MailOutputModule.java	5 Oct 2009 13:04:52 -0000	1.13
@@ -155,7 +155,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 Monday, 5 October 2009 13:04:55 UTC

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