Savio Fernandes created VELOCITY-914:
----------------------------------------

             Summary: Empty String content returned for String values 
containing "#*"
                 Key: VELOCITY-914
                 URL: https://issues.apache.org/jira/browse/VELOCITY-914
             Project: Velocity
          Issue Type: Bug
            Reporter: Savio Fernandes


We are using the following method to evaluate string content given a map of 
tokens that are used in the localContext of the VelocityEngine.

 
{noformat}
VelocityEngine :: public boolean evaluate( Context context, Writer out,
 String logTag, String instring ){noformat}
 

which populates the *out* Writer with the evaluated String value.

We have noticed that if the input String contains content similar to : 
{noformat}
"<some content> #* <some other content>"{noformat}
The output of the evaluation becomes : 
{noformat}
"<some content> "{noformat}
i.e. content after the "#*" part is ignored. 

 

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@velocity.apache.org
For additional commands, e-mail: dev-h...@velocity.apache.org

Reply via email to