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.

Please register to edit this issue

Also available in: Atom PDF