Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-5837

Problem with nested schema imports when upgrading from 2.8.6 to 2.10.2

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.10.2
    • Fix Version/s: 2.10.5, 2.11.0
    • Component/s: camel-core
    • Labels:
      None
    • Environment:

      MacOS X, java 7

    • Estimated Complexity:
      Unknown

      Description

      Hello

      I'm experiencing trouble with the validiator component when upgrading from 2.8.6 to 2.10.2.

      The problem seems to be related to imported schemas that does additional imports (all using relative paths). XSD A importing XSD B works fine. But if B in turn imports XSD C. That import seems to be resolved with the base path of A.

      All works fine in 2.8.6 but breaks when upgrading to 2.10.2.

      I will attach an example project where you can just switch version to verify the scenario.

        Attachments

        1. xsd-import_example 2.zip
          31 kB
          Johan Mörén
        2. xsd-import_example-reopen.zip
          92 kB
          Johan Mörén
        3. xsd_import_problem.png
          46 kB
          Johan Mörén

          Activity

            People

            • Assignee:
              njiang Willem Jiang
              Reporter:
              hutchkintoot Johan Mörén
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: