Skip to main content
Participant
June 23, 2021
Answered

Bug in Adobe FrameMaker cause problem with keyrefs. through inserting empty hrefs

  • June 23, 2021
  • 1 reply
  • 259 views

I have defined a series of keydefs with related hrefs to images in a .ditamap file. My book map file references this ditamap. In my .dita topics I create <figure> elements, and inside them <image> elements.

Normally you use the href attribute to specify the location of the image file, but now I specify the key for the keydef attribute. This works great, FrameMaker even provides a pop-up menu with available keys for the keyref attribute in the dialog box for the image element.

But then the bug hits. After saving the topic, FM inserts an empty href=“” attribute in the <image> element. As a result of this all keyrefs and confers stop working in the whole document. It cannot be solved in FrameMaker, I have to open the topic in a text/xml editor to remove the empty href=“” attribute.

Has anyone encountered this bug too? Does anyone know a solution or workaround?

    This topic has been closed for replies.
    Correct answer pulkitn

    This has been fixed /improved in FM2020 update 3 .

    • No more automatic empty href attribute in <image> element if you have specified keyref  .
    • We will remove empty href attribute when keyref is non-empty on saving file


    Thanks
    Pulkit Nagpal

    1 reply

    pulkitn
    Adobe Employee
    pulkitnCorrect answer
    Adobe Employee
    September 20, 2021

    This has been fixed /improved in FM2020 update 3 .

    • No more automatic empty href attribute in <image> element if you have specified keyref  .
    • We will remove empty href attribute when keyref is non-empty on saving file


    Thanks
    Pulkit Nagpal