On Fri, 15 Dec 2000 13:48:16 -0500 (EST), "David J. Biesack" 
<[EMAIL PROTECTED]> wrote:

> > Date: Fri, 15 Dec 2000 10:15:29 -0800
> > Cc: Ovidiu Predescu <[EMAIL PROTECTED]>, [EMAIL PROTECTED],
> >         [EMAIL PROTECTED], [EMAIL PROTECTED]
> > From: "T. V. Raman" <[EMAIL PROTECTED]>
> > 
> > I pulled and tried xslt-process on Emacs 20.6 using Xalan.
> > 
> > There are a few problems:
> > 
> > 1) messages never make it into the *xslt-messages* or
> > *xslt-output* buffers.
> > 
> > 
> > Worse, the things barfs with a message about xalan not being
> > found 
> > even though I have xalan.jar and xerces.jar on the relevant
> > classpath -- I'm attaching what shows up in the *Messages*
> > buffer which indicates that for some reason it is not
> > finding its own xslt.Xalan1 class.
> > 
> > As you can see the xslt.jar 
> > file is in the classpath to bsh --
> > but for some reason bsh doesn't appear to like it.
> > 
> > I tried running bsh by hand from a shell with the
> > appropriate classpath to see if I had some emacs dependency
> > --but I got the same errors 
> > I'll simply attach the bsh invocation line and the error bsh
> > gave--
> > 10:06:15 raman tvraman $ java -classpath 
>"/home/tvraman/emacs/lisp/site-lisp/jde/java/bsh-comma
> 
>nds:/home/tvraman/emacs/lisp/site-lisp/jde/java/lib/jde.jar:/home/tvraman/emacs/lisp/site-lisp/jd
> 
>e/java/lib/bsh.jar:/home/tvraman/java/src:/home/tvraman/emacs/lisp/site-lisp/xslt-process-1.0/jav
> a/xslt.jar"  bsh.Interpreter
> 
> You need a ';' before 
>c:/home/tvraman/emacs/lisp/site-lisp/xslt-process-1.0/java/xslt.jar
> in your classpath.

This is a good point, what is the platform you're running on? If you're on
Windows you should probably use ';' instead of ':' to separate between elements
in the classpath.

Also in your classpath I don't see xalan.jar in your classpath. Make sure you
add xalan.jar and xerces.jar in your CLASSPATH environment variable. You may
also want to add bsf.jar/bsfengines.jar if you're using Xalan extension
functions.

> > BeanShell 1.0 beta - by Pat Niemeyer ([EMAIL PROTECTED])
> > bsh % xalan1.invoke("/tmp/foo.xml", "/tmp//xsltout17395LF2");
> > // Error: bsh.EvalError: bsh.EvalError: Method invocation on void: xalan1.invoke : 
> : xalan1 .i
> nvoke ( "/tmp/foo.xml" , "/tmp//xsltout17395LF2" ) 
> > bsh % import xslt.Xalan1;

I've seen this error before ("Method invocation on void: ..."). I'm not sure
what is causing it, but for me it works just fine if I have everything setup in
the classpath.


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