Author: dkulp
Date: Wed Aug 14 17:52:06 2013
New Revision: 1513976
URL: http://svn.apache.org/r1513976
Log:
[CXF-5195] Update check for hte proper namespace
Patch from Alex Halovanic applied
Modified:
cxf/trunk/core/src/main/java/org/apache/cxf/ws/addressing/EndpointReferenceUtils.java
Modified:
cxf/trunk/core/src/main/java/org/apache/cxf/ws/addressing/EndpointReferenceUtils.java
URL:
http://svn.apache.org/viewvc/cxf/trunk/core/src/main/java/org/apache/cxf/ws/addressing/EndpointReferenceUtils.java?rev=1513976&r1=1513975&r2=1513976&view=diff
==============================================================================
---
cxf/trunk/core/src/main/java/org/apache/cxf/ws/addressing/EndpointReferenceUtils.java
(original)
+++
cxf/trunk/core/src/main/java/org/apache/cxf/ws/addressing/EndpointReferenceUtils.java
Wed Aug 14 17:52:06 2013
@@ -192,7 +192,7 @@ public final class EndpointReferenceUtil
// searching for a namespace match
if (namespaceURI != null) {
for (Map.Entry<String, byte[]> ent : schemas.entrySet()) {
- if (ent.getKey().endsWith(namespaceURI)) {
+ if (ent.getKey().endsWith(":" + namespaceURI)) {
schemas.remove(ent.getKey());
impl = new LSInputImpl();
impl.setSystemId(newId);