Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 57661 invoked by uid 500); 6 Sep 2001 09:03:53 -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 57650 invoked from network); 6 Sep 2001 09:03:52 -0000 To: cocoon-dev@xml.apache.org Subject: RE: [C2] Urgent problem with selector inside resource Message-ID: <999767018.3b973bea5c3ff@mail.otego.com> Date: Thu, 06 Sep 2001 11:03:38 +0200 (CEST) From: Giacomo Pati References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: IMP/PHP IMAP webmail program 2.2.4 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N It can be because the top most element in a pipeline is a map:match. I don't know if this is true for map:resource as well. Giacomo Quoting Leo Sutic : > J�rn, > > please look in the tomcat/work// directory. There should be > a > file named sitemap_xmap.java. Please send it to me, as I need to see how > the > sitemap compiles to Java. > > I have also forwarded your question to C2-dev. > > /LS > > > -----Original Message----- > > From: J�rn Heid [mailto:heid@agentsinaction.de] > > Sent: den 5 september 2001 22:45 > > To: leo.sutic@inspireinfrastructure.com > > Subject: WG: [C2] Urgent problem with selector inside resource > > > > > > Sorry for contacing you directly but perhaps it's a quite simple > question > > for you. Excuse me if you do not have the time. Just do not answer > then. I > > won't send any additional email. > > > > -----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 > > > > > > > > > > > > > value="{myvar}"/> > > > > ... > > > > > > ... > > > > > > > > > > > > > > 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 > > > --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org For additional commands, email: cocoon-dev-help@xml.apache.org