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:08:24 UTC
[jira] Closed: (VELOCITY-247) Some JSLT references are invalid VTL
references. Scaping is not the solution.
[ https://issues.apache.org/jira/browse/VELOCITY-247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Henning Schmiedehausen closed VELOCITY-247.
-------------------------------------------
> Some JSLT references are invalid VTL references. Scaping is not the solution.
> -----------------------------------------------------------------------------
>
> Key: VELOCITY-247
> URL: https://issues.apache.org/jira/browse/VELOCITY-247
> Project: Velocity
> Issue Type: Bug
> Components: Engine
> Affects Versions: 1.5
> Environment: Operating System: All
> Platform: All
> Reporter: Diego Souto
> Assigned To: Velocity-Dev List
>
> For example... if you write <c:when test="${empty sessionScope.firstName}"> in a
> velocity template... you'll get a Velocity parse exception because of blank
> space... and if you write <c:when test="\$\{empty sessionScope.firstName}">
> Velocity just leaves it the same... so you must remove the backslash later,
> which is not very comfortable. It's needed a way for scaping an invalid VTL
> reference.
> Sorry for my english... and sorry again if it's a already known problem.
--
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