Summary: 1.0: not all events redirected
           Product: Fop
           Version: 1.0
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: general

I was happy to see the new event handling framework in FOP 1.0. It also works -
but not for all events:

I wrote my own event EventListener and added it to the FOUserAgent (just as
shown in Yahoo, I got
events and was able to handle them differently instead of just log WARNING and
SEVERE message to the log file. 

But there are still events that my EventListener doesn't get. I have a case
wher an SVG image is missing. I do get the events

1. Image not found. URI: images/MyPic.svg. (See position 1:2664)
2. Image not found. URI: images/MyPic.svg. (No context info available)

and can handle them in my EventListener. But I don't get the events

3. Unable to obtain stream from system identifier
4. The Source that was returned from URI resolution didn't contain an
InputStream for URI: images/MyPic.svg

that are just logged to the Java logger as SEVERE messages. At a breakpoint, I
see that the logging is done from
FOUserAgent$1(AbstractImageSessionContext).newSource(String) line: 165

So it seems that there are still events that are not redirected to registered

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to