Commons Digester
  1. Commons Digester
  2. DIGESTER-105

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

    Details

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

      Operating System: other
      Platform: Other

      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.

        Activity

        Simon Kitching created issue -
        Henri Yandell made changes -
        Field Original Value New Value
        issue.field.bugzillaimportkey 34613 12342209
        Henri Yandell made changes -
        Project Commons [ 12310458 ] Commons Digester [ 12310471 ]
        Affects Version/s 1.6 Final [ 12311666 ]
        Assignee Jakarta Commons Developers Mailing List [ commons-dev@jakarta.apache.org ]
        Component/s Digester [ 12311111 ]
        Key COM-2057 DIGESTER-105
        Henri Yandell made changes -
        Affects Version/s 1.6 Final [ 12311712 ]
        Simone Tripodi made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Simone Tripodi [ simone.tripodi ]
        Fix Version/s 3.0 [ 12316679 ]
        Resolution Fixed [ 1 ]
        Simone Tripodi made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development