Project

Profile

Help

Bug #3584

Updated by Michael Kay over 6 years ago

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 

 <pre> 
 -xsl:si-value-of-101.xsl -t -s:si-value-of-100.xml --streamingFallback:on 
 </pre> 

 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.

Back