ODT output not finding images to include
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 24
- Joined: Fri Apr 05, 2013 11:01 pm
ODT output not finding images to include
I'm having difficulty converting a dita bookmap to ODT using the default transformation scenario in Oxygen 15.2.
The error message I'm getting is:
DOTJ023E] Failed to get the specified image file 'X:\manual\src\draft\odt\temp\images/my-image.svg', so it will not be included with your output.
This happens for every image in the document.
The directory structure looks like this:
X:\manual\src\manual.ditamap
X:\manual\src\images\
X:\manual\src\topics\
X:\manual\src\draft\odt\
The individual dita topics use relative paths, so they look like href="../images/my-image.svg".
The ODT output directory is X:\manual\src\draft\odt. So it looks like the transformation is trying to find the images in the wrong location. I'm not sure where the appropriate place to correct this error is. The default PDF and webhelp transformations do not experience this issue.
The error message I'm getting is:
DOTJ023E] Failed to get the specified image file 'X:\manual\src\draft\odt\temp\images/my-image.svg', so it will not be included with your output.
This happens for every image in the document.
The directory structure looks like this:
X:\manual\src\manual.ditamap
X:\manual\src\images\
X:\manual\src\topics\
X:\manual\src\draft\odt\
The individual dita topics use relative paths, so they look like href="../images/my-image.svg".
The ODT output directory is X:\manual\src\draft\odt. So it looks like the transformation is trying to find the images in the wrong location. I'm not sure where the appropriate place to correct this error is. The default PDF and webhelp transformations do not experience this issue.
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: ODT output not finding images to include
Post by sorin_ristache »
Hello,
The SVG images are not processed correctly by the DITA ODT transformation in version 15.2. The problem was fixed in DITA 1.8 which will be included in the next version of Oxygen (16.0).
To correct the problem in DITA 1.7 which is included in Oxygen 15.2 you can try to debug the ODT transformation. I looked into it a little but the cause of the error is not obvious. If you want to give it a try with debugging I suggest starting from the [Oxygen-15.2]\frameworks\dita\DITA-OT\plugins\org.dita.odt\xsl\dita2odt.xsl stylesheet. Other stylesheets for the ODT output are located in directory [Oxygen-15.2]\frameworks\dita\DITA-OT\plugins\org.dita.odt\xsl\xslodt.
Regards,
Sorin
The SVG images are not processed correctly by the DITA ODT transformation in version 15.2. The problem was fixed in DITA 1.8 which will be included in the next version of Oxygen (16.0).
To correct the problem in DITA 1.7 which is included in Oxygen 15.2 you can try to debug the ODT transformation. I looked into it a little but the cause of the error is not obvious. If you want to give it a try with debugging I suggest starting from the [Oxygen-15.2]\frameworks\dita\DITA-OT\plugins\org.dita.odt\xsl\dita2odt.xsl stylesheet. Other stylesheets for the ODT output are located in directory [Oxygen-15.2]\frameworks\dita\DITA-OT\plugins\org.dita.odt\xsl\xslodt.
Regards,
Sorin
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)
- ↳ 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