cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1178560 - /cxf/trunk/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/PolicyAnnotationListener.java
Date Mon, 03 Oct 2011 20:33:07 GMT
Author: dkulp
Date: Mon Oct  3 20:33:07 2011
New Revision: 1178560

URL: http://svn.apache.org/viewvc?rev=1178560&view=rev
Log:
[CXF-3842] Make sure an namespaced Attr is created
Patch from Marc Giger applied

Modified:
    cxf/trunk/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/PolicyAnnotationListener.java

Modified: cxf/trunk/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/PolicyAnnotationListener.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/PolicyAnnotationListener.java?rev=1178560&r1=1178559&r2=1178560&view=diff
==============================================================================
--- cxf/trunk/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/PolicyAnnotationListener.java
(original)
+++ cxf/trunk/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/PolicyAnnotationListener.java
Mon Oct  3 20:33:07 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;



Mime
View raw message