How to reproduce : 1) invoke Writter in LibreOffice 3.6.0 2) type 'a' and save as test.odt 3) $ unzip test.odt 4) $ wget http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-schema.rng 5) $ xmllint --format style.xml | \ xmllint --relaxng OpenDocument-v1.2-os-schema.rng - (snip) -:30: element paragraph-properties: Relax-NG validity error : Expecting element map, got paragraph-properties -:30: element paragraph-properties: Relax-NG validity error : Element style has extra content: paragraph-properties Relax-NG validity error : Extra element style in interleave -:10: element styles: Relax-NG validity error : Invalid sequence in interleave -:10: element styles: Relax-NG validity error : Element styles failed to validate content - fails to validate With LibreOffice 3.5.4, this validation passes.
The validation error happens in the following line : <style:paragraph-properties fo:margin-top="0.1665in" fo:margin-bottom="0.0835in" style:contextual-spacing="false" fo:keep-with-next="always"/> If I remove 'style:contextual-spacing="false"' attribute, that does not exist in LibreOffice 3.5.4's output, the validation passes.
As discussed privately with the reporter, this is not a bug.