Hi all.
I try to use Xalan Java 2.2.D11 to test its perfs with TRANSLETS, for the
first time, and I have trouble with it.
I have no difficulty to create a JAR file with my translet, that way :

$ java -cp
./xalan14/xerces.jar:./xalan14/xalan.jar:./xalan14/xsltc.jar:./xalan
14/runtime.jar:./xalan14/BCEL.jar org.apache.xalan.xsltc.compiler.XSLTC -j
phonexml.jar -o phonexml phonexml.xsl

but I can't run a command-line transformation that way :

$ java -cp
./xalan14/xerces.jar:./xalan14/xalan.jar:./xalan14/xsltc.jar:./xalan
14/runtime.jar:./xalan14/BCEL.jar:./phonexml.jar
org.apache.xalan.xsltc.runtime .DefaultRun phonexml.xml phonexml

because XSLTC throw an exception that I haven't see referenced nowhere in
that context :

Exception in thread "main" java.lang.VerifyError: (class: phonexml, method:
applyTemplates signature:
(Lorg/apache/xalan/xsltc/DOM;Lorg/apache/xalan/xsltc/NodeIterator;Lorg/apach
e/xalan/xsltc/TransletOutputHandler;)V) Expecting to find object/array on
stack
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:124)
        at
org.apache.xalan.xsltc.runtime.DefaultRun.doTransform(DefaultRun.java:127)
        at
org.apache.xalan.xsltc.runtime.DefaultRun.main(DefaultRun.java:312)

Same result with various XML and XSL files, on various platforms (Win 2000
and Linux).
The Java versions are 1.2.2 :
Linux :
java version "1.2.2"
Classic VM (build JDK-1.2.2_008, green threads, nojit)

Win 2000 :
java version "1.2.2"
Classic VM (build JDK-1.2.2-W, native threads, symcjit)

Anyone has a solution or a clue ?

NB : let me know if this english version is not comprehensible :-) 

Cordialement,
--
Beno�t BAILLEUX - France T�l�com R&D
[EMAIL PROTECTED]
T�l. : 02 31 75 91 62

Reply via email to