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

2006/unicorn/src/org/w3c/unicorn/output XMLOutputFormater.java,1.8,1.9

From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
Date: Thu, 22 Oct 2009 14:59:53 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1N0z8r-0008Ka-Q4@lionel-hutz.w3.org>
Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/output
In directory hutz:/tmp/cvs-serv31994/src/org/w3c/unicorn/output

Modified Files:
	XMLOutputFormater.java 
Log Message:
XHTMLize is not needed anymore, escaping is done inside the templates only where needed with Escape Velocity Tool

Index: XMLOutputFormater.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/output/XMLOutputFormater.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- XMLOutputFormater.java	9 Oct 2009 06:46:40 -0000	1.8
+++ XMLOutputFormater.java	22 Oct 2009 14:59:51 -0000	1.9
@@ -4,9 +4,6 @@
 // Please first read the full copyright statement in file COPYRIGHT.html
 package org.w3c.unicorn.output;
 
-import org.apache.velocity.app.event.EventCartridge;
-import org.w3c.unicorn.util.XHTMLize;
-
 /**
  * Class for XML output formater.
  * 
@@ -19,9 +16,9 @@
 		super(format, lang, mimeType);
 		
 		// Replace tag objects (A, Img, ...) with their XHTML representation
-		final EventCartridge aEventCartridge = new EventCartridge();
-		aEventCartridge.addEventHandler(new XHTMLize());
-		aEventCartridge.attachToContext(aVelocityContext);
+		//final EventCartridge aEventCartridge = new EventCartridge();
+		//aEventCartridge.addEventHandler(new XHTMLize());
+		//aEventCartridge.attachToContext(aVelocityContext);
 	}
 
 }
\ No newline at end of file
Received on Thursday, 22 October 2009 14:59:55 UTC

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