Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SVG plugin - unable to create element feDropShadow #950

Open
lindamarieb opened this issue Nov 14, 2023 · 0 comments
Open

SVG plugin - unable to create element feDropShadow #950

lindamarieb opened this issue Nov 14, 2023 · 0 comments

Comments

@lindamarieb
Copy link

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!

chart

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant