ws-xmlrpc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From han...@apache.org
Subject cvs commit: xml-rpc/src/java/org/apache/xmlrpc XmlRpc.java
Date Mon, 29 Oct 2001 17:07:05 GMT
hannes      01/10/29 09:07:05

  Modified:    src/java/org/apache/xmlrpc XmlRpc.java
  Log:
  Encode '>' as > in chardata() method of XmlWriter.
  This is necessary if the chardata contains "]]>" (reported
  by John Wilson).
  
  Revision  Changes    Path
  1.2       +3 -0      xml-rpc/src/java/org/apache/xmlrpc/XmlRpc.java
  
  Index: XmlRpc.java
  ===================================================================
  RCS file: /home/cvs/xml-rpc/src/java/org/apache/xmlrpc/XmlRpc.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- XmlRpc.java	2001/07/20 19:38:17	1.1
  +++ XmlRpc.java	2001/10/29 17:07:05	1.2
  @@ -680,6 +680,9 @@
                       case '<' :
                           buf.append ("&lt;");
                           break;
  +                    case '>' :
  +                        buf.append ("&gt;");
  +                        break;
                       case '&' :
                           buf.append ("&amp;");
                           break;
  
  
  

Mime
View raw message