cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bimargul...@apache.org
Subject svn commit: r749511 - in /cxf/trunk: parent/pom.xml rt/databinding/aegis/src/main/java/org/apache/cxf/aegis/xml/stax/AttributeWriter.java
Date Tue, 03 Mar 2009 02:30:04 GMT
Author: bimargulies
Date: Tue Mar  3 02:30:03 2009
New Revision: 749511

URL: http://svn.apache.org/viewvc?rev=749511&view=rev
Log:
Stop passing null instead of "" for a namespace. CXF-2079.

Modified:
    cxf/trunk/parent/pom.xml
    cxf/trunk/rt/databinding/aegis/src/main/java/org/apache/cxf/aegis/xml/stax/AttributeWriter.java

Modified: cxf/trunk/parent/pom.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/parent/pom.xml?rev=749511&r1=749510&r2=749511&view=diff
==============================================================================
--- cxf/trunk/parent/pom.xml (original)
+++ cxf/trunk/parent/pom.xml Tue Mar  3 02:30:03 2009
@@ -1043,6 +1043,15 @@
 	    <stax.impl.version>1.0.1</stax.impl.version>
 	  </properties>
 	</profile>
+        <profile>
+	  <id>woodstox4</id>
+	  <properties>
+	    <stax.impl.groupId>org.codehaus.woodstox</stax.impl.groupId>
+	    <stax.impl.artifactId>wstx-asl</stax.impl.artifactId>
+	    <stax.impl.version>3.9.9-3</stax.impl.version>
+	  </properties>
+	</profile>
+
 	<profile>
 	  <id>axis2-saaj</id>
 	  <properties>

Modified: cxf/trunk/rt/databinding/aegis/src/main/java/org/apache/cxf/aegis/xml/stax/AttributeWriter.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/databinding/aegis/src/main/java/org/apache/cxf/aegis/xml/stax/AttributeWriter.java?rev=749511&r1=749510&r2=749511&view=diff
==============================================================================
--- cxf/trunk/rt/databinding/aegis/src/main/java/org/apache/cxf/aegis/xml/stax/AttributeWriter.java
(original)
+++ cxf/trunk/rt/databinding/aegis/src/main/java/org/apache/cxf/aegis/xml/stax/AttributeWriter.java
Tue Mar  3 02:30:03 2009
@@ -36,6 +36,9 @@
     public AttributeWriter(XMLStreamWriter writer, String name, String namespace) {
         this.writer = writer;
         this.name = name;
+        if (namespace == null) {
+            namespace = ""; // otherwise, sjsxp is unhappy.
+        }
         this.namespace = namespace;
 
         try {



Mime
View raw message