Project

Profile

Help

Bug #2875

closed

Inconsistency between Saxon 9.6 and Saxon 9.7 in output directory with xsl:result-document and @saxon:next-in-chain

Added by David Sewell over 8 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
XSLT conformance
Sprint/Milestone:
-
Start date:
2016-08-11
Due date:
% Done:

0%

Estimated time:
Legacy ID:
Applies to branch:
9.7
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:

Description

This may be related to the behavior I reported in 9.6 in Issue 2310 a while ago, but in this case I have a transformation scenario that was working in all versions of Saxon through 9.6 but breaks in 9.7. Given chained transformations via <xsl:output @saxon:next-in-chain="">, when the final transformation is using xsl:result-document with an @href containing a relative URI, Saxon 9.7 is not resolving the URI relative to the input document but relative to the stylesheet.

I am attaching a simple transformation scenario that will illustrate the different behavior--see the README file.

In my real-world case, I have a more complex sequence of chained transformations, where the final one is producing a run-time error in 9.7:

Error in xsl:result-document/@href on line 29 column 84 of 99-99-save.xsl:

Invalid relative URI syntax: URI is not absolute

Invalid relative URI syntax

I have various workarounds but thought I should submit this report so you can decide whether it's worth addressing.


Files

Saxon-test-case.zip (2.86 KB) Saxon-test-case.zip Files illustrating xsl:result-document / @saxon:next-in-chain issue David Sewell, 2016-08-11 22:00

Please register to edit this issue

Also available in: Atom PDF