[Libreoffice-bugs] [Bug 140437] New: FILEOPEN: Writer document "Read Error. Format error discovered in the file in sub-document content.xml at 2, 1311816(row, col)."

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Feb 15 16:47:02 UTC 2021


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

            Bug ID: 140437
           Summary: FILEOPEN: Writer document "Read Error. Format error
                    discovered in the file in sub-document content.xml at
                    2,1311816(row,col)."
           Product: LibreOffice
           Version: 7.1.0.3 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: toobuntu at gmail.com

Description:
This happens for a Writer document.

Steps to Reproduce:
1. Just try opening the document and the read error appears.

Actual Results:
The read error appears immediately:
Read Error. Format error discovered in the file in sub-document content.xml at
2,1311816(row,col).

Expected Results:
The document should have been opened without error, like it does in at least
LibreOffice 7.0.4.2 and older.


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
Searching within Atom text editor (Ctrl-G) for position 2:1311816 in
content.xml indicates the error might have to do with document styles.  That
search lands the cursor between the 0 and 2 in the following:
<text:span text:style-name="T302">. </text:span>

T302 seems to be defined elsewhere in content.xml thusly:
<style:style style:name="T302" style:family="text"><style:text-properties
style:font-name="Century1" fo:font-size="10.5pt" style:font-size-asian="10.5pt"
style:font-size-complex="10.5pt"/></style:style>

Opens without error in a Linux VM with:
Version: 6.1.5.2
Build ID: 1:6.1.5-3+deb10u6
CPU threads: 2; OS: Linux 4.9; UI render: default; VCL: x11;
Locale: en-US (en_US.UTF-8); Calc: group threaded

Opens without error in a Linux VM with:
Version: 7.0.4.2
Build ID: 00(Build:2)
CPU threads: 2; OS: Linux 4.9; UI render: default; VCL: x11
Locale: en-US (en_US.UTF-8); UI: en-US
Debian package version: 1:7.0.4~rc2-1~bpo10+2
Calc: threaded

Fails to open and immediately throws an error on macOS with:
Version: 7.1.0.3 / LibreOffice Community
Build ID: f6099ecf3d29644b5008cc8f48f42f4a40986e4c
CPU threads: 12; OS: Mac OS X 10.15.7; UI render: default; VCL: osx
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

-- 
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/20210215/684afd91/attachment.htm>


More information about the Libreoffice-bugs mailing list