[SDK 18.0.0.3] Author view does not display SVG images anymore

Post here questions and problems related to oXygen frameworks/document types.
Johann
Posts: 60

[SDK 18.0.0.3] Author view does not display SVG images anymore

Thu Jul 07, 2016 6:05 pm

Hello everyone,

When upgrading my Oxygen SDK from 17.1.0.1 to 18.0.0.3, I noticed that the Author view is not displaying SVG files anymore.

Instead of the image, I get this error message in red :

Code: Select all

Cannot display image
C:\mySVG.svg

org/apache/batik/anim/dom/SAXSVGDocumentFactory



Any idea about this problem ?

Thanks

Johann
Radu
Posts: 5125

Re: [SDK 18.0.0.3] Author view does not display SVG images anymore

Fri Jul 08, 2016 8:56 am

Hi Johann,

Oxygen 18.0 (and corresponding component) updated its used Batik libraries to 1.8.
Possibly you need in the pom.xml an extra reference to:

https://mvnrepository.com/artifact/org.apache.xmlgraphics/batik-anim/1.8

Could you send us one of those SVGs (support@oxygenxml.com)? I'm curious if it has something special inside it which requires that extra JAR library. If so, we can add it by default on our side.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Johann
Posts: 60

Re: [SDK 18.0.0.3] Author view does not display SVG images anymore

Fri Jul 08, 2016 6:52 pm

Hi Radu,

Ok, I had to upgrade some batik internal libraries to 1.8 in my application and it works again.

Thanks,

Johann

Return to “SDK-API, Frameworks - Document Types”

Who is online

Users browsing this forum: No registered users and 0 guests