Commit Graph

242 Commits

Author SHA1 Message Date
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
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
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
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
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
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
jstaerk
0720c76b50 corrected test cases 2024-05-17 14:24:42 +02:00
jstaerk
d5df6d9b3e corrected ubl tests for xr3 example 2024-05-15 11:44:07 +02:00
Dominik Röschke
1ee64d87eb Added getter for validation context to get the ValidationIssues Vector for further processing in another application 2024-05-15 11:00:41 +02:00
jstaerk
4107e3e4cf sorry i forgot 2024-05-13 10:13:23 +02:00
Dominik Röschke
bb6eca1ffc Added test for input stream validation 2024-05-06 15:48:20 +02:00
Jochen Staerk
3d73e9c984 Merge pull request #379 from Sarenor/implement-input-stream-validation
Implement input stream validation
2024-05-06 15:09:59 +02:00
jstaerk
52c7fce13e move ubl examples to different dir 2024-05-06 15:02:18 +02:00
Dominik Röschke
37fb01c8fd Java 8 compatibility 2024-05-02 14:49:09 +02:00
Dominik Röschke
adbb7c1840 Updated PDFValidator. 2024-05-02 13:16:04 +02:00
Dominik Röschke
9f759fdb28 Fixed Tests for PDFValidatior, switched to using ProcessingResults 2024-05-02 12:38:13 +02:00
Dominik Röschke
58ec7e2e98 Implemented validating input streams in addition to files. 2024-05-02 12:37:09 +02:00
jstaerk
43d979436a upgraded ph-schematron 2024-04-21 15:26:27 +02:00
jstaerk
fb50f616f7 validate against ubl xrechnung 2024-04-21 14:21:20 +02:00
jstaerk
ec6e17999b closes #357 2024-01-31 17:42:59 +01: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
d2ae0778b9 working on #347 2023-11-24 13:53:36 +01:00
Jonathan PEPIN
8fccd4480a 327 - expose validation results and location item 2023-06-08 17:39:14 +02:00