Ditaval file must be in or below ditamap directory
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 30
- Joined: Sat Feb 16, 2019 8:43 pm
Ditaval file must be in or below ditamap directory
Hi,
I am using webhelp responsive with feedback transformation on Editor 21.0.
My ditaval files are one directory above my ditamap. I am getting this error even though I have the copy outer param set to 3.
Reference to resource outside of main DITA map folder may produce potential publishing problems.
And, indeed it does. The transformation creates the directory that contains the ditaval_webhelp directory and puts all of the output files in there. This breaks most of the links from the TOC. Is there a way to address this issue without moving my ditaval_webhelp directory? I would rather keep my source files separate from my build files.
Thanks,
Adam
MAP:
I am using webhelp responsive with feedback transformation on Editor 21.0.
My ditaval files are one directory above my ditamap. I am getting this error even though I have the copy outer param set to 3.
Reference to resource outside of main DITA map folder may produce potential publishing problems.
And, indeed it does. The transformation creates the directory that contains the ditaval_webhelp directory and puts all of the output files in there. This breaks most of the links from the TOC. Is there a way to address this issue without moving my ditaval_webhelp directory? I would rather keep my source files separate from my build files.
Thanks,
Adam
MAP:
Code: Select all
<?xml version="1.0"?>
<!DOCTYPE map PUBLIC "-//OASIS//DTD DITA Map//EN" "map.dtd">
<map id="my_map">
<title>My Map</title>
<topicmeta>
<prodinfo>
<prodname/>
<vrmlist>
<vrm version="1"/>
</vrmlist>
</prodinfo>
<data type="subtitle">Map</data>
<data type="watermark"/>
<data type="keywords">My Map</data>
<data type="subject">Map</data>
<data type="partno">1</data>
</topicmeta>
<ditavalref href="../build/ditaval_webhelp/my_map.ditaval"/>
<topicref format="dita" href="my_map/c_topic.xml" navtitle="About My Map"
scope="local" type="concept"/>
...
Adam Myers
Technical Publications Manager
MATRIXX Software
Technical Publications Manager
MATRIXX Software
-
- Posts: 9439
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Ditaval file must be in or below ditamap directory
Hi Adam,
If you edit the Oxygen transformation scenario you are using for publishing in the Parameters list there is a parameter called "fix.external.refs" which you can set to "yes". But this will work only when publishing from Oxygen.
Otherwise you will need to have the root DITA Map above the ditaval file in the folders hierarchy:
https://www.oxygenxml.com/doc/versions/ ... -refs.html
Regards,
Radu
If you edit the Oxygen transformation scenario you are using for publishing in the Parameters list there is a parameter called "fix.external.refs" which you can set to "yes". But this will work only when publishing from Oxygen.
Otherwise you will need to have the root DITA Map above the ditaval file in the folders hierarchy:
https://www.oxygenxml.com/doc/versions/ ... -refs.html
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
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