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 2010/08/30 11:15:31 UTC

DO NOT REPLY [Bug 49842] New: 1.0: not all events redirected

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

           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
        AssignedTo: fop-dev@xmlgraphics.apache.org
        ReportedBy: mhilpert@gmx.de


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 http://xmlgraphics.apache.org/fop/1.0/events.html). 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
'file:////C4711/A1/xml/images/MyPic.svg'
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
EventListeners.

-- 
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 49842] 1.0: not all events redirected

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #2 from Glenn Adams <gl...@skynav.com> 2012-04-07 23:50:01 UTC ---
please provide input FO file for testing along with console output you obtain

-- 
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 49842] 1.0: not all events redirected

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P2                          |P3

-- 
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 49842] 1.0: not all events redirected

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

--- Comment #1 from Glenn Adams <gl...@skynav.com> 2012-04-07 01:44:37 UTC ---
resetting P2 open bugs to P3 pending further review

-- 
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 49842] 1.0: not all events redirected

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

--- Comment #3 from Glenn Adams <ga...@apache.org> 2012-04-24 05:27:14 UTC ---
(In reply to comment #2)
> please provide input FO file for testing along with console output you obtain

M.H., I am still awaiting your input as requested above. if I see no further
input by April 30, I will close this bug due to lack of requested information.
Regards, Glenn

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