excalibur-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carsten Ziegeler <cziege...@apache.org>
Subject Re: OS differences in source resolving
Date Fri, 23 Mar 2007 08:20:28 GMT
Joerg Heinicke wrote:
> Carsten Ziegeler <cziegeler@...> writes:
>>> [DEBUG] Resolving 'file://test.zip' with base 'null' in context ...
>>> [DEBUG] Resolved to systemID : file://test.zip
>>> [DEBUG] Creating source object for file://test.zip
> Both Windows and Mac OS X have this debug output.
>>> What seems to get wrong is FileSource.getUri() as Jorg investigated [2].
>>> The question is if you want to handle this "accepted" bug in the JDK in
>>> Excalibur?
>> Sorry, but I don't quiet get what we could do to fix this (I'm lost in
>> too many - or too few - slashes...).
> They differ on FileSource.getUri(): On Windows file://test.zip is returned, on
> Mac OS X file:/test.zip.
>> If there is something we could fix here, we should do it.
> Thanks. For the details please have a look at Jorg's comment [1]
Yes I looked at them, but got lost :(

Do I understand this right that we could check if "file:" is followed by
just one slash and then add the second one?

Carsten Ziegeler

To unsubscribe, e-mail: dev-unsubscribe@excalibur.apache.org
For additional commands, e-mail: dev-help@excalibur.apache.org

View raw message