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

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