[ 
https://issues.apache.org/jira/browse/ODFTOOLKIT-380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robinson Tryon updated ODFTOOLKIT-380:
--------------------------------------

    Attachment: Hello.World.odt

Example file

> 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)

Reply via email to