Project

Profile

Help

Bug #2753

closed

xsl:stream within extracted global variables

Added by Michael Kay over 8 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Streaming
Sprint/Milestone:
-
Start date:
2016-05-23
Due date:
% Done:

100%

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

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.

Actions #1

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.

Actions #2

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.

Actions #3

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.

Actions #4

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.

Actions #5

Updated by O'Neil Delpratt over 8 years ago

  • Status changed from Resolved to Closed
Actions #6

Updated by O'Neil Delpratt over 7 years ago

  • Fix Committed on Branch trunk added
  • Fix Committed on Branch deleted (9.8)
Actions #7

Updated by O'Neil Delpratt over 7 years ago

  • Applies to branch deleted (9.8)

Please register to edit this issue

Also available in: Atom PDF