[ 
https://issues.apache.org/jira/browse/DIGESTER-135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12768240#action_12768240
 ] 

James Carman commented on DIGESTER-135:
---------------------------------------

I'm not so sure about this approach.  One thing that jumped out at me was the 
@SetNext annotation.  When you're building up your digester by hand, you have 
some context of where you are when you set up your rules.  With that @SetNext, 
how do you know where you are?   How do you know your context?  It would be 
easy for the classes to get out of synch.  I think we'd be better off creating 
a rules builder API that reads more like English.

> Digester rules defined through Java5 Annotatations
> --------------------------------------------------
>
>                 Key: DIGESTER-135
>                 URL: https://issues.apache.org/jira/browse/DIGESTER-135
>             Project: Commons Digester
>          Issue Type: Improvement
>    Affects Versions: 2.1
>            Reporter: Simone Tripodi
>            Priority: Minor
>             Fix For: 2.1
>
>         Attachments: DigesterAnnotations.patch
>
>
> Taking inspiration by Google-Guice, JAXB and JPA's annotations, the existing 
> package can be extended adding some facilities to configure the 
> commons-digester using the Java language metadata annotations.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to