You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by JPee <pe...@softwareforen.de> on 2009/09/04 10:49:38 UTC

FOP Version v0_20_5 linkproblem

Hi,

I'm working with FOP embedded in a CMS for generating PDFs. The version of
FOP is v0_20_5. The problem is the following one:

If I use a basic link and the external-destination is linked to a pdf, all /
(slashes) turn into \ (backslashes). Most readers correct this failure, but
not adobe reader which most people use. I tested this problem in the newest
version of fop and there it works fine.

Is there a workaround for v0_20_5?

example:

<fo:basic-link
external-destination="http://.../.../test.pdf">test.pdf<fo:basic-link>

in pdf the link is http:\\...\...\test.pdf, but only if the file ends with
.pdf

Greetings


-- 
View this message in context: http://www.nabble.com/FOP-Version-v0_20_5-linkproblem-tp25290507p25290507.html
Sent from the FOP - Dev mailing list archive at Nabble.com.


Re: FOP Version v0_20_5 linkproblem

Posted by "J.Pietschmann" <j3...@yahoo.de>.
On 04.09.2009 10:49, JPee wrote:
> If I use a basic link and the external-destination is linked to a pdf, all /
> (slashes) turn into \ (backslashes).

As a wild guess: if you generate the PDF with the backslashes on
Windows, try on a UNIX/LINUX system and check whether the problem
goes away.
Other than that, you'll either have to upgrade FOP to a more recent
version or hack the URL resolver from 0.20.5 yourself.

J.Pietschmann