I'm using fop 0.20.5 to create a PDF containing external links. Most links
work fine, but whenever
the url ends in ".pdf", the link is created as if it were a link to a local
file instead of to an external
web site. Clicking the link in Acrobat Reader results in the message "The
specified file ... does not
exist".
Here's a sample xsl-fo:
<fo:block wrap-option="no-wrap" white-space-collapse="false" font-size="8pt"
font-family="monospace">
URL: <fo:basic-link color="blue"
external-destination="url('http://xxx.lanl.gov/pdf/hep-ex/0512056')">http://xxx.lanl.gov/pdf/hep-ex/0512056</fo:basic-link>
URL ending in .pdf: <fo:basic-link color="blue"
external-destination="url('http://www.lip.pt/events/2005/hep2005/talks/hep2005_talk_JeanDuboscq.pdf')">http://www.lip.pt/events/2005/hep2005/talks/hep2005_talk_JeanDuboscq.pdf</fo:basic-link>
URL ending in .rtf: <fo:basic-link color="blue"
external-destination="url('http://www.lip.pt/events/2005/hep2005/talks/hep2005_talk_JeanDuboscq.rtf')">http://www.lip.pt/events/2005/hep2005/talks/hep2005_talk_JeanDuboscq.pdf</fo:basic-link>
</fo:block>
The first and third urls are ok, but the second one doesn't work.
Is this a known bug in fop, or am I doing something wrong?
Thanks.
John Besch
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]