diff options
| author | Edwin Török <[email protected]> | 2023-12-18 23:20:22 +0000 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2023-12-18 17:15:03 -0800 |
| commit | c5780857e5ebe54246d3066e7aa95424309bd05c (patch) | |
| tree | e6ef50194252e247c2cfbc7069a98a72931dd4c7 /tools/update-lua-module-docs.lua | |
| 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 <[email protected]>
Diffstat (limited to 'tools/update-lua-module-docs.lua')
0 files changed, 0 insertions, 0 deletions
