diff options
| author | John MacFarlane <[email protected]> | 2023-12-18 12:42:52 -0800 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2023-12-18 12:42:52 -0800 |
| commit | ab159bdd1738bfd8ef5bbe44018e6bee0d7c5760 (patch) | |
| tree | 37d87a87e0cfbda802a1fd2a199b27c117b11516 /tools | |
| parent | 3e2a97c77256e4724c11e0cd3cb650cbd9d745dc (diff) | |
validate-docx.sh - revert checking of _rels.
These generate "no matching global declaration" so they can't
be validated.
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/validate-docx.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/validate-docx.sh b/tools/validate-docx.sh index bf66f3b57..449439329 100644 --- a/tools/validate-docx.sh +++ b/tools/validate-docx.sh @@ -9,8 +9,8 @@ for file in "$@"; do file_errors=0 echo "*** Checking $file" rm -rf "$tmpdir" - unzip -q -o -j "$file" "word/*.xml" "word/_rels/*.xml" -d "$tmpdir" - for i in "$tmpdir"/*.xml; do + unzip -q -o -j "$file" "word/*.xml" -d "$tmpdir" + for i in "$tmpdir"/*.xml ; do xmllint --format "${i}" > "${i}.pretty.xml" done XSD="./docx-validator/schemas/microsoft/wml-2010.xsd" |
