[jdom-interest] Xalan 2 and JDOM b7

Peter Schmidt Peter.Schmidt at adv.sonybpe.com
Mon Jul 16 07:43:45 PDT 2001


Hi:
I downloaded JDOM b7 recently and tried to make it work with Xalan 2
(version 2.1.0) (as Xalan 1 is no longer supported!). The xerces versions I
used were the ones used with Xalan and JDOM, but the problem occured in both
instances.
The error messages returned are:


java.lang.NoSuchMethodError 	at
org.apache.xalan.templates.ElemValueOf.execute(ElemValueOf.java:272) 	at
org.apache.xalan.templates.ElemForEach.transformSelectedNodes(ElemForEach.ja
va:499) 	at
org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.jav
a:193) 	at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform
erImpl.java:2251) 	at
org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(Transformer
Impl.java:2134) 	at
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.j
ava:1246) 	at
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3070)
at java.lang.Thread.run(Thread.java:484)


The problem also occurs, when I use the xalan version delivered with JDOM.

When running the stylesheet via command line (java -cp xalan.jar Process -IN
....)
it works fine. It also works when compiling the program with Xalan 2 and
JDOM b6!.

Has anybody encoutered something simliar lately?



Peter



*************************************************************************
The information contained in this message or any of its
attachments may be privileged and confidential and intended 
for the exclusive use of the addressee. If you are not the
addressee any disclosure, reproduction, distribution or other
dissemination or use of this communication is strictly prohibited
**************************************************************************



More information about the jdom-interest mailing list