Project

Profile

Help

Bug #4409

closed

TypeError: expected bytes, str found in saxonc.PyXQueryProcessor.set_query_base_uri

Added by O'Neil Delpratt over 4 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Category:
Python
Start date:
2019-12-17
Due date:
% Done:

100%

Estimated time:
Found in version:
Fixed in version:
11.1
Platforms:

Description

Reported by user here: https://saxonica.plan.io/boards/4/topics/7727

The code:

xquery_processor.set_query_base_uri(base_uri)

Gives the error:

xquery_processor.set_query_base_uri(base_uri)
File "saxonc.pyx", line 2493, in saxonc.PyXQueryProcessor.set_query_base_uri
self.thisxqptr.setQueryBaseURI(base_uri)
TypeError: expected bytes, str found

Please register to edit this issue

Also available in: Atom PDF