Commit Graph

68 Commits

Author SHA1 Message Date
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
jstaerk
ddb71f9ed5 added the possibility to specify legalorganisation 2022-02-16 20:27:18 +01:00
jstaerk
c62171e64d recorrected import to also still work with fx 2022-01-02 17:49:13 +01:00
jstaerk
b625b78c50 removed test source code 2021-12-16 11:59:04 +01:00
jstaerk
bfcaeef619 added a test to expect a failing ZF1 validation 2021-11-28 11:12:01 +01:00
jstaerk
713112757c added a test with invalid math and decimal points which i consider incorrect but the validator approves 2021-11-28 10:47:56 +01:00
jstaerk
099ce840d1 count patterns as fired rules->testing UBL positive 2021-11-13 17:51:11 +01:00
jstaerk
f56e37bda9 - Fixed an error validation UBL files
- unknown root elements will now throw type 3 errors
- added some tests
2021-11-13 17:34:24 +01:00
Sebastian Sieber
6a34668265 Merge remote-tracking branch 'remotes/mustang-origin/master' into fork-master
# Conflicts:
#	validator/src/main/java/org/mustangproject/validator/PDFValidator.java
2021-10-19 14:50:22 +02:00
LAPTOP-MS3A4HDC\Asim khan
c7093a20c1 closiong #247 2021-08-09 10:50:35 +02:00