Jochen Bohn
9db9689095
Try Catch while parsing XMP-Metadata
2025-12-15 09:16:59 +01:00
Jochen Staerk
432278576a
Merge branch 'master' into subtotal_validation
2025-12-11 14:39:01 +01:00
Jochen Stärk
1c5eac2362
closes #984
2025-12-11 14:22:46 +01:00
Andreas Reichmann
589a390069
Add SubInvoiceLine test resources
...
Extended profile examples with GROUP/DETAIL hierarchy,
includes invalid hierarchy file for negative testing
2025-12-08 20:44:28 +01:00
Andreas Reichmann
0be3e04a2a
Add SubInvoiceLine support for ZUGFeRD Extended profile
...
- Parse ParentLineID and LineStatusReasonCode from XML
- Filter GROUP/INFORMATION lines from calculation (only DETAIL counts)
- Add hierarchy validation for GROUP line totals
- Add tests for sub invoice line import and validation
2025-12-08 20:43:14 +01:00
Jochen Stärk
6900f5f433
corrected errors
2025-12-05 20:10:40 +01:00
Jochen Stärk
29207ed2a8
fixed a test... i believe
2025-12-05 18:19:10 +01:00
Felix Eckhofer
a63508658e
Fix typo
2025-09-08 09:56:07 +02:00
Matthias Kilian
6bdb493929
Treat schematron rule flag "information" as notice.
...
XRechnung 3.0.3 Summer 2025 edition introduced a rule with
flag="information", breaking the Mustangproject validator which
doesn't expect such a flag value.
See
06be5b2c75
Explicitly mapping "information" to ESeverity.notice hopefully fixes
this and any future additions of rules with flag="information".
2025-08-25 17:57:41 +02:00
jstaerk
1d90a1cea9
Merge branch 'master' of github.com:ZUGFeRD/mustangproject
2025-08-11 09:34:52 +02:00
Jochen Staerk
c78b798029
Merge pull request #909 from langfr/issue/ShipToEmailWarning
...
ShipToTradeParty should not contain URIUniversalCommunication
2025-08-11 09:29:56 +02:00
jstaerk
2454fe7c62
closes #813
2025-08-11 09:27:09 +02:00
langfr
10c22314e4
Update validation to XRechnung 3.0.2.
2025-08-07 19:53:57 +01:00
langfr
d1522479bb
ShipToTradeParty should not contain URIUniversalCommunication
2025-08-06 19:59:19 +01:00
Daniel Luckas
0128e39353
Close resources after usage
2025-07-17 14:22:27 +02:00
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