Project

Profile

Help

Bug #4796

Provide a way to obtain an empty XdmSequenceIterator

Added by Michael Kay 11 months ago. Updated 11 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
s9api API
Sprint/Milestone:
-
Start date:
2020-10-17
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
10, trunk
Fix Committed on Branch:
10, trunk
Fixed in Maintenance Release:

Description

Chapman Flack points out on the saxon-help mailing list that there is no easy way to obtain an empty XdmSequenceIterator.

A simple solution to this is to change the declaration of XdmValue.iterate() -- it always returns an XdmSequenceIterator, so we might as well declare it as such.

History

#1 Updated by Michael Kay 11 months ago

  • Status changed from New to Resolved
  • Applies to branch 10, trunk added
  • Fix Committed on Branch 10, trunk added

I have implemented this change on the 10.x and 11.x branches

#2 Updated by O'Neil Delpratt 11 months ago

Bug fix applied in the Saxon 10.3 maintenance release

#3 Updated by O'Neil Delpratt 11 months ago

  • Status changed from Resolved to Closed
  • % Done changed from 0 to 100
  • Fixed in Maintenance Release 10.3 added

Please register to edit this issue

Also available in: Atom PDF