Description: SAXParseException: '[word/footnotes.xml line 2]: unknown error', Stream 'word/footnotes.xml' on file exported by LibreOffice Steps to Reproduce: 1. Open the attached file 2. Save As DOCX 3. Close the document 4. Open the document FWIW: this happens with the attached file exported with 7.1b1 (imported with 7.4). If still present with recent versions I can't asses, blocked by bug 146875 Actual Results: SAXParseException Expected Results: No SAXParseException Reproducible: Always User Profile Reset: No Additional Info: Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community Build ID: 4a388f5e01ebb5a512931d11e48c4380382239c8 CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win Locale: nl-NL (nl_NL); UI: en-US Calc: CL
Hi Telesto, you forgot to attach the file
(In reply to Xisco Faulí from comment #1) > Hi Telesto, > you forgot to attach the file Didn't fit.. Link to file: https://drive.google.com/file/d/15MOdYI2qdi87OJYXI_4ahHan_mqBxrWV/view?usp=sharing
No repro 7.0, regression in 7.2, still in 7.4+.
Regression introduced by: https://cgit.freedesktop.org/libreoffice/core/commit/?id=9b39ce0e66acfe812e1d50e530dc2ccdef3e1357 author László Németh <nemeth@numbertext.org> 2021-02-10 00:12:52 +0100 committer László Németh <nemeth@numbertext.org> 2021-02-12 18:27:31 +0100 commit 9b39ce0e66acfe812e1d50e530dc2ccdef3e1357 (patch) tree f1bb0d9c24dbe6a40e82837f0ff5632a90799530 parent 3380163bc0fb9dab7f289cc36b0eeb0c9b3ddaa9 (diff) tdf#76260 DOCX import: fix slow footnote import Bisected with: bibisect-linux64-7.2 Adding Cc: to László Németh
Created attachment 177766 [details] sample file
Xisco, can you please explain how you minimized the document?
(In reply to Timur from comment #6) > Xisco, can you please explain how you minimized the document? I just removed the images with the zip manager
Dear László Németh , This bug has been in ASSIGNED status for more than 3 months without any activity. Resetting it to NEW. Please assign it back to yourself if you're still working on this.
Commit description: tdf#146955 DOCX import: fix SAX exception with footnotes (Likely broken) DOCX documents exported by Writer raised a SAX exception, when PopFootOrEndnote() tried to access to a not-existent footnote, because PushFootOrEndnote() failed to create that. Note: the original ODT contains hundreds of frames, and these and the text content of the document have been put into the TOC section during Writer's DOCX export, resulting a broken document. Regression from commit 9b39ce0e66acfe812e1d50e530dc2ccdef3e1357 "tdf#76260 DOCX import: fix slow footnote import".
László Németh committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/73696a01224a3758bde686f32ec7e6f4c90877fe tdf#146955 DOCX import: fix SAX exception with footnotes It will be available in 7.4.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Verified in: Version: 7.4.0.0.alpha1+ (x64) / LibreOffice Community Build ID: dfd5081ff3973d5d0f216b06dda6360fa490cc9c CPU threads: 8; OS: Windows 10.0 Build 19042; UI render: Skia/Vulkan; VCL: win Locale: hu-HU (hu_HU); UI: hu-HU Calc: CL
*** Bug 142731 has been marked as a duplicate of this bug. ***
Miklos Vajna committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/b355d65ca56e886925f0eb17d70dc5d3e0312cb2 CppunitTest_sw_ooxmlexport17: replace Verdana with Noto Sans in tdf146955.odt It will be available in 24.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.