Return-Path: Delivered-To: apmail-cxf-commits-archive@www.apache.org Received: (qmail 39662 invoked from network); 3 Mar 2009 17:55:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Mar 2009 17:55:49 -0000 Received: (qmail 64888 invoked by uid 500); 3 Mar 2009 17:55:49 -0000 Delivered-To: apmail-cxf-commits-archive@cxf.apache.org Received: (qmail 64848 invoked by uid 500); 3 Mar 2009 17:55:49 -0000 Mailing-List: contact commits-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list commits@cxf.apache.org Received: (qmail 64839 invoked by uid 99); 3 Mar 2009 17:55:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Mar 2009 09:55:49 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Mar 2009 17:55:47 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id CA6AF23889CF; Tue, 3 Mar 2009 17:55:26 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: commits@cxf.apache.org From: dkulp@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090303175526.CA6AF23889CF@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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) {