Details

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

      Operating System: All
      Platform: Other

    • Bugzilla Id:
      6524

      Description

      Under commons-digester-1.1.1/docs/api/index.html you can read:

      SetNextRule - When the begin() method is called, the digester analyzes the next-
      to-top element on the stack, looking for a property setter method for a
      specified property. It then calls this method, passing the object at the top of
      the stack as an argument. This rule is commonly used to establish one-to-many
      relationships between the two objects, with the method name commonly being
      something like "addChild".

      It seams, that it must read like:

      SetNextRule - When the end() method is called,...

      which by the way (it works) and is the better behaviour, because the child
      should be initalized (== properties set) before it is hooked into the parent.
      (The SetNextRule-class overrides the end() methode.)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jan.schute@ewetel.de Jan Schute
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: