Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.6
-
None
-
Operating System: other
Platform: Other
-
34613
Description
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.