You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Will Glass-Husain (JIRA)" <de...@velocity.apache.org> on 2008/12/23 07:11:44 UTC
[jira] Commented: (VELOCITY-645) Value comparisons in strict mode
should be strict
[ https://issues.apache.org/jira/browse/VELOCITY-645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12658765#action_12658765 ]
Will Glass-Husain commented on VELOCITY-645:
--------------------------------------------
In strict mode throw an exception when values cannot be correctly compared instead for ignoring this case.
For example:
#set($a = $NULL)
#set($b = $NULL)
#if ($a > $b)
foobar
#end
> Value comparisons in strict mode should be strict
> -------------------------------------------------
>
> Key: VELOCITY-645
> URL: https://issues.apache.org/jira/browse/VELOCITY-645
> Project: Velocity
> Issue Type: Improvement
> Components: Engine
> Reporter: Byron Foster
> Fix For: 1.7
>
> Attachments: 645.patch
>
>
> In strict mode throw an exception when values cannot be correctly compared instead for ignoring this case.
> For example:
> #set($a = $NULL)
> #set($b = $NULL)
> #if ($a > $b)
> foobar
> #end
--
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