]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
FOP-2107: org.apache.batik.bridge.BridgeException: Unable to make sense of URL for...
authorLuis Bernardo <lbernardo@apache.org>
Sun, 27 Jul 2014 16:25:25 +0000 (16:25 +0000)
committerLuis Bernardo <lbernardo@apache.org>
Sun, 27 Jul 2014 16:25:25 +0000 (16:25 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1613811 13f79535-47bb-0310-9956-ffa450edef68

lib/batik-all-trunk.jar
lib/xmlgraphics-commons-svn-trunk.jar
src/java/org/apache/fop/apps/FOUserAgent.java

index 08c1a383aabef154d5f769a25351f7fd89b18308..e458266b924f33755551f26ca7cf7c6a890c2f27 100644 (file)
Binary files a/lib/batik-all-trunk.jar and b/lib/batik-all-trunk.jar differ
index 6c5423697867a3efc05afd86fa9ec1f54e946fb4..944d63df59dfb5db4ca7afea21170b6927a60ffe 100644 (file)
Binary files a/lib/xmlgraphics-commons-svn-trunk.jar and b/lib/xmlgraphics-commons-svn-trunk.jar differ
index ca267fa8af312e529f5ebe7af06eeb8971331dec..239261b843a3220a7ff09be10bf14c7df0a84db9 100644 (file)
@@ -408,7 +408,7 @@ public class FOUserAgent {
         try {
             // Have to do this so we can resolve data URIs
             StreamSource src = new StreamSource(resourceResolver.getResource(uri));
-            src.setSystemId(new File(uri).toURI().toURL().toExternalForm());
+            src.setSystemId(uri);
             return src;
         } catch (URISyntaxException use) {
             return null;