This commit is contained in:
Nick Bebout 2017-09-23 16:54:48 -05:00
parent 3afeea4a16
commit 8d76e44c5e
243 changed files with 57452 additions and 10330 deletions

View file

@ -1,6 +1,6 @@
#!/bin/sh
# $Id: validate_xml_html5,v 1.3 2016/08/05 19:34:46 gilles Exp gilles $
# $Id: validate_xml_html5,v 1.4 2017/09/11 02:19:00 gilles Exp gilles $
#set -x
@ -13,8 +13,10 @@ validate_xml_html5_one() {
return $?
fi
if expr match "$type" '.*application/xml.*' > /dev/null; then
echo validate --verbose "$1"
validate --verbose "$1"
#echo validate --verbose "$1"
#validate --verbose "$1"
echo xmllint --noout "$1"
xmllint --noout "$1"
return $?
fi
echo Unknown type