Hi,

Some more info on my problem.
I've taken a look at FopImageFactory.java to see how it was handling
relative path for images
It seems like it tries to use the Configuration's baseDir value.
My problem is that the path i'd like to use as the base for relative urls is
dependent on the
request my servlet got (the ServletPath is important),
I tried setting the SystemID of the XML input (through the Locator), but
that does not change anything.
The same technique (setting the systemID works with Xalan to set the
relative paths).

Any ideas ?
Am I clear or is this completly impossible to understand (I have a hard time
explaining) ?

Thanks.

Michel Lehon
Outwares

> -----Original Message-----
> From: Michel Lehon [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, 18 September, 2001 16:33
> To: [EMAIL PROTECTED]
> Subject: Image location
>
>
> Hi,
>
> I'm currently trying to figure out where fop is looking for
> images (but I'd
> like to know how external resource are located).
> I'd like to be able to load images with relative paths, however I'm using
> fop from a servlet (through the Driver class).
> I'm firing SAX events myself to Fop's ContentHandler.
>
> and I'd like the relative path be be taken/derived from the
> SystemID of the
> SAXSource.
>
> How could I acheive that, or how can I set Fop's basedir at
> runtime for the
> relative paths ?
>
> Thanks.
>
> Michel Lehon.
> Outwares.
>
>
> > -----Original Message-----
> > From: Keiron Liddle [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, 18 September, 2001 12:03
> > To: [EMAIL PROTECTED]
> > Subject: Re: ETA on 0.20.2
> >
> >
> > We should probably have a 0.21 release sometime in the next two weeks.
> >
> > Things that will need doing are:
> > - testing for any unnoticed problems
> > - building and putting the release on the server
> > - update the website to reflect the new version
> > - changes list, todo list, status etc.
> >
> > We could have a hold on new features or major changes for a few days and
> > then when everything is done it will be available.
> > So who is going to help out?
> >
> > On Mon, 17 Sep 2001 13:35:28 [EMAIL PROTECTED] wrote:
> > > Any ETA on  0.20.2?  I really need markers to implement
> running headers.
> > > Thanks,
> > > Lou
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, email: [EMAIL PROTECTED]
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
>
>


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

Reply via email to