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 38224 invoked from network); 3 Nov 2000 07:59:26 -0000 Received: from stargazer2.dataway.ch (HELO dataway.ch) (195.216.80.34) by locus.apache.org with SMTP; 3 Nov 2000 07:59:26 -0000 Received: (qmail 31497 invoked from network); 3 Nov 2000 07:59:13 -0000 X-dataway-Spamcheck: 195.216.80.135: RBL=- DUL=- RSS=- ORBS=- Received: from unknown (HELO pwr.ch) (195.216.80.135) by stargazer.dataway.ch with SMTP; 3 Nov 2000 07:59:13 -0000 Received: (qmail 19671 invoked from network); 3 Nov 2000 06:14:14 -0000 Received: from donald.pwr.ch (HELO apache.org) (10.20.30.103) by simba.pwr.ch with SMTP; 3 Nov 2000 06:14:14 -0000 Sender: giacomo Message-ID: <3A0257B5.A3325EE0@apache.org> Date: Fri, 03 Nov 2000 07:14:13 +0100 From: Giacomo Pati Organization: Apache Software Foundation X-Mailer: Mozilla 4.74 [en] (X11; U; Linux 2.2.16 i686) X-Accept-Language: de-DE, de-CH, en MIME-Version: 1.0 To: cocoon-dev@xml.apache.org Subject: Re: C2: Bug in selector translation References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Carsten Ziegeler wrote: > > I tried to use the Selectors again and found two problems > I used the following configuration: > > > > > > > > > > > > > > > > > > > > > > Both selectors are factories. The translation of the stylesheet invokes two times the method "generateClassSource()" of the default selector (here: "browser") but never of the second translator. > > Using the following pipeline fragment (which doesn't make sense, I know - but it is works for the translation): > > > > > > > > > > > > > > > > > Only for the first map:when test="local" is code generated, but not for the second one. > > I looked now for a very long time into the sitemap.xsl, but I don't see the bug. Does anyone of you? I'll have a look at it at the weekend. Giacomo