Return-Path: Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 1083 invoked from network); 14 Jun 2000 05:46:58 -0000 Received: from cr2167256193.cable.net.co (HELO ricardo) (root@216.72.56.193) by locus.apache.org with SMTP; 14 Jun 2000 05:46:57 -0000 Received: from apache.org (IDENT:ricardo@localhost.localdomain [127.0.0.1]) by ricardo (8.9.3/8.9.3) with ESMTP id AAA10389 for ; Wed, 14 Jun 2000 00:43:12 -0500 Sender: ricardo@ricardo Message-ID: <39471B70.13EB32E@apache.org> Date: Wed, 14 Jun 2000 00:43:12 -0500 From: Ricardo Rocha Organization: Plenix X-Mailer: Mozilla 4.61 [en] (X11; I; Linux 2.2.12-20 i686) X-Accept-Language: en MIME-Version: 1.0 To: cocoon-dev@xml.apache.org Subject: Re: XSP taglib question References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Donald Ball wrote: > > On Wed, 14 Jun 2000, Giacomo Pati wrote: > > > Donald Ball wrote: > > > > > > Here's the header from my taglib stylesheet: > > > > > > > > xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > > > xmlns:news="http://www.webslingerZ.com/XML/News" > > > xmlns:sql="http://www.apache.org/1999/SQL" > > > version="1.0" > > > > > > > > And this is mine, silly question: did you add your taglib in the > > cocoon.properties (I know I shouldn't ask you :)? > > > > > xmlns:sql="http://www.apache.org/1999/SQL" > > xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > > xmlns:pwr="http://www.pwr.ch/2000/XSP/PWR" > > xmlns:xsp="http://www.apache.org/1999/XSP/Core" > > I did, yes. Certainly you should ask me - it's the most obvious thing to > be wrong. But I _know_ it's finding the taglib since the document it > creates does contain the results of the transformation - it just never > passes the results back to the xsp processor for further processing. > > > > xmlns:sql="http://www.apache.org/1999/SQL" > > xmlns:pwr="http://www.pwr.ch/2000/XSP/PWR" > > xmlns:xsp="http://www.apache.org/1999/XSP/Core" > > > > > > > > Am I doing something wrong or is this simply not possible in XSP itself? > > > > I hope this helps you a bid. > > A bit, yes. I actually just got it working by explicitly invoking my > taglib using the xml-logicsheet PI. That implies that the relying > on the namespace prefix matching a global logicsheet doesn't work - but > you say it works fine for you. I reckon there's some difference in either > our taglibs or our configurations that's causing us to get two different > results. what's your taglib like? The order in which namespace-declared logicsheets are applied is the same order in which namespaces are declared in the root . This might have something to do with your problem... Other than that, logicsheets declared explicitly by means of should behave exactly like those declared implicitly by means of namespaces. Ricardo