You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Mikko Honkala <Mi...@iki.fi> on 2000/12/12 13:29:20 UTC
RE: Including images and Cocoon 1.8.1-dev (Re: base dir)
Relative URL (e.g. "./image.gif") means : fetch the image using the same
protocol as the document with the document's URL as the context URL [1].
FOP does not know the context URL e.g if DOM is given to it. Therefore there
should be means to explicitly set the context URL by the embedding
application.
[1] java.net.URL, Java API.
-----Original Message-----
From: Eric SCHAEFFER [mailto:ESCHAEFFER@Techmetrix.net]
Sent: 12. joulukuuta 2000 11:16
To: fop-dev@xml.apache.org
Subject: RE: Including images and Cocoon 1.8.1-dev
We need to do this, but that ins't so easy: URI means protocol. What
protocol should we use (file, http) ?
But I agree that the base path should effecdtively be the XML file path.
Eric.