]> source.dussan.org Git - xmlgraphics-fop.git/commit
Bug #42476:
authorVincent Hennebert <vhennebert@apache.org>
Tue, 29 May 2007 07:51:52 +0000 (07:51 +0000)
committerVincent Hennebert <vhennebert@apache.org>
Tue, 29 May 2007 07:51:52 +0000 (07:51 +0000)
commit300ac95fdc1729f14ae40c5dfe78d9f8a332bece
treeca4c07d3cf827d4597a6095594dcbb3a824c7e54
parenta5107a6f25b440686ac839611d7ff52c7b5f2dd8
Bug #42476:
- fix NPE in XMLReader when no handler is found for the image
- prevent SVGReader from closing the input stream if the image actually isn't SVG
- reduce log level in SVGReader and XMLReader to avoid "false positive" (read error reported whereas the image format actually isn't recognized). This may hide regular I/O errors to the end-user, but I assume this will be rare enough compared to the annoyance of such messages when third-party plugins are used.

Patch submitted by Max Berger (max.at.berger.name)

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@542447 13f79535-47bb-0310-9956-ffa450edef68
src/java/org/apache/fop/image/analyser/ImageReaderFactory.java
src/java/org/apache/fop/image/analyser/SVGReader.java
src/java/org/apache/fop/image/analyser/XMLReader.java
src/java/org/apache/fop/util/UnclosableInputStream.java [new file with mode: 0644]