You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rpc-dev@xml.apache.org by Wim van Velthoven <W....@fi.uu.nl> on 2002/12/04 14:30:07 UTC

[PATCH] org.apache.xmlrpc.applet.SimpleXmlRpcClient.java

org.apache.xmlrpc.applet.SimpleXmlRpcClient.java does not detect faults. 
Witrh the following patch it does. (patch in 'XmlRpcSupport.startElement)
-- 
Wim van Velthoven

*** SimpleXmlRpcClient.java.org	Wo Dec  4 14:23:10 2002
--- SimpleXmlRpcClient.java	Wo Dec  4 14:17:29 2002
***************
*** 388,393 ****
--- 388,398 ----
          if (debug)
              System.err.println ("startElement: "+name);
  
+ 	if( "fault".equals (name))
+ 	{
+ 		fault = true;
+ 	} else
+ 
          if ("value".equals (name))
          {
              // System.err.println ("starting value");



Re: [PATCH] org.apache.xmlrpc.applet.SimpleXmlRpcClient.java

Posted by Daniel Rall <dl...@finemaltcoding.com>.
Wim van Velthoven <W....@fi.uu.nl> writes:

> org.apache.xmlrpc.applet.SimpleXmlRpcClient.java does not detect faults. 
> Witrh the following patch it does. (patch in 'XmlRpcSupport.startElement)
> -- 
> Wim van Velthoven
> 
> *** SimpleXmlRpcClient.java.org	Wo Dec  4 14:23:10 2002
> --- SimpleXmlRpcClient.java	Wo Dec  4 14:17:29 2002
> ***************
> *** 388,393 ****
> --- 388,398 ----
>           if (debug)
>               System.err.println ("startElement: "+name);
>   
> + 	if( "fault".equals (name))
> + 	{
> + 		fault = true;
> + 	} else
> + 
>           if ("value".equals (name))
>           {
>               // System.err.println ("starting value");
> 
> 

This will be a good one to get in, too.
-- 

Daniel Rall <dl...@finemaltcoding.com>

Re: [PATCH] org.apache.xmlrpc.applet.SimpleXmlRpcClient.java

Posted by Ryan Hoegg <rh...@isisnetworks.net>.
Thanks!  Will file a bug report.

Wim van Velthoven wrote:

>org.apache.xmlrpc.applet.SimpleXmlRpcClient.java does not detect faults. 
>Witrh the following patch it does. (patch in 'XmlRpcSupport.startElement)
>  
>




Re: [PATCH] org.apache.xmlrpc.applet.SimpleXmlRpcClient.java

Posted by Ryan Hoegg <rh...@isisnetworks.net>.
Thanks!  Will file a bug report.

Wim van Velthoven wrote:

>org.apache.xmlrpc.applet.SimpleXmlRpcClient.java does not detect faults. 
>Witrh the following patch it does. (patch in 'XmlRpcSupport.startElement)
>  
>




Re: [PATCH] org.apache.xmlrpc.applet.SimpleXmlRpcClient.java

Posted by Daniel Rall <dl...@finemaltcoding.com>.
Wim van Velthoven <W....@fi.uu.nl> writes:

> org.apache.xmlrpc.applet.SimpleXmlRpcClient.java does not detect faults. 
> Witrh the following patch it does. (patch in 'XmlRpcSupport.startElement)
> -- 
> Wim van Velthoven
> 
> *** SimpleXmlRpcClient.java.org	Wo Dec  4 14:23:10 2002
> --- SimpleXmlRpcClient.java	Wo Dec  4 14:17:29 2002
> ***************
> *** 388,393 ****
> --- 388,398 ----
>           if (debug)
>               System.err.println ("startElement: "+name);
>   
> + 	if( "fault".equals (name))
> + 	{
> + 		fault = true;
> + 	} else
> + 
>           if ("value".equals (name))
>           {
>               // System.err.println ("starting value");
> 
> 

This will be a good one to get in, too.
-- 

Daniel Rall <dl...@finemaltcoding.com>