Martin Gainty wrote:
I just did a quick build with 2.0.1 and got
2006-12-24 18:40:10,718 ERROR [XSLTResult.java:289] : Unable to render XSLT 
Template, 'nofile.xsl'
javax.xml.transform.TransformerException: Stylesheet nofile.xsl not found in 
resources

Found in: org.apache.struts2.views.xslt.XSLTResultTest

    public void testNoFileFound() throws Exception {
        try {
            result.setParse(false);
            result.setLocation("nofile.xsl");
            result.execute(mai);
            fail("Should have thrown a TransformerException");
        } catch (TransformerException e) {
            // success
        }
    }

Looks like that exception was supposed to get thrown, but it should also have gotten caught...

-Dale

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to