Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
Hosted version of ODF Validator 1.2 on OpenDoc Society website:
http://odf-validator.rhcloud.com/
Description
Test document Hello.World.odt created by LibreOffice/4.1.2.3 is considered to not be extended conforming ODF1.2 because it includes unexpected attributes:
Hello.World.odt/styles.xml[2,4870]: Error: unexpected attribute "style:contextual-spacing"
Per OASIS spec
http://docs.oasis-open.org/office/v1.2/cs01/OpenDocument-v1.2-cs01-part1.html#__RefHeading__440372_826425813
"OpenDocument extended documents may contain elements and attributes not defined by the OpenDocument schema. Elements and attributes not defined by the OpenDocument schema are called foreign elements and attributes."
The spec continues:
"Foreign elements and attributes shall not be associated with a namespace that is listed in tables 1, 2 or 3 of section 1.5."
The context in which the "style:contextual-spacing" attribute is used is as follows:
<style:paragraph-properties fo:margin-top="0.1665in" fo:margin-bottom="0.0835in" style:contextual-spacing="false" fo:keep-with-next="always"/>
Is this document conformant to the extended ODF 1.2 spec? If so, the validator should be updated.