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 bu...@apache.org on 2010/03/21 19:24:46 UTC

DO NOT REPLY [Bug 48952] New: links to pdf-files on https servers are rendered wrong when creating pdf

https://issues.apache.org/bugzilla/show_bug.cgi?id=48952

           Summary: links to pdf-files on https servers are rendered wrong
                    when creating pdf
           Product: Fop
           Version: all
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: pdf
        AssignedTo: fop-dev@xmlgraphics.apache.org
        ReportedBy: thomas.bauer.bugs@t-online.de


External links to pdf-files on http-servers and https-servers seem to
lead to different output in fop pdf rendering, with the result that
links to pdf-files on https are not clickable in pdf reading programs.

My source is in docbook xml, example section:

<section> <title>test</title>
<para> <ulink url="http://xmlgraphics.apache.org"/> </para>
<para> <ulink url="https://xmlgraphics.apache.org"/> </para>
<para> <ulink url="http://xmlgraphics.apache.org/index.pdf"/> </para>
<para> <ulink url="https://xmlgraphics.apache.org/index.pdf"/> </para>
<para> <ulink url="file://index.pdf"/> </para>
<para> <ulink url="index.pdf"/> </para>
</section>

With xsltproc I get the same structure for each type of link from my source.
The pdf created from this with fop, however, creates different types of links,
with the result that the https links are not clickable.

As Andreas Delmelle confirmed, there is a bug in subroutine
org.apache.fop.pdf.PDFFactory.getExternalAction().
The order of checks is currently so that, for an "http://" URL, the code
generates a PDFUri
action, and for an "https://" URL ending in ".pdf" a PDFGoToRemote action...

The file:// link issue seems already fixed in the trunk version of fop, I can
however not verify it because it fails with some java problem, nor can I build
the trunk version here due to a lack of a build system.


See also the thread on the fop users mailing list:
http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/201003.mbox/%3c4B9D2466.8050008@t-online.de%3e
and Andreas Delmelle's answer:
http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/201003.mbox/%3c834C292E-FEAE-4F23-9B22-A4F0720D0DF6@telenet.be%3e

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 48952] links to pdf-files on https servers are rendered wrong when creating pdf

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48952

--- Comment #1 from Glenn Adams <gl...@skynav.com> 2012-04-07 01:42:13 UTC ---
resetting P2 open bugs to P3 pending further review

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 48952] links to pdf-files on https servers are rendered wrong when creating pdf

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48952

Glenn Adams <gl...@skynav.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P2                          |P3

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.