Robert Burrell Donkin (JIRA) ha scritto: > [ > https://issues.apache.org/jira/browse/JSIEVE-8?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel > ] > > Robert Burrell Donkin reassigned JSIEVE-8: > ------------------------------------------ > > Assignee: (was: Robert Burrell Donkin) > > This requires a change to the grammar. I'm not familiar with JavaCC and so > (if possible) this would be risky.
IMO this is an improvement and we can safely delay it to a future version. Stefano >> 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 >> Reporter: Vladimir >> >> 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_ > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
