From af3ba73daf8465b0194b5bf67498aeea542dcf1c Mon Sep 17 00:00:00 2001 From: Philip Helger Date: Fri, 7 Nov 2025 13:10:45 +0100 Subject: [PATCH 1/2] Updated API code snippet in readme for GitHub #117 --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index e87dedb..a363a7d 100644 --- a/README.md +++ b/README.md @@ -74,12 +74,12 @@ The [CLI documentation](./docs/cli.md) shows further configuration options. The Validator can also be used in own Java Applications via the API. An example use of the API as follows: ```java -Path scenarios = Paths.get("scenarios.xml"); -Configuration config = Configuration.load(scenarios.toUri()); -Input document = InputFactory.read(testDocument); - +URL scenarios = this.getClass().getClassLoader().getResource("scenarios.xml"); +Configuration config = Configuration.load(scenarios.toURI()).build(ProcessorProvider.getProcessor()); Check validator = new DefaultCheck(config); -Result validationResult = validator.checkInput(document); + +Input document = InputFactory.read(testDocument); +Result report = validator.checkInput(document); // examine the result here ``` @@ -139,8 +139,8 @@ To use the standalone version with Maven coordinates, add the respective classif This section describes the next steps planned in the Validator development. -* Release version 1.6.0 based on Java 11 and using Jakarta 4.x. - Autumn 2025 - * Drop support of version 1.5.x when version 1.6 is released +* Version 1.5.x is frozen - no maintainance, no support +* Version 1.6.x - no feature development, but maintainance and best-effort support * Develop version 2.0.0 which will include major API incompatibilities - Winter 2025 * Rework scenarios.xml * Rework report output engine From 28e85d3942c466108a9435560ee0ba356571651f Mon Sep 17 00:00:00 2001 From: Renzo Kottmann Date: Fri, 7 Nov 2025 15:04:48 +0100 Subject: [PATCH 2/2] Upgrade mvn owasp dep check to 12.1.8 --- pom.xml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 7269c73..5d04818 100644 --- a/pom.xml +++ b/pom.xml @@ -46,7 +46,7 @@ 4.0.5 1.18.42 4.11.0 - 10.0.4 + 12.1.8 5.5.5 12.8 2.0.17 @@ -239,7 +239,8 @@ - [3.3.9,) + + [3.6.3,) 0 ${project.basedir}/owasp-suppressions.xml