Thanks for your help, it's OK.
I've configured only baseDir in a file fop-config.xml under WEB-INF\ and i
specified this file in the sitemap of my folder Cocoon\ImpressionLiasse
(where i tell the fop serializer) like this <!-- Ajout SB pour conf FOP-->
<user-config>../WEB-INF/fop-config.xml</user-config>.
Thank very much
Seb
ERROR (2004-01-09) 11:07.31:815 [sitemap.serializer.fo2pdf]
(/cocoon/ImpressionLiasse/muscle3.pdf) Thread-20/ExternalGraphic: Error
while creating area : Error with image URL: \casecoch.gif (Le fichier
sp�cifi� est introuvable) and no base URL is specified
----- Original Message -----
From: "Joerg Heinicke" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, January 09, 2004 10:35 AM
Subject: Re: fo:external-graphic src problem
> On 09.01.2004 09:17, S�bastien Barathieu wrote:
> > I try
> >
> > <entry>
> > <key>baseDir</key>
> > <value>C:\Program Files\Apache Group\Tomcat
> > 4.1\webapps\cocoon\ImpressionLiasse</value>
> > </entry>
> > <entry>
> > <key>baseURL</key>
> > <value>http://localhost:8080/cocoon/ImpressionLiasse/</value>
> > </entry>
> >
> > in the file userconfig.xml from fop-0.20.5.jar but it's not OK.
> >
> > What's my problem?
>
> You don't tell it to us :)
>
> 1. baseURL, is not needed, the value is set via param baseDir, i.e. in
> your specified dir the files should be searched for.
> 2. Where is userconfig.xml lying around and how do you reference the
> file? It has to be done in the sitemap.
> 3. What do you mean with "in the file userconfig.xml from
> fop-0.20.5.jar"? You used the file inside fop-0.20.5.jar? You don't need
> to touch the JAR (see 2.).
> 4. What are the error messages you get?
>
> Joerg
>
> > ----- Original Message -----
> > From: "J.Pietschmann" <[EMAIL PROTECTED]>
> >
> >
> >>S�bastien Barathieu wrote:
> >>
> >>>I've a problem using fo:external-graphic whith relative path. For
> >
> > example
> >
> >>>i can't load an image like <fo:external-graphic
> >
> > src="url(rondhaut.gif)"/>.
> >
> >>>It's OK only if I specify the absolute url (or path from the disk
> >>>file:///C/etc...)
> >>
> >>Thats a FAQ. FOP does not use the Cocoon URL resolver for images. You
can
> >>set a baseURL for the FOP URL resolver in the FOP user config file.
> >>
> >>J.Pietschmann
>
>
> ---------------------------------------------------------------------
> 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]