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=25083>. 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=25083 JXTemplate evaluates commented out part of code Summary: JXTemplate evaluates commented out part of code Product: Cocoon 2 Version: 2.1.3 Platform: PC OS/Version: Windows XP Status: NEW Severity: Normal Priority: Other Component: sitemap components AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] The code like this <jx:forEach select="#{queryWrapper/data}"> <p> <jx:out value="#{.}" /> <!-- <jx:out value="#{.[4]}" /> --> </p> </jx:forEach> throws Original Exception: org.apache.commons.jxpath.JXPathException: No value for xpath: .[4] at org.apache.cocoon.generation.JXTemplateGenerator. characters(JXTemplateGenerator.java:2820) at org.apache.cocoon.generation.JXTemplateGenerator.execute(JXTemplateGenerator. java:3495) at org.apache.cocoon.generation.JXTemplateGenerator.execute(JXTemplateGenerator. java:3179) at org.apache.cocoon.generation.JXTemplateGenerator.generate(JXTemplateGenerator. java:2790) what means that commented out part of code is evaluated.
