diff --git a/xml/src/test/java/org/springframework/xml/sax/SaxUtilsTest.java b/xml/src/test/java/org/springframework/xml/sax/SaxUtilsTest.java index 00f5032f..43f8a1fe 100644 --- a/xml/src/test/java/org/springframework/xml/sax/SaxUtilsTest.java +++ b/xml/src/test/java/org/springframework/xml/sax/SaxUtilsTest.java @@ -27,6 +27,6 @@ public class SaxUtilsTest extends TestCase { Resource resource = new FileSystemResource("/path with spaces/file with spaces.txt"); String systemId = SaxUtils.getSystemId(resource); assertNotNull("No systemId returned", systemId); - assertEquals("Invalid system id", "file:/path%20with%20spaces/file%20with%20spaces.txt", systemId); + assertTrue("Invalid system id", systemId.endsWith("path%20with%20spaces/file%20with%20spaces.txt")); } } \ No newline at end of file