From 7b5808292cef7edd50c5084c2f7b5016ec5e9775 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edwin=20T=C3=B6r=C3=B6k?= Date: Sun, 17 Dec 2023 16:04:18 +0000 Subject: reference.docx: fix validation error on cnfStyle MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Error from OOXMLValidator: ``` { "Description": "The required attribute 'val' is missing.", "Path": { "NamespacesDefinitions": [ "xmlns:w=\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\"" ], "Namespaces": { }, "XPath": "/w:document[1]/w:body[1]/w:tbl[1]/w:tr[1]/w:trPr[1]/w:cnfStyle[1]", "PartUri": "/word/document.xml" }, "Id": "Sch_MissRequiredAttribute", "ErrorType": "Schema" }, ``` This is a bitmask where the first bit means 'first row', which is set as an attribute already. Signed-off-by: Edwin Török --- data/docx/word/document.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data') diff --git a/data/docx/word/document.xml b/data/docx/word/document.xml index 41a77b93a..475ae1894 100644 --- a/data/docx/word/document.xml +++ b/data/docx/word/document.xml @@ -271,7 +271,7 @@ Table caption. - + -- cgit v1.2.3