[Libreoffice-bugs] [Bug 136441] FILESAVE: Saxparse error on file open (word/footnotes.xml line 2) after save to DOCX & file reload

2020-09-05 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=136441

Justin L  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|libreoffice-b...@lists.free |jl...@mail.com
   |desktop.org |

--- Comment #14 from Justin L  ---
(In reply to Justin L from comment #12)
> Word 2003 does not allow me to create a comment in a footnote.
Neither does Word 2016.
LO also doesn't see/export the footnote into DOC or RTF either.

So the simplest solution is to just throw the unusable comment out on export.
https://gerrit.libreoffice.org/c/core/+/102074

-- 
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 136441] FILESAVE: Saxparse error on file open (word/footnotes.xml line 2) after save to DOCX & file reload

2020-09-04 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=136441

--- Comment #13 from Telesto  ---
(In reply to Justin L from comment #9)
> Nobody is going to work on a 353 page document that takes 15 minutes to load
> with tons of  unknown element xml:id http://www.w3.org/XML/1998/namespace
> errors.
> 
> Needed is a single page minimal document containing a single, problematic
> comment.

About this.. they author of the source document complains about perf issues..
Is there a way to scrub a file of rubbish?

-- 
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 136441] FILESAVE: Saxparse error on file open (word/footnotes.xml line 2) after save to DOCX & file reload

2020-09-04 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=136441

--- Comment #12 from Justin L  ---
Word 2003 does not allow me to create a comment in a footnote.

-- 
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 136441] FILESAVE: Saxparse error on file open (word/footnotes.xml line 2) after save to DOCX & file reload

2020-09-04 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=136441

--- Comment #11 from Justin L  ---
Created attachment 165155
  --> https://bugs.documentfoundation.org/attachment.cgi?id=165155=edit
tdf136441_commentInFootnote.odt: DOCX round-trip loads with an error

Thanks to Mike for the clear pointers to how to replicate the problem.

-- 
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 136441] FILESAVE: Saxparse error on file open (word/footnotes.xml line 2) after save to DOCX & file reload

2020-09-04 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=136441

--- Comment #10 from Telesto  ---
Created attachment 165153
  --> https://bugs.documentfoundation.org/attachment.cgi?id=165153=edit
Example file

Trimmed down variant to 5 pages

-- 
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 136441] FILESAVE: Saxparse error on file open (word/footnotes.xml line 2) after save to DOCX & file reload

2020-09-04 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=136441

--- Comment #9 from Justin L  ---
Nobody is going to work on a 353 page document that takes 15 minutes to load
with tons of  unknown element xml:id http://www.w3.org/XML/1998/namespace
errors.

Needed is a single page minimal document containing a single, problematic
comment.

-- 
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 136441] FILESAVE: Saxparse error on file open (word/footnotes.xml line 2) after save to DOCX & file reload

2020-09-04 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=136441

Telesto  changed:

   What|Removed |Added

 CC||jl...@mail.com

--- Comment #8 from Telesto  ---
@Justin
As you're working with impressive speed through DOCX bugs; another suggestion..

(In reply to Mike Kaganski from comment #6)
> Sorry for the noise; of course, if I answer "No" to the question is I want
> to proceed, I get the error from the description.
> 
> Note again that the file opens fine in Word.
> 
> The problem is ... w:id="72"/> followed by  in
> word/footnotes.xml. The latter w:commentReference element results in a call
> to OOXMLDocumentImpl::resolveComment, which tries to resolve a dedicated
> comments stream referenced from current stream (word/footnotes.xml), but
> there's none in word/_rels, so the following tries to resolve the comment 72
> in absent stream, instead of trying to get the comment defined in-line in
> the current stream first.
> 
> So this is in fact not a filesave issue, but fileopen issue...
> 
> Hope this would be helpful to whoever tries to fix this.

-- 
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 136441] FILESAVE: Saxparse error on file open (word/footnotes.xml line 2) after save to DOCX & file reload

2020-09-04 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=136441

--- Comment #7 from Telesto  ---
(In reply to Aron Budea from comment #3)
@Offoptic
> It's a bit unusual that I see 7.1.0.0.alpha0+ and 4.4.7.2 mentioned in the
> comments, and at the same time the version is set to 6.0.0.3, which isn't
> mentioned anywhere else. 

Accident. Tested 6.0.3. Switched the drop down.. moved on the 4.4.7.2.. bit
didn't change it again.


> It'd also be great to see the bugs added to the META bugs they belong to from 
> the start.

That's a policy matter which should be discussed. I personally don't like
unconfirmed bugs in the meta bug list. As I list those meta bugs to look
through them searching for existing bugs once in a while (and in those list
there is no way of telling what's a confirmed bug or unconfirmed/needinfo bug). 

They only excepting currently being Skia meta. As the developer himself
(un)confirms bug which isn't the usual approach. And it speed up the process

Secondly adding bugs to meta bugs is a really time consuming business. I really
have to look up the meta bug list nearly every time. Or i'm doing something
pretty inefficient.

-- 
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 136441] FILESAVE: Saxparse error on file open (word/footnotes.xml line 2) after save to DOCX & file reload

2020-09-04 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=136441

--- Comment #6 from Mike Kaganski  ---
Sorry for the noise; of course, if I answer "No" to the question is I want to
proceed, I get the error from the description.

Note again that the file opens fine in Word.

The problem is ... followed by  in word/footnotes.xml.
The latter w:commentReference element results in a call to
OOXMLDocumentImpl::resolveComment, which tries to resolve a dedicated comments
stream referenced from current stream (word/footnotes.xml), but there's none in
word/_rels, so the following tries to resolve the comment 72 in absent stream,
instead of trying to get the comment defined in-line in the current stream
first.

So this is in fact not a filesave issue, but fileopen issue...

Hope this would be helpful to whoever tries to fix this.

-- 
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 136441] FILESAVE: Saxparse error on file open (word/footnotes.xml line 2) after save to DOCX & file reload

2020-09-04 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=136441

--- Comment #5 from Mike Kaganski  ---
Or rather I see the error changed into this:

> An error occurred during opening the file. This may be caused by incorrect 
> file contents.
> The error details are:
> SAXException: No input source
> Proceeding with import may cause data loss or corruption, and application may 
> become
> unstable or crash.

And the DOCX opens fine in Word 2016.

-- 
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 136441] FILESAVE: Saxparse error on file open (word/footnotes.xml line 2) after save to DOCX & file reload

2020-09-03 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=136441

--- Comment #4 from Mike Kaganski  ---
Don't repro with Version: 7.1.0.0.alpha0+ (x64)
Build ID: a700e3f5d67b3a81fc7799de318c8f9286f04b27
CPU threads: 12; OS: Windows 10.0 Build 19041; UI render: Skia/Raster; VCL: win
Locale: en-US (ru_RU); UI: en-US
Calc: CL

WORKSFORME?

-- 
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 136441] FILESAVE: Saxparse error on file open (word/footnotes.xml line 2) after save to DOCX & file reload

2020-09-03 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=136441

Aron Budea  changed:

   What|Removed |Added

Summary|FILEOPEN: Saxparse error on |FILESAVE: Saxparse error on
   |file open   |file open
   |(word/footnotes.xml line 2) |(word/footnotes.xml line 2)
   |after save to DOCX & file   |after save to DOCX & file
   |reload  |reload
 Ever confirmed|0   |1
 Blocks||104448
   Keywords||bibisected, bisected,
   ||regression
Version|6.0.0.3 release |4.3.0.4 release
 CC||ba...@caesar.elte.hu
 Status|UNCONFIRMED |NEW

--- Comment #3 from Aron Budea  ---
It's a bit unusual that I see 7.1.0.0.alpha0+ and 4.4.7.2 mentioned in the
comments, and at the same time the version is set to 6.0.0.3, which isn't
mentioned anywhere else. It'd also be great to see the bugs added to the META
bugs they belong to from the start.

Confirmed using LO 7.1.0.0.alpha0+ (e2f4e65a7b8024c00b049eebf0d87637efda7f24),
4.3.0.4 / Ubuntu.
No error in LO 4.2.0.4.
=> regression

The good/bad exported files behave accordingly in a fresh master build, so it's
a FILESAVE issue.

Bibisected to the following commit using repo bibisect-43max. I don't see any
redlining in the document, so I don't know how it might be related, but this is
the bibisect result nevertheless.

https://cgit.freedesktop.org/libreoffice/core/commit/?id=e52f14efaa53b496599b51fb064a933183731fca
author  Adam Co  2013-12-08 17:14:14 +0200
committer   Miklos Vajna   2013-12-16 11:50:59
+0100

Export redline 'paragraph formatting changes' back to DOCX


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=104448
[Bug 104448] [META] DOCX SAXParseException
-- 
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