[Libreoffice-bugs] [Bug 99686] Implement a recovery utility to clear "" from corrupted content.xml in ODF archives

2018-01-31 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=99686

Heiko Tietze  changed:

   What|Removed |Added

   Keywords|needsUXEval |
 Status|NEW |RESOLVED
 CC||tietze.he...@gmail.com
 Resolution|--- |WONTFIX

--- Comment #7 from Heiko Tietze  ---
Maxim's proposal solves issues more cautious. But whether to tidy or to delete
the question boils down to an integrated repair function. And we better ensure
that those trouble not happens - until then it's better realized per extension.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 99686] Implement a recovery utility to clear "" from corrupted content.xml in ODF archives

2016-05-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=99686

--- Comment #6 from shunesbur...@yahoo.fr ---
(In reply to Maxim Monastirsky from comment #5)
> And yet - why _remove_ valuable data, when it can be easily repaired?

I just propose what I try but if you have a better way, I'm ok.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 99686] Implement a recovery utility to clear "" from corrupted content.xml in ODF archives

2016-05-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=99686

--- Comment #5 from Maxim Monastirsky  ---
Created attachment 124912
  --> https://bugs.documentfoundation.org/attachment.cgi?id=124912&action=edit
repaired with tidy

(In reply to shunesburg69 from comment #4)
> No, the formatting stay here just the automatic styles are removed,
But most of the formatting is stored in the automatic styles. I'm attaching a
file repaired with tidy (by simply running "tidy -m -xml content.xml") -
compare it with the same file repaired with your method. It's hard to not
notice the difference...

> but the
> major part of files don't change at all after the repair process.
And yet - why _remove_ valuable data, when it can be easily repaired?

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 99686] Implement a recovery utility to clear "" from corrupted content.xml in ODF archives

2016-05-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=99686

--- Comment #4 from shunesbur...@yahoo.fr ---
No, the formatting stay here just the automatic styles are removed, but the
major part of files don't change at all after the repair process.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 99686] Implement a recovery utility to clear "" from corrupted content.xml in ODF archives

2016-05-05 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=99686

--- Comment #3 from Maxim Monastirsky  ---
(In reply to shunesburg69 from comment #0)
> 7- use "find" function to find out, if you have XML tag
> "" (somewhere at the beginning of document) and XML
> tag "" (somewhere, middle of document). If you
> have, then delete them and all data between them. Be sure, that you don't
> delete more or less!

> There is a possibility, when the soft detect an error in the content.xml to
> propose to fix it like that by itself ?

But by removing styles completely you will lose all formatting! Why not just
remove the duplicate attributes? You can even do that automatically with tools
like tidy. In addition - this only works if the problem is in styles section,
but what if there is some problem in the document contents? So this is a bad
idea in general, and I don't think that we should suggest such wrong things to
users.

> I put a document corrupted in attachment.
BTW the corruption in this document is the one that was fixed in Bug 96147.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 99686] Implement a recovery utility to clear "" from corrupted content.xml in ODF archives

2016-05-05 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=99686

--- Comment #2 from shunesbur...@yahoo.fr ---
I don't ask for utilities but only an proposition when the error message said
that because this message is only for this problem not for other corruption.
The error message is:
Read-Error.
Format error discovered in the file in sub-document content.xml at
2,78898(row,col).

The last line for row and column is different between a file and another, but
the error is always fix with the above solution, the only thing I propose is to
put the proposition to repair in the box message.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 99686] Implement a recovery utility to clear "" from corrupted content.xml in ODF archives

2016-05-05 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=99686

shunesbur...@yahoo.fr changed:

   What|Removed |Added

Version|unspecified |Inherited From OOo

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 99686] Implement a recovery utility to clear "" from corrupted content.xml in ODF archives

2016-05-04 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=99686

V Stuart Foote  changed:

   What|Removed |Added

   Keywords||needsDevEval, needsUXEval
 Status|UNCONFIRMED |NEW
 CC||vstuart.fo...@utsa.edu
Summary|content.xml corrupted   |Implement a recovery
   ||utility to clear
   ||""
   ||from corrupted content.xml
   ||in ODF archives
 Ever confirmed|0   |1
   Severity|normal  |enhancement

--- Comment #1 from V Stuart Foote  ---
Needs to be proven this is an effective and useful utility, but if so seems
reasonable.  Can imagine a number of "repair" utilities for correcting corrupt
ODF that could be provided from the GUI

Tools -> ODF -> Repairs
Tools -> ODF -> Validation
Tools -> ODF -> Conversion

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs