[
https://issues.apache.org/jira/browse/VELOCITY-205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Henning Schmiedehausen closed VELOCITY-205.
-------------------------------------------
> Macro names that start with the 'set' cause VTL parse errors
> ------------------------------------------------------------
>
> Key: VELOCITY-205
> URL: https://issues.apache.org/jira/browse/VELOCITY-205
> Project: Velocity
> Issue Type: Bug
> Components: Engine
> Affects Versions: 1.3.1
> Environment: Operating System: All
> Platform: All
> Reporter: Jamie Stillman
> Assigned To: Velocity-Dev List
>
> The VTL parser does not differentiate between a macro name that starts with
> the
> word 'set' and the '#set' directive.
> Example:
> #macro( setPageAttributes )
> ...
> #end
> Using #setPageAttributes() results in a Velocity parse error (as follows).
> Encountered "PageAttributes" at line ..., column ....
> Was expecting one of:
> "(" ...
> <WHITESPACE> ...
--
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]