Thanks, Radu. Delighted to see that the key references currently are rendered in the Author view if I change the markup to remove the <metadata> element!

Best,
Kris

Kristen James Eberlein
Chair, OASIS DITA Technical Committee
Principal consultant, Eberlein Consulting
www.eberleinconsulting.com
+1 919 622-1501; kriseberlein (skype)

On 3/26/2019 2:07 AM, Radu Coravu wrote:
Hi Kristen,

Thanks for the report.

You are right, Oxygen gets confused because inside the <topicmeta> there is a <metadata> element containing the keywords. But indeed this is correct according to the specification:

https://www.oxygenxml.com/dita/1.3/specs/langRef/base/metadata.html

So we'll work to fix this. As a workaround if you do not need the <metadata> element for anything you can remove it from the <topicmeta>:

<topicmeta>
      <keywords>
        <keyword>WonderfulClient</keyword>
      </keywords>
    </topicmeta>

Regards,
Radu

Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

On 3/25/2019 10:23 PM, Kristen James Eberlein wrote:
*oXygen 20.1*

I have documents that use key-referenced <keyword> elements to hold
client names. While these key references are properly resolved in output
from the DITA-OT, they are not resolved in the oXygen authoring view,
even when the root map for the document is set in the *DITA Maps
Manager* view.

*Key definition*

    <topicref keys="client">
        <topicmeta>
            <metadata>
                <keywords>
                    <keyword>WonderfulClient</keyword>
                </keywords>
            </metadata>
        </topicmeta>
    </topicref>

*Snippet from sample DITA topic*

<p>Implementing a DITA-based CCMS will be critical to provide the infrastructure that
   <keyword keyref="client"/> needs to develop and deliver intelligent content.</p>

*Authoring view*

Thought? Suggestions? Yes, conkeyrefs are resolved, but I was hoping to
use simple key references for variables in this context of simplified
DITA authoring.
--
Best,
Kris

Kristen James Eberlein
Chair, OASIS DITA Technical Committee
Principal consultant, Eberlein Consulting
www.eberleinconsulting.com
+1 919 622-1501; kriseberlein (skype)



_______________________________________________
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user