Actions
Bug #6327
closedTypeError: __str__ returned non-string (type NoneType)
Start date:
2024-01-19
Due date:
2024-01-19
% Done:
100%
Estimated time:
Applies to branch:
Fix Committed on Branch:
12
Fixed in Maintenance Release:
Found in version:
12.4.1
Fixed in version:
12.5
SaxonC Languages:
SaxonC Platforms:
SaxonC Architecture:
Description
Reported by user:
A newly created, but empty PyXdmValue gives a TypeError.
E.g.
xdm_value = PyXdmValue()
print(xdm_value)
It appears to still give an error
Traceback (most recent call last):
File "C:\Users\marti\PycharmProjects\SaxonC12PyXdmValueTest1\main.py", line 6, in <module>
print(xdm_value)
TypeError: __str__ returned non-string (type NoneType)
Related issues
Updated by O'Neil Delpratt 11 months ago
- Due date set to 2024-01-19
- Start date changed from 2024-01-25 to 2024-01-19
- Follows Bug #6324: PyXdmValue toString causes SIGSEGV, Segmentation fault added
Updated by O'Neil Delpratt 11 months ago
- Related to Bug #6333: Representing empty sequence added
Updated by O'Neil Delpratt 11 months ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Bug fix and committed to the repo. Tests added to pytest.
The PyXdmValue() is treated as an EmptySequence therefore it can be passed as a parameter to a processor.
Updated by O'Neil Delpratt 6 months ago
- Status changed from Resolved to Closed
- Fixed in version set to 12.5
Bug fix applied in the Saxon 12.5 Maintenance release.
Please register to edit this issue
Actions