issue with run_query_to_string(input_file_name

Added by Martin Honnen over 4 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
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.

Replies (1)

RE: issue with run_query_to_string(input_file_name - Added by O'Neil Delpratt over 4 years ago

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