DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12532>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12532 [PATCH] FLOW <jpath:for-each select=""> Summary: [PATCH] FLOW <jpath:for-each select=""> Product: Cocoon 2 Version: Current CVS Platform: Other OS/Version: Other Status: NEW Severity: Enhancement Priority: Other Component: sitemap components AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] This patch changes @test to @select in for-each template in jpath.xsl The given select expression was never used, which gave the result that no iteration could ever occur inside the jpath:for-each element. Index: C:/xml-cocoon2/src/java/org/apache/cocoon/components/language/markup/xsp/java/jpath.xsl =================================================================== RCS file: /home/cvspublic/xml-cocoon2/src/java/org/apache/cocoon/components/language/markup/xsp/java/jpath.xsl,v retrieving revision 1.3 diff -u -r1.3 jpath.xsl --- C:/xml-cocoon2/src/java/org/apache/cocoon/components/language/markup/xsp/java/jpath.xsl 7 Sep 2002 01:17:59 -0000 1.3 +++ +C:/xml-cocoon2/src/java/org/apache/cocoon/components/language/markup/xsp/java/jpath.xsl + 11 Sep 2002 14:01:09 -0000 @@ -147,7 +147,7 @@ { Iterator iter_<xsl:value-of select="generate-id(.)"/> = <xsl:call-template name="get-var-name"> - <xsl:with-param name="expr" select="@test"/> + <xsl:with-param name="expr" select="@select"/> </xsl:call-template> .iterate(jxpathContext); JXPathContext <xsl:value-of select="$old-context"/> = jxpathContext; --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]