From: <st...@us...> - 2013-09-21 23:29:42
|
Revision: 9813 http://sourceforge.net/p/docbook/code/9813 Author: stilor Date: 2013-09-21 23:29:39 +0000 (Sat, 21 Sep 2013) Log Message: ----------- Skip generating fox:destination on a footnote - id attribute on footnotes is not passed to generated FO, so FOP complains about unresolved ID in destination. Modified Paths: -------------- trunk/xsl/fo/fop1.xsl Modified: trunk/xsl/fo/fop1.xsl =================================================================== --- trunk/xsl/fo/fop1.xsl 2013-09-21 18:00:43 UTC (rev 9812) +++ trunk/xsl/fo/fop1.xsl 2013-09-21 23:29:39 UTC (rev 9813) @@ -101,7 +101,8 @@ </xsl:variable> <xsl:choose> <xsl:when test="self::index and $generate.index = 0"/> - <xsl:when test="$id != ''"> + <!-- ID on the footnote is not passed to the output FO --> + <xsl:when test="not(self::footnote) and $id != ''"> <fox:destination internal-destination="{$id}"/> <xsl:apply-templates select="*" mode="fop1.foxdest"/> </xsl:when> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |