Project

Profile

Help

Bug #6443

Updated by Matt Patterson about 1 month ago

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`: 

 ``` python 
 >>> 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 
 ``` 

Back