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=33669>. 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=33669 Summary: #if(some expression)#end causes ParseException Product: Velocity Version: 1.3.1 Platform: PC OS/Version: Windows XP Status: NEW Severity: major Priority: P2 Component: Source AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] #if(...) #end works but #if(...)#end Stacktrace: org.apache.velocity.exception.ParseErrorException: Encountered "#en d\n" at line 61, column 44. Was expecting one of: "(" ... <RPAREN> ... <ESCAPE_DIRECTIVE> ... <SET_DIRECTIVE> ... "\\\\" ... "\\" ... <TEXT> ... <SINGLE_LINE_COMMENT> ... "*#" ... "*#" ... <STRING_LITERAL> ... "if" ... "stop" ... <NUMBER_LITERAL> ... <WORD> ... <DOT> ... "{" ... "}" ... <IDENTIFIER> ... If you wonder why we write such stupid statements: We use velocity inside a CMS where it is possible to leave texts blank inside an #if-block. -- 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]
