cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1127613 - in /cxf/branches/2.3.x-fixes: ./ common/common/src/main/java/org/apache/cxf/staxutils/StaxSource.java
Date Wed, 25 May 2011 18:16:25 GMT
Author: dkulp
Date: Wed May 25 18:16:25 2011
New Revision: 1127613

URL: http://svn.apache.org/viewvc?rev=1127613&view=rev
Log:
Merged revisions 1127605 via svnmerge from 
https://svn.apache.org/repos/asf/cxf/trunk

........
  r1127605 | dkulp | 2011-05-25 14:07:10 -0400 (Wed, 25 May 2011) | 1 line
  
  [CXF-3539] Fix NPE in STS if default namespace is used
........

Modified:
    cxf/branches/2.3.x-fixes/   (props changed)
    cxf/branches/2.3.x-fixes/common/common/src/main/java/org/apache/cxf/staxutils/StaxSource.java

Propchange: cxf/branches/2.3.x-fixes/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.

Modified: cxf/branches/2.3.x-fixes/common/common/src/main/java/org/apache/cxf/staxutils/StaxSource.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.3.x-fixes/common/common/src/main/java/org/apache/cxf/staxutils/StaxSource.java?rev=1127613&r1=1127612&r2=1127613&view=diff
==============================================================================
--- cxf/branches/2.3.x-fixes/common/common/src/main/java/org/apache/cxf/staxutils/StaxSource.java
(original)
+++ cxf/branches/2.3.x-fixes/common/common/src/main/java/org/apache/cxf/staxutils/StaxSource.java
Wed May 25 18:16:25 2011
@@ -182,8 +182,8 @@ public class StaxSource extends SAXSourc
             }
             // Default namespace
             if (prefix == null || prefix.length() == 0) {
-                attrs.addAttribute(XMLConstants.DEFAULT_NS_PREFIX, 
-                                   null, 
+                attrs.addAttribute("", 
+                                   "", 
                                    XMLConstants.XMLNS_ATTRIBUTE, 
                                    "CDATA", 
                                    uri);



Mime
View raw message