perfsonar-dev - perfsonar: r3178 - trunk/geant2_java-xml-ls/doc/schema
Subject: perfsonar development work
List archive
- From:
- To:
- Subject: perfsonar: r3178 - trunk/geant2_java-xml-ls/doc/schema
- Date: Mon, 7 Jan 2008 06:35:27 -0500
Author: mac
Date: 2008-01-07 06:35:27 -0500 (Mon, 07 Jan 2008)
New Revision: 3178
Modified:
trunk/geant2_java-xml-ls/doc/schema/test.sh
Log:
jing added
Modified: trunk/geant2_java-xml-ls/doc/schema/test.sh
===================================================================
--- trunk/geant2_java-xml-ls/doc/schema/test.sh 2008-01-04 16:36:00 UTC (rev
3177)
+++ trunk/geant2_java-xml-ls/doc/schema/test.sh 2008-01-07 11:35:27 UTC (rev
3178)
@@ -4,32 +4,33 @@
MSV="java -jar lib/msv.jar"
JING="java -jar lib/jing.jar"
+echo "[--- Validate $1 ----]"
+
RNCFILE=rnc/$1.rnc
RNGFILE=rng/$1.rng # rng/$(echo $1 | sed 's/\.rnc/.rng/' )
XSDFILE=xsd/$1.xsd # xsd/$(echo $1 | sed 's/\.rnc/.xsd/' )
XMLFILE=../../samples/requests/$1.xml
-ls $RNCFILE
-ls $RNGFILE
-ls $XSDFILE
-ls $XMLFILE
+echo "RNC file: $(ls $RNCFILE)"
+echo;
-
echo [Remove old files]
+rm $RNGFILE 2> /dev/null
+rm $XSDFILE 2> /dev/null
+echo;
-rm $RNGFILE &1> /dev/null
-rm $XSDFILE &1> /dev/null
-
-echo "[Generate $1]"
-
+echo "[Generate $1 schema XSD and RNG]"
$TRANG $RNCFILE $XSDFILE
$TRANG $RNCFILE $RNGFILE
+echo;
echo "[Test $1]"
-echo;
+echo "[ 1. MSV]"
$MSV -warning $RNGFILE $XMLFILE
echo;
-echo .;
-#$JING $i ../../../samples/requests/$(echo $i | sed 's/\.rng/.xml/' )
+echo "[ 2. JING]"
+$JING -t $RNGFILE $XMLFILE
+echo;
+
- perfsonar: r3178 - trunk/geant2_java-xml-ls/doc/schema, svnlog, 01/07/2008
Archive powered by MHonArc 2.6.16.