Actions
Bug #5451
closed![Author: Peter Jan](https://www.gravatar.com/avatar/83518784e56c3e3dacae4ea60dc26a16?rating=PG&size=50&default=https%3A%2F%2Fassets.plan.io%2Fimages%2Fdefault_avatar.png)
![Assignee: O'Neil Delpratt](https://www.gravatar.com/avatar/a0bc1766b412d8fecb16f7d304916359?rating=PG&size=22&default=https%3A%2F%2Fassets.plan.io%2Fimages%2Fdefault_avatar.png)
SaxonC 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