Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 66780 invoked by uid 500); 1 May 2002 20:48:15 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Delivered-To: moderator for cocoon-users@xml.apache.org Received: (qmail 56230 invoked from network); 1 May 2002 20:33:39 -0000 Message-Id: <5.1.0.14.0.20020501211910.014f6180@pop3.mail.demon.net> X-Sender: (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Wed, 01 May 2002 21:32:23 +0100 To: cocoon-users@xml.apache.org From: Alex McLintock Subject: XSLT exception: bug or my mistake Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi folks, I am getting data from XIndice and piping it through Cocoon. I'm getting an exception I don't understand when I do something particular in XSLT. I have a bunch of book reviews in my XML database and am listing the book authors. I'm using the "not preceding" trick to remove duplicate authors. This works. I'm now trying to list the number of reviews we have for each of those unique authors. I'm doing this with two variables - one is the current author fullname, and the other is supposed to be the count of reviews with that author. So I'm doing this Now I'm pretty sure I've got this count line wrong, but should it cause the following exception? org.apache.cocoon.ProcessingException: Exception in creating Transform Handler: java.lang.RuntimeException: Programmer's assertion in getNextStepPos: unknown stepType: -1 If I comment out the count line I don't get the exception. Any ideas for a relevant tutorial, or can anyone see what I'm doing wrong. This is the basic structure of the xml I'm processing. etc etc I'm using a CVS build of Cocoon which is several weeks old. Tomcat 4.0.something, Java 1.3, RedHatLinux 7.2 org.apache.cocoon.ProcessingException: Exception in creating Transform Handler: java.lang.RuntimeException: Programmer's assertion in getNextStepPos: unknown stepType: -1 at org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTransformerHandler(XSLTProcessorImpl.java:276) at org.apache.cocoon.transformation.TraxTransformer.setup(TraxTransformer.java:306) at org.apache.cocoon.components.pipeline.AbstractEventPipeline.setupPipeline(AbstractEventPipeline.java:215) at org.apache.cocoon.components.pipeline.CachingEventPipeline.setup(CachingEventPipeline.java:278) at org.apache.cocoon.components.pipeline.CachingEventPipeline.generateKey(CachingEventPipeline.java:141) at org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingStreamPipeline.java:320) at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:153) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:85) at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:156) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:109) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:140) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:109) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:144) Openweb Analysts Ltd, London: Software For Complex Websites http://www.OWAL.co.uk/ Free Consultancy for London Companies thinking of Open Source Software. --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: