Bug #2737
closedFailure to reload an exported streaming stylesheet
100%
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
Updated by O'Neil Delpratt over 8 years ago
- Related to Bug #2707: Performance regression compiling very large stylesheets added
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.
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.
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