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 2003/05/20 13:03:19 UTC

DO NOT REPLY [Bug 20056] New: - Failure to include external graphic

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20056>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20056

Failure to include external graphic

           Summary: Failure to include external graphic
           Product: Fop
           Version: 0.20.5
          Platform: Sun
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: awt renderer
        AssignedTo: fop-dev@xml.apache.org
        ReportedBy: michael.x.scott@british-airways.com


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

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org