[Libreoffice-bugs] [Bug 134860] Illegal table in generated DOCX not shown in writer, but shown in Word correctly

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Jul 18 12:33:28 UTC 2020


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

--- Comment #15 from Mike Kaganski <mikekaganski at hotmail.com> ---
(In reply to Radomir Terber from comment #12)
> However I guess the discussion here is relevant. The best solution would be
> to perform deep validation of format of all files against specifications and
> to show message if any file does not follow specification - with option to
> open document with potential data loosing. Also I see space here for
> independent tool that would may correct such documents (out of he scope of
> the LO itself).

This is not a valid approach. There's no way to perform such a "deep
validation" of format, because the format changes over time - current revision
of ECMA-376 is 5th edition. We actually do perform the appropriate validation
as we read the format; but apart from really invalid things like mismatching
tags or duplicating attributes (that make invalid XML) which we actually must
warn and reject or allow the risk of further processing, everything unexpected
from the OOXML PoV we must silently ignore, not stop and warn. So that if
anything is unexpected in the format, we accept that as possibly unknown
extension, and properly *ignore*. Doing otherwise is wrong conceptually. And
that's an obvious bug to not ignore that, but accept as a *different*
element/placement/syntax (I look at you Word :-D).

-- 
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/20200718/0e824c0e/attachment.htm>


More information about the Libreoffice-bugs mailing list