allow new filename for zf 2.1.1

This commit is contained in:
Jochen Stärk
2020-07-04 10:44:11 +02:00
parent 98fb837cd8
commit 2d91507880
2 changed files with 2 additions and 1 deletions

View File

@@ -25,6 +25,7 @@ done
- added ph-schematron-maven-plugin so that xrechnung xslt can be generated
- remove migration
- be able to recursively validate directories
- be able to ignore input pdf errors with -i
1.7.7
=====

View File

@@ -220,7 +220,7 @@ public class PDFValidator extends Validator {
}
boolean documentFilenameValid=false;
for (int i = 0; i < nodes.getLength(); i++) {
String[] valueArray = { "factur-x.xml", "ZUGFeRD-invoice.xml", "zugferd-invoice.xml" };
String[] valueArray = { "factur-x.xml", "ZUGFeRD-invoice.xml", "zugferd-invoice.xml", "xrechnung.xml" };
if (stringArrayContains(valueArray, nodes.item(i).getTextContent())) {
documentFilenameValid=true;
}