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
        ReportedBy: [EMAIL PROTECTED]

If an image in an unknown format is specified as a background-image, FOP gives
a misleading error message:
  <fo:block background-image="">Block</fo:block> getInstance
SEVERE: Background image not available:

When the same image is specified as an external-graphic, the error message is
hardly better:
  <fo:external-graphic src=""/> processEvent
SEVERE: Image not available. URI: Reason:
org.apache.xmlgraphics.image.loader.ImageException: No ImagePreloader found for

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:
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to