Commons Digester
  1. Commons Digester
  2. DIGESTER-131

[PATCH] commons-digester / Allow recursive match in ExtendedBaseRules.java (see patch)

    Details

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

      all

      Description

      Recursive tags in XML-rules-file only work on root node. Nested nodes like the one below to not work.
      With the attached patch, it is possible to specify rules like
      <...>
      <...>
      <pattern value="*/properties">
      <object-create-rule classname="de.wsy.f4ja.alertbatches.configuration.alerting.alertingconfig.Properties" />
      <set-properties-rule />
      <set-next-rule methodname="addProperties"/>
      </pattern>

      <pattern value="*/property">
      <object-create-rule classname="de.wsy.f4ja.alertbatches.configuration.alerting.alertingconfig.Property" />
      <set-properties-rule />
      <set-next-rule methodname="addProperty" />
      </pattern>
      </...>
      </..>

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Simone Tripodi
            Reporter:
            Volker Karlmeier
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 10m
              10m
              Remaining:
              Remaining Estimate - 10m
              10m
              Logged:
              Time Spent - Not Specified
              Not Specified

                Development