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) {