is there any difference if my gif file and my xsl file are in the same jar
archive. I don't know how to put the file name after "file:///" (assume that
every thing is in resource.jar)

-----Original Message-----
From: Oleg Tkachenko [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 12, 2002 7:07 PM
To: [EMAIL PROTECTED]
Subject: Re: <xsl:external-graphic> and jar file


Dang Minh Phuong wrote:

> I have a problem. In my xsl file, I use  to add a logo into my pdf
document. 
> It works well if I
> run it without pack them. When I try to pack them into a resource.jar file
> in order to install in my customer's machine, the logo doesn't show. I
have
> added the resource.jar into my classpath already as all  work
> well.
>
> I don't know what happen??? Could you help me???

file: protocol assumes the file is on a local file system, not in a jar 
archive. If you want to locate file within a jar, you have to use "jar:" URI

schema, e.g. jar:file:///d:/images.jar!/fop.gif.

-- 
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel

Reply via email to