Skip to content

Commit

Permalink
Main: do deep validation by default on non brief or quiet reports
Browse files Browse the repository at this point in the history
Reports are HUGE as a result, but...

Signed-off-by: Francis Galiegue <[email protected]>
  • Loading branch information
fge committed Apr 12, 2014
1 parent acd23a7 commit 812f769
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public RetCode validateInstance(final JsonSchema schema,
throws IOException, ProcessingException
{
final ListProcessingReport report
= (ListProcessingReport) schema.validate(node);
= (ListProcessingReport) schema.validate(node, true);
final boolean success = report.isSuccess();
System.out.println("--- BEGIN " + fileName + "---");
System.out.println("validation: " + (success ? "SUCCESS"
Expand Down

0 comments on commit 812f769

Please sign in to comment.