Author: thilina
Date: Wed Apr 19 07:52:36 2006
New Revision: 395259

URL: http://svn.apache.org/viewcvs?rev=395259&view=rev
Log:
Replacing the ":" in the boundry with "_" in order to comply with MIME specs 
relating to Content-type...

Found this while interop testing with WCF

Modified:
    
webservices/commons/trunk/modules/axiom/src/org/apache/axiom/om/OMOutputFormat.java

Modified: 
webservices/commons/trunk/modules/axiom/src/org/apache/axiom/om/OMOutputFormat.java
URL: 
http://svn.apache.org/viewcvs/webservices/commons/trunk/modules/axiom/src/org/apache/axiom/om/OMOutputFormat.java?rev=395259&r1=395258&r2=395259&view=diff
==============================================================================
--- 
webservices/commons/trunk/modules/axiom/src/org/apache/axiom/om/OMOutputFormat.java
 (original)
+++ 
webservices/commons/trunk/modules/axiom/src/org/apache/axiom/om/OMOutputFormat.java
 Wed Apr 19 07:52:36 2006
@@ -73,9 +73,10 @@
 
     public String getMimeBoundary() {
         if (mimeBoundary == null) {
-            mimeBoundary =
-                    "MIMEBoundary"
-                            + UUIDGenerator.getUUID();
+               mimeBoundary =
+                "MIMEBoundary"
+                        + UUIDGenerator.getUUID().replace(':','_');
+
         }
         return mimeBoundary;
     }


Reply via email to