Commit Graph

77 Commits

Author SHA1 Message Date
jstaerk
248372c98a closes #878 2025-06-30 11:39:43 +02:00
jstaerk
8ce3d21eae working on #878 2025-06-30 10:53:52 +02:00
jstaerk
1b174e243f erster versuch 2025-06-26 14:16:36 +02: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
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
5eaedf2560 parse typecode in ubl 2024-10-31 13:00:06 +01: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
jstaerk
28114e9a6b - make document charges and allowances serializable 2024-10-22 15:43:01 +02:00
jstaerk
721ea4b694 closes #481, moved bytearraysearcher to library 2024-09-29 14:50:39 +02:00
jstaerk
8af34a79f3 change due to AWV issue 162 2024-09-23 09:25:07 +02:00
jstaerk
451bd95f76 closes #487 2024-09-22 15:36:41 +02:00
jstaerk
12315cf7e7 corrected position of payeetradeparty 2024-09-21 14:39:47 +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
langfr
90f720c0eb Add LegalOrganisation.TradingBusinessName and DefinedTradeContact also for Recipient. 2024-08-20 22:16:57 +01: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
75f37846eb Unified validation methods 2024-07-09 17:53:41 +02:00
Philip Helger
8ed25ce8be Test fix 2024-07-09 17:47:39 +02:00
Philip Helger
f18b194d64 Harmonize the 2 validation methods; added tests 2024-07-09 17:32:50 +02:00
Philip Helger
7483a0e0d6 Extended ByteArarySearcher API 2024-07-09 17:18:36 +02:00
Philip Helger
07b44464c5 Version bump 2024-06-18 21:14:42 +02:00
jstaerk
b8720a16a0 small possible nullpointerex fix (for accidental non-pdf/a-PDFs), new test 2024-06-03 08:04:15 +02:00
jstaerk
09729e46b5 corrected a test 2024-05-22 17:52:13 +02:00
jstaerk
f2a6165ba4 I don't know why those tests work now but thats better than having them throw errors like before 2024-05-22 17:34:57 +02:00
jstaerk
0720c76b50 corrected test cases 2024-05-17 14:24:42 +02:00
Dominik Röschke
bb6eca1ffc Added test for input stream validation 2024-05-06 15:48:20 +02:00
Dominik Röschke
37fb01c8fd Java 8 compatibility 2024-05-02 14:49:09 +02:00
Dominik Röschke
9f759fdb28 Fixed Tests for PDFValidatior, switched to using ProcessingResults 2024-05-02 12:38:13 +02:00
jstaerk
fb50f616f7 validate against ubl xrechnung 2024-04-21 14:21:20 +02:00
jstaerk
bd206f2f95 updated a test to fail 2023-12-30 15:07:40 +01:00
jstaerk
23650e68d8 checking generated PDF/As 2023-11-25 19:32:12 +01:00
jstaerk
53ae1ec9dc had to "correct" i.e. falsify some tests due to https://awv-git.de/einvoicing/factur-x/-/issues/69 :-( 2023-11-25 18:44:50 +01:00
jstaerk
bad94911d9 corrected filename capitalization for linux builds 2023-03-06 15:45:28 +01:00
jstaerk
794edc272b - prevent nullpointerexception https://github.com/ZUGFeRD/mustangproject/pull/302 thanks to weclapp-dev
- lines no longer included in basic-wl and minimum
- due date and delivery date no longer mandatory for credit notes
- Allow foreign limited addresses, e.g. allow Parties withpout postal addresses/postcodes
- Allow invoices in minimum profile e.g. dont use applicabletradetax, linetotalamount, paymentreference etc in Minimum profile
2022-12-22 20:49:08 +01:00
jstaerk
20e996327e change of order is not allowed in prefix acc to https://www.w3.org/TR/xml/#NT-VersionInfo 2022-12-01 16:59:06 +01:00
jstaerk
f08d5c792c test for #300 2022-12-01 15:50:38 +01:00
Svante Schubert
b0b4354c24 Switching classorder to ClassName 2022-11-28 12:55:36 +01:00
Svante Schubert
1c915967fe Adding JUnit Test Class order to Library module 2022-11-28 12:24:07 +01:00
jstaerk
973bee4cea support xr 2.2 validation 2022-07-09 13:21:06 +02:00
jstaerk
219ecb892a automatic ox tests 2022-05-16 10:37:51 +02:00
jstaerk
28e27d0de3 work around not yet released XR 2.2 schematron files 2022-05-10 21:03:08 +02:00
Sebastian Sieber
4077700b2e Remove \t and whitespaces from xml 2022-03-22 08:41:39 +01:00