[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Javascript in Xsl using-Xalan-Problem

Subject: Javascript in Xsl using-Xalan-Problem
From: Angeshwar Deepak <angeshwar@xxxxxxxxx>
Date: Sat, 5 Jun 2004 06:31:21 -0700 (PDT)
xalan javascript
Hi,

i have posted the same question a couple of times, but
could not get any reply, hope I am more clear with my
question this time.

I have a XSL file which has javascript embedded. I am
using xalan parser. I have 

xalan.jar
xercesImpl.jar
bsf.jar
xml-apis.jar
js.jar

files in clsspath,(all latest version), java version
is 1.4. 

I also have the following 2 files in the path

bsfactivescriptengine.dll
msvcp60.dll

I use the command

java org.apache.xalan.xslt.Process -in
C:\may27\xalan2.xml -xsl C:\may27\xalan2.xslt -out
C:\may27\xalan2.html

The xmla and xsl files that I use are the ones present
in the 
http://xml.apache.org/xalan-j/ site.

But I get the error

java.lang.reflect.InvocationTargetException:
com.ibm.bsf.BSFException: JavaScript Error: Internal
Error: java.
lang.IllegalArgumentException: Line number can not be
negative:-1

Can any one help me in identifying the problem.

bye,
with regards,
Deepak.


	
		
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.