DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=30642>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=30642 XMLCatalog fails to resolve entities when the project's base directory path contains spaces. Summary: XMLCatalog fails to resolve entities when the project's base directory path contains spaces. Product: Ant Version: 1.7Alpha (nightly) Platform: PC OS/Version: Windows XP Status: NEW Severity: Major Priority: Other Component: Core AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I got this error running the test cases. [junit] Testcase: testAbsolutePath(org.apache.tools.ant.types.XMLCatalogTest): FAILED [junit] null [junit] junit.framework.AssertionFailedError [junit] at junit.framework.Assert.fail(Assert.java:47) [junit] at junit.framework.Assert.assertTrue(Assert.java:20) [junit] at junit.framework.Assert.assertNotNull(Assert.java:220) [junit] at junit.framework.Assert.assertNotNull(Assert.java:213) [junit] at org.apache.tools.ant.types.XMLCatalogTest.testAbsolutePath(XMLCatalogTest.java:217) ... I debugged the code and traced the problem back how XMLCatalog converts a file URL into a file path. It fails to decode %20 sequences into spaces so the file exists test fails and filesystemLookup returns null. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]