#!/bin/sh

if [ $# -ne 1 ]
then
  exit 1
fi

if [ ! -d $1 ]
then
  exit 1
fi

find $1 -name "*.xml" -exec xmllint --noout --schema $1/wrapper.xsd {} \;

