You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2013/08/14 20:06:49 UTC

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

     [ https://issues.apache.org/jira/browse/CXF-5195?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp resolved CXF-5195.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.7.7
                   2.6.10
         Assignee: Daniel Kulp
    
> 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
>            Assignee: Daniel Kulp
>            Priority: Minor
>             Fix For: 2.6.10, 2.7.7
>
>         Attachments: CXF-5195.patch
>
>
> 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