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 25083] - JXTemplate evaluates expressions in comments, need jx:comment?
Date Sun, 27 Jun 2004 11:14:05 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.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://issues.apache.org/bugzilla/show_bug.cgi?id=25083

JXTemplate evaluates expressions in comments, need jx:comment?





------- Additional Comments From conal.tuohy@vuw.ac.nz  2004-06-27 11:14 -------
I think Tony Colleen was suggesting the other way around:

<!-- 
This is a comment which JXTG will not parse 
<jx:out value="#{.[thi$_not_work]}"/>
it will not throw an exception
-->
<jx:comment>
Anything here will be output in an XML comment. 
It will not be swallowed by the JXTemplate parser.
Here a buggy expression <jx:out value="#{.[thi$_not_work]}"/> 
will throw a exception. 
</jx:comment>

Mime
View raw message