diff options
| author | Edwin Török <edwin@etorok.net> | 2023-12-18 23:20:22 +0000 |
|---|---|---|
| committer | John MacFarlane <jgm@berkeley.edu> | 2023-12-18 17:15:03 -0800 |
| commit | c5780857e5ebe54246d3066e7aa95424309bd05c (patch) | |
| tree | e6ef50194252e247c2cfbc7069a98a72931dd4c7 /test/docx/golden/codeblock.docx | |
| parent | 3e360f5a3e52852e349361d83280a3d21f051e04 (diff) | |
fix(docx): fix OOXMLValidator error on KeywordTok output
xmllint doesn't warn about this (maybe because the tag is empty?), but
the order doesn't match wml.xsd:
```
<w:rPr>
<w:color w:val="007020"/>
<w:b/>
</w:rPr>
```
And OOXMLValidatorCLI does warn about it:
```
{
"Description": "The element has unexpected child element 'http://schemas.openxmlformats.org/wordprocessingml/2006/main:b'.",
"Path": {
"NamespacesDefinitions": [
"xmlns:w=\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\""
],
"Namespaces": {
},
"XPath": "/w:styles[1]/w:style[40]/w:rPr[1]",
"PartUri": "/word/styles.xml"
},
"Id": "Sch_UnexpectedElementContentExpectingComplex",
"ErrorType": "Schema"
}
```
Signed-off-by: Edwin Török <edwin@etorok.net>
Diffstat (limited to 'test/docx/golden/codeblock.docx')
| -rw-r--r-- | test/docx/golden/codeblock.docx | bin | 9802 -> 9801 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/test/docx/golden/codeblock.docx b/test/docx/golden/codeblock.docx Binary files differindex 20440b585..900d29f87 100644 --- a/test/docx/golden/codeblock.docx +++ b/test/docx/golden/codeblock.docx |
