Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 24485 invoked from network); 17 Dec 2010 08:43:48 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 17 Dec 2010 08:43:48 -0000 Received: (qmail 53308 invoked by uid 500); 17 Dec 2010 08:43:47 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 53140 invoked by uid 500); 17 Dec 2010 08:43:46 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: users@cocoon.apache.org List-Id: Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 53133 invoked by uid 99); 17 Dec 2010 08:43:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Dec 2010 08:43:45 +0000 X-ASF-Spam-Status: No, hits=1.0 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of johan.cwiklinski@ajlsm.com does not designate 212.27.42.6 as permitted sender) Received: from [212.27.42.6] (HELO smtp6-g21.free.fr) (212.27.42.6) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Dec 2010 08:43:38 +0000 Received: from [192.168.123.2] (unknown [82.225.177.85]) by smtp6-g21.free.fr (Postfix) with ESMTP id 5DD1A8232F for ; Fri, 17 Dec 2010 09:43:10 +0100 (CET) Message-ID: <4D0B229D.7040908@ajlsm.com> Date: Fri, 17 Dec 2010 09:43:09 +0100 From: Johan Cwiklinski User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101210 Remi/fc14 Thunderbird/3.1.7 MIME-Version: 1.0 To: users@cocoon.apache.org Subject: Re: Switching to Saxon References: <4D0A370A.9050204@ucc.ie> In-Reply-To: <4D0A370A.9050204@ucc.ie> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Hello, Le 16/12/2010 16:58, Peter Flynn a écrit : > I just tried this, but there seems to be a lack of up-to-date details on > doing this in Cocoon 2.1.11 with saxon9. Following the assorted web > pages for earlier versions, I got as far as adding saxon9.jar to > Cocoon's WEB-INF/lib and editing the two files (commenting out the Xalan > entries): > > ----- cocoon.xconf: > > role="org.apache.excalibur.xml.xslt.XSLTProcessor/saxon" > class="org.apache.cocoon.components.xslt.TraxProcessor"> > > value="net.sf.saxon.TransformerFactoryImpl"/> > > > ----- sitemap.xmap: > > pool-min="8" logger="sitemap.transformer.xslt" > src="org.apache.cocoon.transformation.TraxTransformer"> > false > false > false > false > saxon > true > > > But then Cocoon spits out: > >> Internal Server Error >> Message: Could not find component (key [org.apache.excalibur.xml.xslt.XSLTProcessor/saxon]) >> Description: org.apache.cocoon.ProcessingException: Lookup of transformer 'xslt' failed at - file:///usr/share/tomcat5/webapps/ROOT/sitemap.xmap:1174:71 >> Sender: org.apache.cocoon.servlet.CocoonServlet >> Source: Cocoon Servlet >> >> cause >> org.apache.avalon.framework.component.ComponentException: Could not find component (key [org.apache.excalibur.xml.xslt.XSLTProcessor/saxon]) >> full exception chain stacktrace >> org.apache.cocoon.ProcessingException: Lookup of transformer 'xslt' failed >> at - file:///usr/share/tomcat5/webapps/ROOT/sitemap.xmap:1174:71 >> at org.apache.cocoon.ProcessingException.throwLocated(ProcessingException.java:113) > > What is it actually looking for when it says > org.apache.excalibur.xml.xslt.XSLTProcessor/saxon? I have no idea what > or where "org.apache.excalibur.xml.xslt.XSLTProcessor" points to (I'm > sure it's possible to find out, but I'm not a Java programmer :-) > > ///Peter > Here is our configuration: cocoon.xconf: sitemap.xmap: false false false saxon8 true Hope that could help you :) Regards, -- Johan Cwiklinski AJLSM --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org