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

        Claus Ibsen made changes -
        Fix Version/s 2.10.5 [ 12324024 ]
        Fix Version/s 2.10.4 [ 12323558 ]
        Claus Ibsen made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Johan Mörén made changes -
        Attachment xsd_import_problem.png [ 12573853 ]
        Johan Mörén made changes -
        Attachment xsd-import_example-reopen.zip [ 12573852 ]
        Johan Mörén made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Willem Jiang made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 2.10.4 [ 12323558 ]
        Fix Version/s 2.11.0 [ 12321695 ]
        Resolution Fixed [ 1 ]
        Willem Jiang made changes -
        Assignee Willem Jiang [ njiang ]
        Johan Mörén made changes -
        Attachment xsd-import_example 2.zip [ 12555499 ]
        Johan Mörén made changes -
        Field Original Value New Value
        Summary Problem with nested schema exports when upgrading from 2.8.6 to 2.10.2 Problem with nested schema imports when upgrading from 2.8.6 to 2.10.2
        Johan Mörén created issue -

          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