Bug #2304
closedStreaming: early exit not working
100%
Description
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.
Updated by O'Neil Delpratt over 9 years ago
- Status changed from Resolved to Closed
- % Done changed from 0 to 100
- Fixed in version set to 9.6.0.5
Bug fix applied in the Saxon 9.6.0.5 maintenance release.
Updated by O'Neil Delpratt almost 9 years ago
- Sprint/Milestone set to 9.6.0.5
- Applies to branch 9.6 added
- Fix Committed on Branch 9.6 added
- Fixed in Maintenance Release 9.6.0.5 added
Please register to edit this issue