Uploaded image for project: 'XML-RPC'
  1. XML-RPC
  2. XMLRPC-141

XmlRpcRequestParser/XmlRpcResponseParser don't reset state in startDocument so instance can't be reused.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.1
    • None
    • None

    Description

      XmlRpcRequestParser doesn't reset params on startDocument so instance can't be reused.

      Here is a patch against 3.0:

      >>> svn diff XMLRPC_3_0_BRANCH/
      Index: XMLRPC_3_0_BRANCH/common/src/main/java/org/apache/xmlrpc/parser/XmlRpcRequestParser.java
      ===================================================================
      — XMLRPC_3_0_BRANCH/common/src/main/java/org/apache/xmlrpc/parser/XmlRpcRequestParser.java (revision 526761)
      +++ XMLRPC_3_0_BRANCH/common/src/main/java/org/apache/xmlrpc/parser/XmlRpcRequestParser.java (working copy)
      @@ -54,6 +54,7 @@
      level = 0;
      inMethodName = false;
      methodName = null;
      + params = null;
      }

      Attachments

        Activity

          People

            jochen@apache.org Jochen Wiedmann
            mcneill@streambase.com keith mcneill
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: