On 19.09.2015 21:32, Robinson Tryon wrote:
On Sat, Sep 19, 2015 at 09:30:55AM -0700, julien2412 wrote:
I'm not sure and, perhaps it's not related, but it seems docx attachments
have mimetype "application/zip" instead of
"application/vnd.openxmlformats-officedocument.wordprocessingml.document"
(eg: https://bugs.documentfoundation.org/show_bug.cgi?id=94359). Even if
confirmed, not a blocker of course ! :-)
Because OOXML and ODF both use ZIP as a container for a bunch of XML,
I wonder if the type-detecting mechanisms aren't sufficiently nuanced
to detect and differentiate between ZIP and ZIP+(DOCX guts).
Looks like ODF files are recognized quite well on this system, but
it's struggling with OOXML. Is there a correlation between authoring
software and recognition?
ODF packages were specifically designed so that relatively dumb tools
like "file" can just look up the mimetype at a particular offset in the
file; OOXML packages on the other hand don't make it so easy.
On Sat, Sep 19, 2015 at 1:27 PM, David Tardon <dtardon@redhat.com> wrote:
That's nothing new. The attachment format auto-detection has never really
worked.
We did have much worse file-type detection when we were hosted at FDO,
but I believe that things have gotten significantly better.
yes, there has definitely been a significant improvement.
David: Is there something we could do to help upstream utilities more
easily recognize OOXML files? (both files that LibreOffice creates,
as well as ones from other sources)
possibly the check in file could be made smarter, if anybody has time to
investigate that...
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.