You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xalan.apache.org by Andy Kriger <ko...@earthlink.net> on 2002/02/17 09:18:11 UTC

strange error with Xalan, PipeDocument extension and JDK1.4.0

i am trying to use the PipeDocument extension. i have a simple XSL file that
calls 3 other XSL files. i run Xalan from the cmd line using JDK1.4.0...
java org.apache.xalan.xslt.Process -xsl pipe.xsl -param source in.xml -param
target out.html

and i get this error...
java.lang.ClassNotFoundException:
org/apache/xml/dtm/ref/IncrementalSAXSource_Xerces
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:130)
        at
org.apache.xml.dtm.ref.DTMManagerDefault.getDTM(DTMManagerDefault.java:269)
        at
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:
630)
        at
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:
1088)
        at
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:
1066)
        at org.apache.xalan.xslt.Process.main(Process.java:876)

however, the file does output correctly. i am able to use the JWhich utility
(finds files on your classpath - search JavaWorld for more info) and the
class is definitely there and visible to the JVM. if i use JDK1.3.0_01, i do
not see this error.

wondering if anyone has seen this and maybe has a simple workaround (i'm
guessing a conflict with the new XML packages in JDK1.4.0)?

thx
a