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 2007/03/28 21:56:25 UTC

[jira] Updated: (JAMES-780) [jSieve]

     [ https://issues.apache.org/jira/browse/JAMES-780?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Burrell Donkin updated JAMES-780:
----------------------------------------

    Attachment: jsieve-coordinate.patch

Patch gives a flavour off the proposed changes

> [jSieve] 
> ---------
>
>                 Key: JAMES-780
>                 URL: https://issues.apache.org/jira/browse/JAMES-780
>             Project: James
>          Issue Type: Improvement
>    Affects Versions: Trunk
>            Reporter: Robert Burrell Donkin
>         Assigned To: Robert Burrell Donkin
>            Priority: Minor
>         Attachments: jsieve-coordinate.patch
>
>
> i've managed to pass positional information through from the parser to the Command and Test objects. my implementation uses ScriptCoordinate objects which contain details of line and column numbers. when a problem occurs during the evaluation of Command and Test implementations, this object is used to construct SyntaxException instances with positional information.
> it was necessary to add ScriptCoordinate to ExecutableCommand#execute and ExecutableTest#execute as well as to objects in the inheritance hierarchy (AbstractCommand, AbstractTest and so on). 
> this means breaking backwards compatibility
> it also means that altering the current pure, clean API design in a pragmatic (but inelegant) fashion. probably the original APIs are superior and quite possibly once we start down this route, more pragmatic changes will be needed later.

-- 
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