[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fop-user
Subject:    Re: xml catalog and image resolving
From:       Jeremias Maerki <dev () jeremias-maerki ! ch>
Date:       2006-06-26 12:03:04
Message-ID: 20060626140026.ED38.DEV () jeremias-maerki ! ch
[Download RAW message or body]

I tried to reproduce it but I didn't manage. The code's not really
beautiful but it works. Unfortunately, the error log for the "Unable to
obtain stream..." swallows the original error. Try to set a breakpoint
in org.apache.fop.images.ImageFactory.loadImage () to find out the
original reason for the exception there. Good luck.

On 22.06.2006 21:43:22 Andreas Eigenmann wrote:
> hi
> 
> i try to convert a docbook fo file with images.
> if i set a xml catalog, fop isn't able to open the images.
> also if the catalog is empty and there is no relevant entry in it.
> 
> the error message is:
> 
> SCHWERWIEGEND: Unable to obtain stream from id 
> 'file://D:/test/pictures/TestImage.png'
> 22.06.2006 19:01:21 org.apache.fop.fo.flow.ExternalGraphic bind
> SCHWERWIEGEND: Image not available: url(pictures/TestImage.png)
> 
> but the file D:/test/pictures/TestImage.png exists.
> 
> the same transformation works fine under mac os x. :-)


Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic