Page 1 of 1

xalan:evaluate compile problem

Posted: Thu Sep 14, 2006 3:36 pm
by ramkumargosling
hai,
i working in converting xsl into jar file. some files contains xalan:evalaute functions .Due to presence of this function i'm not able to compile .
i'm added the following jar files in classpath , xalan27.jar ,xsltc.jar,xerces.jar,xercesImpl.jar ,serializer.jar,xml-apis.jar

but when i try to compile i get following error
'
cannot find external error method 'org.apache.xalan.lib.Extentions.evaluate ' (must be public)

error checking type of expression 'funcall(not ,(variable-ref[opstate ,void]))


i'm dont know wheather xalan .xsltc supports this function or not?

can u please tell me any other alternate way to make it compilable file? if any other parser supports ,please let me know.

my work is stopped for this. very urgent.please.


regards,
Ramkumar.P :? :?

Posted: Thu Sep 14, 2006 5:39 pm
by jkmyoung
instead, can you use:
dyn:evaluate
xmlns:dyn="http://exslt.org/dynamic"
?

Sorry I'm not of more help.

still i getting same error

Posted: Fri Sep 15, 2006 8:48 am
by ramkumargosling
sorry ,
i tried dyn:evaluate instead of xaln:dyn , but still i 'm getting same kind of error
this time error is
The first argument to the non-static java function 'evaluate; is not not a vlaid object refernce
cannot convert data-type 'void' to 'reference'.

can anybody has any idea about this?

other wise how can i avoid using evaluate without changing functionality.

I'm really struggling in this problem

is xalan xsltc supports this function?


Regards,
P.Ramkumar

Re: still i getting same error

Posted: Fri Sep 15, 2006 11:36 am
by sorin_ristache
Hello,
ramkumargosling wrote:i'm dont know wheather xalan .xsltc supports this function or not?
ramkumargosling wrote:is xalan xsltc supports this function?
No, Xalan XSLTC does not support the evaluate function.

Regards,
Sorin