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

Validator Component Fails on XSD with file Relative Imports or include

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.22.0, 2.22.1, 2.22.2
    • Fix Version/s: 3.10.0
    • Component/s: camel-core
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      When using the validator component with an XSD that references (import/include) 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.
      I found it it same bug ticket reported , although it stated it is fixed already at camel 2.10, but it does not work for us when we use >=camel 2.22. The problem is reported as fixed at
      https://issues.apache.org/jira/browse/CAMEL-6013 . i modified testcase of it and put it here again for you to reproduce the problem. thanks and rgds

        Attachments

        1. testcase.zip
          150 kB
          W.Y

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              W.Y W.Y
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: