You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by ay...@apache.org on 2013/12/20 13:50:33 UTC
svn commit: r1552628 - in /cxf/branches/2.6.x-fixes/rt/ws/policy/src:
main/java/org/apache/cxf/ws/policy/blueprint/PolicyBPHandler.java
test/java/org/apache/cxf/ws/policy/blueprint/PolicyBPHandlerTest.java
Author: ay
Date: Fri Dec 20 12:50:33 2013
New Revision: 1552628
URL: http://svn.apache.org/r1552628
Log:
Merged revisions 1552275 via git cherry-pick from
https://svn.apache.org/repos/asf/cxf/branches/2.7.x-fixes
........
r1552275 | ay | 2013-12-19 11:01:23 +0100 (Thu, 19 Dec 2013) | 10 lines
Merged revisions 1551527 via git cherry-pick from
https://svn.apache.org/repos/asf/cxf/trunk
........
r1551527 | ay | 2013-12-17 13:43:48 +0100 (Tue, 17 Dec 2013) | 2 lines
fix url for CXF-5461
........
........
Modified:
cxf/branches/2.6.x-fixes/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/blueprint/PolicyBPHandler.java
cxf/branches/2.6.x-fixes/rt/ws/policy/src/test/java/org/apache/cxf/ws/policy/blueprint/PolicyBPHandlerTest.java
Modified: cxf/branches/2.6.x-fixes/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/blueprint/PolicyBPHandler.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.6.x-fixes/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/blueprint/PolicyBPHandler.java?rev=1552628&r1=1552627&r2=1552628&view=diff
==============================================================================
--- cxf/branches/2.6.x-fixes/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/blueprint/PolicyBPHandler.java (original)
+++ cxf/branches/2.6.x-fixes/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/blueprint/PolicyBPHandler.java Fri Dec 20 12:50:33 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/branches/2.6.x-fixes/rt/ws/policy/src/test/java/org/apache/cxf/ws/policy/blueprint/PolicyBPHandlerTest.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.6.x-fixes/rt/ws/policy/src/test/java/org/apache/cxf/ws/policy/blueprint/PolicyBPHandlerTest.java?rev=1552628&r1=1552627&r2=1552628&view=diff
==============================================================================
--- cxf/branches/2.6.x-fixes/rt/ws/policy/src/test/java/org/apache/cxf/ws/policy/blueprint/PolicyBPHandlerTest.java (original)
+++ cxf/branches/2.6.x-fixes/rt/ws/policy/src/test/java/org/apache/cxf/ws/policy/blueprint/PolicyBPHandlerTest.java Fri Dec 20 12:50:33 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"));
}
}