[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [office] RE: Directories in Zip packages
On 28/09/2010 01:43, robert_weir@us.ibm.com wrote: > It should also be noted that there are two ways two store A/B/C in a ZIP, > where C is a file: > > Some ZIP apps store this as three entries: > > A/ > A/B/ > A/B/C > > And some ZIP apps store it as a single entry: > > A/B/C and then rely on unzipping logic to know to create the appropriate > parent directories. > > Both are legal and you'll see both. > > -Rob one reason why a ZIP producer would create entries for directories is to store things like UID/GID and such using various platform specific extensions. AFAIK Info-Zip can do this. of course for an ODF package that kind of thing is completely unnecessary. But on the other hand using some generic ZIP implementation to modify ODF packages can be very convenient at times, and if such a generic ZIP implementation happens to create entires for directories then IMHO that shouldn't make the ODF package invalid or non-conformant. [the extra platform specific stuff shouldn't be in a conformant package of course, IIRC that is what the conformance clauses say.] reagards, michael -- ORACLE | <http://www.oracle.com/> Michael Stahl | Oracle Office GBU/OpenOffice.org Writer ORACLE Deutschland B.V. & Co. KG | Nagelsweg 55, 20097 Hamburg, Germany ----------------------------------------------------------------------- ORACLE Deutschland B.V. & Co. KG Hauptverwaltung: Riesstr. 25, D-80992 München Registergericht: Amtsgericht München, HRA 95603 Komplementärin: ORACLE Deutschland Verwaltung B.V. Rijnzathe 6, 3454PV De Meern, Niederlande Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697 Geschäftsführer: Jürgen Kunz, Marcel van de Molen, Alexander van der Ven <http://www.oracle.com/commitment>
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]