[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
Tue Jul 25 16:37:31 UTC 2017
https://bugs.documentfoundation.org/show_bug.cgi?id=103602
--- Comment #10 from Regina Henschel <rb.henschel at t-online.de> ---
All the draw:fill-* attributes are in a <define
name="style-graphic-fill-properties-attlist"> symbol in the schema.
Unfortunately it has some attributes more than needed here. We could add a
reference to the "style-graphic-fill-properties-attlist" symbol into the
<define name="style-page-layout-properties-attlist"> symbol in the schema. I'm
not sure, whether we need to exclude some of the attributes in the spec
description and how this has to be done. Perhaps we need to extract some
attributes from the <define name="style-graphic-fill-properties-attlist"> and
use them instead.
The fo:background-color attribute is wrapped in a <define
name="common-background-color-attlist"> symbol in the schema.
I prefer to have the draw:fill-* attributes at the same level as the fo:*
attributes. ODF1.2 has already a rule how to handle draw:fill and
fo:background-color, if both attributes exist on the same style, in the section
20.175.
So here it would mean to exchange the erroneous "draw:fill" with a
"loext:fill", same for all other attributes on which the validator reports an
error. All kind of fill styles have to be checked.
I know, that for paragraph background the way with new
<loext:graphic-properties> was chosen. But the paragraph style has a different
context. It is a <style:style> element and the selection of the attributes is
done by family, whereas the page background belongs to a <style:page-layout>
element.
Thorsten: Is it OK for you?
Luke: Do you want to work on this issue? If yes, then assign it to you. And if
you have finished work on the issue, please add the new use of "loext:"
namespace to
https://wiki.documentfoundation.org/Development/ODF_Implementer_Notes/List_of_LibreOffice_ODF_Extensions
--
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/20170725/92d6b2f3/attachment.html>
More information about the Libreoffice-bugs
mailing list