cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r749670 - /cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/tokenstore/SecurityToken.java
Date Tue, 03 Mar 2009 17:55:26 GMT
Author: dkulp
Date: Tue Mar  3 17:55:26 2009
New Revision: 749670

URL: http://svn.apache.org/viewvc?rev=749670&view=rev
Log:
Fix namespaces for copied security elements

Modified:
    cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/tokenstore/SecurityToken.java

Modified: cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/tokenstore/SecurityToken.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/tokenstore/SecurityToken.java?rev=749670&r1=749669&r2=749670&view=diff
==============================================================================
--- cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/tokenstore/SecurityToken.java
(original)
+++ cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/tokenstore/SecurityToken.java
Tue Mar  3 17:55:26 2009
@@ -156,6 +156,7 @@
     private static Element cloneElement(Element el) {
         try {
             W3CDOMStreamWriter writer = new W3CDOMStreamWriter();
+            writer.setNsRepairing(true);
             StaxUtils.copy(el, writer);
             return writer.getDocument().getDocumentElement();
         } catch (Exception ex) {



Mime
View raw message