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;