--- loncom/xml/lonxml.pm 2008/08/07 10:19:26 1.483
+++ loncom/xml/lonxml.pm 2008/08/08 16:50:39 1.484
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# XML Parser Module
#
-# $Id: lonxml.pm,v 1.483 2008/08/07 10:19:26 bisitz Exp $
+# $Id: lonxml.pm,v 1.484 2008/08/08 16:50:39 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1844,8 +1844,10 @@ sub error {
if ( &show_error_warn_msg() ) {
# If printing in construction space, put the error inside
push(@Apache::lonxml::error_messages,
- $Apache::lonxml::warnings_error_header.
- "".&mt('ERROR:')."".join("
\n",@errors)."
\n");
+ $Apache::lonxml::warnings_error_header
+ .''
+ .''.&mt('ERROR:').' '.join("
\n",@errors)
+ ."
\n");
$Apache::lonxml::warnings_error_header='';
} else {
my $errormsg;
@@ -1906,10 +1908,10 @@ sub warning {
if ($env{'form.grade_target'} ne 'tex') {
if ( &show_error_warn_msg() ) {
push(@Apache::lonxml::warning_messages,
- $Apache::lonxml::warnings_error_header.
- ''.
- &mt('[_1]W[_2]ARNING','','').": ".join('
',@_)."
\n".
- ''
+ $Apache::lonxml::warnings_error_header
+ .''
+ .&mt('[_1]W[_2]ARNING','','').": ".join('
',@_)
+ ."
\n"
);
$Apache::lonxml::warnings_error_header='';
}