I'm working on a pretty large file, authoring for PacktPub, and I'm running in to a pretty consistent issue. The file is converted from a DOCX file, it has track changes turned on. It also has a lot of comments. The file will work fine. However if I delete a comment, save the file and re-open it. I get the error: Read-Error. Format error discovered in the file in sub-document content.xml at 2,6039(row,col). If I extract the content.xml and run xmllint on it I get the error: content.xml:2: parser error : Attribute office:name redefined ame="__Annotation__2034_67113285111111" style:name="Table1" style:family="table" The first matching elements I find does indeed have 2 `office:name` element attributes: <style:style office:name="__Annotation__1877_671132851111111111111" office:name="__Annotation__2034_67113285111111" style:name="Table1" style:family="table"> <style:table-properties style:width="13.97cm" table:align="margins" style:writing-mode="lr-tb"/> </style:style> Both `office:name` attribute values do refer to valid annotations. My solution to fixing the file is to remove that element, but if I delete another comment the problem arises again.
Could you provide a sanitized version of the file, perhaps with only a single page that shows the problem? https://wiki.documentfoundation.org/Anonymizing_a_document#Sanitize_file_text Set to NEEDINFO. Change back to UNCONFIRMED after you have provided the document.
I followed the instructions but could no-longer replicate this issue but I am now on version 4.3.6.2. Will keep an eye on it to see if it resurfaces.
(In reply to Matt Copperwaite from comment #2) > I followed the instructions but could no-longer replicate this issue but I > am now on version 4.3.6.2. > > Will keep an eye on it to see if it resurfaces. Closing for now. Set again to unconfirmed if problem occurs.
*** This bug has been marked as a duplicate of bug 89615 ***