mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-01-13 23:33:37 +01:00
updates to resolve issue #801
This commit is contained in:
@@ -159,7 +159,8 @@ public class XmlInputStream extends FilterInputStream {
|
||||
// Keep it.
|
||||
pushBack.append(code);
|
||||
} else {
|
||||
throw new IOException("Invalid/Unknown reference '&" + reference + ";'");
|
||||
// invalid entity. Encode the & and append the sequence of chars.
|
||||
pushBack.append("&").append(reference).append((char) ch);
|
||||
}
|
||||
} else {
|
||||
// Did not terminate properly!
|
||||
|
||||
@@ -49,7 +49,7 @@ public class PomUtilsTest extends BaseTest {
|
||||
assertEquals(expResult, result.getOrganizationUrl());
|
||||
|
||||
file = BaseTest.getResourceAsFile(this, "jmockit-1.26.pom");
|
||||
expResult = "Main ø modified to test issue #710";
|
||||
expResult = "Main ø modified to test issue #710 and #801 (&s;)";
|
||||
result = PomUtils.readPom(file);
|
||||
assertEquals(expResult, result.getName());
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<groupId>org.jmockit</groupId><artifactId>jmockit</artifactId><version>1.26</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>Main ø modified to test issue #710</name>
|
||||
<name>Main ø modified to test issue #710 and #801 (&s;)</name>
|
||||
<description>
|
||||
JMockit is a Java toolkit for automated developer testing.
|
||||
It contains mocking and faking APIs and a code coverage tool, supporting both JUnit and TestNG.
|
||||
|
||||
Reference in New Issue
Block a user