Matt Patterson
- Login: matt@saxonica.com
- Introduction email sent: No
- Which product do you use?: Saxon
- Registered on: 2023-05-02
- Last connection: 2024-04-15
Issues
open | closed | Total | |
---|---|---|---|
Assigned issues | 6 | 2 | 8 |
Reported issues | 3 | 1 | 4 |
Projects
Project | Roles | Registered on |
---|---|---|
Saxon | Manager, Developer | 2023-05-02 |
Non-Conformances | Manager, Developer | 2023-05-02 |
Saxon-CE | Manager, Developer | 2023-05-02 |
SaxonC | Manager, Developer | 2023-05-02 |
SaxonJS | Manager, Developer | 2023-05-02 |
SaxonMirrorHE | Manager, Developer | 2023-05-02 |
W3C QT Specifications | Manager, Developer | 2023-05-02 |
Activity
2024-04-17
-
This is now fixed on the 12 branch, for both Java and SaxonC. It will be released in the next maintenance release. 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... -
2024-04-16
-
I'm still investigating exactly what's going on, and I'm not yet sure how related all these cases are. There's a degree more complexity with memory usage here because, effectively, GraalVM means there's a JVM running inside the C / Pytho... Bug #6398: Another? memory leak when using XSLTHere is test case compiling a single stylesheet once and running it various times in a loop, that approach also shows a memory leak:
from saxonche import PySaxonProcessor
import psutil
xslt = """<xsl:stylesheet xmlns:xsl="http:/...
2024-04-15
-
I think this is actually not a dupe of #6391. There seem to be two separate issues - retaining memory to do with a processor, and this one, probably to do with holding a copy of the input string when parsing. Bug #6391 (In Progress): Possible memory leak in Python processor?On StackOverflow, Rainbolt [reports](https://stackoverflow.com/questions/78322897/why-does-this-code-use-more-and-more-memory-over-time):
> Python: 3.11 Saxonche: 12.4.2
>
> My website keeps consuming more and more memory until the...
2024-03-19
-
Martin Honnen wrote in #note-7:
> Perhaps (kind of a wild guess after a broad search by Google to find stuff related to GraalVM and unsupported encodings) it helps to use `native-image -H:+AddAllCharsets` when building SaxonC to get bet... Bug #6372: Unable to parse Windows-1252 encoded XML files on LinuxFrom the forum (https://saxonica.plan.io/boards/4/topics/9617):
> working with version 12.4.2 on Linux and having this simplified C++ code to explain what I do:
>
> ``` cpp
> SaxonProcessor *processor = new SaxonProcessor(true);...
2024-03-18
-
Using just the bits of the Java code that the C++ parse code from the example uses, I can parse an XML file with a charset declaration of `windows-1252` fine. That suggests that there's a problem with the version of the parser we're bund... Bug #6372: Unable to parse Windows-1252 encoded XML files on LinuxFrom the forum (https://saxonica.plan.io/boards/4/topics/9617):
> working with version 12.4.2 on Linux and having this simplified C++ code to explain what I do:
>
> ``` cpp
> SaxonProcessor *processor = new SaxonProcessor(true);... -
2024-03-15
-
Thank you for reaching out.
This definitely looks like a bug, but can you give me some more information about the version of Linux you're using? It'd be good to know what distro and version, and the processor architecture (x86_64 or ... Saxon/C Help and Discussions: RE: java.io.UnsupportedEncodingException: Cp1252
Hello All,
working with version 12.4.2 on Linux and having this simplified C++ code to explain what I do:
``` cpp
SaxonProcessor *processor = new SaxonProcessor(true);
Xslt30Processor *trans = processor->newXslt30Processor();... -
If you can add more information about your Linux setup, that would be really helpful:
* Distro
* Architecture
* Version
If you have a sample XML file that triggers the problem, please upload it here if you can, that would be very... Bug #6372: Unable to parse Windows-1252 encoded XML files on LinuxFrom the forum (https://saxonica.plan.io/boards/4/topics/9617):
> working with version 12.4.2 on Linux and having this simplified C++ code to explain what I do:
>
> ``` cpp
> SaxonProcessor *processor = new SaxonProcessor(true);... -
> working with version 12.4.2 on Linux and having this simplified C++ code to explain what I do:
>
> ``` cpp
> SaxonProcessor *processor = new SaxonProcessor(true);...
Also available in: Atom