Hello anyone.

Is someone using XSLTC? I´ve compiled a simple xsl file into a java class using xsltc, 
with the following command line....

java com.sun.xslt.compiler.XSLTC myStyleSheet.xsl

It compiles ok and generates myStyleSheet.class, but when i run it with the cmd line 

java com.sun.xslt.runtime.DefaultRun myXML.xml myStyleSheet

it returns the following error:

Exception in thread "main" java.lang.NoSuchFieldError: namespaceArray
        at myStyleSheet.<init>()
        at java.lang.Class.newInstance0(Native Method)
        at java.lang.Class.newInstance(Class.java:237)
        at com.sun.xslt.runtime.DefaultRun.doTransform(DefaultRun.java:93)
        at com.sun.xslt.runtime.DefaultRun.main(DefaultRun.java:194)

Does someone know what is happening? Any tip? I am using xalan 2.1 with jdk 1.3. 
Doesn´t xsltc work with earlier versions of Xalan?
Thanks

Reply via email to