[
https://issues.apache.org/jira/browse/JSIEVE-8?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12585739#action_12585739
]
Robert Burrell Donkin commented on JSIEVE-8:
--------------------------------------------
May well be able to just check requires just after parse. This would probably
be good enough.
> I would be great to have sieve script validator that also validates commands
> mapping.
> -------------------------------------------------------------------------------------
>
> Key: JSIEVE-8
> URL: https://issues.apache.org/jira/browse/JSIEVE-8
> Project: jSieve
> Issue Type: New Feature
> Affects Versions: 0.2
> Reporter: Vladimir
> Fix For: 1.0
>
>
> JSieve's parse validate only part of script. It doesn't validate commands
> mapping.
> Script will be valid according to parse method:
> require ["fileinto"];
> if address :contains ["To", "From"] "noone"{
> fileinto_ "noneFolder";
> }
> but evaluate method will raise exception, 'cause there is no mapping to
> command:
> fileinto_
--
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]