Project

Profile

Help

Feature #4848

closed

PyXdmValue should be iterable

Added by O'Neil Delpratt about 4 years ago. Updated almost 3 years ago.

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

100%

Estimated time:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Found in version:
1.2.1
Fixed in version:
11.1
SaxonC Languages:
SaxonC Platforms:
SaxonC Architecture:

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 about 4 years 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 almost 3 years 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 almost 3 years ago

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

Please register to edit this issue

Also available in: Atom PDF