Page 1 of 1

Keydef error

Posted: Fri May 24, 2024 10:48 am
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!

Re: Keydef error

Posted: Fri May 24, 2024 10:53 am
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

Re: Keydef error

Posted: Fri May 24, 2024 10:56 am
by raya06
Thanks Radu!