Hello List.

I' m using Cocoon to transform XML Files to PDFs using Saxon and FOP. In the
XSL Stylesheets I'm using a external grafik:
<fo:external-graphic height="4.4cm" src="siegel02.jpg" />

If I transfer a XML using this Stylesheet, the image is always missing:

ERROR   (2004-09-20) 14:07.29:875   [sitemap.fop] (/cocoon/test/test.pdf)
http-80-Processor23/ExternalGraphic: Error while creating area : Error with
image URL: siegel02.jpg (Das System kann die angegebene Datei nicht finden)
and no base URL is specified

It works if I add a URI like "file://c:/images/siegel02.jpg", but I'm
migrating from another system where I have a lot of old stylesheets in use,
all having external grafic location as in the excample above and I dont want
to change them all.

I'm wondering why the image is not found, because the Imports are all
working with the same URI:
<xsl:import href="EMibe.xsl"/>

So, what is going wrong? Is Cocoon using a special folder for image
recourses? Or must I migrate to absolut lacation paths?

Thanks!
jan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to