aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorEdwin Török <[email protected]>2023-12-17 16:04:18 +0000
committerJohn MacFarlane <[email protected]>2023-12-17 10:07:10 -0800
commit7b5808292cef7edd50c5084c2f7b5016ec5e9775 (patch)
tree3cb5cfca025baff3d1ff7ca9845a2a0118ab0032 /data
parentf48fa9ac17536f63d427045de4c48681ae105d62 (diff)
reference.docx: fix validation error on cnfStyle
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 <[email protected]>
Diffstat (limited to 'data')
-rw-r--r--data/docx/word/document.xml2
1 files changed, 1 insertions, 1 deletions
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.
<w:tblGrid />
<w:tr>
<w:trPr>
- <w:cnfStyle w:firstRow="1" />
+ <w:cnfStyle w:firstRow="1" w:val="100000000000" />
</w:trPr>
<w:tc>
<w:tcPr>