cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Halovanic (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CXF-5195) Wrong schema may be returned from LSResourceResolver.resolveResource() with null system ID
Date Fri, 09 Aug 2013 19:22:48 GMT
Alex Halovanic created CXF-5195:
-----------------------------------

             Summary: Wrong schema may be returned from LSResourceResolver.resolveResource()
with null system ID
                 Key: CXF-5195
                 URL: https://issues.apache.org/jira/browse/CXF-5195
             Project: CXF
          Issue Type: Bug
    Affects Versions: 2.7.6
            Reporter: Alex Halovanic
            Priority: Minor


This is related to CXF-2609's fix for EndpointReferenceUtils:
{noformat}
if (ent.getKey().endsWith(namespaceURI)) {
{noformat}
I believe this should be:
{noformat}
if (ent.getKey().endsWith(":" + namespaceURI)) {
{noformat}
Otherwise this can return the wrong schema entry in the case of 2 schema where one's namespace
is a prefix + the other namespace.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message