Project

Profile

Help

Bug #2304

closed

Streaming: early exit not working

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

Status:
Closed
Priority:
Normal
Assignee:
Category:
Streaming
Sprint/Milestone:
Start date:
2015-02-02
Due date:
% Done:

100%

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

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.

Actions #1

Updated by O'Neil Delpratt over 7 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.

Actions #2

Updated by O'Neil Delpratt over 6 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

Also available in: Atom PDF