diff options
author | Jeremias Maerki <jeremias@apache.org> | 2005-09-05 15:31:04 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2005-09-05 15:31:04 +0000 |
commit | 2b9729a5db839ce49bd9b8bd23ff344aa26a8ae7 (patch) | |
tree | 85b8f09146a281f5200fa04aa98b2aeb2357308b /src/java/org/apache/fop/render/ps/PSRenderer.java | |
parent | 77d7f2c24a27274e16907f41368b15a091807c38 (diff) | |
download | xmlgraphics-fop-2b9729a5db839ce49bd9b8bd23ff344aa26a8ae7.tar.gz xmlgraphics-fop-2b9729a5db839ce49bd9b8bd23ff344aa26a8ae7.zip |
Not sure if it's the best solution but this changes the following:
- Enable plain filenames (without "file:" scheme) as URI. FOURIResolver tries to create a java.io.File to access the file.
- If after removing the scheme from a file: URL the string still contains a ":" it is likely an absolute Windows path for which the user forgot to specify a leading "/", i.e.:
file:C:/Temp/test.txt --> file:/C:/Temp/test.txt
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@278779 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/render/ps/PSRenderer.java')
0 files changed, 0 insertions, 0 deletions