axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject svn commit: r370182 - /webservices/axis/trunk/java/src/org/apache/axis/encoding/SerializationContext.java
Date Wed, 18 Jan 2006 16:51:41 GMT
Author: dug
Date: Wed Jan 18 08:51:39 2006
New Revision: 370182

URL: http://svn.apache.org/viewcvs?rev=370182&view=rev
Log:
Hopefully this won't hurt people - in fact I hope it helps.
By default Axis should not pretty print the XML, it will
totally mess-up security verification of messages. If people
really want this then they should use one of the util to 
pretty-up their xml - or they can set it themselves, but the
default should not screw with people's xml.

Modified:
    webservices/axis/trunk/java/src/org/apache/axis/encoding/SerializationContext.java

Modified: webservices/axis/trunk/java/src/org/apache/axis/encoding/SerializationContext.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/src/org/apache/axis/encoding/SerializationContext.java?rev=370182&r1=370181&r2=370182&view=diff
==============================================================================
--- webservices/axis/trunk/java/src/org/apache/axis/encoding/SerializationContext.java (original)
+++ webservices/axis/trunk/java/src/org/apache/axis/encoding/SerializationContext.java Wed
Jan 18 08:51:39 2006
@@ -126,7 +126,7 @@
     /**
      * Should I disable the pretty xml completely.
      */ 
-    private boolean disablePrettyXML = false;
+    private boolean disablePrettyXML = true;
 
 
     /**
@@ -1732,4 +1732,4 @@
     public void setItemType(QName itemType) {
         this.itemType = itemType;
     }
-}
\ No newline at end of file
+}



Mime
View raw message