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:18:29 UTC

[jira] Closed: (VELOCITY-35) error in parsing white space between #elseif and condition

     [ https://issues.apache.org/jira/browse/VELOCITY-35?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Henning Schmiedehausen closed VELOCITY-35.
------------------------------------------


> error in parsing white space between #elseif and condition
> ----------------------------------------------------------
>
>                 Key: VELOCITY-35
>                 URL: https://issues.apache.org/jira/browse/VELOCITY-35
>             Project: Velocity
>          Issue Type: Bug
>          Components: Testing
>    Affects Versions: 1.2
>         Environment: Operating System: All
> Platform: PC
>            Reporter: proetel
>         Assigned To: Velocity-Dev List
>
> the following statement produces an error:
> #if(!$class.primitive)item#elseif
>    ($class.name == "char")new Character(item)#end
> #end
> [Generator.main]org.apache.velocity.exception.ParseErrorException: Encountered
> "\r\n" at line 3, column 34.
> Was expecting one of:
>     "(" ...
>     <WHITESPACE> ...
>     
> org.apache.velocity.exception.ParseErrorException: Encountered "\r\n" at line 3,
> column 34.
> Was expecting one of:
>     "(" ...
>     <WHITESPACE> ...
> I would assume "\r\n" is 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