Hello--
This is a continuation of an issue I raised on the dita-users list here:
https://groups.yahoo.com/neo/groups/dita-users/conversations/messages/38312. I'm moving this discussion here in hopes of attracting greater elaboration from OT users/developers. (Kendall, your workaround that you offered didn't work in my situation, but I appreciated the pointer; it helped me further my investigation.)
With OT 2.1.1 coderef elements are not appearing in my output. In particular, they're not being copied to the temp directory and because they're not found in the temp directory they're not included in the final output. My issue is very specific to coderef, and, in particular, coderef elements that would be considered "outer" to the topic and map files because images from the same "outer" directory are being copied. The errors are:
[topicfragment][coderef][DOTJ051E][ERROR] Unable to load target for coderef.
[gen-list] [DOTJ013E][ERROR] Failed to parse the referenced file
I believe this comment/commit by @jelovirt on May 24, 2015 is the source for the issue.
Commit comment: Remove subsidiary list from Ant and retrieve from source in coderef
In build_preprocess_template.xml line 557 had 'copy-subsidiary' removed but there was nothing added for to handle the copying of coderef (e.g., copy-coderef). Should there have been?
Before: dita:depends="{depend.preprocess.copy-files.pre},copy-image,copy-html,copy-flag,copy-subsidiary"
After: dita:depends="{depend.preprocess.copy-files.pre},copy-image,copy-html,copy-flag"
I don't see any target in the build_preprocess_template.xml file that copies coderef elements. Is this an oversight?
Jarno, if you're reading this, were "outer" files tested with your commit on May 24? If you can recall, were they tested with generate.copy.outer=3?
OT 2.1.1 + generate.copy.outer=1 == SUCCESS
OT 2.1.1 + generate.copy.outer=3 == FAIL
OT 1.8.5 + generate.copy.outer=1 == SUCCESS
OT 1.8.5 + generate.copy.outer=3 == SUCCESS
Can someone clarify?
-Lief