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

relative references for nested xslt inclusions don't get resolved

    XMLWordPrintableJSON

    Details

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

      Description

      If an XSLT A includes XSLT B which includes XSLT C using relative references, XSLT C is resolved relative to A instead of B.

      The attached PR provides a unit test and fix for the described scenario. It changes the behavior to the expected one, i.e. resolve relative references based on the location of the direct parent XSLT.

       

       

        Attachments

          Activity

            People

            • Assignee:
              acosentino Andrea Cosentino
              Reporter:
              pvdbosch Peter Van den Bosch
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: