Author: dkulp Date: Tue Oct 4 13:51:30 2011 New Revision: 1178786 URL: http://svn.apache.org/viewvc?rev=1178786&view=rev Log: Merged revisions 1178568 via svnmerge from https://svn.us.apache.org/repos/asf/cxf/branches/2.4.x-fixes
................ r1178568 | dkulp | 2011-10-03 16:40:35 -0400 (Mon, 03 Oct 2011) | 10 lines 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.3.x-fixes/ (props changed) cxf/branches/2.3.x-fixes/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/PolicyAnnotationListener.java Propchange: cxf/branches/2.3.x-fixes/ ------------------------------------------------------------------------------ Binary property 'svnmerge-integrated' - no diff available. Modified: cxf/branches/2.3.x-fixes/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/PolicyAnnotationListener.java URL: http://svn.apache.org/viewvc/cxf/branches/2.3.x-fixes/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/PolicyAnnotationListener.java?rev=1178786&r1=1178785&r2=1178786&view=diff ============================================================================== --- cxf/branches/2.3.x-fixes/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/PolicyAnnotationListener.java (original) +++ cxf/branches/2.3.x-fixes/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/PolicyAnnotationListener.java Tue Oct 4 13:51:30 2011 @@ -368,7 +368,7 @@ public class PolicyAnnotationListener im Document doc = DOMUtils.createDocument(); Element el = doc.createElementNS(ns, "wsp:" + PolicyConstants.POLICYREFERENCE_ELEM_NAME); - Attr att = doc.createAttribute("URI"); + Attr att = doc.createAttributeNS(null, "URI"); att.setValue(uri); el.setAttributeNodeNS(att); return el;
