Re: MalformedURLException when using relative paths

2008-05-21 Thread J.Pietschmann

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]



RE: MalformedURLException when using relative paths

2008-05-21 Thread Ted Young
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]