diff --git a/.github/workflows/docker-images-tagged.yml b/.github/workflows/docker-images-tagged.yml index b94cb6b5..8b4fb449 100644 --- a/.github/workflows/docker-images-tagged.yml +++ b/.github/workflows/docker-images-tagged.yml @@ -25,7 +25,7 @@ jobs: with: java-version: 1.11 - - name: Update gut submodule for veraPDF-validation-profiles + - name: Update git submodule for veraPDF-validation-profiles run: git submodule update --init --remote --recursive - name: Build with Maven diff --git a/.github/workflows/docker-images.yml b/.github/workflows/docker-images.yml index 94b1782f..218fea77 100644 --- a/.github/workflows/docker-images.yml +++ b/.github/workflows/docker-images.yml @@ -47,7 +47,7 @@ jobs: ref: 'integration' }) - - name: Update gut submodule for veraPDF-validation-profiles + - name: Update git submodule for veraPDF-validation-profiles run: git submodule update --init --remote --recursive - name: Build with Maven diff --git a/worker/src/main/java/org/verapdf/webapp/worker/listener/VeraPdfProcessor.java b/worker/src/main/java/org/verapdf/webapp/worker/listener/VeraPdfProcessor.java index 12fb086f..75399176 100644 --- a/worker/src/main/java/org/verapdf/webapp/worker/listener/VeraPdfProcessor.java +++ b/worker/src/main/java/org/verapdf/webapp/worker/listener/VeraPdfProcessor.java @@ -60,12 +60,12 @@ public ValidationReport validate(File source, Profile profile) throws VeraPDFPro "Missing validation profile for " + profile.name()); } try (PDFAParser parser = Foundries.defaultInstance().createParser(source, validationProfile.getPDFAFlavour()); - PDFAValidator validator = ValidatorFactory.createValidator(validationProfile, false)) { + PDFAValidator validator = ValidatorFactory.createValidator(validationProfile, 100, false, true)) { validationResult = validator.validate(parser); } } ValidationDetails details - = Reports.fromValues(validationResult, false, 100); + = Reports.fromValues(validationResult, false); return Reports.createValidationReport(details, validationResult.getProfileDetails().getName(), getStatement(validationResult.isCompliant()),