[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GitHub] camel pull request #2440: fix xslt nested relative refs

GitHub user pvdbosch opened a pull request:


    fix xslt nested relative refs

    If an XSLT A includes XSLT B which includes XSLT C using relative references, XSLT C is resolved relative to A instead of B.
    An example is added in unit test XsltIncludeRelativeNestedTest.
    This PR changes this behavior to the expected one, i.e. resolve relative references based on the location of the direct parent XSLT. 

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/kszbcss/camel xslt-nested-relative-refs

Alternatively you can review and apply these changes as the patch at:


To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2440
commit e4fe5a1b73355303b9f34e6c00bdb24241a9ff8b
Author: pvdbosch <peter.vandenbosch@...>
Date:   2018-07-25T09:51:11Z

    Resolve relative XSLT references from importing XSLT

commit 5d675226849164efc0d9fbeca0de3600c173d977
Author: pvdbosch <peter.vandenbosch@...>
Date:   2018-07-25T10:25:29Z

    tabs -> spaces

commit 4a99e0deeeaa4b3c0465cf9fa9ee78869f7b32d5
Author: pvdbosch <peter.vandenbosch@...>
Date:   2018-07-25T10:31:49Z

    checkstyle compliance

commit 4e7a73e8eb70677edf819fd6d4b2e3c9f83c1da7
Author: pvdbosch <peter.vandenbosch@...>
Date:   2018-07-25T10:47:41Z

    checkstyle compliance