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

                 Key: XMLRPC-141
                 URL: https://issues.apache.org/jira/browse/XMLRPC-141
             Project: XML-RPC
          Issue Type: Bug
            Reporter: keith mcneill


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;
        }


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to