import org.apache.batik.util.XMLResourceDescriptor;
import org.apache.batik.dom.svg.SVGDOMImplementation;
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
import org.w3c.dom.DOMImplementation;
/**
/** the SVG namespace */
public static final String URI = SVGDOMImplementation.SVG_NAMESPACE_URI;
+ /** logging instance */
+ protected Log log = LogFactory.getLog(SVGElementMapping.class);
+
private boolean batikAvailable = true;
/** Main constructor. */
foObjs.put("svg", new SE());
foObjs.put(DEFAULT, new SVGMaker());
} catch (Throwable t) {
+ log.error("Error while initializing the Batik SVG extensions", t);
// if the classes are not available
// the DISPLAY is not checked
batikAvailable = false;