Commit Graph

132 Commits

Author SHA1 Message Date
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
jstaerk
77baec06bb closes #555 2024-11-14 07:42:56 +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
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
stm
9ac0175792 Merge branch 'master' into xrechnung_version_information 2024-10-22 16:53:06 +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
jstaerk
451bd95f76 closes #487 2024-09-22 15:36:41 +02:00
Matthias Kilian
8d8540ce30 Enable EN16931 schema validation for XRechnung.
Add a test case with an invalid XR (elements in wrong order).
2024-09-09 14:31:30 +02:00
jstaerk
c88ec268f5 whitespace corrections+switch to ioutils 2024-07-10 11:06:12 +02:00
jstaerk
acbfa2c836 correction due to new inputstreaming 2024-07-10 10:48:12 +02:00
Jochen Staerk
eb67ee9634 Merge branch 'master' into master 2024-07-10 10:41:11 +02:00
Philip Helger
ad8fc7e7ff Cleansing 2024-07-09 19:32:54 +02:00
Philip Helger
8e20badf6e Optimizations 2024-07-09 18:53:06 +02:00
Philip Helger
12a3abde66 Cleansing 2024-07-09 18:37:53 +02:00
Philip Helger
8b2a11c5da Removed unused file 2024-07-09 18:02:42 +02:00
Philip Helger
b3c3b09d2d Added overload; added max size check 2024-07-09 17:56:24 +02:00
Philip Helger
75f37846eb Unified validation methods 2024-07-09 17:53:41 +02:00
Philip Helger
f18b194d64 Harmonize the 2 validation methods; added tests 2024-07-09 17:32:50 +02:00
Philip Helger
be2d57e3e3 Make sure to close streams 2024-07-09 17:32:23 +02:00
Philip Helger
d3df17525d Extended API to set filename and content together 2024-07-09 17:32:01 +02:00
Philip Helger
7483a0e0d6 Extended ByteArarySearcher API 2024-07-09 17:18:36 +02:00
Dominik Röschke
94b7b75de7 Moved Autoload to validator 2024-07-09 07:12:44 +02:00
jstaerk
fb7fe28eca make it possible to disable loading from specified filename if a stream is validated 2024-07-08 10:13:54 +02:00
Philip Helger
95d00f7a58 Fixed another NPR 2024-06-18 22:10:46 +02:00
Philip Helger
73e35fdd46 Using Verapdf for Jakarta 2024-06-18 22:08:32 +02:00
Philip Helger
ef5babb38e Fix NullPointerException 2024-06-18 22:08:14 +02:00
Philip Helger
2d245665f4 Avoid valid result in case of exception 2024-06-18 21:48:13 +02:00
jstaerk
e0773d7c7e error 26 to be raised again 2024-05-20 14:47:46 +02:00
jstaerk
fd5546e892 down to 4 errors 2024-05-18 20:39:21 +02:00
jstaerk
b6659345cb moved getvalidationcontext into validator 2024-05-17 20:09:44 +02:00
Jochen Staerk
b4cfc4be7b Merge pull request #382 from Sarenor/implement-validation-issues-as-object-instead-of-xml-string
Added getter for validation context to get the ValidationIssues Vector for further processing in another application
2024-05-17 20:06:46 +02:00