aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/tools/TestConverter.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/org/apache/fop/tools/TestConverter.java')
-rw-r--r--src/java/org/apache/fop/tools/TestConverter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/tools/TestConverter.java b/src/java/org/apache/fop/tools/TestConverter.java
index 145f88187..5cbd3c095 100644
--- a/src/java/org/apache/fop/tools/TestConverter.java
+++ b/src/java/org/apache/fop/tools/TestConverter.java
@@ -274,7 +274,7 @@ public class TestConverter {
File xmlFile = new File(baseDir + "/" + xml);
String baseURL = null;
try {
- baseURL = xmlFile.getParentFile().toURL().toExternalForm();
+ baseURL = xmlFile.getParentFile().toURI().toURL().toExternalForm();
} catch (Exception e) {
logger.error("Error setting base directory");
}