Details
-
Bug
-
Status: Closed
-
Resolution: Cannot Reproduce
-
0.20.5
-
None
-
None
-
Operating System: other
Platform: Sun
-
20056
Description
I have embedded FOP into a (WebLogic) Servlet. The development environment is
Windows NT, the target environment is a 'headerless' UNIX box.
When my application is installed onto UNIX, FOP generates the following error
when attempting to include a GIF:
[ERROR] Could not load external SVG: SAX2 driver class weblogic.xml.jaxp.Registr
yXMLReader loaded but cannot be instantiated (no empty public constructor?)
[ERROR] Error while creating area : No ImageReader for this type of image (https
://w3.baplc.com/critic/images/bawclogobw.gif)
The corresponding XSLT segment is:
<fo:table-cell border-style="none" text-align="right">
<fo:external-graphic content-type="image/gif"
src="https://w3.baplc.com/critic/images/bawclogobw.gif"/>
</fo:table-cell>
There is nothing wrong with the GIF; it is valid & accessible, and appears when
the its URL is entered into a Browser. In the development enviroment, the GIF
is succesfully rendered.
Why is FOP identifying the GIF as an SVG? Why is FOP failing to render the GIF?
Despite the claims of the documentation, on 'headerless' UNIX, does FOP require
external help to render GIFs?
Any help would be appreciated.
Thanks,
Michael Scott