openhtmltopdf
openhtmltopdf copied to clipboard
SVG plugin - unable to create element feDropShadow
Thank you for all the great work on OpenHTMLtoPDF!
I am trying to render an SVG generated by a HighCharts export server and am getting this error:
org.w3c.dom.DOMException: The current document is unable to create an element of the requested type (namespace: http://www.w3.org/2000/svg, name: feDropShadow). at org.apache.batik.dom.AbstractNode.createDOMException(AbstractNode.java:408) at org.apache.batik.anim.dom.SVGDOMImplementation.createElementNS(SVGDOMImplementation.java:203) at org.apache.batik.anim.dom.SVGOMDocument.createElementNS(SVGOMDocument.java:373) at org.apache.batik.dom.AbstractDocument.importNode(AbstractDocument.java:348) at org.apache.batik.dom.AbstractDocument.importNode(AbstractDocument.java:326) at org.apache.batik.dom.AbstractDocument.importNode(AbstractDocument.java:426) at org.apache.batik.dom.AbstractDocument.importNode(AbstractDocument.java:326) at org.apache.batik.dom.AbstractDocument.importNode(AbstractDocument.java:426) at org.apache.batik.dom.AbstractDocument.importNode(AbstractDocument.java:326) at com.openhtmltopdf.svgsupport.BatikSVGImage.drawSVG(BatikSVGImage.java:218)
Has anyone else experienced this?
I don't know enough about Batik but perhaps an upgrade to version Batik 1.17 will solve the issue?
I'm attaching the SVG file here. Any help will be greatly appreciated!