cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject svn commit: r1551527 - in /cxf/trunk/rt/ws/policy/src: main/java/org/apache/cxf/ws/policy/blueprint/PolicyBPHandler.java test/java/org/apache/cxf/ws/policy/blueprint/PolicyBPHandlerTest.java
Date Tue, 17 Dec 2013 12:43:49 GMT
Author: ay
Date: Tue Dec 17 12:43:48 2013
New Revision: 1551527

URL: http://svn.apache.org/r1551527
Log:
fix url for CXF-5461

Modified:
    cxf/trunk/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/blueprint/PolicyBPHandler.java
    cxf/trunk/rt/ws/policy/src/test/java/org/apache/cxf/ws/policy/blueprint/PolicyBPHandlerTest.java

Modified: cxf/trunk/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/blueprint/PolicyBPHandler.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/blueprint/PolicyBPHandler.java?rev=1551527&r1=1551526&r2=1551527&view=diff
==============================================================================
--- cxf/trunk/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/blueprint/PolicyBPHandler.java
(original)
+++ cxf/trunk/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/blueprint/PolicyBPHandler.java
Tue Dec 17 12:43:48 2013
@@ -46,7 +46,7 @@ public class PolicyBPHandler implements 
             location = "schemas/oasis-200401-wss-wssecurity-secext-1.0.xsd";
         } else if ("http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd".equals(s))
{
             location = "schemas/oasis-200401-wss-wssecurity-utility-1.0.xsd";
-        } else if ("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/ws-securitypolicy-1.2.xsd".equals(s))
{
+        } else if ("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702".equals(s))
{
             location = "schemas/ws-securitypolicy-1.2.xsd";
         }
         if (location != null) {

Modified: cxf/trunk/rt/ws/policy/src/test/java/org/apache/cxf/ws/policy/blueprint/PolicyBPHandlerTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/ws/policy/src/test/java/org/apache/cxf/ws/policy/blueprint/PolicyBPHandlerTest.java?rev=1551527&r1=1551526&r2=1551527&view=diff
==============================================================================
--- cxf/trunk/rt/ws/policy/src/test/java/org/apache/cxf/ws/policy/blueprint/PolicyBPHandlerTest.java
(original)
+++ cxf/trunk/rt/ws/policy/src/test/java/org/apache/cxf/ws/policy/blueprint/PolicyBPHandlerTest.java
Tue Dec 17 12:43:48 2013
@@ -35,6 +35,8 @@ public class PolicyBPHandlerTest extends
         assertNotNull(handler.getSchemaLocation("http://www.w3.org/ns/ws-policy"));
         assertNotNull(handler.getSchemaLocation("http://www.w3.org/2006/07/ws-policy"));
         assertNotNull(handler.getSchemaLocation("http://schemas.xmlsoap.org/ws/2004/09/policy"));
+        
+        assertNotNull(handler.getSchemaLocation("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702"));
     }
 
 }



Mime
View raw message