ZIP Package Limitations
The package implementer shall map all ZIP items to parts except MS-DOSZIP items, as defined in the ZIP specification, that are not MS-DOS files. [M3.7]
In ZIP archives, the package implementer shall not exceed 65,535 bytes for the combined length of the item name, Extra field, and Comment fields. [M3.8] Accordingly, part names stored in ZIP archives are limited to 65,535 characters, subtracting the size of the Extra and Comment fields.
Package implementers should restrict part naming to accommodate file system limitations when naming parts to be stored as ZIP items. [S3.1]
Examples of these limitations are:
On Windows file systems, the asterisk (“*”) and colon (“:”) are not valid, so parts named with this character will not unzip successfully.
On Windows file systems, many programs can handle only file names that are less than 256 characters including the full path; parts with longer names might not behave properly once unzipped.
On Unix file systems, the semicolon (“;”) has a special meaning, so parts with this character might not be processed as expected.
ZIP-based packages shall not include encryption as described in the ZIP specification. Package implementers shall enforce this restriction. [M3.9]