allow new filename for zf 2.1.1
This commit is contained in:
@@ -25,6 +25,7 @@ done
|
|||||||
- added ph-schematron-maven-plugin so that xrechnung xslt can be generated
|
- added ph-schematron-maven-plugin so that xrechnung xslt can be generated
|
||||||
- remove migration
|
- remove migration
|
||||||
- be able to recursively validate directories
|
- be able to recursively validate directories
|
||||||
|
- be able to ignore input pdf errors with -i
|
||||||
|
|
||||||
1.7.7
|
1.7.7
|
||||||
=====
|
=====
|
||||||
|
|||||||
@@ -220,7 +220,7 @@ public class PDFValidator extends Validator {
|
|||||||
}
|
}
|
||||||
boolean documentFilenameValid=false;
|
boolean documentFilenameValid=false;
|
||||||
for (int i = 0; i < nodes.getLength(); i++) {
|
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())) {
|
if (stringArrayContains(valueArray, nodes.item(i).getTextContent())) {
|
||||||
documentFilenameValid=true;
|
documentFilenameValid=true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user