[ http://issues.apache.org/jira/browse/XALANJ-1847?page=all ]
Brian Minchau updated XALANJ-1847: ---------------------------------- Version: 2.6 (was: Latest Development Code) > Transform.setParameter doesn't function as an extension mecanism > ---------------------------------------------------------------- > > Key: XALANJ-1847 > URL: http://issues.apache.org/jira/browse/XALANJ-1847 > 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 > > I don't know if that can be called a bug or if it is a proposed extension, > but > this bothers me. I've tried to do pass an object by calling > myTransformer.setParameter, then in my stylesheet call a method defined in my > object, but I got a NoSuchMethodError telling me that my method didn't exist > in > java.lang.String. My guess is that params are transformed into String objects > before being passed to the stylesheet. It's annoying, because I'd like to > pass > an extension object to the stylesheet from my java code rather than having > package and class names written in the stylesheet; if I want to change the > implementation of the interface implemented by my object (which is an URL > rewriting helper), I have to change package and function names everywhere in > my > stylesheets! -- 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]