[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] NullPointerException with JavaScript in xsl
Hi, I am trying to use some custom JavaScript functions in an XSL stylesheet. I have been unable to get it to work at all. I have downloaded Xalan 2.6.0 and put xalan.jar, xercesImpl.jar, and xml-apis.jar in <java-root>\lib\endorsed. I placed bsf.jar from Xalan in the classpath along with js.jar from Rhino 1_5R5. I am running java 1.4.1_02. Executing a transform from the command line gives me: XSLT Error (javax.xml.transform.TransformerException): java.lang.NullPointerException Some interesting things in the stack trace are: Caused by: com.ibm.bsf.BSFException: JavaScript Error: Internal Error: java.lang.IllegalArgumentException: Line number can not be negative:-1 Caused by: java.lang.reflect.InvocationTargetException Caused by: javax.xml.transform.TransformerException: Could not compile extension Any help regarding this matter Thanks, with regards, Deepak. __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|