The requirement that the <office:document> office:mimetype attribute be present and have a known MIME type has been a condition on ODF single-file XML documents since ODF 1.0/1.1. It is a schema validation error for the attribute to be missing.
The admissible office:mimetype values, and the consistency requirements on the <office:document-content> element are a bit squishy. In ODF 1.2 there are strict provisions for what the agreement must be for a conforming ODF (text, spreadsheet, presentation, ...) document. Most ODF 1.0/1.1 documents satisfy the stricter requirements already. It is easy, but not OK, to miss this when hand-crafting or software- generating a flat xml representation of an ODF document. - Dennis -----Original Message----- From: e-letter [mailto:[email protected]] Sent: Thursday, September 29, 2011 10:47 To: [email protected] Subject: Re: [libreoffice-users] Re: use of flat xml formats On 28/09/2011, NoOp <[email protected]> wrote: > > I use Ubuntu & I simply right-clicked the file in Nautilus & selected LO > Calc as the option to open. That added the mime type to my mime data so > I didn't have to add anything. > Do you know the location of the configuration file to change mime types using a text editor? -- For unsubscribe instructions e-mail to: [email protected] 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 -- For unsubscribe instructions e-mail to: [email protected] 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
