Hi,
I do not unzip to a folder. But I use "Open Archive" from 7-Zip. The
context menu of content.xml then has "View" and "Edit". I have setup
7-Zip to use "XML Notepad" with "Edit" and Notepad++ with "View". Then I
use either of them to change the content of content.xml and use "Save"
in those applications. Then close them. Now 7-Zip ask whether I want to
update the file. Say "yes" and close 7-Zip. It has always worked. You
might notice, that I'm working on Windows 10.
From my experience with unzipping to folder, a very common error is,
that people do not zip the content of the folder, but the entire folder.
Kind regards
Regina
Eike Rathke schrieb am 04-Sep-19 um 20:26:
Hi Cor,
On Wednesday, 2019-09-04 19:45:33 +0200, Cor Nouws wrote:
So I try to remove from the content.xml.
This results in invalid xml file.. that LO needs to repair on opening.
Already the slightest change in the xml file (adding a space in string
"foo") makes the file invalid.
How do you re-zip the file? Best is to freshen the zip with just the
content.xml to keep the original file order and compression, i.e. the
'mimetype' file MUST be the first entry in the zip archive and MUST NOT
be compressed. So,
zip -f filename.ods content.xml
should do. If that doesn't help then it's something different ("invalid
xml" is a vague description).
Eike
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice
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.