Is it possible to flag references to files outside of a project
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 24
- Joined: Wed Jan 04, 2017 3:48 pm
Is it possible to flag references to files outside of a project
I encountered an issue when I ran the transformation on our project map. In the compiled output, I was able to access the help system home page (index.html). However, none of the other help topics were output when I ran the transformation.
After reviewing the build log, I determined the cause of the problem was indentifed as DITA-OT error DOTX008E (file does not exist or cannot be loaded). One of the DITA topics was referencing an image file that was not stored within the project folder structure. Instead, the image file was stored in a folder in another writer's Windows profile path (/Users/smith/AppData/Local/Temp/1/SnagitTemp/image.png). Obviously Oxygen was unable to find that path when I ran the transformation. To fix the problem, I copied the image file to the appropriate folder within the project and updated the image reference in the DITA topic.
Is it possible to flag references to files outside of the help project. I have encountered similar errors where Oxygen generated an error because it could not locate an image file (the image file had been renamed or deleted, but the image reference in the topic was left unchanged). In those instances, all of the help files were successfully generated. When I reviewed the build log, it was not immediately obvious that a reference to an image file outside of the project was the cause of the problem I encountered. Now that I know what to look for, being able to flag references to files outside of the project would help with troubleshooting.
After reviewing the build log, I determined the cause of the problem was indentifed as DITA-OT error DOTX008E (file does not exist or cannot be loaded). One of the DITA topics was referencing an image file that was not stored within the project folder structure. Instead, the image file was stored in a folder in another writer's Windows profile path (/Users/smith/AppData/Local/Temp/1/SnagitTemp/image.png). Obviously Oxygen was unable to find that path when I ran the transformation. To fix the problem, I copied the image file to the appropriate folder within the project and updated the image reference in the DITA topic.
Is it possible to flag references to files outside of the help project. I have encountered similar errors where Oxygen generated an error because it could not locate an image file (the image file had been renamed or deleted, but the image reference in the topic was left unchanged). In those instances, all of the help files were successfully generated. When I reviewed the build log, it was not immediately obvious that a reference to an image file outside of the project was the cause of the problem I encountered. Now that I know what to look for, being able to flag references to files outside of the project would help with troubleshooting.
-
- Posts: 9431
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Is it possible to flag references to files outside of a project
Hi,
Right, we have a topic about referencing resources outside of the DITA Map folder:
https://www.oxygenxml.com/doc/versions/ ... -refs.html
But it's best to avoid such a situation altogether if the resource can be copied to the proper location.
In the Oxygen DITA Maps Manager view there is a "Validate and check for completeness" toolbar action. One of its settings is named "Report references to resources outside of the DITA Map folder", maybe you can check that setting and then validate and check for completeness the published DITA Map before publishing.
Regards,
Radu
Right, we have a topic about referencing resources outside of the DITA Map folder:
https://www.oxygenxml.com/doc/versions/ ... -refs.html
But it's best to avoid such a situation altogether if the resource can be copied to the proper location.
In the Oxygen DITA Maps Manager view there is a "Validate and check for completeness" toolbar action. One of its settings is named "Report references to resources outside of the DITA Map folder", maybe you can check that setting and then validate and check for completeness the published DITA Map before publishing.
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