geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r817954 - /geronimo/server/branches/2.1/plugins/axis2/geronimo-axis2/src/main/java/org/apache/geronimo/axis2/WSDLQueryHandler.java
Date Wed, 23 Sep 2009 03:45:21 GMT
Author: gawor
Date: Wed Sep 23 03:45:21 2009
New Revision: 817954

URL: http://svn.apache.org/viewvc?rev=817954&view=rev
Log:
fix value for OutputKeys.OMIT_XML_DECLARATION property

Modified:
    geronimo/server/branches/2.1/plugins/axis2/geronimo-axis2/src/main/java/org/apache/geronimo/axis2/WSDLQueryHandler.java

Modified: geronimo/server/branches/2.1/plugins/axis2/geronimo-axis2/src/main/java/org/apache/geronimo/axis2/WSDLQueryHandler.java
URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.1/plugins/axis2/geronimo-axis2/src/main/java/org/apache/geronimo/axis2/WSDLQueryHandler.java?rev=817954&r1=817953&r2=817954&view=diff
==============================================================================
--- geronimo/server/branches/2.1/plugins/axis2/geronimo-axis2/src/main/java/org/apache/geronimo/axis2/WSDLQueryHandler.java
(original)
+++ geronimo/server/branches/2.1/plugins/axis2/geronimo-axis2/src/main/java/org/apache/geronimo/axis2/WSDLQueryHandler.java
Wed Sep 23 03:45:21 2009
@@ -246,7 +246,7 @@
             it.setOutputProperty(OutputKeys.METHOD, "xml");
             it.setOutputProperty(OutputKeys.INDENT, "yes");
             it.setOutputProperty("{http://xml.apache.org/xslt}indent-amount", "4");
-            it.setOutputProperty(OutputKeys.OMIT_XML_DECLARATION, "false");
+            it.setOutputProperty(OutputKeys.OMIT_XML_DECLARATION, "no");
             it.setOutputProperty(OutputKeys.ENCODING, "utf-8");
             it.transform(src, new StreamResult(os));
         } catch (TransformerException e) {



Mime
View raw message