Hi, 

thanks for your replies. I tried: file:pdf_test, file://pdf_test Works both for 
me, because we have our own URI Resolver Implementation. Now, we have to check 
whether the case path starts with file:// and remove this.

Regards,
Jacqueline.

> -----Ursprüngliche Nachricht-----
> Von: Ted Young [mailto:[EMAIL PROTECTED]
> Gesendet: Mittwoch, 21. Mai 2008 22:41
> An: fop-users@xmlgraphics.apache.org
> Betreff: RE: MalformedURLException when using relative paths
> 
> 
> I know it works with FOP .94 since I am doing exactly this right now.  :-)
> 
> Ted
> 
> -----Original Message-----
> From: J.Pietschmann [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, May 21, 2008 3:11 PM
> To: fop-users@xmlgraphics.apache.org
> Subject: Re: MalformedURLException when using relative paths
> 
> Ted Young wrote:
> > Yes, it supports relative, but relative URLs not relative file paths.  So,
> > what you want it:
> > file:pdf_test
> 
> Everything starting with file: (or anything else which looks like
> an URI scheme) is by specification an absolute URL. The string
> file:pdf_test is not a valid URL at all, although some libraries
> will try to interpret it the way you do. I'm not sure whether FOP
> does it, and I'm too tired to check the URI resolver class right
> now.
> 
> 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]


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

Reply via email to