Actions
Bug #4296
closedXdmEnumerator on .NET
Start date:
2019-08-23
Due date:
% Done:
100%
Estimated time:
Legacy ID:
Applies to branch:
9.9, trunk
Fix Committed on Branch:
9.9, trunk
Fixed in Maintenance Release:
Platforms:
Description
See also issue #4290.
The ExtensionFunctionDefinition/ExtensionFunctionCall
inferface on .NET requires user-written code to return an IXdmEnumerator
. However, we do not provide any useful ways of constructing an IXdmEnumerator
; we have implementations of this interface, but with the exception of EmptyEnumerator
, they are not exposed.
It would be useful (for starters) if XdmValue.Enumerate()
returned an IXdmEnumerator
rather than its superclass, IEnumerator<XdmItem>
. Alternatively we could relax the definition of ExtensionFunctionCall.Call()
so it is allowed to return any IEnumerator<XdmItem>
, not necessarily an IXdmEnumerator
.
Please register to edit this issue
Actions