cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 12532] New: - [PATCH] FLOW <jpath:for-each select="">
Date Wed, 11 Sep 2002 14:03:01 GMT
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: cocoon-dev@xml.apache.org
        ReportedBy: pelle@alma.nu


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: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message