xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 46778] New: image not found
Date Fri, 27 Feb 2009 10:37:29 GMT

           Summary: image not found
           Product: Fop
           Version: 0.95
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: critical
          Priority: P2
         Component: general
        AssignedTo: fop-dev@xmlgraphics.apache.org
        ReportedBy: tdrewes@gmx.net

Seems to me that fop 0.95 (embedded) image handling is different to fop 0.94
(embedded) image handling.


We are using embedded fop 0.95 from the binary fop.jar in our application to
generate pdf from xml via xslt.

The xslt code looks like this:

<fo:external-graphic border-right-style="none">
   <xsl:attribute name="src">

In my code I do something like this:
FOUserAgent foUserAgent = fopFactory.newFOUserAgent();
// just to make sure

I then get the fop error message:
2009-02-25 11:28:59,037 [thread-2] ERROR org.apache.fop.fo.FONode  - Image not
found: file:///home/abc/atxRptLogo3.jpg

atxRptLogo3.jpg is in /home/abc and accessible from the permissions.

Since we had no problems with a binary fop 0.94 running not embedded but
standalone I compiled the fop 0.94 with jdk 1.5 and created a fop.jar and
redeployed our application.

*** With fop 0.94 embedded the image is found and displayed!

Note: We played around with various notations of baseURL and the image url, for
but nothing helped

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

View raw message