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

2006/unicorn/src/org/w3c/unicorn/output XMLOutputFormater.java,1.1.2.4,1.1.2.5

From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
Date: Thu, 27 Aug 2009 12:17:57 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1MgdvR-0002uO-RV@lionel-hutz.w3.org>
Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/output
In directory hutz:/tmp/cvs-serv11150/src/org/w3c/unicorn/output

Modified Files:
      Tag: dev2
	XMLOutputFormater.java 
Log Message:
updated import declarations


Index: XMLOutputFormater.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/output/Attic/XMLOutputFormater.java,v
retrieving revision 1.1.2.4
retrieving revision 1.1.2.5
diff -u -d -r1.1.2.4 -r1.1.2.5
--- XMLOutputFormater.java	25 Aug 2009 08:49:49 -0000	1.1.2.4
+++ XMLOutputFormater.java	27 Aug 2009 12:17:55 -0000	1.1.2.5
@@ -15,8 +15,10 @@
 import org.apache.velocity.exception.ParseErrorException;
 import org.apache.velocity.exception.ResourceNotFoundException;
 import org.w3c.unicorn.Framework;
+import org.w3c.unicorn.util.EscapeXMLEntities;
 import org.w3c.unicorn.util.Property;
 import org.w3c.unicorn.util.Templates;
+import org.w3c.unicorn.util.XHTMLize;
 
 /**
  * Class for XML output formater.
@@ -62,6 +64,7 @@
 		if (Framework.getLanguageContexts().get(sLang) != null) {
 			aVelocityContext = new VelocityContext(Framework.getLanguageContexts().get(sLang));
 		} else {
+			logger.debug("Context for " + sLang + " doesn't exist.");
 			aVelocityContext = new VelocityContext(Framework.getLanguageContexts().get(Property.get("DEFAULT_LANGUAGE")));
 		}
 	}
Received on Thursday, 27 August 2009 12:18:07 UTC

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