Created attachment 201177 [details] sample odt libre writer is unable to repair a word file saved by pspp. I am not sure who is that bug pspp or writer? In any way, i think that the file is somehow valid and librewriter must be able to repair it. Version: 25.2.3.2 (X86_64) / LibreOffice Community Build ID: 520(Build:2) CPU threads: 24; OS: Linux 6.12; UI render: default; VCL: gtk3 Locale: en-US (en_US.UTF-8); UI: en-US Debian package version: 4:25.2.3-2 Calc: threaded
`if [ $? -eq 0 ]; then echo "XML is well-formed."; else echo "XML is not well-formed."; fi` it produces "xml is well formed" after unziped for content.xml.
sorry, this i meant "xmllint --noout content.xml " no output meaning that no errors exist in xml file
It is unbelievable, extracting and zipping again, the file is opened normally frop librewriter! what is happening?
*** This bug has been marked as a duplicate of bug 166862 ***
There are two issues here: 1. The ZIP is bad. We have introduced some additional checks for ZIP compression correctness recently; this ZIP has some records inconsistent. This creates the proposal to repair; that is correct (and "pspp" should be notified). 2. Inability to repair was LibreOffice bug, specific to broken CRC check in repair mode. That was bug 166862.