Fix documentation.

This commit is contained in:
Christian Schlichtherle 2020-10-30 18:54:43 +01:00
parent 8d57cf77f7
commit 4438038f22

View file

@ -54,7 +54,7 @@ public class StandardExample {
// Load scenarios.xml from classpath // Load scenarios.xml from classpath
URL scenarios = this.getClass().getClassLoader().getResource("scenarios.xml"); URL scenarios = this.getClass().getClassLoader().getResource("scenarios.xml");
// Load the rest of the specific Validator configuration from classpath // 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 // Use the default validation procedure
Check validator = new DefaultCheck(config); Check validator = new DefaultCheck(config);
// Validate a single document // Validate a single document