From ab159bdd1738bfd8ef5bbe44018e6bee0d7c5760 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 18 Dec 2023 12:42:52 -0800 Subject: [PATCH] validate-docx.sh - revert checking of _rels. These generate "no matching global declaration" so they can't be validated. --- tools/validate-docx.sh | 4 ++-- 1 file 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"