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]



Reply via email to