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=16087>. 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=16087 [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|enhancement |normal Priority| |P1 Version|1.2 |1.5 ------- Additional Comments From [EMAIL PROTECTED] 2004-11-16 04:02 ------- It is not a consistent behaviour. Whether you interpolate ## and #* and *# INSIDE the double-quoted string (hence, "##foo"==""), whether you don't interpolate comments inside strings at all. And I strongly recomend the latter : that's the standard behaviour in all other languages I know of. Right now, with 1.5-dev, I've got: [2004/11/16 03:05:10.405] Velocity [error] Error in interpolating string literal : java.lang.StringIndexOutOfBoundsException: String index out of range: -1 with no information about the location and no stacktrace... (it seems like a new bug appeared in the handling of the so-called lexical error) I put it back as a bug rather than as an enhancement, at least because Velocity should display something like "unterminated string at line...". -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
