The items appearing below are proposed for inclusion in the next APPNOTE release. Please review and post any questions or comments to email@example.com.
Alignment Extra Field (3rd Party):
Proposed by: Zbynek Vyskovsky of Apache Commons-Compress
Defined Need: Requests a standard Extra Field which specifies required alignment of the file within the zip file:. Considered to be useful when zip serves as a container format (Android applications, virtual filesystem for games, embedded database etc.).
4.6.xx -Data Stream Alignment (0xa11e):
Defines alignment of data stream of this entry within the zip archive. Additionally, indicates whether the compression method should be kept when re-compressing the zip file.
The purpose of this extra field is to align specific resources to word or page boundary so they can be easily mapped into memory.
Value Size Description
----- ---- -----------
0xa11e Short tag for this extra block type
TSize Short total data size for this block (2+padding)
alignment Short required alignment and indicator
0x00 Variable padding
The alignment field (lower 15 bits) defines the minimal alignment required by the data stream. Bit 15 of alignment field indicates whether compression method of this entry
can be changed when recompressing the zip file. 0 means the compression method should be kept, 1 indicates the compression method can be changed.
The padding field contains padding to ensure the correct alignment and can be changed at any time when the offset changes or required alignment changes.
Section 4.1.1 Correction:
Proposed by: Li Yuan
Defined Need: Reports a typographical error in section 4.1.1, "Other common file extensions using the ZIP format include .JAR, .WAR, .DOCX, .XLXS, .PPTX, .ODT, .ODS, .ODP and others."
The extension name ".XLXS" should be ".XLSX"
Section 3.2 Correction:
Proposed by: Hans-Peter Koning
Defined Need: Change restriction defined by section 3.2 MAY NOT or SHALL NOT indicates an element is prohibited from use.
Replace MAY NOT with MUST NOT
Encryption Extra Field:
Proposed by: PKWARE
Define Need: Smartkey storage format
Document 0x0022 Key Provider Record