Return-Path: X-Original-To: apmail-cxf-commits-archive@www.apache.org Delivered-To: apmail-cxf-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 032CA9FF6 for ; Mon, 3 Oct 2011 20:40:58 +0000 (UTC) Received: (qmail 11036 invoked by uid 500); 3 Oct 2011 20:40:58 -0000 Delivered-To: apmail-cxf-commits-archive@cxf.apache.org Received: (qmail 10968 invoked by uid 500); 3 Oct 2011 20:40:58 -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 10961 invoked by uid 99); 3 Oct 2011 20:40:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Oct 2011 20:40:58 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.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; Mon, 03 Oct 2011 20:40:56 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 78D6523888E4 for ; Mon, 3 Oct 2011 20:40:35 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1178568 - in /cxf/branches/2.4.x-fixes: ./ rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/PolicyAnnotationListener.java Date: Mon, 03 Oct 2011 20:40:35 -0000 To: commits@cxf.apache.org From: dkulp@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20111003204035.78D6523888E4@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: dkulp Date: Mon Oct 3 20:40:35 2011 New Revision: 1178568 URL: http://svn.apache.org/viewvc?rev=1178568&view=rev Log: Merged revisions 1178560 via svnmerge from https://svn.apache.org/repos/asf/cxf/trunk ........ r1178560 | dkulp | 2011-10-03 16:33:07 -0400 (Mon, 03 Oct 2011) | 2 lines [CXF-3842] Make sure an namespaced Attr is created Patch from Marc Giger applied ........ Modified: cxf/branches/2.4.x-fixes/ (props changed) cxf/branches/2.4.x-fixes/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/PolicyAnnotationListener.java Propchange: cxf/branches/2.4.x-fixes/ ('svn:mergeinfo' removed) Propchange: cxf/branches/2.4.x-fixes/ ------------------------------------------------------------------------------ Binary property 'svnmerge-integrated' - no diff available. Modified: cxf/branches/2.4.x-fixes/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/PolicyAnnotationListener.java URL: http://svn.apache.org/viewvc/cxf/branches/2.4.x-fixes/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/PolicyAnnotationListener.java?rev=1178568&r1=1178567&r2=1178568&view=diff ============================================================================== --- cxf/branches/2.4.x-fixes/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/PolicyAnnotationListener.java (original) +++ cxf/branches/2.4.x-fixes/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/PolicyAnnotationListener.java Mon Oct 3 20:40:35 2011 @@ -386,7 +386,7 @@ public class PolicyAnnotationListener im Document doc = DOMUtils.createDocument(); Element el = doc.createElementNS(ns, "wsp:" + Constants.ELEM_POLICY_REF); - Attr att = doc.createAttribute("URI"); + Attr att = doc.createAttributeNS(null, "URI"); att.setValue(uri); el.setAttributeNodeNS(att); return el;