You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Move existing code for PDF validation to newly created function handlePDF() :src/main/java/gov/nasa/pds/tools/validate/rule/pds4/FileReferenceValidationRule.java
2. Add new private variable pdfUtil so it can be reused :src/main/java/gov/nasa/pds/tools/validate/rule/pds4/FileReferenceValidationRule.java
Refs:
#374 Refactor PDF/A check handling to match with similar product checks
1. Add error handling for when the file name contains spaces in function validateFileStandardConformity() :src/main/java/gov/nasa/pds/tools/util/PDFUtil.java
2. Modify number of errors from 1 to 2 due to extra error from validateFileStandardConformity() function :src/test/resources/features/validate.feature
Refs:
#374 Refactor PDF/A check handling to match with similar product checks
Enhancement details
Unless there a specific reason we are doing it differently, we should update the PDF/A check to the similar logic used for:
validate/src/main/java/gov/nasa/pds/tools/validate/rule/pds4/FileReferenceValidationRule.java
Line 191 in c4326c5
validate/src/main/java/gov/nasa/pds/tools/validate/rule/pds4/FileReferenceValidationRule.java
Line 346 in c4326c5
🦄 Applicable requirements
The text was updated successfully, but these errors were encountered: