Hello, I just tried installing the default Cocoon 2.1.8, and I noticed an error in the forms samples:
http://localhost:8888/samples/blocks/forms/do-fileExplorer.flow An error has occured java.lang.NoSuchMethodError: javax.xml.transform.dom.DOMResult.getNextSibling()Lorg/w3c/dom/Node; Cocoon stacktrace[hide] Error calling flowscript function do_fileExplorer resource://org/apache/cocoon/forms/flow/javascript/Form.js - 47:-1 context://samples/blocks/forms/flow/imagemap.js - 18:-1 context://samples/blocks/forms/sitemap.xmap - 172:37 <map:call> context://samples/blocks/sitemap.xmap - 66:68 <map:mount> context://samples/sitemap.xmap - 201:65 <map:mount> context://sitemap.xmap - 890:66 <map:mount> Java stacktrace[hide] java.lang.NoSuchMethodError: javax.xml.transform.dom.DOMResult.getNextSibling()Lorg/w3c/dom/Node; at org.apache.xalan.transformer.TransformerIdentityImpl.createResultContentHandler(TransformerIdentityImpl.java:199) at org.apache.xalan.transformer.TransformerIdentityImpl.setDocumentLocator(TransformerIdentityImpl.java:880) at org.apache.cocoon.xml.AbstractXMLPipe.setDocumentLocator(AbstractXMLPipe.java:39) at org.apache.cocoon.util.location.LocationAttributes$Pipe.setDocumentLocator(LocationAttributes.java:303) at org.apache.xerces.parsers.AbstractSAXParser.startDocument(Unknown Source) at org.apache.xerces.impl.dtd.XMLDTDValidator.startDocument(Unknown Source) at org.apache.xerces.impl.XMLDocumentScannerImpl.startEntity(Unknown Source) at org.apache.xerces.impl.XMLVersionDetector.startDocumentParsing(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.excalibur.xml.impl.JaxpParser.parse(JaxpParser.java:315) at org.apache.excalibur.xml.impl.JaxpParser.parse(JaxpParser.java:334) at org.apache.cocoon.forms.util.DomHelper.parse(DomHelper.java:308) at org.apache.cocoon.forms.DefaultFormManager.getFormDefinition(DefaultFormManager.java:160) at org.apache.cocoon.forms.DefaultFormManager.createForm(DefaultFormManager.java:109) When setting the Cocoon servlet to ParanoidCocoonServlet in web.xml, the problem disappears. java version "1.4.2-p7" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-p7-jbq_12_feb_2005_22_55) Java HotSpot(TM) Client VM (build 1.4.2-p7-jbq_12_feb_2005_22_55, mixed mode) FreeBSD 5.3-RELEASE Any idea how to make Cocoon foolproof wrt Xalan JDK jar hell? Couldn't we ship with ParanoidCocoonServlet by default? -- Jean-Baptiste Quenot Systèmes d'Information ANYWARE TECHNOLOGIES Tel : +33 (0)5 61 00 52 90 Fax : +33 (0)5 61 00 51 46 http://www.anyware-tech.com/
