aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorEdwin Török <[email protected]>2023-12-17 16:07:31 +0000
committerJohn MacFarlane <[email protected]>2023-12-17 10:07:10 -0800
commit8fc8a857e29ba63d3a73414020f83d39f8e22bd6 (patch)
tree2a920b5b1f915e6d79005b30e2ba5b148f21faea /data
parent7b5808292cef7edd50c5084c2f7b5016ec5e9775 (diff)
reference.docx: fix validation error on doNotTrackMoves
``` { "Description": "The element has unexpected child element 'http://schemas.openxmlformats.org/wordprocessingml/2006/main:doNotTrackMoves'.", "Path": { "NamespacesDefinitions": [ "xmlns:w=\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\"" ], "Namespaces": { }, "XPath": "/w:settings[1]", "PartUri": "/word/settings.xml" }, "Id": "Sch_UnexpectedElementContentExpectingComplex", "ErrorType": "Schema" } ``` According to `wml.xsd` the order is: ``` <xsd:complexType name="CT_Settings"> <xsd:sequence> <xsd:element name="doNotTrackMoves" type="CT_OnOff" minOccurs="0"/> [...] <xsd:element name="footnotePr" type="CT_FtnDocProps" minOccurs="0"/> ``` Signed-off-by: Edwin Török <[email protected]>
Diffstat (limited to 'data')
-rw-r--r--data/docx/word/settings.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/data/docx/word/settings.xml b/data/docx/word/settings.xml
index 5f5ef5bfa..19bd52257 100644
--- a/data/docx/word/settings.xml
+++ b/data/docx/word/settings.xml
@@ -4,10 +4,6 @@
<w:embedSystemFonts />
<w:proofState w:spelling="clean" w:grammar="clean" />
<w:stylePaneFormatFilter w:val="0004" />
- <w:footnotePr>
- <w:footnote w:id="-1" />
- <w:footnote w:id="0" />
- </w:footnotePr>
<w:doNotTrackMoves />
<w:defaultTabStop w:val="720" />
<w:drawingGridHorizontalSpacing w:val="360" />
@@ -16,6 +12,10 @@
<w:displayVerticalDrawingGridEvery w:val="0" />
<w:characterSpacingControl w:val="doNotCompress" />
<w:savePreviewPicture />
+ <w:footnotePr>
+ <w:footnote w:id="-1" />
+ <w:footnote w:id="0" />
+ </w:footnotePr>
<w:rsids>
</w:rsids>
<m:mathPr>