[Libreoffice-bugs] [Bug 143600] Opening Excel XLS spreadsheet which contains XML fails with "General Error. General input/output error."

2021-12-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=143600

Kohei Yoshida  changed:

   What|Removed |Added

 Resolution|--- |FIXED
   Assignee|libreoffice-b...@lists.free |ko...@libreoffice.org
   |desktop.org |
 Status|NEW |RESOLVED

--- Comment #14 from Kohei Yoshida  ---
The orcus library version 0.17.2, which just hit the master branch, should
address this.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 143600] Opening Excel XLS spreadsheet which contains XML fails with "General Error. General input/output error."

2021-11-02 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=143600

Kevin Suo  changed:

   What|Removed |Added

 Blocks||145509
 CC||suokunl...@126.com


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=145509
[Bug 145509] [META] Bugs Related to Liborcus
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 143600] Opening Excel XLS spreadsheet which contains XML fails with "General Error. General input/output error."

2021-07-30 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=143600

--- Comment #13 from Kohei Yoshida  ---
I can see Mike's argument. But changing this behavior would not be a quick
overnight step.  I'll look into that here:
https://gitlab.com/orcus/orcus/-/issues/138

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 143600] Opening Excel XLS spreadsheet which contains XML fails with "General Error. General input/output error."

2021-07-30 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=143600

--- Comment #12 from Mike Kaganski  ---
(In reply to Eike Rathke from comment #11)
> The structure check knows that the
>  element MUST appear nested in the  element.
> It does not check for unknown elements.

IMO it looks somewhat backwards. In context of XML parsing, any element that
appears where we expect it is a known element, and when it happens to appear in
other places, it should not be considered as "known but invalid", but it should
be considered unknown. When we find an unexpected element  under ,
why should we care that we know that there may be a  under ? E.g.,
there are same-name elements like w:sectPr both in w:body ("Document Final
Section Properties", ECMA-376 Part 1 17.6.17) and in w:pPr ("Section
Properties", 17.6.18). If a subsequent review of the standard adds same-name
element elsewhere, we must not fail (but of course we should ignore it there).

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 143600] Opening Excel XLS spreadsheet which contains XML fails with "General Error. General input/output error."

2021-07-30 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=143600

--- Comment #11 from Eike Rathke  ---
(In reply to Mike Kaganski from comment #10)
> where some "unknown" element appears as a child of a known
> element (attachment 173946 [details]), those should be silently ignored, as
> we always do elsewhere (OOXML), implying that those may be some
> unknown/unimplemented format extensions.
That's not the case here though. The structure check knows that the
 element MUST appear nested in the  element. It
does not check for unknown elements.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 143600] Opening Excel XLS spreadsheet which contains XML fails with "General Error. General input/output error."

2021-07-30 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=143600

--- Comment #10 from Mike Kaganski  ---
I want to suggest that we still want to have it "fixed" in a sense. The file
has some unexpected elements, and that should *never* be a reason to reject
files IMO. It's OK to fail on invalid XML, or on invalid values of recognized
tokens; but when we see a *valid* XML, e.g. with plain text content in elements
which we do not expect plain text (attachment 173942), or where some "unknown"
element appears as a child of a known element (attachment 173946), those should
be silently ignored, as we always do elsewhere (OOXML), implying that those may
be some unknown/unimplemented format extensions.

-- 
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 143600] Opening Excel XLS spreadsheet which contains XML fails with "General Error. General input/output error."

2021-07-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=143600

--- Comment #9 from Eike Rathke  ---
Fwiw, the exception caught of the read with the message availale is at
https://opengrok.libreoffice.org/xref/core/sc/source/filter/orcus/orcusfiltersimpl.cxx?r=75252e58#77

-- 
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 143600] Opening Excel XLS spreadsheet which contains XML fails with "General Error. General input/output error."

2021-07-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=143600

--- Comment #8 from Eike Rathke  ---
Ok, the document is still broken..

The  element is nested in the  element instead of
the  element, i.e. there's a closing  before.

Again, file a bug with your Microsoft Reporting Services provider.

The last "working" ignorant import probably was before we used Orcus for the 
Excel 2003 XML import.

This is still NOTOURBUG but we might keep it open to maybe transport the Orcus
exception's error message that is available to the General I/O error dialog.

-- 
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 143600] Opening Excel XLS spreadsheet which contains XML fails with "General Error. General input/output error."

2021-07-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=143600

Julien Nabet  changed:

   What|Removed |Added

Version|7.0.6.2 release |7.0.4.2 release

--- Comment #7 from Julien Nabet  ---
On which LO version did it work?

-- 
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 143600] Opening Excel XLS spreadsheet which contains XML fails with "General Error. General input/output error."

2021-07-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=143600

Julien Nabet  changed:

   What|Removed |Added

 CC||serval2...@yahoo.fr

--- Comment #6 from Julien Nabet  ---
On pc Debian x86-64 with master sources updated today, I could reproduce this.

I noticed this on console:
warn:sc:111355:111355:sc/source/filter/orcus/orcusfiltersimpl.cxx:77: Unable to
load file via orcus filter! element
'urn:schemas-microsoft-com:office:spreadsheet:Worksheet' expected, but
'urn:schemas-microsoft-com:office:spreadsheet:Workbook' encountered.


BTW, I gave a try with LO Debian testing package 7.0.4.2, it doesn't open the
file too.

-- 
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 143600] Opening Excel XLS spreadsheet which contains XML fails with "General Error. General input/output error."

2021-07-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=143600

Eike Rathke  changed:

   What|Removed |Added

 Status|REOPENED|NEW

-- 
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 143600] Opening Excel XLS spreadsheet which contains XML fails with "General Error. General input/output error."

2021-07-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=143600

--- Comment #5 from Eike Rathke  ---
That's indeed odd.. thanks for persuading ;)

-- 
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 143600] Opening Excel XLS spreadsheet which contains XML fails with "General Error. General input/output error."

2021-07-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=143600

Byte Wanderer  changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|NOTOURBUG   |---
 Ever confirmed|0   |1

--- Comment #4 from Byte Wanderer  ---
Sorry to reopen the bug report, but even with a new (I checked as formally
correct) example I'm unable to open the document with a new installation of
LibreOffice (only with the old one)...

-- 
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 143600] Opening Excel XLS spreadsheet which contains XML fails with "General Error. General input/output error."

2021-07-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=143600

Byte Wanderer  changed:

   What|Removed |Added

 Attachment #173942|0   |1
is obsolete||

--- Comment #3 from Byte Wanderer  ---
Created attachment 173946
  --> https://bugs.documentfoundation.org/attachment.cgi?id=173946=edit
Example of excel file with only xml content

Thank you... Sorry for teh inconvinience, but even correcting the xml content
the file is opened by old version of LibreOffice but not by new version.
I have also filed a bug report to the provider of the system which generates
the file.

-- 
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 143600] Opening Excel XLS spreadsheet which contains XML fails with "General Error. General input/output error."

2021-07-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=143600

Eike Rathke  changed:

   What|Removed |Added

 Resolution|--- |NOTOURBUG
 Status|UNCONFIRMED |RESOLVED

--- Comment #2 from Eike Rathke  ---
The document is broken.
It contains

  IdentificatoreNamedCell
ss:Name="_FilterDatabase"/

at (1-based) position 2504, which instead probably (unchecked) should be

  Identificatore

File a bug at your Microsoft Reporting Services.

-- 
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 143600] Opening Excel XLS spreadsheet which contains XML fails with "General Error. General input/output error."

2021-07-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=143600

--- Comment #1 from Byte Wanderer  ---
Created attachment 173942
  --> https://bugs.documentfoundation.org/attachment.cgi?id=173942=edit
Example of excel file with only xml content

-- 
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