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

Validator component fails on XSD with indirect relative import

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.10.3
    • 2.10.4, 2.11.0
    • camel-core
    • None
    • Unknown

    Description

      When using the validator component with an XSD that references a second XSD on a different path, and where the second XSD references a third XSD using a relative path, the path of the third XSD is resolved relative to the first schema rather than relative to the second. This looks similar to CAMEL-5321, but the schemas that trigger this issue necessarily involve an additional layer of includes.

      I will include a test case that I rolled into the tarball from CAMEL-5321.

      Attachments

        1. camel-validator-test.tar.gz
          16 kB
          Peter Grant

        Issue Links

          Activity

            People

              njiang Willem Jiang
              petercgrant Peter Grant
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: