W3C home > Mailing lists > Public > www-xsl-fo@w3.org > February 2011

Re: PDF Open Parameters and linking to external pdf and named anchor

From: G. Ken Holman <gkholman@CraneSoftwrights.com>
Date: Tue, 22 Feb 2011 12:27:28 -0500
Message-Id: <>
To: "www-xsl-fo@w3.org" <www-xsl-fo@w3.org>
The "file does not exist" error makes me think this is a reader 
problem trying to traverse the link, not an AHF or XSL-FO problem.

Have you tried creating a regular <fo:basic-link> in the text and 
seeing if that link works?  That would indicate if it is a general 
problem or only a problem with bookmarks.

Have you tried the link from a browser?

You state the URI is valid without the anchor.  I would try producing 
the PDF without the anchor, editing the PDF to hack the anchor into 
the link address, and then trying to see if that link worked.

It could be that XSL-FO and the formatter are all creating the PDF 
exactly the way you want, but that way isn't supported by the reader.

I hope this helps diagnose where the problem lies.

. . . . . . . . . Ken

At 2011-02-22 10:43 -0600, Mario Madunic wrote:
>Can't seem to get the PDF Open Parameter nameddest working. I have 
>the following bit of FO (and am using AHF 5)
><fo:bookmark external-destination="serv.pdf#nameddest=_1-FrontAxleSuspension">
>    <fo:bookmark-title>SERVICE</fo:bookmark-title>
>The id exists in the destination pdf (serv.pdf) but get an error 
>message stating that the file does not exist. Both files are sitting 
>in the same directory and have checked that the anchor (named 
>destination) exists, which it does. Am I missing something? The URI 
>is valid and when I test the link without the anchor it opens the 
>serv.pdf no problem.

Contact us for world-wide XML consulting & instructor-led training
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/f/
G. Ken Holman                 mailto:gkholman@CraneSoftwrights.com
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal
Received on Tuesday, 22 February 2011 17:28:09 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:58:34 UTC