Project

Profile

Help

Regression 12.5 when using PyXdmFunctionItem().get_system... ยป main.py

Martin Honnen, 2024-08-28 16:53

 
from saxonche import *

with PySaxonProcessor() as saxon_proc:
print(saxon_proc.version)

parseJsonFn = PyXdmFunctionItem().get_system_function(saxon_proc,"{http://www.w3.org/2005/xpath-functions}parse-json",1)

xdm_result = parseJsonFn.call(saxon_proc, [saxon_proc.make_string_value('"foo"')])

print(xdm_result)


    (1-1/1)