From 4438038f225f98db213550a095d447da578cc21a Mon Sep 17 00:00:00 2001 From: Christian Schlichtherle Date: Fri, 30 Oct 2020 18:54:43 +0100 Subject: [PATCH] Fix documentation. --- 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