Skip to content

Commit 203a0c9

Browse files
committed
Fix StackedEntityResolver tests for previous commit
1 parent dc73a24 commit 203a0c9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

junit/io/sf/carte/doc/xml/dtd/StackedEntityResolverTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ public void resolveEntityStringStringRemoteDisallow() throws SAXException, IOExc
125125
@Test
126126
public void resolveEntityStringStringRemoteDisallowConstructor1Arg() throws SAXException, IOException {
127127
try {
128-
stackedResolver.resolveEntity("-//W3C//DTD SVG 1.1//EN",
128+
stackedResolver.resolveEntity("-//W3C//DTD SVG 0.9//EN",
129129
"https://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd");
130130
fail("Must throw exception");
131131
} catch (SAXException e) {

junit/io/sf/carte/doc/xml/dtd/StackedEntityResolverTest2.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ public void resolveEntityStringStringRemoteDisallow() throws SAXException, IOExc
125125
@Test
126126
public void resolveEntityStringStringRemoteDisallowConstructor1Arg() throws SAXException, IOException {
127127
try {
128-
stackedResolver.resolveEntity("-//W3C//DTD SVG 1.1//EN",
128+
stackedResolver.resolveEntity("-//W3C//DTD SVG 0.9//EN",
129129
"https://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd");
130130
fail("Must throw exception");
131131
} catch (SAXException e) {

0 commit comments

Comments
 (0)