--- loncom/xml/lonxml.pm	2001/01/04 19:16:16	1.43
+++ loncom/xml/lonxml.pm	2001/01/05 19:45:03	1.44
@@ -42,6 +42,9 @@ sub xmlparse {
  if ($target eq 'meta') {
    $Apache::lonxml::textredirection = 0;
    $Apache::lonxml::on_offimport = 1;
+ } else {
+   $Apache::lonxml::textredirection = 1;
+   $Apache::lonxml::on_offimport = 0;
  }
  my @pars = ();
  @Apache::lonxml::pwd=();
@@ -336,7 +339,7 @@ sub writeallows {
 
 sub handler {
   my $request=shift;
-
+  
   my $target='web';
 #  $Apache::lonxml::debug=1;
   if ($ENV{'browser.mathml'}) {
@@ -380,7 +383,7 @@ sub debug {
   }
 }
 sub error {
-  print "ERROR:".$_[0]."<br>\n";
+#  print "ERROR:".$_[0]."<br>\n";
 }
 sub warning {
   if ($Apache::lonxml::debug eq 1) {