DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=28120>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=28120 Transform.setParameter doesn't function as an extension mecanism Summary: Transform.setParameter doesn't function as an extension mecanism Product: XalanJ2 Version: CurrentCVS Platform: All OS/Version: All Status: NEW Severity: Normal Priority: Other Component: org.apache.xalan.extensions AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] 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!
