Streaming: early exit not working
When a streaming XSLT 3.0 stylesheet does not need to read the whole input file (for example, because of an xsl:iterate/xsl:break instruction, or because an exists() test is satisfied) it should silently abandon parsing, and return successfully. This is working when streaming is initiated using xsl:stream, but not when the streamed input document is the primary input supplied on the command line, or via the s9api transformation API. In the latter case the transformation is failing with an error, (Error "SXQP0001: No more input required"). This exception is Saxon's internal signal to the parser to abandon its work, and it should not be visible to the user.
A patch will be applied to the 9.6 and 9.7 branches. Test case si-iterate-094 added.
Please register to edit this issue