mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-28 17:20:47 +08:00
validate-docx.sh - revert checking of _rels.
These generate "no matching global declaration" so they can't be validated.
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user