validate-docx.sh - revert checking of _rels.

These generate "no matching global declaration" so they can't
be validated.
This commit is contained in:
John MacFarlane
2023-12-18 12:42:52 -08:00
parent 3e2a97c772
commit ab159bdd17
+2 -2
View File
@@ -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"