Parcourir la source

FOP-2107: org.apache.batik.bridge.BridgeException: Unable to make sense of URL for connection; implemented a better approach.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1613811 13f79535-47bb-0310-9956-ffa450edef68
pull/28/head
Luis Bernardo il y a 9 ans
Parent
révision
c86b1b50e6

BIN
lib/batik-all-trunk.jar Voir le fichier


BIN
lib/xmlgraphics-commons-svn-trunk.jar Voir le fichier


+ 1
- 1
src/java/org/apache/fop/apps/FOUserAgent.java Voir le fichier

@@ -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;

Chargement…
Annuler
Enregistrer