On Fri, 15 Dec 2000 14:56:07 -0800, "T. V. Raman" <[EMAIL PROTECTED]> 
wrote:

> I still have no luck getting it running --I'm sure it is
> something trivial with the bsh that I am overlooking.
> 
> This is under Linux --and jde works fine for me --everything
> is setup for jdebug etc etc.
> BSH buffer shows:
> 
> cd /tmp/
> java -classpath 
>/home/tvraman/emacs/lisp/site-lisp/jde/java/bsh-commands:/home/tvraman/emacs/lisp
> 
>/site-lisp/jde/java/lib/jde.jar:/home/tvraman/emacs/lisp/site-lisp/jde/java/lib/bsh.jar:/home/tvr
> 
>aman/emacs/lisp/site-lisp/xslt-process-1.0/java/xslt.jar:/usr/local/xalan/xalan.jar:/usr/local/xe
> rces/xerces.jar bsh.Interpreter
> 
> BeanShell 1.0 beta - by Pat Niemeyer ([EMAIL PROTECTED])
> bsh % 
> xalan.jar and xerces.jar are on the classpath --the xsl file
> I am testing using no extensions.
> Here is what shows up in the *Messages* buffer:
> Beanshell expression evaluation error.
>   Expression: xslt.xalan1.invoke("/tmp/foo.xml", "/tmp//xsltout24821chu");
>   Error: // Error: bsh.EvalError: bsh.EvalError: Class or variable not 
>found:xslt.xalan1 :  : xsl
> t .xalan1 .invoke ( "/tmp/foo.xml" , "/tmp//xsltout24821chu" ) 
> 
> Could not process file, most probably xalan1 could not be found!

Argh, make sure xalan1 uses a capital 'X' at the beginning, aka it should be
xslt.Xalan1 not xslt.xalan1! Try doing this in bsh:

bsh % xslt.Xalan1.invoke("/tmp/foo.xml", "/tmp/test");

It works for me, it should work for you too ;-)

Regards,
-- 
Ovidiu Predescu <[EMAIL PROTECTED]>
http://orion.nsr.hp.com/ (inside HP's firewall only)
http://www.geocities.com/SiliconValley/Monitor/7464/


Reply via email to