Bug #2629
Updated by Michael Kay almost 9 years ago
Raised in the help forum by Martin Honnen. See https://saxonica.plan.io/boards/3/topics/6271 The essence of the problem is this code: @<xsl:variable <xsl:variable name="product-type" as="xs:string" select="."/> <xsl:result-document href="{$product-type}-result.xml"> <root> <xsl:stream href="{$input-uri}"> <xsl:for-each select="*/product[@type = $product-type]"> <xsl:copy-of select="."/> </xsl:for-each> </xsl:stream> </root> </xsl:result-document>@ </xsl:result-document> where Saxon is trying to determine the streamability of the variable $product-type by referencing the streamability of the corresponding variable declaration, which has not been assessed because it does not appear in streamable code. Added to XSLT3 test suite as stream-210.xsl