File: t.validate-xml

package info (click to toggle)
leafnode 1.12.0-5
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,496 kB
  • sloc: ansic: 10,961; sh: 1,709; xml: 627; makefile: 259; perl: 84; sed: 4
file content (10 lines) | stat: -rwxr-xr-x 153 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
#! /bin/sh

DOC=FAQ.xml

type xmllint >/dev/null 2>&1 || exit 77
a=0
for i in $DOC; do
    xmllint --noout --postvalid ${srcdir}/${i}|| a=1
done
exit $a