Bug 45100 - Fop 0.95 beta release is not able to load an graphics file
Summary: Fop 0.95 beta release is not able to load an graphics file
Status: CLOSED DUPLICATE of bug 44902
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: fonts (show other bugs)
Version: all
Hardware: PC Windows XP
: P1 major
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-29 09:13 UTC by Sudesna Pati
Modified: 2012-04-01 13:50 UTC (History)
1 user (show)



Attachments
zip file which contains the required documents mentioned in the description (432.85 KB, application/x-zip-compressed)
2008-05-29 09:13 UTC, Sudesna Pati
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sudesna Pati 2008-05-29 09:13:07 UTC
Created attachment 22033 [details]
zip file which contains the required documents mentioned in the description

When we are trying to load an image file from an external source or present in an server, it is not able to load it. 
We are using a stylesheet to create a pdf document and an xml file that generates the pdf document. 


This is the error message found in the log files.

1) First we tried with "//", the error message
29.05.2008 17:35:41 org.apache.fop.fo.flow.ExternalGraphic bind
SCHWERWIEGEND: Image not found: file:\\Dimari-server4\variobill\shared\images\KEVAG_Briefkopf2005_08.PNG


2) Then we tried with "////"
29.05.2008 17:43:01 org.apache.fop.fo.flow.ExternalGraphic bind
SCHWERWIEGEND: Image not found: file:////Dimari-server4\variobill\shared\images\KEVAG_Briefkopf2005_08.PNG

The question is, what should we write in the command line of the stylesheet, that it will load the image in the particular place in the pdf document?

We have already tested this with FOP-0.95 and Java RE 6 update 5

Attached you can find
- the used stylesheet -containing the command for the graphics file- and 
- the graphics file that should appear on the pdf and 
- a pdf file created with the stylesheet and 
- the xml that served for the pdf generation.
Comment 1 Andreas L. Delmelle 2008-05-29 10:16:36 UTC

*** This bug has been marked as a duplicate of bug 44902 ***
Comment 2 Sudesna Pati 2008-05-30 03:22:20 UTC
yes this, bug is duplicate. But the resolution that has been given, does not work. PLease try to solve the problem. PLease let me know what should I write in th command line that it is able to load the image. This time I have loaded the all the required files again.
Comment 3 Andreas L. Delmelle 2008-05-31 03:11:11 UTC
(In reply to comment #2)
> yes this, bug is duplicate. But the resolution that has been given, does not
> work. PLease try to solve the problem. PLease let me know what should I write
> in th command line that it is able to load the image. This time I have loaded
> the all the required files again.

If the intention was to simply ask a question, then Bugzilla is definitely not the appropriate medium.

Anyway, the cause is the same one as the original bug #44902. Surely it should be pretty obvious that opening a second issue for the same problem serves no purpose at all, hence why I closed this one.

As indicated in Bugzilla #44902, this can only be solved if someone takes the time to implement support for UNC paths. No magic command-line option exists to make this work all of a sudden. Unless someone decides to dive into the code and do what is necessary, you are out of luck, I'm afraid.



*** This bug has been marked as a duplicate of bug 44902 ***
Comment 4 Glenn Adams 2012-04-01 13:50:36 UTC
batch transition to closed remaining pre-FOP1.0 resolved bugs