'$' at end of template raises org.apache.velocity.runtime.parser.TokenMgrError
------------------------------------------------------------------------------
Key: VELOCITY-767
URL: https://issues.apache.org/jira/browse/VELOCITY-767
Project: Velocity
Issue Type: Bug
Reporter: Alexandre Garnier
Priority: Minor
When parsing a velocity template ending with a '$', the engine raises a
org.apache.velocity.runtime.parser.TokenMgrError.
Even if the '$' is escaped ('\$')
And the message is not really helful : Lexical error:
org.apache.velocity.runtime.parser.TokenMgrError: Lexical error at line 1,
column 16. Encountered: <EOF> after : ""
(As a temporary workaround, I append '{esc.d}' at the end of the template if it
ends with a '$')
--
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]