You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Henning Schmiedehausen (JIRA)" <de...@velocity.apache.org> on 2007/03/08 01:10:40 UTC
[jira] Closed: (VELOCITY-205) Macro names that start with the 'set'
cause VTL parse errors
[ 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: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org