[
https://issues.apache.org/jira/browse/ODFTOOLKIT-380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13831746#comment-13831746
]
Svante Schubert commented on ODFTOOLKIT-380:
--------------------------------------------
Hi,
Thank you for your comment.
I share your concern.
The validator will be updated with every new ODF schema. It seems this problem
is a LibreOffice problem (or a general problem of the slowness of standards and
the requirements of applications to deal with customers).
If any XML is not within the ODF spec it is not ODF.
I usually do a search over
http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html) or
my local RelaxNG Schema files, which you may download from
http://docs.oasis-open.org/office/v1.2/os/ or the main OASIS ODF TC page).
A Google search even gave me the ODF TC JIRA issue of the problem/reason:
https://tools.oasis-open.org/issues/browse/OFFICE-3767
Would you be so kind to comment this problem to the ODF TC comment list:
https://www.oasis-open.org/committees/comments/index.php?wg_abbrev=office
This might move such a problem in a wider attention. There is nothing as
efficient as political pressure ;)
As for similar reasons, I do not want to be the one, who throws the stone..
Thanks in advance Robinson Tryon!
Svante
> Unexpected attribute "style:contextual-spacing" fails extended conformant
> ODF1.2
> --------------------------------------------------------------------------------
>
> Key: ODFTOOLKIT-380
> URL: https://issues.apache.org/jira/browse/ODFTOOLKIT-380
> Project: ODF Toolkit
> Issue Type: Bug
> Components: validator
> Environment: Hosted version of ODF Validator 1.2 on OpenDoc Society
> website:
> http://odf-validator.rhcloud.com/
> Reporter: Robinson Tryon
> Attachments: Hello.World.odt
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.1#6144)