Bug 23099 - Computed contents inside of basic-link doesn't create a link
Summary: Computed contents inside of basic-link doesn't create a link
Status: CLOSED FIXED
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: pdf (show other bugs)
Version: 0.20.5
Hardware: Sun Solaris
: P3 normal
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-11 12:01 UTC by Oliver Becker
Modified: 2012-04-01 06:51 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Becker 2003-09-11 12:01:47 UTC
It seems that computed contents of a fo:basic-link element does not create
a link in the rendered output. This happens at least with fo:leader and
fo:page-number-citation.

I want to generate an index, linking the page numbers with the occurences
of the keywords like this:
<fo:basic-link internal-destination="{generate-id()}">
  <fo:page-number-citation ref-id="{generate-id()}" />
</fo:basic-link>
No success.

If static text occurs within the link, only this text acts as the link anchor,
for examples in a table of contents (simplified):
<fo:basic-link internal-destination="{generate-id()}">
  <xsl:value-of select="." />   <!-- ok -->
  <fo:leader ... />             <!-- not ok, i.e. not linked -->
  <fo:page-number-citation ref-id="{generate-id()}" />  <!-- dito -->
</fo:basic-link>
Comment 1 Pascal Sancho 2007-11-20 00:34:05 UTC
Fixed in FOP 0.94 and probably earlier versions
Comment 2 Glenn Adams 2012-04-01 06:51:47 UTC
batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed