From 34a109d8e6044e2ecb4a958ab5435685a4860fa4 Mon Sep 17 00:00:00 2001 From: Andreas Penski Date: Thu, 17 Dec 2020 07:20:10 +0000 Subject: [PATCH] (chore) fix api usage --- docs/api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api.md b/docs/api.md index 7999743..0e969f6 100644 --- a/docs/api.md +++ b/docs/api.md @@ -54,7 +54,7 @@ public class StandardExample { // Load scenarios.xml from classpath URL scenarios = this.getClass().getClassLoader().getResource("scenarios.xml"); // Load the rest of the specific Validator configuration from classpath - Configuration config = Configuration.load(scenarios.toURI()); + Configuration config = Configuration.load(scenarios.toURI()).build(); // Use the default validation procedure Check validator = new DefaultCheck(config); // Validate a single document