[ 
https://issues.apache.org/jira/browse/XMLRPC-141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jochen Wiedmann resolved XMLRPC-141.
------------------------------------

    Resolution: Fixed

Applied to 3.0 branch and trunk.


> XmlRpcRequestParser/XmlRpcResponseParser don't reset state in 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
>         Assigned To: Jochen Wiedmann
>             Fix For: 3.1
>
>
> 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