From 203a0c9f891b72874e08cc8c20dfdaea35b4932f Mon Sep 17 00:00:00 2001 From: Carlos Amengual Date: Fri, 21 Jun 2024 21:53:49 +0200 Subject: [PATCH] Fix StackedEntityResolver tests for previous commit --- junit/io/sf/carte/doc/xml/dtd/StackedEntityResolverTest.java | 2 +- junit/io/sf/carte/doc/xml/dtd/StackedEntityResolverTest2.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/junit/io/sf/carte/doc/xml/dtd/StackedEntityResolverTest.java b/junit/io/sf/carte/doc/xml/dtd/StackedEntityResolverTest.java index 59d230a..553f99d 100644 --- a/junit/io/sf/carte/doc/xml/dtd/StackedEntityResolverTest.java +++ b/junit/io/sf/carte/doc/xml/dtd/StackedEntityResolverTest.java @@ -125,7 +125,7 @@ public void resolveEntityStringStringRemoteDisallow() throws SAXException, IOExc @Test public void resolveEntityStringStringRemoteDisallowConstructor1Arg() throws SAXException, IOException { try { - stackedResolver.resolveEntity("-//W3C//DTD SVG 1.1//EN", + stackedResolver.resolveEntity("-//W3C//DTD SVG 0.9//EN", "https://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"); fail("Must throw exception"); } catch (SAXException e) { diff --git a/junit/io/sf/carte/doc/xml/dtd/StackedEntityResolverTest2.java b/junit/io/sf/carte/doc/xml/dtd/StackedEntityResolverTest2.java index aed24d5..eeb0118 100644 --- a/junit/io/sf/carte/doc/xml/dtd/StackedEntityResolverTest2.java +++ b/junit/io/sf/carte/doc/xml/dtd/StackedEntityResolverTest2.java @@ -125,7 +125,7 @@ public void resolveEntityStringStringRemoteDisallow() throws SAXException, IOExc @Test public void resolveEntityStringStringRemoteDisallowConstructor1Arg() throws SAXException, IOException { try { - stackedResolver.resolveEntity("-//W3C//DTD SVG 1.1//EN", + stackedResolver.resolveEntity("-//W3C//DTD SVG 0.9//EN", "https://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"); fail("Must throw exception"); } catch (SAXException e) {