Page 1 of 1

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

Posted: Thu Jul 07, 2016 6:05 pm
by Johann
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

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

Posted: Fri Jul 08, 2016 8:56 am
by Radu
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. ... k-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

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

Posted: Fri Jul 08, 2016 6:52 pm
by Johann
Hi Radu,

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

Thanks,

Johann