SVG Doc Type Declaration issues
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 15
- Joined: Wed Oct 03, 2018 10:36 pm
SVG Doc Type Declaration issues
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">
-
- Posts: 52
- Joined: Thu Mar 05, 2009 11:44 am
Re: SVG Doc Type Declaration issues
Hello,
I exported a flow chart I've created from draw.io, and the doc type declaration I get is:
which is different from the one you get.
After adding this svg in a dita topic and running the default DITA Map WebHelp Responsive transformation scenario I see no issue in the WebHelp output, the svg image appears just fine.
Can you post here a small svg sample which is not generated by the WebHelp transformation?
Regards,
Marius
I exported a flow chart I've created from draw.io, and the doc type declaration I get is:
Code: Select all
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
After adding this svg in a dita topic and running the default DITA Map WebHelp Responsive transformation scenario I see no issue in the WebHelp output, the svg image appears just fine.
Can you post here a small svg sample which is not generated by the WebHelp transformation?
Regards,
Marius
Marius Ciolacu
Syncro Soft / Oxygen XML
Syncro Soft / Oxygen XML
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ 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