[ http://issues.apache.org/jira/browse/XALANJ-1848?page=all ]
Brian Minchau updated XALANJ-1848: ---------------------------------- Version: 2.6 (was: Latest Development Code) > Extension doesn't work on inner classes > --------------------------------------- > > Key: XALANJ-1848 > URL: http://issues.apache.org/jira/browse/XALANJ-1848 > Project: XalanJ2 > Type: Bug > Components: Xalan-extensions > Versions: 2.6 > Environment: Operating System: All > Platform: All > Reporter: François Lemaire > Assignee: Xalan Developers Mailing List > Priority: Minor > > I've tried to use an inner class as an extension object like this: > <xsl:stylesheet > > xmlns:urlMaker="com.activsoft.engine.redirection.StandardRedirectionServlet$Stan > dardUrlMaker" > xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > extension-element-prefixes="urlMaker" > exclude-result-prefixes="urlMaker" > version="1.0"> > ... > <xsl:variable name="urlMaker" select="urlMaker:new($root)"/> > ... > </xsl:stylesheet> > I get a NoSuchMethodError telling me that it cannot find a constructor for > com.activsoft.engine.redirection.StandardRedirectionServlet$StandardUrlMaker > with ExtensionContext and String as parameters, though they exist. I've > turned > my inner class into a class, and it works. Am I doing something wrong or is > it > a bug? -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]