summaryrefslogtreecommitdiff
path: root/testxml/xsd/checkfile.sh
blob: e03c4dabe8e706c703544f879168072e440f1f43 (plain) (blame)
1
2
3
4
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"