A few minor corrections to XSLT rendering engine code discovered while writing the related wiki page

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19685 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Brian Remmington
2010-03-31 08:19:30 +00:00
parent dd47d11ea7
commit 4f9f63ac01
4 changed files with 17 additions and 24 deletions

View File

@@ -52,6 +52,8 @@ import org.xml.sax.SAXException;
*/
public class XSLTRenderingEngine extends BaseTemplateRenderingEngine
{
public static final String NAME = "xsltRenderingEngine";
private static final Log log = LogFactory.getLog(XSLTRenderingEngine.class);
private XSLTFunctions xsltFunctions;
@@ -138,7 +140,7 @@ public class XSLTRenderingEngine extends BaseTemplateRenderingEngine
}
catch (Exception ex)
{
log.warn("Received an exception from parseXMLDocument()", ex);
}
return d == null ? null : d.getDocumentElement();
}