Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 35191 invoked from network); 23 Jul 2009 01:36:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 23 Jul 2009 01:36:28 -0000 Received: (qmail 76390 invoked by uid 500); 23 Jul 2009 01:37:32 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 76310 invoked by uid 500); 23 Jul 2009 01:37:32 -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 76302 invoked by uid 99); 23 Jul 2009 01:37:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jul 2009 01:37:32 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of michael.jinks@gmail.com designates 209.85.217.219 as permitted sender) Received: from [209.85.217.219] (HELO mail-gx0-f219.google.com) (209.85.217.219) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jul 2009 01:37:22 +0000 Received: by gxk19 with SMTP id 19so1080024gxk.18 for ; Wed, 22 Jul 2009 18:37:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=3PoSNCciCE1ms+ynerJGGJvrHZL6Nl/NWpJM047xHio=; b=OspyoK1JL/tVmmYmz7m/wzZr+1NEk56kN8SuoZDoGk+CTJeTc1dsCGAGKWgV6fvoKn Dsmsk7eCuu/HQ4sVrQCCiiwfP4HXA5O/Q1/V8vZuN+YKMi6BZFdNJyJ9MKnRnnt0DlgB gI6Zx0aXEUQTKpl2HnnE33K0Yjuz+DoDMQL+0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=IEckqxHDi3oUXplOqn3fKKFenG6KXs1x65tMXdeJWEtM1jvXz/O1ZbUiYqtkbXvq5v NPirPO2f0gc708oDc+MF5SHMFOaTNZVIaY2mNY3yeLlZ88qgDUNqzZY8HnfjWKmN9DNI Bbcui+hPXYonD2Mv64F8dJKAHPFsS+BsBT+p4= MIME-Version: 1.0 Received: by 10.151.38.19 with SMTP id q19mr1963033ybj.108.1248313021828; Wed, 22 Jul 2009 18:37:01 -0700 (PDT) Date: Wed, 22 Jul 2009 20:37:01 -0500 Message-ID: Subject: clueless newbie attempting Saxon, xslt2 From: Michael Jinks To: users@cocoon.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I'm a Unix admin who's been asked to set up Cocoon+Saxon9 on Tomcat, without knowing much at all about any of the above, so this is a pretty clueless plea for help. After a lot of flailing with documentation aimed at people using Maven/Jetty, I found and followed some kind soul's instructions, here: http://hcmc.uvic.ca/blogs/index.php?blog=11&p=2595&more=1&c=1&tb=1&pb=1 (Click through the redirect defeat message if you want to see the crib sheet I'm working from.) I have Saxon 9 built, and its .jar files copied into the Cocoon WEB-INF/lib directory. I have the user's application (is that the right term? directory full of of .xsl files, couple of .css and .xml files, and a sitemap.xmap) copied into a subdirectory under the Cocoon root, currently named "xslt2-test". Their sitemap.xmap file consists of a lot of sections that look like this one: Trying to browse to the root of that directory yields an error: org.apache.avalon.framework.configuration.ConfigurationException: Type 'xslt2' is not defined for 'transform' at file:///var/lib/tomcat-5.5/webapps/cocoon/xslt2-test/sitemap.xmap:13:61 context://xslt2-test/sitemap.xmap - 13:61 Time for more flailing: I did a find/grep looking for (type="xslt2") anywhere under the cocoon directory and didn't find anything, but I did find some references to (type="xslt"), so I tried a search-and-replace in the user's sitemap.xmap, changing all instances of type="xslt2" to type="xslt". That, at least, changed the error: org.apache.cocoon.ResourceNotFoundException: No pipeline matched request: xslt2-test/ - context://sitemap.xmap - 1067:92 ...but when I google for the "no pipeline matched" error it seems like a very general thing, and I don't have any idea where to go next in debugging this. Is there some general set of instructions, maybe, for getting XSLT2 working under Cocoon/Saxon9 (ideally on Tomcat)? I thought that the whole point behind Saxon was to process XSLT2, so maybe I don't really have Saxon working after all...? Help? --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org