Actions
Bug #5451
closedSaxonC 11.3: AttributeError: 'saxonc.PySaxonProcessor' object has no attribute 'new_xslt_processor'
Start date:
2022-04-08
Due date:
% Done:
0%
Estimated time:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Found in version:
Fixed in version:
SaxonC Languages:
SaxonC Platforms:
SaxonC Architecture:
Description
Hi!
I just upgraded from v1.2.1 to v11.3. Whilst my IDE is showing no issues, during executing of my script I get
AttributeError: 'saxonc.PySaxonProcessor' object has no attribute 'new_xslt_processor'
My Code:
import saxonc
file = ''
proc = saxonc.PySaxonProcessor(license=False)
xpath_proc = proc.new_xpath_processor()
xpath_proc.set_context(file_name=file)
item = xpath_proc.evaluate_single('/*/namespace::*[name()=\'\']')
Whilst the method is also available in the API docs: https://www.saxonica.com/saxon-c/doc11/html/saxonc.html#PySaxonProcessor
Related issues
Please register to edit this issue
Actions