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

relative references for nested xslt inclusions don't get resolved

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.22.0
    • 2.21.3, 2.22.1, 2.23.0
    • camel-core
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: