SVG Doc Type Declaration issues
Posted: Fri Aug 27, 2021 6:59 pm
We have SVG exported from Draw.io as a flow chart that has links to external web urls.
Draw.io exports the svg with this doc type declaration:
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg10.dtd">
ISSUE: Oxygen 23.1 webhelp and CSS to PDF doesn't generate the image at all, but the base html5 transform does.
If I change the doc type declaration to that of a new SVG created out of Oxygen 23.1 as:
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010 ... /svg10.dtd">
Then the webhelp and CSS to PDF generates the SVG.
Our framework has the SVG doc type enabled. I see that the Oxygen SVG folder contains the dtds for svg10.dtd and svg11.dtd
How do I get Oxygen to process the default Draw.io doc type declaration:
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg10.dtd">
Draw.io exports the svg with this doc type declaration:
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg10.dtd">
ISSUE: Oxygen 23.1 webhelp and CSS to PDF doesn't generate the image at all, but the base html5 transform does.
If I change the doc type declaration to that of a new SVG created out of Oxygen 23.1 as:
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010 ... /svg10.dtd">
Then the webhelp and CSS to PDF generates the SVG.
Our framework has the SVG doc type enabled. I see that the Oxygen SVG folder contains the dtds for svg10.dtd and svg11.dtd
How do I get Oxygen to process the default Draw.io doc type declaration:
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg10.dtd">