Summary: | Regression: Error importing ISO20022 XML into Skrooge | ||
---|---|---|---|
Product: | [Applications] skrooge | Reporter: | Matija Šuklje <matija> |
Component: | general | Assignee: | Stephane MANKOWSKI <stephane> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version First Reported In: | Trunk from git | ||
Target Milestone: | 25.1.0 | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/office/skrooge/-/commit/ee47b689445caa982bc048ac0278f68c01db928b | Version Fixed In: | |
Sentry Crash Report: |
Description
Matija Šuklje
2025-07-23 21:30:07 UTC
Upon further digging, I suspect the culprit is that I don’t seem to have `saxonb-xsl` installed on my machine. It seems this dependency was introduced a few months ago during the Qt6 port, specifically here: https://invent.kde.org/office/skrooge/-/commit/44621f8b8efee01380df46afa939080be724d7d1#6005aaa4fbe3fa54ed3d69b67fcbeec0776d092f_94_104 Git commit a6b40b0d2c33f2fe344b7cf10169f06934723078 by Stéphane MANKOWSKI. Committed on 24/07/2025 at 19:49. Pushed by smankowski into branch 'master'. Regression: Error importing ISO20022 XML into Skrooge M +2 -1 CHANGELOG M +11 -3 plugins/import/skrooge_import_xml/skgimportpluginxml.cpp https://invent.kde.org/office/skrooge/-/commit/a6b40b0d2c33f2fe344b7cf10169f06934723078 Stéphane, thanks for working on this so fast. It seems like the command is not always called `saxonb-xslt` – e.g. on Arch(-based distros), it is only available in the user-contributed AUR and the command is called `saxon-xslt` (and currently broken, but that’s not Skrooge’s concern). Would it be possible to rely on a more commonly packaged XSLT processor instead? Or be able to use either of the existing options? According to https://en.wikipedia.org/wiki/Saxon_XSLT there are also LibXML/LibXSLT and Apache Xalan. If a quick search on https://repology.org/ is worth anything, it seems Xalan is slightly more commonly packaged than Saxon, and LibXSLT is much more widely distributed then both. Hi, XALAN doesn't support xslt 2.0, only 1.0 is supported. That's why I selected saxonb. I will do a modification to search saxonb-xslt or saxon-xslt. Git commit ee47b689445caa982bc048ac0278f68c01db928b by Stéphane MANKOWSKI. Committed on 25/07/2025 at 20:19. Pushed by smankowski into branch 'master'. Regression: Error importing ISO20022 XML into Skrooge M +11 -4 plugins/import/skrooge_import_xml/skgimportpluginxml.cpp https://invent.kde.org/office/skrooge/-/commit/ee47b689445caa982bc048ac0278f68c01db928b |