Richard Sweeney wrote:
[ERROR] Error while creating area : Invalid Image URL - error on relative
URL : unknown protocol: c <---(that's actually where the message ends)
Check the FAQ:
http://xml.apache.org/fop/faq.html#MalformedURLException
J.Pietschmann
---
>URL : unknown protocol: c
Well, 'c' is not a protocol, you should try something like :
file:C:///stylesheets/fop
or
url('file:C:///stylesheets/fop')
I'm no sure, experts will tell you more
Mathieu
-
To unsubscribe, e-mail: [E
Sorry to be a pain, but I'm not having much luck with this. This is what
I've done so far:
After creating the driver, I've inserted the line
org.apache.fop.configuration.Configuration.put("baseDir",
"C:/stylesheets/fop");
and in the stylesheet changed the line to
However, when I transform it,
Richard Sweeney wrote:
is there a way to make it search for the image in the current directory,
i.e. the same one as the XSL-FO stylesheet?
You can set the base directory for which relative paths will be resolved
against. This can be done using a configuration file, or set in a
program. See:
h
Hi,
I'm using FOP with a servlet. The servlet generates XML which is then
translated using XSL or, if the user clicks print, will take the XML and
generate a PDF. In the XSL-FO I have an image that appears in the produced
PDF and reference it like so:
if I do it this way though then the image i