Your java app can find the files in either a supplied jar (if they're that static) as a resource or in some relative dir from current working directory or in some named dir defined on the command-line or in the environment
On 12/21/2010 10:49 AM, Furst, Tom wrote: > No, did not look for WARNING. Believe I looked for graphic. I have somewhat > resolved this, but not what I would call the ideal solution. It appears to me > that I have some sort of URI resolver issue. In the stylesheet I changed all > the relative uri's to absolute URI's, and I now have all of my graphics. > Problem being, the absolute address I have here will more than likely not be > the same at my end users desk. I'm kinda lost as to how or what I need to > modify. > > -----Original Message----- > From: John Brown [mailto:[email protected]] > Sent: Tuesday, December 21, 2010 12:31 PM > To: [email protected] > Subject: Re: FOP embedded in Java app not rendering graphics > > Furst, Tom <tom.furst <at> rcmt.com> writes: > > >> Forgot the attachment. Here it is. >> >> >> Chris, >> >> There a number of warnings, but none that relate missing images. >> > > There are *36* occurrences of "Image not found" in your log file, such as: > > >> SEVERE: Image not found. URI: illustrations/KH-Logo-large1.jpg. >> (No context info available) >> > How could you say that none of the warnings relate to missing images? > Let me guess: you grepped WARNING and you did not find these because > they are SEVERE. > > Now that you have reported your problem accurately, I am sure that > an expert will be able to help you in short order. Until then, I > believe that the problem is that your <fo:external-graphic> tag > should look like this: > > <fo:external-graphic src=url("path/to/image/jpg") blah-blah-blah /> > > Is that what you have? This brings me to my second point. > > What you should really submit is a minimal XSL-FO file that causes the > problem. > > > Regards, > Alias John Brown. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
