issue with run_query_to_string(input_file_name
Replies (1)
Please register to reply
Forums » Saxon/C Help and Discussions »
Added by Martin Honnen about 5 years ago
Using Saxon HEC 1.2.1, I continue to run into issues, this time I have tried to use a keyword argument run_query_to_string(input_file_name
of an PyXQueryProcessor and that causes an exception
File "saxonc.pyx", line 2398, in saxonc.PyXQueryProcessor.run_query_to_string
self.set_context(kwds["input_file_name"])
TypeError: set_context() takes exactly 0 positional arguments (1 given)
so it seems somehow the internal API implementation for run_query_to_string
doesn't pass the input_file_name
keyword argument on properly (as a keyword arg itself?) to its own set_context
method.
Thanks for spotting this one. I have created the bug issue #4387 and have committed the fix in subversion to the saxonc.pyx file.
Please register to reply