From f3e1d33ea074968c9a96db2ecf0059c398709ea6 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Thu, 27 Apr 2023 14:37:06 +0200 Subject: Writers.ODT: stop validator complaints by producing ODF 1.3 The ODF validator complains about an invalid attribute style:contextual-spacing in styles.xml, ultimately an implementation error in whatever old version of LibreOffice that produced the data/odt/styles.xml (should have put it into an extension namespace). Fortunately the attribute was added to ODF 1.3, which was released a couple years ago. So the easiest fix is to simply produce ODF 1.3 instead of 1.2; it's supposed to be fully backward compatible. --- data/odt/meta.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data/odt/meta.xml') diff --git a/data/odt/meta.xml b/data/odt/meta.xml index 7fdd4d98c..d378de0aa 100644 --- a/data/odt/meta.xml +++ b/data/odt/meta.xml @@ -6,7 +6,7 @@ xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:ooo="http://openoffice.org/2004/office" xmlns:grddl="http://www.w3.org/2003/g/data-view#" - office:version="1.2"> + office:version="1.3">