perfsonar-dev - nmwg: r218 - in trunk/nmwg/schema: . rnc
Subject: perfsonar development work
List archive
- From:
- To: ,
- Subject: nmwg: r218 - in trunk/nmwg/schema: . rnc
- Date: Wed, 28 Mar 2007 09:50:57 -0400
Author: zurawski
Date: 2007-03-28 09:50:56 -0400 (Wed, 28 Mar 2007)
New Revision: 218
Added:
trunk/nmwg/schema/rnc/CMP.rnc
Modified:
trunk/nmwg/schema/test-ps-instances.sh
Log:
CMP Schema + testing code.
-jason
Added: trunk/nmwg/schema/rnc/CMP.rnc
Modified: trunk/nmwg/schema/test-ps-instances.sh
===================================================================
--- trunk/nmwg/schema/test-ps-instances.sh 2007-03-27 10:35:55 UTC (rev
217)
+++ trunk/nmwg/schema/test-ps-instances.sh 2007-03-28 13:50:56 UTC (rev
218)
@@ -10,6 +10,19 @@
SCHEMA_DIR=rnc
INSTANCE_DIR=example_instances_pS
+# test CMP instance
+rm -f rnc/*rng rnc/*xsd
+$JAVA -jar $TRANG -I rnc -O rng $SCHEMA_DIR/CMP.rnc $SCHEMA_DIR/CMP.rng
+$JAVA -jar $TRANG -I rng -O xsd $SCHEMA_DIR/CMP.rng $SCHEMA_DIR/CMP.xsd
+$JAVA -jar $MSV -warning $SCHEMA_DIR/CMP.rng
$INSTANCE_DIR/CMP/CommandRequest-1.xml
+$JAVA -jar $JING $SCHEMA_DIR/CMP.rng $INSTANCE_DIR/CMP/CommandRequest-1.xml
+$JAVA -jar $MSV -warning $SCHEMA_DIR/CMP.rng
$INSTANCE_DIR/CMP/CommandResponse-1.xml
+$JAVA -jar $JING $SCHEMA_DIR/CMP.rng $INSTANCE_DIR/CMP/CommandResponse-1.xml
+$JAVA -jar $MSV -warning $SCHEMA_DIR/CMP.rng
$INSTANCE_DIR/CMP/CommandRequest-2.xml
+$JAVA -jar $JING $SCHEMA_DIR/CMP.rng $INSTANCE_DIR/CMP/CommandRequest-2.xml
+$JAVA -jar $MSV -warning $SCHEMA_DIR/CMP.rng
$INSTANCE_DIR/CMP/CommandResponse-2.xml
+$JAVA -jar $JING $SCHEMA_DIR/CMP.rng $INSTANCE_DIR/CMP/CommandResponse-2.xml
+
# test commandline mp instance
rm -f rnc/*rng rnc/*xsd
$JAVA -jar $TRANG -I rnc -O rng $SCHEMA_DIR/ping.rnc $SCHEMA_DIR/ping.rng
- nmwg: r218 - in trunk/nmwg/schema: . rnc, svnlog, 03/28/2007
Archive powered by MHonArc 2.6.16.