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 2008/10/02 18:05:33 UTC

DO NOT REPLY [Bug 45938] New: Better feedback needed for unknown image formats

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

           Summary: Better feedback needed for unknown image formats
           Product: Fop
           Version: 1.0dev
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: general
        AssignedTo: fop-dev@xmlgraphics.apache.org
        ReportedBy: vincent.hennebert@anyware-tech.com


If an image in an unknown format is specified as a background-image, FOP gives
a misleading error message:
  <fo:block background-image="unknown.xyz">Block</fo:block>

 org.apache.fop.fo.properties.CommonBorderPaddingBackground getInstance
SEVERE: Background image not available: unknown.xyz

When the same image is specified as an external-graphic, the error message is
hardly better:
  <fo:external-graphic src="unknown.xyz"/>

org.apache.fop.events.LoggingEventListener processEvent
SEVERE: Image not available. URI: unknown.xyz. Reason:
org.apache.xmlgraphics.image.loader.ImageException: No ImagePreloader found for
unknown.xyz

I discovered the issue by stumbling upon an svg file that didn't contain any
doctype declaration, hence not recognized as svg. Feedback should be improved
by clearly mentioning that the image is of an unrecognized format.


-- 
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 45938] Better feedback needed for unknown image formats

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





--- Comment #1 from Chris Bowditch <bo...@hotmail.com>  2008-10-03 00:55:11 PST ---
In addition to what Vincent said I have also noticed that the message you do
get when FOP can't add a background image is sent to the Logger and not to the
Event Listener.


-- 
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 45938] Better feedback needed for unknown image formats

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED

--- Comment #3 from Glenn Adams <gl...@skynav.com> 2012-04-01 06:32:22 UTC ---
batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed

-- 
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 45938] Better feedback needed for unknown image formats

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


Jeremias Maerki <je...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #2 from Jeremias Maerki <je...@apache.org>  2009-01-02 07:33:25 PST ---
Fixed:
http://svn.apache.org/viewvc?rev=730756&view=rev
http://svn.apache.org/viewvc?rev=730757&view=rev


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