Bug #2753
closedxsl:stream within extracted global variables
100%
Description
The changes made for bug #2707 have exposed a problem with the streamability analysis for xsl:stream instructions, which is best treated as a separate bug. The main manifestation is that if an xsl:stream instruction is extracted into a global variable, the streamability analysis (StreamInstr.prepareForStreaming()) is not done, causing streaming to fail at execution time with the message "Cannot execute xsl:stream when optimization has been disabled".
Affects tests stream-107/8/9.
Updated by Michael Kay over 8 years ago
- Status changed from New to Resolved
- Fix Committed on Branch 9.7, 9.8 added
For the time being, I have committed a patch which prevents an expression being extracted into a global variable if it contains an xsl:stream instruction.
Updated by Michael Kay over 8 years ago
- Status changed from Resolved to In Progress
The above patch solves these three test cases, but I'm also seeing failures for XQuery tests of saxon:stream() which need to be addressed.
Updated by Michael Kay over 8 years ago
- Status changed from In Progress to Resolved
I believe the unit test failures reported above were fixed before 9.7.0.6 was shipped, so the issue should have been marked as closed.
Updated by O'Neil Delpratt over 8 years ago
- % Done changed from 0 to 100
- Fixed in Maintenance Release 9.7.0.7 added
Bug fix applied in the Saxon 9.7.0.7 maintenance release.
Updated by O'Neil Delpratt over 8 years ago
- Status changed from Resolved to Closed
Updated by O'Neil Delpratt over 7 years ago
- Fix Committed on Branch trunk added
- Fix Committed on Branch deleted (
9.8)
Please register to edit this issue