From 17f425bb92355bfce4f16d0166d84dddd44bc3d6 Mon Sep 17 00:00:00 2001 From: Keiron Liddle Date: Mon, 11 Sep 2000 03:16:27 +0000 Subject: [PATCH] removed error message git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193690 13f79535-47bb-0310-9956-ffa450edef68 --- src/org/apache/fop/image/analyser/SVGReader.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.39.5