[
https://issues.apache.org/jira/browse/VELOCITY-795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12986478#action_12986478
]
Nathan Bubna commented on VELOCITY-795:
---------------------------------------
Oh, and it would be useful to see the list of tags you omitted from that stack.
I'm fairly sure the IfStatement in the Parser code is upset about seeing an
EOF before an #end, but i may as well be sure it's not looking for a ')' or
something.
> Velocity.evaluate String - ParseErrorException: Encountered "<EOF>"
> --------------------------------------------------------------------
>
> Key: VELOCITY-795
> URL: https://issues.apache.org/jira/browse/VELOCITY-795
> Project: Velocity
> Issue Type: Bug
> Affects Versions: 1.7
> Environment: Mac OSX, Java 1.5, Velocity 1.7
> Reporter: Becky Cartine
>
> When I include an #if statement twice in a velocity template, I get a
> ParseErrorException.
> If I remove the first occurance of the #if statement below, there are no
> errors.
> <html>
> <body>
> some text here
> #if ($message)
> Message:
> #end
> some more text
> #if ($message)
> Message:
> #end
> </body>
> </html>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]