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


Hi Pete,

The Zip-related message may be a warning, not a fatality. It also may be 
related to up-/down-level compatibility among the PKWare Zip specifications. 
When I use WinZip 9.0 SR-1, there are no problems reported.  I haven't checked 
the files against the PKWare APPNOTE 6.2.0 to see if there is an issue at that 
level.

With regard to IS 29500-1:2008 section 15.2.12.1, I am looking at the 
specification and it definitely has "opendocument/2006/relationships/..." in 
the URL where the files that fail validation have 
"package/2006/relationships/...".

I checked for recent corrections and amendments.  Looking at IS 29500-1:2011 
that (well, ECMA-376 ed.3, which is free and already available), there is no 
change from IS 29500-1:2008.  I also went all the way back to ECMA-376 ed.1 of 
December 2006. There has never been any different definition than what the IS 
29500 editions say.  I also checked iS 29500-4:2011 on Transitional Migration 
Features to see if there is a different case for this relationship.  What is 
strange is that 15.2.12.1 is listed as having a difference, but the Source 
Relationship value given is no different than the value in 29500-1:2011. 
(There may be a difference and I am blind to it somehow.  Time to see the 
opthomalogist.)

The validator message appears to be completely correct but LO does not fail 
when that is the only flaw.  LO accepts the apparently-incorrect .docx from 
Word 2010.  It apparently fails on the Zip itself, not the .rels file inside 
the Zip.

It seems this defect was not noticed and the problem appears to be with 
Microsoft Office too.  Everyone seems to tolerate it.  Maybe because I have 
not found all of the right places, maybe because of a desire to be compatible 
with what Office actually does.  I can't tell.

It is clear that the problem for LO is the discrepancy in the Zip though. 
When that is removed, LO opens the file just fine.

Yuck.

Thanks for tracking down the apparent discrepancy.


 - Dennis E. Hamilton
   tools for document interoperability,  <http://nfoWorks.org/>
   dennis.hamilton@acm.org  gsm: +1-206-779-9430  @orcmid


-----Original Message-----
From: ESChamp [mailto:eschamp@gmail.com]
Sent: Wednesday, November 02, 2011 16:51
To: users@global.libreoffice.org
Subject: Re: [libreoffice-users] The guts of ODF files

Dennis E. Hamilton has written on 11/2/2011 1:01 PM:
Short Answer: DOCX files are not in ODF format.

Longer Answer:

 1. There is such information in the ODF 1.2 Specification Parts 1 and 3.
However, it will not help with correctly recognizing a DOCX file in LO or 
OOo.
There is a separate International Standard on the OOXML format used by DOCX
and how Zip is used as part of that.

Oops!

 2. (Note, some DOCX files are encrypted OOXML documents, and that is 
actually
a different format described in a different specification, even though the
file will still have the .docx extension ending its name.)

 3. There is some indication that mobile applications are not necessarily
producing the DOCX that LO/OOo is expecting.  It may be non-standard.
Whatever it is, MS Office is forgiving about it.

I found an on-line validator at
<http://www.document-interoperability.com/validator>

When I fed it the original OfficeSuite-created file, it said,

Inspecting ZIP ...
     Mismatch between local header and central record (weakened ZIP
resilience)

Checking OPC Package ...
     Entry with MIME type
"application/vnd.openxmlformats-package.core-properties+xml" has
unrecognized relationship type
"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties";
(see ISO/IEC 29500-1:2008, Clause 15.2.12.1)
     1 problem found with OPC package


The one which resulted when I opened the original in 2010 Office and did
a "Save As" gave this:

Checking OPC Package ...
     Entry with MIME type
"application/vnd.openxmlformats-package.core-properties+xml" has
unrecognized relationship type
"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties";
(see ISO/IEC 29500-1:2008, Clause 15.2.12.1)
     1 problem found with OPC package

Hmmm...same as the original.

The one that was created with Libre Office as a brand new file had the
same message as the one created with the Android app!!!!

????



-- 
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

-- 
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.