[Libreoffice-bugs] [Bug 103602] new documents fail ODF validation with Error: unexpected attribute "draw:fill"

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed May 27 18:38:35 UTC 2020


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

--- Comment #35 from Regina Henschel <rb.henschel at t-online.de> ---
(In reply to Regina Henschel from comment #34)
With such restriction in save to "ODF 1.3
> strict" LibreOffice would still not render conform to the spec text (=
> draw:fill in a style disables <style:background-image> and
> <fo:background-color>), but at least the produced documents would contain
> valid XML.

I was wrong in this regard. The draw:fill attributes are used, and neither
<style:background-image> nor <fo:background-color>. That works in LO 6.4.5 with
ODF 1.3 format too.


But saving to "ODF 1.2 strict" writes the draw:fill attributes into
<style:page-layout-properties> too. That should not happen for the "strict"
file formats. Only in "ODF 1.2 extended" and "ODF 1.2 compatible" the faulty
attributes should be written. Not using loext for "ODF 1.2 extended" is already
a concession to older LibreOffice versions, so "ODF 1.2 strict" should be
correct.

-- 
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/20200527/da81cd36/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list