Image format not supported for SVG images
Having trouble deploying Oxygen XML Web Author? Got a bug to report? Post it all here.
-
- Posts: 3
- Joined: Fri Aug 15, 2025 12:31 pm
Image format not supported for SVG images
Post by aliaksandr »
Hi,
I'm upgrading to version 26.1 of the Oxygen Web Author Component and have noticed that SVG images are not displaying in the editor.
I installed the `web-author-svg-plugin` and I also tried to install the `web-author-imageio-plugin` but that didn't help.
What am I missing? I didn't have any problems rendering SVG in version 21.
Here is the debug log:
Thanks
I'm upgrading to version 26.1 of the Oxygen Web Author Component and have noticed that SVG images are not displaying in the editor.
I installed the `web-author-svg-plugin` and I also tried to install the `web-author-imageio-plugin` but that didn't help.
What am I missing? I didn't have any problems rendering SVG in version 21.
Here is the debug log:
Code: Select all
2025-08-15 13:33:15,689 DEBUG [ http-nio-38080-exec-10 ] ro.sync.ecss.images.l - Create image for http://localhost:28080/webapp_editor?sourceDocPath=concept_test_1.dita&destDocPath=test.svg
2025-08-15 13:33:15,690 DEBUG [ http-nio-38080-exec-10 ] ro.sync.ecss.images.ImageHandlerDispatcher - Header changed. Start parsing for: http://localhost:28080/webapp_editor?sourceDocPath=concept_test_1.dita&destDocPath=test.svg
2025-08-15 13:33:15,691 DEBUG [ http-nio-38080-exec-10 ] ro.sync.ecss.images.ImageHandlerDispatcher - Catch our parse exception, detected first opening tag.
2025-08-15 13:33:15,691 DEBUG [ http-nio-38080-exec-10 ] ro.sync.ecss.images.w - Image format not supported: http://localhost:28080/webapp_editor?sourceDocPath=concept_test_1.dita&destDocPath=test.svg
ro.sync.ecss.images.t: Unsupported image format.
at ro.sync.ecss.images.l.y(Unknown Source)
at ro.sync.ecss.images.x.nb(Unknown Source)
at ro.sync.ecss.images.w.qb(Unknown Source)
at ro.sync.exml.workspace.b.d.b.optimizeImage(Unknown Source)
at ro.sync.servlet.RESTAssetLoader.optimizeImage(RESTAssetLoader.java:706)
at ro.sync.servlet.RESTAssetLoader.loadNormalImage(RESTAssetLoader.java:645)
at ro.sync.servlet.RESTAssetLoader.loadImageHdpi(RESTAssetLoader.java:193)
at ro.sync.servlet.RESTAssetLoader.loadImage(RESTAssetLoader.java:280)
-
- Site Admin
- Posts: 259
- Joined: Wed Aug 30, 2023 2:33 pm
Re: Image format not supported for SVG images
Hello,
We noticed in the log that the image URL includes query parameters like sourceDocPath=concept_test_1.dita and destDocPath=test.svg. These look like they might come from a custom implementation or customization. Could you please confirm if these parameters are part of your integration or plugin?
Best,
Cosmin
We noticed in the log that the image URL includes query parameters like sourceDocPath=concept_test_1.dita and destDocPath=test.svg. These look like they might come from a custom implementation or customization. Could you please confirm if these parameters are part of your integration or plugin?
Best,
Cosmin
Cosmin Eftenie
www.oxygenxml.com
www.oxygenxml.com
-
- Posts: 3
- Joined: Fri Aug 15, 2025 12:31 pm
Re: Image format not supported for SVG images
Post by aliaksandr »
Hi,
Yes, it's part of the custom implementation.
I use the same approach for all images and have no problems with PNG, in my test cases only with SVG.
I have already tested on the server side, if I receive and send the result, everything works.
And just FYI I'm using the `ro.sync.ecss.extensions.api.StylesFilter` implementation to update the styles.
Best,
Aliaksandr
Yes, it's part of the custom implementation.
I use the same approach for all images and have no problems with PNG, in my test cases only with SVG.
I have already tested on the server side, if I receive and send the result, everything works.
And just FYI I'm using the `ro.sync.ecss.extensions.api.StylesFilter` implementation to update the styles.
Code: Select all
styles.setProperty(Styles.KEY_MIXED_CONTENT, new StaticContent[]{new URIContent(requestUrl, builder.toString())});
Aliaksandr
Last edited by aliaksandr on Tue Aug 19, 2025 10:45 am, edited 1 time in total.
-
- Site Admin
- Posts: 259
- Joined: Wed Aug 30, 2023 2:33 pm
Re: Image format not supported for SVG images
Hello,
Thank you for your reply.
Could you please confirm what Content-Type is set on the server response for the SVG files?
Also, could you share a bit more about the architecture for handling SVGs in this context?
You can share these details via email at support@oxygenxml.com.
Best,
Cosmin
Thank you for your reply.
Could you please confirm what Content-Type is set on the server response for the SVG files?
Also, could you share a bit more about the architecture for handling SVGs in this context?
You can share these details via email at support@oxygenxml.com.
Best,
Cosmin
Cosmin Eftenie
www.oxygenxml.com
www.oxygenxml.com
-
- Posts: 3
- Joined: Fri Aug 15, 2025 12:31 pm
Re: Image format not supported for SVG images
Post by aliaksandr »
Hi,
Yes, the Content-Type header was not set. I added it, and now it's working.
Thanks for your help!
Best,
Aliaksandr
Yes, the Content-Type header was not set. I added it, and now it's working.

Thanks for your help!
Best,
Aliaksandr
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service