Skip to content

Commit

Permalink
Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Asbjoedt committed Nov 7, 2024
1 parent 4dcb0cf commit 19d7af5
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion ODS-Archiving/src/general/validate.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,18 @@ public boolean Validate_OPFValidator(String filepath, String conformance, boolea
// Inform user of error messages
if (validity.getErrors() != null) {
for (Message errors : validity.getErrors()) {
System.out.println("VALIDATE: " + errors.getMessage());
System.out.println("VALIDATE: ERROR: " + errors.getMessage());
}
}

// Inform user of all messages
if (validity.getErrors() != null) {
for (Message messages : validity.getMessages()) {
System.out.println("VALIDATE: MESSAGE: " + messages.getMessage());
}
}


// Return and inform user of boolean validity
if(valid)
System.out.println("VALIDATE: Spreadsheet is valid");
Expand Down

0 comments on commit 19d7af5

Please sign in to comment.