Coder Social home page Coder Social logo

unzip's People

Contributors

joewiz avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

plutext ikonius

unzip's Issues

target-collection and %2520

When I use the method unzip:unzip($zip-file, $target-collection)
for $zip-file=/db/docx4/test.docx
and $target-collection=/db/docx4/test,
the collection /db/docx4/test is created,
but so is /db/docx4%2520/db/docx4/test
and it is this latter directory which the contents are unzipped to.

Seems a space is being added incorrectly somewhere, then encoded twice?

Here is my trigger:

reopen #3

Hi Joe

I've added a comment to #3, and wanted to re-open it, but couldn't see how to do that (maybe only the repository owner can do that).

thanks .. Jason

Illegal character in path

A space character in a dir name in the zip file causes the following error:

Caused by: org.exist.xquery.XPathException: err:FORG0001 failed to convert Application Files into an XmldbURI: Illegal character in path at index 11: Application Files [at line 29, column 5, source: C:\Users\jharr\eXist-db_2.0RC\webapp\WEB-INF\expathrepo\unzip-1.0\unzip\unzip.xql]
In function:
unzip:mkcol-recursive(item(), item()) [21:13:C:\Users\jharr\eXist-db_2.0RC\webapp\WEB-INF\expathrepo\unzip-1.0\unzip\unzip.xql]
unzip:mkcol-recursive(item(), item()) [29:5:C:\Users\jharr\eXist-db_2.0RC\webapp\WEB-INF\expathrepo\unzip-1.0\unzip\unzip.xql]
unzip:mkcol(item(), item()) [47:27:C:\Users\jharr\eXist-db_2.0RC\webapp\WEB-INF\expathrepo\unzip-1.0\unzip\unzip.xql]
unzip:store-entry(xs:string, xs:string, item()?, item()*) [-1๐Ÿ‘ŽC:\Users\jharr\eXist-db_2.0RC\webapp\WEB-INF\expathrepo\unzip-1.0\unzip\unzip.xql]
unzip:unzip(xs:string, xs:string) [97:9:C:\Users\jharr\eXist-db_2.0RC\webapp\WEB-INF\expathrepo\unzip-1.0\unzip\unzip.xql]
unzip:unzip(xs:string) [1:287:C:\Users\jharr\eXist-db_2.0RC\webapp\WEB-INF\expathrepo\unzip-1.0\unzip\unzip.xql]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.