I am attempting to move a webapp from Tomcat 3.3 to Tomcat 4.0.1 and when I 
access any of my XSL-driven pages I am getting the following error :

java.lang.NoSuchMethodError at 
org.apache.xalan.templates.ElemValueOf.execute(ElemValueOf.java:272) at 
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2251)
 
at 
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:637) 
at 
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2251)
 
at 
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:637) 
at 
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2251)
 
at 
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:637) 
at 
org.apache.xalan.templates.ElemForEach.transformSelectedNodes(ElemForEach.java:499) 
at 
org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:193) 
at 
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2251)
 
at 
org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2134)
 
at 
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1246) 
at 
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:504) 
at 
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1174) 


Now line 272 of  ElemValueOf.java in the version of xalan I am using is the 
following :

         if (child.isSupported(SaxEventDispatch.SUPPORTSINTERFACE, "1.0")) {...

where the variable child is of type org.w3c.dom.Node where it says that 
isSupported is a DOM level 2 function. (Note that the Node class exists in 
xalan.jar.)
I tried the suggestion in the doco about moving xerces.jar from common/lib 
to server/lib to no avail.

The setup is a clean Tomcat 4.0.1 and 3.3 install on NT2000 using Sun's 
JDK1.3.1 and the webapp works fine on 3.3 but not 4.0.1.

Anyone have any suggestions ?

Thanks in advance

Robert


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to