Project

Profile

Help

Bug #4796

closed

Provide a way to obtain an empty XdmSequenceIterator

Added by Michael Kay over 3 years ago. Updated over 3 years 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:
Platforms:

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.

Actions #1

Updated by Michael Kay over 3 years 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

Actions #2

Updated by O'Neil Delpratt over 3 years ago

Bug fix applied in the Saxon 10.3 maintenance release

Actions #3

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