Project

Profile

Help

Bug #3307

closed

SequenceEnumerator property Current returns XdmEmptySequence

Added by O'Neil Delpratt almost 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Category:
.NET API
Sprint/Milestone:
-
Start date:
2017-06-23
Due date:
% Done:

100%

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

Description

In the class @SequenceEnumerator@, the Current property now returns XdmEmptySequence after reading all items in the iterator.

This happens as a side effect to the changes made in the Wrap method in the class @XdmVaue@, where for a value that is null we return an @XdmEmptySequence@.

The proposal is to handle the null case (i..e when we reach the end of an iterator) from within the SequenceEnumerator class

Please register to edit this issue

Also available in: Atom PDF