mirror of
https://github.com/imapsync/imapsync.git
synced 2025-07-29 21:36:07 +02:00
1.836
This commit is contained in:
parent
3afeea4a16
commit
8d76e44c5e
243 changed files with 57452 additions and 10330 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue