DEBUG:'.&HTML::Entities::encode($_[0],'<>&"')."\n"); + #&Apache::lonnet::logthis($_[0]); } } sub error { - $errorcount++; - my $request=$Apache::lonxml::request; - if (!$request) { $request=Apache->request; } - if (($Apache::lonxml::debug eq 1) || ($ENV{'request.state'} eq 'construct') ) { - # If printing in construction space, put the error inside - push(@Apache::lonxml::error_messages, - $Apache::lonxml::warnings_error_header. - "ERROR:".join("