[
https://issues.apache.org/jira/browse/CXF-5195?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alex Halovanic updated CXF-5195:
--------------------------------
Attachment: CXF-5195.patch
Patch against trunk file location.
> 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
> 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