Commit Graph

244 Commits

Author SHA1 Message Date
jstaerk
c38d3ee818 closes #834, hopefully 2025-05-19 13:11:34 +02:00
jstaerk
6429c5e410 prevent double validation against ZF (which contains CEN) and CEN itself 2025-05-15 07:46:19 +02:00
jstaerk
dd0496a031 new xslts 2025-05-15 07:35:57 +02:00
jstaerk
1d4fe9ac49 new schematron and schema files, new folder name, 1 failing test, additional cen still to be removed 2025-05-14 09:20:14 +02:00
Jochen Staerk
c7b73e190f Merge pull request #817 from stephanstapel/master
Added ZUGFeRD.PDF-csharp to list of valid PDF creators
2025-05-14 08:47:51 +02:00
jstaerk
443183e928 closes #788 2025-04-22 11:15:22 +02:00
jstaerk
1d502d9a94 closes #819 2025-04-19 16:00:34 +02:00
Stephan
fe6c64a1a0 Added ZUGFeRD.PDF-csharp to list of valid PDF creators 2025-04-16 20:07:36 +02:00
jstaerk
f635f355be further removal disabling of required features 2025-04-14 10:28:41 +02:00
jstaerk
060aca216a removed disabling of required features 2025-04-14 10:13:32 +02:00
jstaerk
97f6b6ad31 Merge branch 'master' of github.com:ZUGFeRD/mustangproject 2025-04-08 08:43:00 +02:00
jstaerk
ee5ab48b4b added a forgotten file which is not really neccessary because it's XSLT equivalent is used 2025-04-03 13:22:58 +02:00
Jochen Staerk
3f22945492 Merge pull request #776 from W25X80/feature_resource_leaks
Fix potential resource leaks in core file processing classes
2025-03-25 19:17:55 +01:00
Dominik Röschke
8127b177fb Added XEE Protection features (that were missing according to Stackoverflow) 2025-03-18 08:43:00 +01:00
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
Timon Färber
327c6d8a38 feat: unable to perform XML-oriented attacks 2025-01-31 18:58:31 +01:00
jstaerk
8d7a3a9d6d closes #679 2025-01-14 07:18:28 +01:00
Adrian-Devries
7bfb7dab26 Merge branch 'ZUGFeRD:master' into fix-logback 2025-01-07 12:20:27 +01:00
Adrian-Devries
9baba41d3c Update XMLValidator.java
Fix typo
2025-01-06 11:35:59 +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
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
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
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
Jochen Staerk
d77aa75cfc Merge branch 'master' into test-fuer-inputstream-validation 2024-10-24 08:24:35 +02:00
stm
9ac0175792 Merge branch 'master' into xrechnung_version_information 2024-10-22 16:53:06 +02:00
jstaerk
28114e9a6b - make document charges and allowances serializable 2024-10-22 15:43:01 +02:00
jstaerk
4987505b6c allow new version for referenzporofil xrechnung 2024-10-17 13:29:52 +02:00
stm
f40059bf35 correct version information for standard xrechnung
Added the correct version information for standard XRechnung.
2024-10-15 11:06:24 +02:00
jstaerk
24ae42e054 upgraded en16931 cen schematron to 1.3.12 2024-10-05 04:16:53 +02:00
jstaerk
721ea4b694 closes #481, moved bytearraysearcher to library 2024-09-29 14:50:39 +02:00
jstaerk
271c4044ac added xslts 2024-09-23 18:23:18 +02:00
jstaerk
cf17ec26ce updated schematron 2024-09-23 18:18:26 +02:00