O'Neil Delpratt
- Login: ond1
- Email: oneil@saxonica.com
- Registered on: 2012-01-26
- Last connection: 2024-04-26
Issues
open | closed | Total | |
---|---|---|---|
Assigned issues | 39 | 641 | 680 |
Reported issues | 24 | 403 | 427 |
Projects
Project | Roles | Registered on |
---|---|---|
Saxon | Manager, Developer, Reporter | 2012-01-27 |
Saxon-CE | Developer, Reporter | 2012-02-01 |
SaxonC | Manager, Developer, Reporter | 2013-11-28 |
SaxonJS | Manager, Developer, Reporter | 2016-08-11 |
SaxonMirrorHE | Manager, Developer | 2021-02-02 |
Activity
2024-04-26
-
Reopening this bug issue. Feature #5967 (In Progress): allow to set language version 4.0 for XPath evaluationSaxonJ EE supports setting the XPath language version to 4.0 (for the currently experimental XPath 4.0 support); it appears that SaxonC so far only allows that for XQuery (where a `lang` argument has been added to the API) but it so far ...
-
And because of comment #7 the following hack/workaround works for me:
``` python
xpath_proc.set_property('lang:', '4.0')
xpath_proc.set_property('lang', '4.0')
```
2024-04-24
-
Eliot Kimber wrote in message#9651:
> I also noticed that if I reuse a PyXsltExecutable, that the messages will accumulate across calls to transform_to_*() unless I do this:
>
> ```
> executable.set_save_xsl_message(False)
> ... Saxon/C Help and Discussions: RE: Integrate Python logger or redirect stdin and stdout?I've got Saxonche working in a Python environment where I'm calling it from a little TKInter GUI that provides a logging panel for reflecting the messages from processes run by the GUI.
I'm not seeing an obvious way to have messages e... -
> I'm getting an NPE when I try setting a filename on the executable:
>
> Python code:
>
> ```
> message_path: str = output_dir.joinpath('xslt-messages.xml').as_posix()
> execu... -
Feature #6402 (New): Successive calls to getXslMessages accumulates messagesReported by user here https://saxonica.plan.io/boards/4/topics/9646?r=9651#message-9651
User noticed the reuse of PyXsltExecutable, that the messages will accumulate across calls to transform_to_*() unless I do this:
``` python
... -
Bug #6401 (New): Exception running transform: NullPointer exception found: net.sf.saxon.s9api.SaxonApiExceptionReported by user in the forum post: https://saxonica.plan.io/boards/4/topics/9646?r=9650#message-9650
I'm getting an NPE when I try setting a filename on the executable:
Python code:
``` python
message_path: str = outpu...
2024-04-23
-
That is correct, a custom handler is not currently supported in python. Saxon/C Help and Discussions: RE: Integrate Python logger or redirect stdin and stdout?I've got Saxonche working in a Python environment where I'm calling it from a little TKInter GUI that provides a logging panel for reflecting the messages from processes run by the GUI.
I'm not seeing an obvious way to have messages e... -
You can turn them on/off, save to file or capture them and return them in an PyXdmValue.
To start with see: https://www.saxonica.com/documentation12/index...
2024-04-15
-
Moving this project to the SaxonC project Bug #6392: Memory leak in PySaxonProcessor (Python)Consider the following code fragment:
from saxonche import PySaxonProcessor
import psutil
count = 0
prev = (mi := psutil.Process().memory_info)().rss
for _ in range(100):
with PySaxonProcessor(license=False):
pas...
2024-04-10
-
Yes I am not surprised as its the same base code across the three products. We have a fix for this. Bug #6381: set_unprefixed_element_matching_policy(1) doesn't seem to workI wrote the following Python code making use of `set_unprefixed_element_matching_policy(1)` on an `PyXPathProcessor`:
``` python
from saxonche import PySaxonProcessor
with PySaxonProcessor() as saxon_proc:
print(saxon_proc.ve...
Also available in: Atom