Closed ToshihikoMakita closed 5 years ago
This problem occurs when topic/title element contains xref to fn. Because DITA-OT copies topic/title to corresponding topicref/topicmeta/navtitle, there is no topic element as the ancestor of xref element.
DITA-OT 3.3 does not maintain the topic destination portion of xref/@href. So this problem is hard to solve!
Temporary solution: do not maintain xref/@href in this case. If topicref/topicmeta/navtitle is actually processed, the stylesheet will output error message that specifies "Target not found".
[xslt] D:\DITA-OT\dita-ot-3.3\plugins\com.antennahouse.pdf5.ml\xsl\dita2fo_convmerged.xsl:341:0: Fatal Error! An empty sequence is not allowed as the value of variable $topIds