SVG cannot open in Oxygen but opens fine in Chrome
Posted: Wed Sep 27, 2023 1:08 am
Hi, Oxygen Team.
When I tried to embed an SVG image (please find it attached--need to unzip to see the SVG ) in my DocBook XML, in Oxygen Author 24.1 it displayed an error: Then I tried opening it in Oxygen SVG viewer (Tools -> SVG Viewer), and it threw a couple of error messages: However, it opens without issues in the Web browsers like Chrome, Edge, and Firefox. Moreover, I embedded it in a DocBook XML file and published both HTML and PDF output from it (using some process outside Oxygen), and it showed up in the output without issues.
Does it mean that the SVG validation in Oxygen is more rigorous than that in the web browsers and PDF? Is there a way to loosen up the validation in Oxygen, so that it displays an SVG in Author mode, as long as the SVG can display properly in HTML and PDF?
Thanks,
Charles
When I tried to embed an SVG image (please find it attached--need to unzip to see the SVG ) in my DocBook XML, in Oxygen Author 24.1 it displayed an error: Then I tried opening it in Oxygen SVG viewer (Tools -> SVG Viewer), and it threw a couple of error messages: However, it opens without issues in the Web browsers like Chrome, Edge, and Firefox. Moreover, I embedded it in a DocBook XML file and published both HTML and PDF output from it (using some process outside Oxygen), and it showed up in the output without issues.
Does it mean that the SVG validation in Oxygen is more rigorous than that in the web browsers and PDF? Is there a way to loosen up the validation in Oxygen, so that it displays an SVG in Author mode, as long as the SVG can display properly in HTML and PDF?
Thanks,
Charles