Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-5195

Wrong schema may be returned from LSResourceResolver.resolveResource() with null system ID

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.7.6
    • 2.6.10, 2.7.7
    • None
    • None
    • Novice

    Description

      This is related to CXF-2609's fix for EndpointReferenceUtils:

      if (ent.getKey().endsWith(namespaceURI)) {
      

      I believe this should be:

      if (ent.getKey().endsWith(":" + namespaceURI)) {
      

      Otherwise this can return the wrong schema entry in the case of 2 schema where one's namespace is a prefix + the other namespace.

      Attachments

        1. CXF-5195.patch
          0.8 kB
          Alex Halovanic

        Activity

          People

            dkulp Daniel Kulp
            halovanic Alex Halovanic
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: