[
https://issues.apache.org/jira/browse/JSIEVE-8?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Burrell Donkin resolved JSIEVE-8.
----------------------------------------
Resolution: Fixed
Fix Version/s: (was: 1.0)
0.2
My reading of the spec agres with Vladimir.
Added a new validator which checks for required correctness and then throws
ParseException if it is not.
This may be better if configurable...
> 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
> Assignee: Robert Burrell Donkin
> Fix For: 0.2
>
>
> 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]