Commit 5e083df3 authored by Matthias Betz's avatar Matthias Betz
Browse files

reenable validation of xml files

parent 660255ab
Pipeline #11054 passed with stage
in 1 minute and 29 seconds
...@@ -160,7 +160,7 @@ public class CityDoctorValidation { ...@@ -160,7 +160,7 @@ public class CityDoctorValidation {
logger.error("Input file '{}' does not exist.", input); logger.error("Input file '{}' does not exist.", input);
System.exit(1); System.exit(1);
} }
if (inputFile.getName().endsWith(".gml")) { if (inputFile.getName().endsWith(".gml") || inputFile.getName().endsWith(".xml")) {
startFileValidation(inputFile, xmlOutput, pdfOutput, config, outputFile); startFileValidation(inputFile, xmlOutput, pdfOutput, config, outputFile);
} else if (inputFile.getName().endsWith(".zip")) { } else if (inputFile.getName().endsWith(".zip")) {
startZipValidation(input, xmlOutput, pdfOutput, config, outputFile); startZipValidation(input, xmlOutput, pdfOutput, config, outputFile);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment