From: Keiron Liddle Date: Mon, 11 Sep 2000 03:16:27 +0000 (+0000) Subject: removed error message X-Git-Tag: pre-columns~190 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=17f425bb92355bfce4f16d0166d84dddd44bc3d6;p=xmlgraphics-fop.git removed error message git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193690 13f79535-47bb-0310-9956-ffa450edef68 --- 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;