From: Nikolai Grigoriev (grig@renderx.com)
Date: Fri May 14 2004 - 01:00:52 PDT
Jonas,
> With XEP 2.72 this worked fine. Howerver after upgrading
> to XEP 3.77 this does not work. I get the following error:
> [error] java.net.MalformedURLException: Invalid URL or non-existent file:
> \\\caaa013n\propfiles\Photos\61\61040602.jpg
>
> It works if the files are located on the same server as xep.
> Since no configuration changes are made on the servers and
> it *still* works fine with XEP 2.72, I suppose something
> has changed in XEP 3.77?
Too many things changed in these two years - there is not much
common code between XEP 2.72 and XEP 3.77 :-). In its current
shape, XEP should work with UNC notations specified using
an even number of slashes:
src="url(file:\\caaa013n\propfiles\Photos\61\61040602.jpg)"
src="url(file://caaa013n/propfiles/Photos/61/61040602.jpg)"
src="url(file://\\caaa013n\propfiles\Photos\61\61040602.jpg)"
src="url(file:////caaa013n/propfiles/Photos/61/61040602.jpg)"
or simply
src="url(\\caaa013n\propfiles\Photos\61\61040602.jpg)"
This works with Sun JRE 1.3 and 1.4. However, other Java
machines may have their own quirks about parsing UNC-style
file URLs; additionally, most servlet engines have a bad habit
to redefine URL handlers, and forget to take UNC names
into account. For maximum safety, I'd rather recommend
mapping a network disk and accessing the images through a drive letter.
Best regards,
Nikolai Grigoriev
RenderX
-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html
This archive was generated by hypermail 2.1.5 : Fri May 14 2004 - 01:11:51 PDT