--- loncom/xml/lonxml.pm 2002/10/20 18:42:53 1.205 +++ loncom/xml/lonxml.pm 2002/10/21 17:10:35 1.206 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # XML Parser Module # -# $Id: lonxml.pm,v 1.205 2002/10/20 18:42:53 www Exp $ +# $Id: lonxml.pm,v 1.206 2002/10/21 17:10:35 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -106,6 +106,10 @@ use Apache::lonmsg(); #debugging control, to turn on debugging modify the correct handler $Apache::lonxml::debug=0; +# keeps count of the number of warnings and errors generated in a parse +$warningcount=0; +$errorcount=0; + #path to the directory containing the file currently being processed @pwd=();