Project

Profile

Help

Bug #2737

closed

Failure to reload an exported streaming stylesheet

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

Status:
Closed
Priority:
Normal
Assignee:
Category:
XSLT export
Sprint/Milestone:
-
Start date:
2016-05-09
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 following message can occur on reloading an exported stylesheet that uses streamable modes.

Stylesheet packaging problem: reloaded template is not streamable. Cannot use a non-streamable mode in a streamable template.

The problem is random, in the sense that it depends on the order in which modes are exported and this depends on the order of entries in a hash table. It occurs when mode A contains an apply-templates in (streamable) mode B, and A is exported before B. Test case mode-1422 shows the problem, not with Saxon 9.7 as issued, but after applying the changes for bug 2707.


Related issues

Related to Saxon - Bug #2707: Performance regression compiling very large stylesheetsClosedMichael Kay2016-04-11

Actions
Actions #1

Updated by O'Neil Delpratt over 8 years ago

  • Related to Bug #2707: Performance regression compiling very large stylesheets added
Actions #2

Updated by Michael Kay over 8 years ago

Confirmed that the problem is still present in 9.7, and exhibits itself when XSLT3 test mode-1422 is run with the -export option.

Actions #3

Updated by Michael Kay over 8 years ago

  • Status changed from New to Resolved
  • Applies to branch 9.8 added
  • Fix Committed on Branch 9.7, 9.8 added

Resolved by deferring the call on "mode.prepareStreamability()" to be done when all modes have been reloaded from the export file.

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