Project

Profile

Help

Feature #4848

closed

PyXdmValue should be iterable

Added by O'Neil Delpratt over 1 year ago. Updated 4 months ago.

Status:
Closed
Priority:
Normal
Category:
Python
Start date:
2020-12-03
Due date:
% Done:

100%

Estimated time:
Found in version:
1.2.1
Fixed in version:
11.1
Platforms:

Description

Feature request to make the PyXdmValue class object iterable in the Python API.

Test code:

for item in xdmValue:
    print(item)

Related issues

Related to SaxonC - Bug #5342: PyXdmMap and PyXdmArray should be iterableClosedO'Neil Delpratt2022-02-21

Actions
Actions #1

Updated by O'Neil Delpratt over 1 year ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

I have made the PyXdmValue class as an Iterable and created a Iterator class for it.

Added some unit tests for this feature.

Available in the next maintenance release.

Actions #2

Updated by O'Neil Delpratt 4 months ago

  • Status changed from Resolved to Closed
  • Fixed in version set to 11.1

Feature available in the SaxonC 11.1 release

Actions #3

Updated by O'Neil Delpratt 3 months ago

  • Related to Bug #5342: PyXdmMap and PyXdmArray should be iterable added

Please register to edit this issue

Also available in: Atom PDF