You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Robert Burrell Donkin (JIRA)" <se...@james.apache.org> on 2008/04/04 22:13:24 UTC

[jira] Commented: (JSIEVE-8) I would be great to have sieve script validator that also validates commands mapping.

    [ 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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org