Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


On 6 juin 12, at 20:46, Dennis E. Hamilton wrote:
Correction:

The required manifest:version="1.2" is required, for ODF 1.2 documents, on the <manifest:manifest> element (the root of META-INF/ manifest.xml> and on the <manifest:file-entry> having manifest:full- path="/".

OK, LO does open the document without it, but I'll put it in there anyway, wouldn't want it to break for other software.

Also, double-check all places where MIME Type strings are expressed, including in the mimetype file of the package. There should be no ",", ";" or whitespace characters in the content values.

Just copied the exact values from an existing file, so these should be OK. Only need 3 actually: application/vnd.oasis.opendocument.text for the document itself, text/xml for all XML files and image/png for the images.

As for your previous question:

Finally, how are you producing the mimetype in the Zip package? It might be better to let LO do that.

I'm not producing it, I'm copying it from an existing ODF document, so there shouldn't be any problem at all. I'll make sure the type written in it is actually the type written in the manifest.xml file for the root document though.

Thanks a lot!
 - Eric -



--
For unsubscribe instructions e-mail to: users+help@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.