aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/cli/InputHandler.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/org/apache/fop/cli/InputHandler.java')
-rw-r--r--src/java/org/apache/fop/cli/InputHandler.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/cli/InputHandler.java b/src/java/org/apache/fop/cli/InputHandler.java
index b3ea35e0d..5e38b803a 100644
--- a/src/java/org/apache/fop/cli/InputHandler.java
+++ b/src/java/org/apache/fop/cli/InputHandler.java
@@ -112,7 +112,7 @@ public class InputHandler implements ErrorListener, Renderable {
try {
baseURL = new File(sourcefile.getAbsolutePath()).
- getParentFile().toURL().toExternalForm();
+ getParentFile().toURI().toURL().toExternalForm();
} catch (Exception e) {
baseURL = "";
}