O'Neil Delpratt
- Login: ond1
- Email: oneil@saxonica.com
- Registered on: 2012-01-26
- Last connection: 2024-12-17
Issues
open | closed | Total | |
---|---|---|---|
Assigned issues | 23 | 673 | 696 |
Reported issues | 19 | 423 | 442 |
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-12-16
-
Thanks Martin for your input. I have now managed to reproduce the crash using PyCharm on my M3, Mac OS.
This is a threading issue and as mentioned in comment #1 the fix is we are missing the `attachCurrentThread()` in SaxonProcessor and... Bug #6564: Debug with breakpoint crashesOn Win11 WSL, with Py 3.12.7, using Pycharm 2024.2.3, I was trying to debug and set breakpoints to step over code. I like to do that to watch variables and try/fix stuff as I go.
Start with a breakpoint on the `xml` variable line (#9)... -
We have decided to add:
```
isLicensed()
getSaxonEdition()
``` Feature #6517: There isn't a simple way to verify that Saxon has found and accepted a license file, regardless of editionWith a Saxon EE license, a call to isSchemaAware on the Processor will verify whether or not your EE license has been found and accepted. There's no equivalent for PE.
Some kind of `isLicensed()` method on Configuration or Processor w...
2024-12-13
-
I am marking this bug issue as closed.
The 256 string limit is only relevant for the PHP platform.
See: https://www.php.net/manual/en/language.types.string.php#:~:text=A%20string%20is%20a%20series,not%20offer%20native%20Unicode%20s... Bug #6317 (Closed): The cwd is limited to 256 characters1. What lengths should we use for the various platforms?
2. Where is this documented? -
I am unable to reproduce the crash on macos. So as you have said it maybe a specific issue on WSL-specific platforms. Bug #6564: Debug with breakpoint crashesOn Win11 WSL, with Py 3.12.7, using Pycharm 2024.2.3, I was trying to debug and set breakpoints to step over code. I like to do that to watch variables and try/fix stuff as I go.
Start with a breakpoint on the `xml` variable line (#9)...
2024-12-12
-
I am investigating this bug, which are sometimes tricky to solve. The crash is indicating a threading issue and from first inspection the underlying `parseXMLFromString()` method in the c++ API is missing the attachCurrentThread call.
Bug #6564 (In Progress): Debug with breakpoint crashesOn Win11 WSL, with Py 3.12.7, using Pycharm 2024.2.3, I was trying to debug and set breakpoints to step over code. I like to do that to watch variables and try/fix stuff as I go.
Start with a breakpoint on the `xml` variable line (#9)... -
Tested this again today and it looks we have fixed this issue. Bug #6539 (Resolved): PySaxonProcessor.parse_json does not create a PyXdmMapThe following example fails in producing the correct subtype when parsing JSON on the PySaxonProcessor:
``` python
json1 = """{ "test" : "This is a test. Price is higher than 25 €. " }"""
parsed_json1 = proc.parse_json(json_text=j... -
This issue is similar to #6605 - set the base uri on the XPath compiler. Fixed and available for the next maintenance release. Bug #6606 (Resolved): With XPath, although cwd is set, static-base-uri() is emptyThe Python program using SaxonC HE 12.5
``` python
from saxonche import *
from pathlib import Path
xquery1 = '"Static base uri : " || static-base-uri()'
with PySaxonProcessor() as saxon_proc:
print(saxon_proc.version)
...
2024-12-11
-
Thanks for reporting this issue. I have reproduced it and investigating it further. Bug #6606 (In Progress): With XPath, although cwd is set, static-base-uri() is emptyThe Python program using SaxonC HE 12.5
``` python
from saxonche import *
from pathlib import Path
xquery1 = '"Static base uri : " || static-base-uri()'
with PySaxonProcessor() as saxon_proc:
print(saxon_proc.version)
... -
In the internals of SaxonC we are not setting the base URI on the XQueryCompiler.
Bug now fixed and committed. Test case added to the pytests Bug #6605 (Resolved): Query using static-base-uri() compiled from string gives saxonche.PySaxonApiError: NullPointer exception found: java.lang.NullPointerExceptionThe Python program
``` python
from saxonche import *
from pathlib import Path
xquery1 = '"Static base uri : " || static-base-uri()'
with PySaxonProcessor() as saxon_proc:
print(saxon_proc.version)
xqueryProcessor...
2024-12-10
-
Thanks for reporting this issue. I have reproduced it and will report back after investigation. Bug #6605 (In Progress): Query using static-base-uri() compiled from string gives saxonche.PySaxonApiError: NullPointer exception found: java.lang.NullPointerExceptionThe Python program
``` python
from saxonche import *
from pathlib import Path
xquery1 = '"Static base uri : " || static-base-uri()'
with PySaxonProcessor() as saxon_proc:
print(saxon_proc.version)
xqueryProcessor...
Also available in: Atom