diff options
Diffstat (limited to 'testxml/xsd/checkfile.sh')
-rwxr-xr-x | testxml/xsd/checkfile.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/testxml/xsd/checkfile.sh b/testxml/xsd/checkfile.sh new file mode 100755 index 0000000..e03c4da --- /dev/null +++ b/testxml/xsd/checkfile.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +xmllint --format --schema tmw.xsd "${1}" 2>&1 >/dev/null | \ + grep -v ": Skipping import of schema located at " | \ + grep -v ".xml validates" |