Roger I Martin PhD wrote:

Hi,

It was suggested on the Lenya mailing list that I forward the following to
avalon mailing list.

It about URI resolving and Lenya not running on Windows.  Lenya depends on
org.apache.excalibur.source.impl.FileSource to work with uri's for files and
involves the age old <SPACE> issue with Windows file system vs. other OS for
uri's.  See below.

:/


Hmmm. So is the issue that the URI doen't like

file:\Program Files\MyFile.txt

or that it doesn't like

file:\Program%20Files\MyFile.txt

?

The thing is that the .toURI() proposed in the original email is JDK 1.4
specific.  This component needs to be used in JDK 1.3 or above.

The best alternative I can think of is to use the URLEncoder/URLDecoder
to do the dirty work.  If you are a Cocoon developer, then you have access
to go ahead and apply the patch yourself.  If not, then we will be happy
to apply a patch you provide.

--

"They that give up essential liberty to obtain a little temporary safety
 deserve neither liberty nor safety."
                - Benjamin Franklin


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



Reply via email to