diff options
author | Keiron Liddle <keiron@apache.org> | 2000-09-11 03:16:27 +0000 |
---|---|---|
committer | Keiron Liddle <keiron@apache.org> | 2000-09-11 03:16:27 +0000 |
commit | 17f425bb92355bfce4f16d0166d84dddd44bc3d6 (patch) | |
tree | 3f6c776b6882f7496e6c06aba66a1b5499864a98 /src/org/apache/fop/image/analyser/SVGReader.java | |
parent | a48056ad6ac69369ff17a781737cd78be7efedf3 (diff) | |
download | xmlgraphics-fop-17f425bb92355bfce4f16d0166d84dddd44bc3d6.tar.gz xmlgraphics-fop-17f425bb92355bfce4f16d0166d84dddd44bc3d6.zip |
removed error message
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193690 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/org/apache/fop/image/analyser/SVGReader.java')
-rw-r--r-- | src/org/apache/fop/image/analyser/SVGReader.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/org/apache/fop/image/analyser/SVGReader.java b/src/org/apache/fop/image/analyser/SVGReader.java index e314070f1..be5d9a8aa 100644 --- a/src/org/apache/fop/image/analyser/SVGReader.java +++ b/src/org/apache/fop/image/analyser/SVGReader.java @@ -77,6 +77,7 @@ public class SVGReader extends AbstractImageReader { { // parse document and get the size attributes of the svg element try { + // should check the stream contains text data SVGDriver driver = new SVGDriver(); driver.addElementMapping("org.apache.fop.svg.SVGElementMapping"); driver.addPropertyList("org.apache.fop.svg.SVGPropertyListMapping"); @@ -88,7 +89,7 @@ public class SVGReader extends AbstractImageReader { this.height = (int)svg.getHeight().getBaseVal().getValue() * 1000; return true; } catch (Exception e) { - MessageHandler.errorln("ERROR LOADING EXTERNAL SVG: " + e.getMessage()); + //MessageHandler.errorln("ERROR LOADING EXTERNAL SVG: " + e.getMessage()); // assuming any exception means this document is not svg // or could not be loaded for some reason return false; |