[jira] [Closed] (DIGESTER-105) [digester] Need to process [attribute id="name"]somename[/attribute]

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Closed] (DIGESTER-105) [digester] Need to process [attribute id="name"]somename[/attribute]

Gary D. Gregory (Jira)

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

Simone Tripodi closed DIGESTER-105.
-----------------------------------


included in Apache Commons Digester 3.0 release

> [digester] Need to process [attribute id="name"]somename[/attribute]
> --------------------------------------------------------------------
>
>                 Key: DIGESTER-105
>                 URL: https://issues.apache.org/jira/browse/DIGESTER-105
>             Project: Commons Digester
>          Issue Type: Improvement
>    Affects Versions: 1.6
>         Environment: Operating System: other
> Platform: Other
>            Reporter: Simon Kitching
>            Assignee: Simone Tripodi
>            Priority: Minor
>             Fix For: 3.0
>
>         Attachments: code.zip, code.zip, code.zip
>
>
> It is reasonably common to encounter xml like
> <person>
>   <attribute id='name'>somename</attribute>
>   <attribute id='age'>99</attribute>
>   ..
> </person>
> Currently there is no built-in rule to support this in Digester:
>  BeanPropertySetterRule supports <name>somename</name>
>  SetPropertyRule supports <attribute id='name' value='somename'/>.
>  SetPropertiesRule supports <attribute name='somename'/>
> but nothing supports the first syntax listed above.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira