[ https://issues.apache.org/jira/browse/VELOCITY-783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claude Brisson resolved VELOCITY-783. ------------------------------------- Resolution: Fixed Assignee: Claude Brisson Fix Version/s: 2.x Fixed by commit 1760341. > Parser bug with comments following a reference with a property > -------------------------------------------------------------- > > Key: VELOCITY-783 > URL: https://issues.apache.org/jira/browse/VELOCITY-783 > Project: Velocity > Issue Type: Bug > Components: Engine > Affects Versions: 2.x > Environment: any > Reporter: Claude Brisson > Assignee: Claude Brisson > Priority: Minor > Fix For: 2.x > > > The following template: > #set( $map = { 'foo' : 'bar' } ) > $map.size()## ok > $map.foo## not ok > $map.foo ## ok with a space behind > ${map.foo}## ok with curly braces > $map## ok > schmoo## ok > gives the result : > 1bar## not ok > bar bar{foo=bar}schmoo > That is, "$map.foo##" is incorrectly parsed - the reference is resolved > successfully, but the comment is considered schmoo. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@velocity.apache.org For additional commands, e-mail: dev-h...@velocity.apache.org