better error message
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
- Fixed an error validation UBL files
|
||||
- unknown root elements will now throw type 3 errors
|
||||
- added some tests
|
||||
- Remove faulty '/' from getNodeListByPath call. PR #256, Thanks again to Weclapp-dev
|
||||
- Issue 238 Validierungsproblem mit Skonto/do nnot remove linebreaks in XML
|
||||
- Do not trim trailing whitespace in XML submitted by the user, e.g. for XRechnung Skonto in PaymenttermsDescription
|
||||
|
||||
2.3.1
|
||||
|
||||
@@ -78,7 +78,7 @@ public class ZUGFeRDExporterFromA1 extends ZUGFeRDExporterFromA3 implements IZUG
|
||||
|
||||
public boolean ensurePDFIsValid(final DataSource dataSource) throws IOException {
|
||||
if (!ignorePDFAErrors && !isValidA1(dataSource)) {
|
||||
throw new IOException("File is not a valid PDF/A input file");
|
||||
throw new IOException("File is not a valid PDF/A-1 input file");
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user