Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 17619 invoked by uid 500); 5 Sep 2001 21:33:44 -0000 Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-dev@xml.apache.org Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 17599 invoked from network); 5 Sep 2001 21:33:43 -0000 From: =?iso-8859-1?Q?J=F6rn_Heid?= To: "Cocoon-Dev" Subject: Patch for selector inside resource Date: Wed, 5 Sep 2001 23:37:14 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi. I think this is a bug. So I added the patch for sitemap.xsl (this works for me now). The problem description is appended at the end. Would be nice if someone could apply the patch (please inform me about it). org.apache.cocoon.components.language.markup.sitemap.java.sitemap.xsl Line 184: to JEORN_HEID -----Urspr�ngliche Nachricht----- Von: J�rn Heid [mailto:heid@agentsinaction.de] Gesendet: Mittwoch, 5. September 2001 20:36 An: Cocoon-Users Betreff: [C2] Urgent problem with selector inside resource When using the parameter-selector (org.apache.cocoon.selection.ParameterSelectorFactory) inside a resource ... ... I get org.apache.cocoon.ProcessingException: Language Exception: org.apache.cocoon.components.language.LanguageException: Error compiling sitemap_xmap: Line 1213, column 28: Undefined variable: selector_parameter_N192_expr Line 1228, column 30: Undefined variable: selector_parameter_N199_expr But the same selector inside a map:match does to work. So, is it a bug or is there a workaround? JOERN_HEID --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org For additional commands, email: cocoon-dev-help@xml.apache.org