Camel
  1. Camel
  2. CAMEL-5837

Problem with nested schema imports when upgrading from 2.8.6 to 2.10.2

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major 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.

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

        Activity

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development