diff options
| author | Edwin Török <edwin@etorok.net> | 2023-12-17 15:45:24 +0000 |
|---|---|---|
| committer | John MacFarlane <jgm@berkeley.edu> | 2023-12-17 10:07:10 -0800 |
| commit | 6a06f6f6085fed4b2954a673b3369910c68c44ac (patch) | |
| tree | 47da68f7a331be6aa8bd0fe71a55f6667473f5ab /data/init.lua | |
| parent | c3038dcd54152c4e18e49db31676b79ee7cc29b2 (diff) | |
reference.docx: fix validation error on qFormat
```
./tmp/styles-pretty.xml:30: element qFormat: Schemas validity error : Element '{http://schemas.openxmlformats.org/wordprocessingml/2006/main}qFormat': This element is not expected. Expected is one of ( {http://schemas.openxmlformats.org/wordprocessingml/2006/main}rPr, {http://schemas.openxmlformats.org/wordprocessingml/2006/main}tblPr, {http://schemas.openxmlformats.org/wordprocessingml/2006/main}trPr, {http://schemas.openxmlformats.org/wordprocessingml/2006/main}tcPr, {http://schemas.openxmlformats.org/wordprocessingml/2006/main}tblStylePr ).
```
According to `wml.xsd` it must come before `pPr`:
```
<xsd:complexType name="CT_Style">
<xsd:sequence>
[...]
<xsd:element name="qFormat" type="CT_OnOff" minOccurs="0"/>
[...]
<xsd:element name="pPr" type="CT_PPrGeneral" minOccurs="0" maxOccurs="1"/>
```
Signed-off-by: Edwin Török <edwin@etorok.net>
Diffstat (limited to 'data/init.lua')
0 files changed, 0 insertions, 0 deletions
