summaryrefslogtreecommitdiff
path: root/testxml/xsd/checkfile.sh
blob: 90df1f172cb6c0714ccbb391a70110cf0bfa3a2c (plain) (blame)
1
2
3
4
5
#!/usr/bin/env bash

xmllint --format --schema tmw.xsd "${1}" 2>&1 >/dev/null | \
    grep -v ": Skipping import of schema located at " | \
    grep -v ".xml validates"