Unresolved Keyref
Posted: Thu Jun 06, 2019 11:09 pm
Hi,
I have created a plugin for Oxygen XML Editor and in that, I have created a custom Author extension state listener class by overriding the activated and deactivated methods and tried to extend the DITA Map framework in the following way :
1) Go to Options > Preferences > Document Type Association and extend the DITA Map framework.
2) In this DITA Map Extension, Go to Classpath tab and load plugin using "Use parent classloader from plugin with ID : <my plugin ID>"
3) Go to Extensions tab and under Individual extensions click Choose for Author extension state listener and select the custom Author extension state listener class
4) Click OK on all open dialogs
Upon doing this, when I try to resolve the keyref in a DITA file by selecting a Root Map, the keyref is not getting resolved.
It displays a message saying that the particular keyref is not found in the Root Map.
However, when I remove this Custom Author extension state listener from the individual extensions, the keyref is getting resolved.
Can someone please let me know if I am missing anything in the Custom author extension state listener class?
Thanks,
Krishna
I have created a plugin for Oxygen XML Editor and in that, I have created a custom Author extension state listener class by overriding the activated and deactivated methods and tried to extend the DITA Map framework in the following way :
1) Go to Options > Preferences > Document Type Association and extend the DITA Map framework.
2) In this DITA Map Extension, Go to Classpath tab and load plugin using "Use parent classloader from plugin with ID : <my plugin ID>"
3) Go to Extensions tab and under Individual extensions click Choose for Author extension state listener and select the custom Author extension state listener class
4) Click OK on all open dialogs
Upon doing this, when I try to resolve the keyref in a DITA file by selecting a Root Map, the keyref is not getting resolved.
It displays a message saying that the particular keyref is not found in the Root Map.
However, when I remove this Custom Author extension state listener from the individual extensions, the keyref is getting resolved.
Can someone please let me know if I am missing anything in the Custom author extension state listener class?
Thanks,
Krishna