From f48fa9ac17536f63d427045de4c48681ae105d62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edwin=20T=C3=B6r=C3=B6k?= Date: Sun, 17 Dec 2023 15:58:47 +0000 Subject: reference.docx: fix validation error on tblW MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ``` ./tmp/document-pretty.xml:260: element tblW: Schemas validity error : Element '{http://schemas.openxmlformats.org/wordprocessingml/2006/main}tblW', attribute '{http://schemas.openxmlformats.org/wordprocessingml/2006/main}w': '0.0' is not a valid value of the union type '{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_MeasurementOrPercent'. ``` See http://officeopenxml.com/WPtableWidth.php, there is a disagreement here between standard versions on whether a `%` is required or not when type=`pct`, but the default is 0 when omitted, so just delete this entry. Signed-off-by: Edwin Török --- data/docx/word/document.xml | 1 - 1 file changed, 1 deletion(-) (limited to 'data') diff --git a/data/docx/word/document.xml b/data/docx/word/document.xml index cbb5203c6..41a77b93a 100644 --- a/data/docx/word/document.xml +++ b/data/docx/word/document.xml @@ -265,7 +265,6 @@ Table caption. - -- cgit v1.2.3