Hi.

I'm hoping to speed up XSL Transformations by using XSLTC Translets, and
I've
managed to compile XSLT files into translets. So far so good.

However, when I attempt to use these translets (using the examples on
the Xalan-J webpages), a java.lang.IncompatibleClassChangeError is
thrown. 
It seems to be thrown when loading the inner class generated by
the XSLTC.

Stack trace as copied from the VAJ debugger:
Thread[main,5,main] (Alive): Uncaught exception
(java.lang.IncompatibleClassChangeError)
    Class.newInstance0()
    Class.newInstance()
    NodeSortRecordFactory.makeNodeSortRecord(int, int)
    SortingIterator.setStartNode(int)
    bar.applyTemplates(DOM, NodeIterator, TransletOutputHandler)
    bar.transform(DOM, NodeIterator, TransletOutputHandler)
    bar(AbstractTranslet).transform(DOM, TransletOutputHandler)
    TransformerImpl.transform(Source, ContentHandler, String)
    TransformerImpl.transform(Source, Result)
    XSLTCTest2.main(String [])

'bar' is the name of the class that was generated by the XSLTC (from the
file 'bar.xsl').

My setup is as follows:
  IBM Visual Age for Java 3.5.3
  JDK 1.2.2
  Xalan 2.3.1 (I've also tried 2.1.0, with the same error)
  Xerces 1.3.1
  JAXP 1.1
  W3C DOM 2.1.0
  SAX 2.0

I'll be happy to provide additional information.
Any suggestions to what I can do to solve my problem?

Thanks,
Vetle Roeim
Developer, enonic.com

  

Reply via email to