juddi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From svi...@apache.org
Subject cvs commit: ws-juddi/src/java/org/apache/juddi/registry RegistryServlet.java
Date Tue, 08 Mar 2005 17:37:18 GMT
sviens      2005/03/08 09:37:18

  Modified:    src/java/org/apache/juddi/registry RegistryServlet.java
  Log:
  Add CR after XML version and encoding directive (so SOAP Envelope element will begin on
a new line).
  
  Revision  Changes    Path
  1.16      +1 -1      ws-juddi/src/java/org/apache/juddi/registry/RegistryServlet.java
  
  Index: RegistryServlet.java
  ===================================================================
  RCS file: /home/cvs/ws-juddi/src/java/org/apache/juddi/registry/RegistryServlet.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- RegistryServlet.java	8 Mar 2005 16:51:19 -0000	1.15
  +++ RegistryServlet.java	8 Mar 2005 17:37:18 -0000	1.16
  @@ -444,7 +444,7 @@
         try {  
           OutputStream stream = res.getOutputStream();        
           OutputStreamWriter writer = new OutputStreamWriter(stream); 
  -        writer.write("<?xml version='1.0' encoding='UTF-8'?>");
  +        writer.write("<?xml version='1.0' encoding='UTF-8'?>\n");
           writer.flush();        
           soapRes.writeTo(stream); 
         }
  
  
  

Mime
View raw message