- From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 27 Aug 2009 12:17:57 +0000
- To: www-validator-cvs@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