--- loncom/xml/lonxml.pm 2007/10/30 00:22:27 1.468 +++ loncom/xml/lonxml.pm 2007/11/13 22:16:10 1.469 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # XML Parser Module # -# $Id: lonxml.pm,v 1.468 2007/10/30 00:22:27 albertel Exp $ +# $Id: lonxml.pm,v 1.469 2007/11/13 22:16:10 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -377,7 +377,7 @@ sub xmlparse { $finaloutput .= join('',@script_var_displays); undef(@script_var_displays); } - + &init_state(); if ($env{'form.return_only_error_and_warning_counts'}) { return "$errorcount:$warningcount"; } @@ -659,6 +659,7 @@ sub setup_globals { &init_counter(); &clear_bubble_lines_for_part(); &init_state(); + &set_state('target',$target); @Apache::lonxml::pwd=(); @Apache::lonxml::extlinks=(); @script_var_displays=();