Project

Profile

Help

Bug #3584

closed

Streaming fallback for template rules should affect the whole mode or possibly the whole stylesheet

Added by Michael Kay over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
Streaming
Sprint/Milestone:
-
Start date:
2017-12-29
Due date:
% Done:

100%

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

Description

When one template rule in a mode is found to be not streamable, and the STREAMING_FALLBACK configuration option is enabled, we are marking that particular template rule as non-streamable. This isn't going to work: once we've started streaming a document, we can't suddenly pass a streamed node to a template rule that does (say) preceding-sibling::node on it.

Test case: run Transform with options

-xsl:si-value-of-101.xsl -t -s:si-value-of-100.xml --streamingFallback:on

in XSLT30 test suite directory tests/strm/si-value-of

With -jit:off we get a hard XTSE3430 failure (after a fallback warning). With -jit:on we get a fallback warning and then a run-time NPE.

Please register to edit this issue

Also available in: Atom PDF