Bug 97360 - Error reading file
Summary: Error reading file
Status: RESOLVED DUPLICATE of bug 96147
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
5.0.4.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-25 12:14 UTC by Pavel Evgenjevich Timoshenko
Modified: 2016-01-25 13:35 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Evgenjevich Timoshenko 2016-01-25 12:14:51 UTC
I wrote a document applying styles when I save one and load.
The LibreOffice broke the loading process with reading error message in content.xml.
<office:automatic-styles>
...
<style:style style:name="T354" style:family="text">
  <style:text-properties
    fo:color="#2b91af" 
    style:font-name="Consolas3"
    fo:font-size="9.5pt"
    fo:language="zxx"
    fo:country="none"
    fo:background-color="transparent"
    loext:char-shading-value="0"
    style:font-size-asian="9.5pt"
    style:language-asian="zxx"
    style:country-asian="none"
    style:font-size-complex="9.5pt"
    style:language-complex="zxx"
    style:country-complex="none"
    fo:background-color="#ffffff" />
</style:style>
...

The xml attribute 'fo:background-color="#ffffff"' has already defined.

The automatic style applied to:
<text:p text:style-name="P164">
  <text:span text:style-name="T354">Double</text:span><text:span text:style-name="T239"> Method(</text:span><text:span text:style-name="T353">Double</text:span><text:span text:style-name="T239"> x, </text:span><text:span text:style-name="T354">Double</text:span><text:span text:style-name="T239"> y)</text:span> {<text:span text:style-name="T239"> ...</text:span> }
</text:p>

The events lead to the error can not be found.
Comment 1 raal 2016-01-25 12:27:37 UTC
Hello, are you able to reproduce the steps which lead to corruption of file?
Comment 2 Maxim Monastirsky 2016-01-25 12:30:24 UTC

*** This bug has been marked as a duplicate of bug 96147 ***
Comment 3 Pavel Evgenjevich Timoshenko 2016-01-25 12:48:29 UTC
Unfortunately, I can not reproduce the steps which lead to corruption of file. However, this error occurs very often. When it appears, I run the Visual Studio XML-editor. I looking for a places where XML validation fails and fix its.


Now I try to reproduce the situation when this error occurs.
When I typing text, often I call copy and paste operations by short cuts Ctrl+Shift+Alt+V. Sometimes I make mistakes in the key combination of unformatted text pasting and the paragraph becomes RTL instead of LTR. After that I'm doing cancellation by Ctrl+Z. I have a suspicion that in this place may cause an error, possible with autosave.
Comment 4 Maxim Monastirsky 2016-01-25 13:35:58 UTC
And why did you change it back to UNCONFIRMED?

*** This bug has been marked as a duplicate of bug 96147 ***