You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Alex Halovanic (JIRA)" <ji...@apache.org> on 2013/08/09 21:22:48 UTC

[jira] [Created] (CXF-5195) Wrong schema may be returned from LSResourceResolver.resolveResource() with null system ID

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