cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r983676 - in /cxf/trunk: rt/core/src/main/java/org/apache/cxf/interceptor/StaxOutInterceptor.java systests/uncategorized/pom.xml
Date Mon, 09 Aug 2010 15:06:50 GMT
Author: dkulp
Date: Mon Aug  9 15:06:50 2010
New Revision: 983676

URL: http://svn.apache.org/viewvc?rev=983676&view=rev
Log:
Allow "true" string to be used for start doc thing in config
Update smx version

Modified:
    cxf/trunk/rt/core/src/main/java/org/apache/cxf/interceptor/StaxOutInterceptor.java
    cxf/trunk/systests/uncategorized/pom.xml

Modified: cxf/trunk/rt/core/src/main/java/org/apache/cxf/interceptor/StaxOutInterceptor.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/core/src/main/java/org/apache/cxf/interceptor/StaxOutInterceptor.java?rev=983676&r1=983675&r2=983676&view=diff
==============================================================================
--- cxf/trunk/rt/core/src/main/java/org/apache/cxf/interceptor/StaxOutInterceptor.java (original)
+++ cxf/trunk/rt/core/src/main/java/org/apache/cxf/interceptor/StaxOutInterceptor.java Mon
Aug  9 15:06:50 2010
@@ -32,6 +32,7 @@ import org.apache.cxf.common.classloader
 import org.apache.cxf.common.i18n.BundleUtils;
 import org.apache.cxf.message.Exchange;
 import org.apache.cxf.message.Message;
+import org.apache.cxf.message.MessageUtils;
 import org.apache.cxf.phase.AbstractPhaseInterceptor;
 import org.apache.cxf.phase.Phase;
 import org.apache.cxf.staxutils.StaxUtils;
@@ -72,7 +73,7 @@ public class StaxOutInterceptor extends 
                     writer = factory.createXMLStreamWriter(os, encoding);
                 }
             }
-            if (Boolean.TRUE.equals(message.getContextualProperty(FORCE_START_DOCUMENT)))
{
+            if (MessageUtils.getContextualBoolean(message, FORCE_START_DOCUMENT, false))
{
                 writer.writeStartDocument(encoding, "1.0");
                 message.removeContent(OutputStream.class);
                 message.put(OUTPUT_STREAM_HOLDER, os);

Modified: cxf/trunk/systests/uncategorized/pom.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/uncategorized/pom.xml?rev=983676&r1=983675&r2=983676&view=diff
==============================================================================
--- cxf/trunk/systests/uncategorized/pom.xml (original)
+++ cxf/trunk/systests/uncategorized/pom.xml Mon Aug  9 15:06:50 2010
@@ -407,7 +407,7 @@
         <dependency>
             <groupId>org.apache.servicemix</groupId>
             <artifactId>servicemix-core</artifactId>
-            <version>3.3.1</version>
+            <version>3.3.2</version>
             <exclusions>
                 <exclusion>
                     <groupId>jaxen</groupId>



Mime
View raw message