You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by "Szeak (Register Man)" <sz...@gmail.com> on 2016/08/08 13:15:15 UTC

Resolve an URI relative to base missing on Windows

Hi,

I'm using FOP 2.1.

With the same simple fo file which is including an external image (jpg), 
with sam config file, and same fop,
URI resolving to the image is OK on Linux, but generates the below Error 
on Windows:

Image not found. URI: images/logo.jpg. (See position 11:67)

If i use url('...') format in src attribute and take the full path, it 
works and includes the image, but relative path is not working.

The problem is not related to using FOP from the command line or 
embedded mode. You can test from command line easy.

The problem is not related to used output format. (I used PDF and PS)

I have read some problem with URI resolving with the new FOP versions 
(from 2.0), but i think that is a new problem.

Please, somebody test this again or i'm waiting for any new info or 
mistake with my files or configuration.

I attached my FO and Config to this mail.


Thanks for any help.