Commit Graph

436 Commits

Author SHA1 Message Date
Ivan Pereverziev
7fa2d70128 Fix resource leaks in core file processing classes
- Add try-with-resources for FileInputStream in ZUGFeRDVisualizer
- Fix unclosed InputStream in ZUGFeRDInvoiceImporter with try-with-resources
- Add explicit close() call for XMLWriter in ZUGFeRDValidator
- Properly close DataInputStream in ZUGFeRDExporterFromPDFA
- Fix resource management in Main.convertInputStreamToString
2025-03-13 11:26:35 +01:00
jstaerk
2bcedad471 working on #774 2025-03-12 13:43:12 +01:00
jstaerk
c3332c3329 [maven-release-plugin] prepare for next development iteration 2025-03-03 11:33:56 +01:00
jstaerk
96a7115de1 [maven-release-plugin] prepare release core-2.16.3 2025-03-03 11:33:55 +01:00
Jochen Staerk
6461dad8d3 Merge pull request #725 from Faerballert/feature/xml_parser_xxe_attacks
Unable to perform XML-oriented attacks
2025-02-19 15:50:02 +01:00
jstaerk
036de68d0a [maven-release-plugin] prepare for next development iteration 2025-02-04 14:15:22 +01:00
jstaerk
3bf9b0dca6 [maven-release-plugin] prepare release core-2.16.2 2025-02-04 14:15:19 +01:00
Timon Färber
327c6d8a38 feat: unable to perform XML-oriented attacks 2025-01-31 18:58:31 +01:00
jstaerk
331c05857b [maven-release-plugin] prepare for next development iteration 2025-01-21 13:12:43 +01:00
jstaerk
e4915c578c [maven-release-plugin] prepare release core-2.16.1 2025-01-21 13:12:41 +01:00
jstaerk
0fd8775d70 verapdf upgrade 2025-01-17 14:41:18 +01:00
jstaerk
8d7a3a9d6d closes #679 2025-01-14 07:18:28 +01:00
jstaerk
c1152e20fe [maven-release-plugin] prepare for next development iteration 2025-01-10 17:40:06 +01:00
jstaerk
7c67d664d7 [maven-release-plugin] prepare release core-2.16.0 2025-01-10 17:40:03 +01:00
Adrian-Devries
7bfb7dab26 Merge branch 'ZUGFeRD:master' into fix-logback 2025-01-07 12:20:27 +01:00
Adrian-Devries
bfa4f4bb2b Merge branch 'ZUGFeRD:master' into fix-logback 2025-01-06 11:41:17 +01:00
Adrian-Devries
9baba41d3c Update XMLValidator.java
Fix typo
2025-01-06 11:35:59 +01:00
Adrian-Devries
dd06c3eb5a Update README.md
Fix small typo
2025-01-06 11:34:53 +01:00
jstaerk
bfd879f216 [maven-release-plugin] prepare for next development iteration 2024-12-19 16:26:24 +01:00
jstaerk
f149bfe95b [maven-release-plugin] prepare release core-2.15.2 2024-12-19 16:26:22 +01:00
Adrian-Devries
1e57af5a6f fix logback config
fix logback config (cf. https://logback.qos.ch/codes.html#nested_if_element)
2024-12-19 15:41:49 +01:00
jstaerk
4a44bf0941 correcting an issue 2024-12-19 06:25:24 +01:00
jstaerk
dc10907406 [maven-release-plugin] prepare for next development iteration 2024-12-07 10:47:39 +01:00
jstaerk
0861177100 [maven-release-plugin] prepare release core-2.15.1 2024-12-07 10:47:38 +01:00
jstaerk
98f0f140aa closes #606 2024-12-07 10:35:43 +01:00
jstaerk
b226dc7d8b new signature 2024-12-07 10:29:15 +01:00
Jochen Staerk
50cb50f63c Merge pull request #577 from langfr/feature/dom4j_exclusions
dom4j: exclude all (optional) dependencies to avoid potential conflicts.
2024-12-03 13:27:46 +01:00
Jochen Staerk
6400c84499 Merge pull request #595 from mkilian/xr-val-schematron-err
Treat all fatal XR schematron rules as errors, not as warnings.
2024-12-03 13:18:59 +01:00
Matthias Kilian
d0aeffdc1c Treat all fatal XR schematron rules as errors, not as warnings.
In org.mustangproject.validator.XMLValidator.validateSchematron(),
the severity has to be determined for every node of the validation
result.  Otherwise, all schematron assertions tagged as "fatal"
will be treated as warnings after the first warning.
2024-11-29 22:02:09 +01:00
jstaerk
fa073b1cf2 log error ids 2024-11-26 15:51:19 +01:00
jstaerk
2f4011ced1 working on #566 2024-11-24 15:24:35 +01:00
langfr
b69dceaae7 dom4j: exclude all (optional) dependencies to avoid potential conflicts. 2024-11-23 14:36:14 +00:00
jstaerk
cd74292200 [maven-release-plugin] prepare for next development iteration 2024-11-18 19:28:59 +01:00
jstaerk
cdcd022c3d [maven-release-plugin] prepare release core-2.15.0 2024-11-18 19:28:57 +01:00
jstaerk
a1eb76fbb9 [maven-release-plugin] rollback the release of core-2.15.0 2024-11-18 19:15:08 +01:00
jstaerk
ac50ce7d99 [maven-release-plugin] prepare for next development iteration 2024-11-18 19:10:43 +01:00
jstaerk
3816ae7eb7 [maven-release-plugin] prepare release core-2.15.0 2024-11-18 19:10:40 +01:00
jstaerk
fcb2813a10 closing #531 2024-11-17 21:08:00 +01:00
Jochen Staerk
287a77cfea Merge branch 'master' into master 2024-11-17 19:49:49 +01:00
Jochen Staerk
c0b766e5c3 Merge pull request #548 from melo0187/verify-validation-supports-warnings
Add test verifying #546 has been fixed
2024-11-17 19:20:16 +01:00
jstaerk
d87e678de8 tests run through 2024-11-17 11:42:22 +01:00
jstaerk
77baec06bb closes #555 2024-11-14 07:42:56 +01:00
melo0187
d75a43d4e1 Add test verifying #546 has been fixed 2024-11-06 11:52:52 +01:00
Sebastian Sieber
11c6891e8a Make tests successful.
This commit is without any knowledge and can be reverted.
2024-11-05 16:36:17 +01:00
Jochen Staerk
e8a1997b14 Merge pull request #539 from melo0187/fix-pdfa-validation
Fix #538: PDFValidation for PDF/A-3A always invalid
2024-11-01 17:42:51 +01:00
melo0187
9afe593562 Fix #538: PDFValidation for PDF/A-3A always invalid
This fixes the bug where validation of actually valid PDF/A-3A files
always claimed that the PDF is "Not a PDF/A-3".
In fact, the validation was only accepting levels 3B and 3U.
2024-10-31 16:50:09 +01:00
jstaerk
7a9d7f9958 Merge branch 'master' of github.com:ZUGFeRD/mustangproject 2024-10-31 13:00:21 +01:00
jstaerk
5eaedf2560 parse typecode in ubl 2024-10-31 13:00:06 +01:00
pdfbrewer
ed49e8dcdc Add CIB pdf brewer signature 2024-10-30 09:09:27 +00:00
jstaerk
aeb491873d closes #532 2024-10-29 07:03:19 +01:00