rusbrown / plsql-utils

Automatically exported from code.google.com/p/plsql-utils
0 stars 0 forks source link

zip_util_pkg is out of date #28

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Using the included zip_util_pkg results in errors when trying to ZIP a ZIP file 
(I know it won't get any smaller, but customer needs this for convenience sake).

Version referenced is: 21.05.2012

Version of code referenced here seems to fix the issue: 
http://technology.amis.nl/wp-content/uploads/images/as_zip.txt

Original issue reported on code.google.com by sspen...@gmail.com on 17 Nov 2014 at 12:53

GoogleCodeExporter commented 8 years ago
The as_zip link above is not the latest and greatest.

The following is much more current:
https://technology.amis.nl/wp-content/uploads/2010/06/as_zip8.txt
I've done a comparative analysis of it and what is in alexandria.

To do this I normalized the whitespace of zip_util_pkg.pkb to match the style 
of as_zip8.txt. Also re-ordered the subroutines to match as_zip8.txt.

To do the comparison, I extracted just the package body from as_zip8.txt.

I've heavily commented the results. See -- DMS comments for details.

Best compared in a quality diff/merge program with whitespace, newlines and 
case ignored.

It appears to me that as_zip8 allows for:
stored files (not compressed)
large files (bigger than 4G)
empty files
folders
names having UTF-8 characters
auto-detection of character set encoding

Original comment by dmsmith...@gmail.com on 9 Jan 2015 at 9:19

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by thehunge...@gmail.com on 21 Jan 2015 at 9:32