Keydef error

Post here questions and problems related to editing and publishing DITA content.
raya06
Posts: 3
Joined: Thu Sep 08, 2022 12:29 pm

Keydef error

Post by raya06 »

Hi,
I'm getting this error - The reference to entity "labelkey" must end with the ';' delimiter. for a keydef. Tried searching the web but couldn't find anything. Here's the keydef:

Code: Select all

 <keydef href="https://docs.nordicsemi.com/bundle?labelkey=nrf7002&labelkey=errata"
  scope="peer" format="html" keys="link_errata7002" navtitle="nRF7002 Errata"/>
Adding the delimeter ; or replacing & with ; opens a different link.
Thanks!
Radu
Posts: 9115
Joined: Fri Jul 09, 2004 5:18 pm

Re: Keydef error

Post by Radu »

Hi,
When you use Oxygen's actions to insert the keydef's href, Oxygen should insert it like this:

Code: Select all

 <keydef href="https://docs.nordicsemi.com/bundle?labelkey=nrf7002&amp;labelkey=errata"
  scope="peer" format="html" keys="link_errata7002" navtitle="nRF7002 Errata"/>
Notice how the "&" is escaped to &amp; in order to make the XML well-formed.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
raya06
Posts: 3
Joined: Thu Sep 08, 2022 12:29 pm

Re: Keydef error

Post by raya06 »

Thanks Radu!
Post Reply