[Libreoffice-bugs] [Bug 136441] FILESAVE: Saxparse error on file open (word/footnotes.xml line 2) after save to DOCX & file reload

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Sep 4 06:43:56 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=136441

--- Comment #6 from Mike Kaganski <mikekaganski at hotmail.com> ---
Sorry for the noise; of course, if I answer "No" to the question is I want to
proceed, I get the error from the description.

Note again that the file opens fine in Word.

The problem is <w:commentRangeStart w:id="72"/>...<w:commentRangeEnd
w:id="72"/> followed by <w:commentReference w:id="72"/> in word/footnotes.xml.
The latter w:commentReference element results in a call to
OOXMLDocumentImpl::resolveComment, which tries to resolve a dedicated comments
stream referenced from current stream (word/footnotes.xml), but there's none in
word/_rels, so the following tries to resolve the comment 72 in absent stream,
instead of trying to get the comment defined in-line in the current stream
first.

So this is in fact not a filesave issue, but fileopen issue...

Hope this would be helpful to whoever tries to fix this.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200904/252c7439/attachment.htm>


More information about the Libreoffice-bugs mailing list