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

SetTopRule description: swap parent and child?

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Nightly Builds
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Bugzilla Id:
      5804

      Description

      Is the use of parent and child the right way round in the description for
      SetTopRule? Or do I just not understand it? I've included SetNextRule for
      comparative purposes.

      -Janek

      Current
      -------

      SetNextRule

      Rule implementation that calls a method on the (top-1) (parent) object, passing
      the top object (child) as an argument.

      SetTopRule

      Rule implementation that calls a method on the top (parent) object, passing the
      (top-1) (child) object as an argument.

      http://jakarta.apache.org/commons/digester/commons-digester-1.1.1/docs/api/org/
      apache/commons/digester/package-summary.html

      Improved? (parent and child swapped)
      ------------------------------------

      SetTopRule

      Rule implementation that calls a method on the top (child) object, passing the
      (top-1) (parent) object as an argument.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              janekdb@yahoo.co.uk Janek Bogucki
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: