Is it possible to flag references to files outside of a project
Posted: Fri Apr 05, 2024 5:58 am
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.