My reusable component element suddenly went awry
Posted: Fri Mar 15, 2019 2:27 am
This is a tricky one to explain, but I'll do my best. In my project, we have resource files that contain reusable components for things like our company name, product name, etc. Until now, this feature has been rock solid: when I insert the variable from the DITA Reusable Components window, it works.
Fast forward to the most recent topic I wrote. In that topic, I inserted my product name several times. The correct reference is this:
I then PDF'd my project and was drawn to this one error that it claimed it couldn't resolve "strings-prods". I checked the PDF output and sure enough, some of my references were blank, a telltale sign that it could not resolve the reusable component. But the strange this, only some of the references are bad! The first few in the topic are correct, while the latter bunch mysteriously took on this form:
I have no idea where the data-sources prefix came from! It's not in any other topic where the reference works. BUT, when I try inserting the variable in several different topics, they all get inserted with that prefix!
Any ideas how things can suddenly change like this?
Fast forward to the most recent topic I wrote. In that topic, I inserted my product name several times. The correct reference is this:
Code: Select all
<ph conkeyref="strings-prods/phemi-central"/>
Code: Select all
<ph conkeyref="data-sources.strings-prods/phemi-central"/>
Any ideas how things can suddenly change like this?