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

Multiple chained schema imports not handled correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.1.3, 2.7.18, 3.0.7
    • Simple Frontend
    • None
    • Unknown

    Description

      We seems to still have issue with xsd/wsdl schema import location rewrite in scenarios as follows:

      `-- WEB-INF
          `-- classes
              `-- wsdl
                  |-- sayhi
                  |   |-- a.wsdl
                  |   |-- sayhi
                  |   |   |-- a.wsdl
                  |   |   `-- sayhi-schema1.xsd
                  |   `-- sayhi-schema1.xsd
                  `-- thewsdl
                      `-- sayHi.wsdl
      

      WEB-INF/classes/wsdl/thewsdl/sayHi.wsdl being the entry point and importing "../sayhi/sayhi-schema1.xsd", WEB-INF/classes/wsdl/sayhi/sayhi-schema1.xsd importing "sayhi/sayhi-schema1.xsd".

      The problem is that the second import is not rewritten because when filling up the schema map used for wsdl/xsd updates, relative key values are erroneously used (IOW the second import "say/sayhi-schema1.xsd" is not resolved on top of the first one "../sayhi/sayhi-schema1.xsd", while it should).

      Attachments

        Issue Links

          Activity

            People

              asoldano Alessio Soldano
              asoldano Alessio Soldano
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: