--- loncom/xml/lonplot.pm 2001/12/21 22:45:47 1.17 +++ loncom/xml/lonplot.pm 2001/12/27 15:00:45 1.18 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Dynamic plot # -# $Id: lonplot.pm,v 1.17 2001/12/21 22:45:47 matthew Exp $ +# $Id: lonplot.pm,v 1.18 2001/12/27 15:00:45 matthew Exp $ # # Copyright Michigan State University Board of Trustees # @@ -366,12 +366,8 @@ sub start_data { } my $datatext = &Apache::lonxml::get_all_text("/data",$$parser[-1]); &Apache::lonxml::warning( - ' Length of data string: '.length($datatext)); + ' Length of data string: '.length($datatext)); $datatext =~ s/\s+/ /g; - if ($datatext !~ /^(([+-]?\d*\.?\d*)[, ]?)+$/) { - &Apache::lonxml::warning('Malformed data: '.$datatext); - $datatext = ''; - } # Need to do some error checking on the @data array - # make sure it's all numbers and make sure each array # is of the same length.