Hi Scott, In the Oxygen "DITA Maps Manager" view there is a "Context" combo box, just make sure it refers to the top level DITA Map which includes directly or indirectly all other submaps that define the keys. Regards, Radu Radu Coravu Oxygen XML Editor On 10/28/25 19:32, Scott Prentice wrote:
Maybe I'm missing some setting .. but as far as I know, it's fine to define keys in the root map or any submap.
In a submap, I'm assigning keys thusly ..
<topicref href="some-topic-1.xml" keys="p_1"/> <topicref href="some-topic-2.xml" keys="p_2"/>
This works fine for an OT build, keys resolve fine, but Oxygen complains that these keys are not defined. It seems to only work if I declare a keydef in the root map that points to this file.
<keydef keys="p_1" href="groups/group1/some-topic-1.xml"/> <keydef keys="p_2" href="groups/group1/some-topic-2.xml"/>
I really don't want to define the filename of these topics in the root map .. it's much more convenient to keep them in the submaps with the topicrefs.
Is this an issue in Oxygen or something that I'm missing?
Thanks!
Scott
_______________________________________________ oXygen-user mailing list --oxygen-user@oxygenxml.com To unsubscribe send an email tooxygen-user-leave@oxygenxml.com
Hi Radu, Yup. That's what I was assuming, but it wasn't working. However, in poking into this a bit more it looks like the framework that I was working on seems to have broken this functionality. If I switch back to the default DITA frameworks, the keys resolve as expected. As is often the case .. user error! :-o Thanks, Scott On 10/29/25 1:21 AM, Oxygen XML Editor Support (Radu Coravu) wrote:
Hi Scott,
In the Oxygen "DITA Maps Manager" view there is a "Context" combo box, just make sure it refers to the top level DITA Map which includes directly or indirectly all other submaps that define the keys.
Regards,
Radu
Radu Coravu Oxygen XML Editor
On 10/28/25 19:32, Scott Prentice wrote:
Maybe I'm missing some setting .. but as far as I know, it's fine to define keys in the root map or any submap.
In a submap, I'm assigning keys thusly ..
<topicref href="some-topic-1.xml" keys="p_1"/> <topicref href="some-topic-2.xml" keys="p_2"/>
This works fine for an OT build, keys resolve fine, but Oxygen complains that these keys are not defined. It seems to only work if I declare a keydef in the root map that points to this file.
<keydef keys="p_1" href="groups/group1/some-topic-1.xml"/> <keydef keys="p_2" href="groups/group1/some-topic-2.xml"/>
I really don't want to define the filename of these topics in the root map .. it's much more convenient to keep them in the submaps with the topicrefs.
Is this an issue in Oxygen or something that I'm missing?
Thanks!
Scott
_______________________________________________ oXygen-user mailing list --oxygen-user@oxygenxml.com To unsubscribe send an email tooxygen-user-leave@oxygenxml.com
_______________________________________________ oXygen-user mailing list --oxygen-user@oxygenxml.com To unsubscribe send an email tooxygen-user-leave@oxygenxml.com
participants (2)
-
Oxygen XML Editor Support (Radu Coravu) -
Scott Prentice