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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.10.2
    • 2.10.5, 2.11.0
    • camel-core
    • None
    • MacOS X, java 7

    • 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_problem.png
          46 kB
          Johan Mörén
        2. xsd-import_example-reopen.zip
          92 kB
          Johan Mörén
        3. xsd-import_example 2.zip
          31 kB
          Johan Mörén

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: