[prev in list] [next in list] [prev in thread] [next in thread]
List: velocity-dev
Subject: [jira] [Closed] (VELOCITY-928) Velocity parse error
From: "Claude Brisson (Jira)" <jira () apache ! org>
Date: 2021-02-26 18:13:00
Message-ID: JIRA.13286964.1582358588000.9980.1614363180503 () Atlassian ! JIRA
[Download RAW message or body]
[ https://issues.apache.org/jira/browse/VELOCITY-928?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel \
]
Claude Brisson closed VELOCITY-928.
-----------------------------------
> Velocity parse error
> --------------------
>
> Key: VELOCITY-928
> URL: https://issues.apache.org/jira/browse/VELOCITY-928
> Project: Velocity
> Issue Type: Bug
> Affects Versions: 2.0, 2.1
> Reporter: 郑剑峰
> Assignee: Claude Brisson
> Priority: Major
>
> hi
> Velocity to evaluate the string template "$a.r(a" , it throw an exception
> ERROR org.apache.velocity.parser - appmd: Encountered "<EOF>" at line 1, column 6.
> Was expecting one of:
> "[" ...
> "," ...
> ")" ...
> <WHITESPACE> ...
> <NEWLINE> ...
> "-" ...
> "+" ...
> "*" ...
> "/" ...
> "%" ...
> <LOGICAL_AND> ...
> <LOGICAL_OR> ...
> <LOGICAL_LT> ...
> <LOGICAL_LE> ...
> <LOGICAL_GT> ...
> <LOGICAL_GE> ...
> <LOGICAL_EQUALS> ...
> <LOGICAL_NOT_EQUALS> ...
> change the template to "/$a.r(a" the error still,and "//$a.r(a" still
> and the "$a.r(a)" is a raw string not a expression
> but i change the template to "$a.r(a)" it's ok
> Looking forward to getting reply. Thanks.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic