Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 32419 invoked by uid 500); 6 May 2002 16:18:41 -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 Received: (qmail 32406 invoked from network); 6 May 2002 16:18:39 -0000 From: "Vadim Gritsenko" To: Subject: RE: Caching, Xindice, Aggregate Date: Mon, 6 May 2002 12:18:09 -0400 Message-ID: <00d701c1f519$9d0c96c0$9274558b@vgritsenkopc> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 In-Reply-To: <7F152EE1445DD211A92400104B8DBED003A54A86@EXCHANGE> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > From: Michael Cortez [mailto:mcortez@fullcoll.edu] > > >> Don't think so. You have document() function somewhere, > >> and for some reason, Cocoon failed to resolve the document: > > What I can't figure out is why the page renders at all! When I start up > Cocoon, my first request to the page works. > > Then the next 1-3 requests return the null pointer exception, followed by 1 > good request, then nulls again, then 1 good request, etc, etc, etc. > > I'm requesting the exact same URL, which maps to the exact same matchers in > the sitemap, and iterates over exactly the same data each time 8-( Hence > why I thought it may have something to do with caching. > > > >> What cocoon version do you have? > > Latest Binary Distribution. > > >> Or, what is the version of the XSLTProcessorImpl class? > > Uh... I didn't chance any source or configuration, other then switching > over to Saxon. To switch over I replaced the Xalan jars with Saxon 6.5.1 > jars. > > =-=-=- > > After more extensive debugging, I'm seeing an error in the Cocoon error log > pointing at one of my XSL sheets -- but I'm not understanding the error. > I've included the error message, stack trace, and XSL sheet below. > > Essentially what the style sheet does, is strip off the "xsp:page" node that > gets stuck into a page generated from an XSP page. What do you mean - xsp:page stuck? It should never ever happen after XSP is correctly processed by the serverpages generator. May be you have problem with the XSP? Vadim > Perhaps someone has a > better idea of how this can be done. > > Thanks, > Mike > > ========================== > XSL sheet (strip_xsp.xsl) > > ----- > > > xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > xmlns:xsp="http://apache.org/xsp" > > > > > > > > priority="-2"> select="@*|node()"/> > select="."/> > > > ----- > > > > ========================== > Error message (placed in log even on successful rendering) > ----- > > ERROR (2002-05-06) 08:18.29:817 [core.xslt-processor] > (/cocoon/ogc/Item13.htm) HttpProcessor[8080][4]/TraxErrorHandler: Error in > TraxTransformer: file:/C:/tomcat4/webapps/cocoon/ogc/strip_xsp.xsl; Line 6; > Column -1; > ; SystemID: file:/C:/tomcat4/webapps/cocoon/ogc/strip_xsp.xsl; Line#: 6; > Column#: -1 > javax.xml.transform.TransformerConfigurationException: Attribute xmlns: is > not allowed on this element > at > com.icl.saxon.style.StyleElement.compileError(StyleElement.java:849) > at > com.icl.saxon.style.StyleElement.checkUnknownAttribute(StyleElement.java :208 > ) ... > at > org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTransformerHandle r(XS > LTProcessorImpl.java:238) ... --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: