w3c / epub-specs

Shared workspace for EPUB 3 specifications.
Other
305 stars 60 forks source link

ZIP64 references and support #1207

Closed dauwhe closed 5 years ago

dauwhe commented 5 years ago

Spec says,

OCF ZIP Containers MAY use the ZIP64 extensions defined as "Version 1" in section V, subsection G of the application note [ZIP] and SHOULD use only those extensions when the content requires them.

  1. There's not a section 5 subsection G any more.

  2. It appears that some zip implementations (including OS X) will automatically use ZIP64 when input is streamed from STDIN (since it doesn't yet know the file size). Since we require support for ZIP64, what is the motivation for the SHOULD for not using ZIP64 when there are no files larger than 4GB?

dauwhe commented 5 years ago

How do we express this? We have

4.3.14.2 The above record structure defines Version 1 of the zip64 end of central directory record. Version 1 was implemented in versions of this specification preceding 6.2 in support of the ZIP64 large file feature. The introduction of the Central Directory Encryption feature implemented in version 6.2 as part of the Strong Encryption Specification defines Version 2 of this record structure. Refer to the section describing the Strong Encryption Specification for details on the version 2 format for this record. Refer to the section in this document entitled "Incorporating PKWARE Proprietary Technology into Your Product" for more information applicable to use of Version 2 of this record.

Can we just point to this section?