From: pkiddie <pk...@us...> - 2005-07-28 13:18:36
|
Update of /cvsroot/stack/stack-1-0/scripts/install In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14725/scripts/install Modified Files: Tag: development_xmlrqp stacktest.php Log Message: Index: stacktest.php =================================================================== RCS file: /cvsroot/stack/stack-1-0/scripts/install/stacktest.php,v retrieving revision 1.5 retrieving revision 1.5.2.1 diff -C2 -d -r1.5 -r1.5.2.1 *** stacktest.php 14 Jul 2005 18:44:55 -0000 1.5 --- stacktest.php 28 Jul 2005 13:18:27 -0000 1.5.2.1 *************** *** 117,121 **** echo "<font color='red'>No output from the CAS conversion.</font>"; } ! ?> --- 117,172 ---- echo "<font color='red'>No output from the CAS conversion.</font>"; } ! ! /***********************************************/ ! /* Creation of schemas */ ! /***********************************************/ ! ! require("{$stack_root}/scripts/stackXML.php"); ! $strout=""; ! ! echo "<h2>5. Create all XML schemas required by STACK</h2>"; ! ! echo "<p>We will attempt to create XML schemas for questions, quizzes, and their respective metadata. The results are:"; ! echo "<br />5.1 Creation of question schema"; ! ! $strout = stack_schema_write_question($stack_root); ! ! if ('' != $strout) { ! echo "<br /><font color='green'>Question metadata written to $strout.</font>"; ! } else { ! echo "<br /><font color='red'>No output from the CAS conversion.</font>"; ! } ! ! echo "<br />5.2 Creation of quiz schema"; ! $strout = ''; ! ! if ('' != $strout) { ! echo "<br /><font color='green'>Question metadata written to $strout.</font>"; ! } else { ! echo "<br /><font color='red'>No output from the CAS conversion.</font>"; ! } ! ! echo "<br />5.3 Creation of question metadata"; ! ! //Write the question metadata to the root of the webserver ! //$strout = stack_schema_write_metadata($stack_root); ! $strout = stack_schema_write_question_metadata($stack_root); ! ! if ('' != $strout) { ! echo "<br /><font color='green'>Question metadata written to $strout.</font>"; ! } else { ! echo "<br /><font color='red'>No output from the CAS conversion.</font>"; ! } ! ! echo "<br />5.4 Creation of quiz metadata"; ! ! $strout = stack_schema_write_quiz_metadata($stack_root); ! ! if ('' != $strout) { ! echo "<br /><font color='green'>Question metadata written to $strout.</font>"; ! } else { ! echo "<br /><font color='red'>No output from the CAS conversion.</font>"; ! } ! ?> |