Got it!

The problem (as seems to be always the case in recent times
in my case)
is Custom bites again!!

I had set xslt-process-default-processor by hand to (list
'xalan1)
--fixing the case of x in the above fixed the problem.
>>>>> "Ovidiu" == Ovidiu Predescu <[EMAIL PROTECTED]> writes:

    Ovidiu> On Fri, 15 Dec 2000 14:56:07 -0800,
    Ovidiu> "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!

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

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

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

    Ovidiu> Regards, -- Ovidiu Predescu <[EMAIL PROTECTED]>
    Ovidiu> http://orion.nsr.hp.com/ (inside HP's firewall
    Ovidiu> only)
    Ovidiu> http://www.geocities.com/SiliconValley/Monitor/7464/
-E+jf 
zǚGf-๨M!h'>'{^4ݻۭ<uO=۽a&j)mj{eZm,rzY^vgi,rzY^vgڙڱħj)H%^y܄'AڮRjrhym

Reply via email to