Uploaded image for project: 'Commons Digester'
  1. Commons Digester
  2. DIGESTER-105

[digester] Need to process [attribute id="name"]somename[/attribute]

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.6
    • Fix Version/s: 3.0
    • Labels:
      None
    • Environment:

      Operating System: other
      Platform: Other

    • Bugzilla Id:
      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.

        Attachments

          Activity

            People

            • Assignee:
              simone.tripodi Simone Tripodi
              Reporter:
              skitching Simon Kitching
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: