AntennaHouse / pdf5-ml

Antenna House PDF5-ML DITA-OT Plug-in
23 stars 9 forks source link

Style sheet error in convmerged.xsl #86

Closed ToshihikoMakita closed 5 years ago

ToshihikoMakita commented 5 years ago

[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

ToshihikoMakita commented 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.

ToshihikoMakita commented 5 years ago

DITA-OT 3.3 does not maintain the topic destination portion of xref/@href. So this problem is hard to solve!

ToshihikoMakita commented 5 years ago

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".