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

@@ -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;
}