[ 
https://issues.apache.org/jira/browse/VFS-195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12563149#action_12563149
 ] 

Joerg Schaible commented on VFS-195:
------------------------------------

As Rajiv pointed out http://commons.apache.org/vfs/filesystems.html defines the 
URI pattern for ZIP (and also for gzip/bzip2) as

prefix://

Obviously the double slash is not right here and is also not used in the 
examples some lines below. The slashes are part of file and http protocol, but 
its dependent on the protocol and not necessary part of an URI in general. The 
bug is here not about the implementation, but the docs.

> Unable to get Zip file URL working on Windows machine
> -----------------------------------------------------
>
>                 Key: VFS-195
>                 URL: https://issues.apache.org/jira/browse/VFS-195
>             Project: Commons VFS
>          Issue Type: Bug
>    Affects Versions: 1.0
>            Reporter: Rajiv Kumar
>
> Could not get the Zip file URL working on Windows machine?  Tried following 
> formats.
> zip:file:/C:/Temp/source/test.zip   --- Invalid Absolute URI
> zip:file:/C:/Temp/source/test.zip!  --- Invalid Absolute URI
> zip:file://C:/Temp/source/test.zip   --- Invalid Absolute URI
> zip:file:/C:/Temp/source/test.zip!   -- Invalid Absolute URI
> zip://file:/C:/Temp/source/test.zip  -- 
> org.apache.commons.vfs.FileSystemException: Could not copy  because it does 
> not exist.  
> zip:///C:/Temp/source/test.zip! - Could not copy  because it does not exist. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to