summaryrefslogtreecommitdiff
path: root/data/odt/meta.xml
diff options
context:
space:
mode:
authorMichael Stahl <michael.stahl@allotropia.de>2023-04-27 14:37:06 +0200
committerJohn MacFarlane <jgm@berkeley.edu>2023-04-28 12:17:22 -0700
commitf3e1d33ea074968c9a96db2ecf0059c398709ea6 (patch)
tree7e62d423b91fedb5c9630856151cebc6d2df060c /data/odt/meta.xml
parent3894f8847840f5c5c6e31e08f00827477a32f2ab (diff)
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.
Diffstat (limited to 'data/odt/meta.xml')
-rw-r--r--data/odt/meta.xml2
1 files changed, 1 insertions, 1 deletions
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">
<office:meta>
<meta:document-statistic
meta:table-count="0" meta:image-count="0" meta:object-count="0"