From e5433fbedf06e19d10137822915a58d10008ba87 Mon Sep 17 00:00:00 2001 From: Tatu Saloranta Date: Wed, 22 Apr 2020 10:13:43 -0700 Subject: [PATCH] Backport #105 in 5.3 branch --- release-notes/CREDITS | 6 ++++++ release-notes/VERSION | 4 ++++ src/main/java/com/ctc/wstx/msv/W3CSchemaFactory.java | 2 +- 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/release-notes/CREDITS b/release-notes/CREDITS index 059de7ba..13d6202e 100644 --- a/release-notes/CREDITS +++ b/release-notes/CREDITS @@ -9,3 +9,9 @@ Ioan Marcu (ioanmarcu@github) * Reported #74, suggested fix: Infinite loop in BijectiveNsMap#addGeneratedMapping when ctxt.getNamespaceURI(prefix) returns an empty String (5.2.1) + +Colm O hEigeartaigh (coheigea@github) + +* Reported #105, contributed fix: W3CSchemaFactory constructor incorrectly references + relaxng + (5.3.1) diff --git a/release-notes/VERSION b/release-notes/VERSION index 44e64a3b..10bcd42d 100644 --- a/release-notes/VERSION +++ b/release-notes/VERSION @@ -8,6 +8,10 @@ Project: woodstox #78: Shade MSV dependency +5.3.1 (not yet released) + +#105: W3CSchemaFactory constructor incorrectly references relaxng + 5.3.0 (15-Jul-2019) #58: Reading comment comments after Root Element closed sometimes throws `NullPointerException` diff --git a/src/main/java/com/ctc/wstx/msv/W3CSchemaFactory.java b/src/main/java/com/ctc/wstx/msv/W3CSchemaFactory.java index 9d23510a..97b558a0 100644 --- a/src/main/java/com/ctc/wstx/msv/W3CSchemaFactory.java +++ b/src/main/java/com/ctc/wstx/msv/W3CSchemaFactory.java @@ -47,7 +47,7 @@ public class W3CSchemaFactory public W3CSchemaFactory() { - super(XMLValidationSchema.SCHEMA_ID_RELAXNG); + super(XMLValidationSchema.SCHEMA_ID_W3C_SCHEMA); } /*