Refined the validation rule
authorPhilippe Le Hégaret <plh@w3.org>
Sat, 06 Jun 2009 00:38:12 +0000
changeset 145 83b0d0effe4a
parent 144 6d4bde199ef4
child 146 435204e6612d
Refined the validation rule
testsuite/Makefile
--- a/testsuite/Makefile	Sat Jun 06 00:19:48 2009 +0000
+++ b/testsuite/Makefile	Sat Jun 06 00:38:12 2009 +0000
@@ -28,10 +28,9 @@
 validate:
 	rm -f validate-report.txt
 	for DIR in $(TEST_SUBDIRS) ; do \
-          for file in $$DIR/*[0-9][0-9][0-9].xml ; do \
-	    echo Checking $$file ... ; \
-	    java -jar ../spec/jing/jing.jar -c ../spec/rnc/ttaf1-dfxp.rnc $$file >>validate-report.txt ; \
-	  done \
+	  echo Checking $$DIR ... ; \
+	  java -jar ../spec/jing/jing.jar -c ../spec/rnc/ttaf1-dfxp.rnc $$DIR/*[0-9][0-9][0-9].xml >>validate-report.txt ; \
+	  java -jar ../spec/jing/jing.jar ../spec/xsd/ttaf1-dfxp.xsd $$DIR/*[0-9][0-9][0-9].xml >>validate-report.txt ; \
 	done
 
 archive: filelist