Actions
Bug #6443
openPython PySaxonProcessor.make_atomic_value is returning None instead of a value
Start date:
2024-06-03
Due date:
% Done:
0%
Estimated time:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Found in version:
12.4.2
Fixed in version:
SaxonC Languages:
SaxonC Platforms:
SaxonC Architecture:
Description
The make_atomic_value
method of PySaxonProcessor
is returning None
and not a value.
The second argument is also supposed to be a string, but there's an error thrown unless it's a bytes
:
>>> from saxonche import PySaxonProcessor
>>> proc = PySaxonProcessor()
>>> proc.make_atomic_value("string", "hello world")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "python_saxon/saxonc.pyx", line 573, in saxonche.PySaxonProcessor.make_atomic_value
TypeError: expected bytes, str found
>>> v = proc.make_atomic_value("string", b"hello world")
>>> v is None
True
Please register to edit this issue
Actions