소스 검색

FOP-2107: org.apache.batik.bridge.BridgeException: Unable to make sense of URL for connection; patch suggested by Matthias Reischenbacher and Robert Meyer comments.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1526329 13f79535-47bb-0310-9956-ffa450edef68
pull/22/head
Luis Bernardo 10 년 전
부모
커밋
8fa822300a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      src/java/org/apache/fop/apps/FOUserAgent.java

+ 1
- 1
src/java/org/apache/fop/apps/FOUserAgent.java 파일 보기

try { try {
// Have to do this so we can resolve data URIs // Have to do this so we can resolve data URIs
StreamSource src = new StreamSource(resourceResolver.getResource(uri)); StreamSource src = new StreamSource(resourceResolver.getResource(uri));
src.setSystemId(uri);
src.setSystemId(new File(uri).toURI().toURL().toExternalForm());
return src; return src;
} catch (URISyntaxException use) { } catch (URISyntaxException use) {
return null; return null;

Loading…
취소
저장