--- loncom/homework/externalresponse.pm	2007/04/18 00:19:37	1.7
+++ loncom/homework/externalresponse.pm	2007/09/11 19:07:01	1.8
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # external style responses
 #
-# $Id: externalresponse.pm,v 1.7 2007/04/18 00:19:37 albertel Exp $
+# $Id: externalresponse.pm,v 1.8 2007/09/11 19:07:01 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -79,6 +79,7 @@ sub end_externalresponse {
 		} else {
 		    &Apache::lonxml::register('Apache::loncapagrade',
 					      ('loncapagrade'));
+		    @Apache::scripttag::parser_env = @_;
 		    my $result=&Apache::scripttag::xmlparse($res->{_content});
 		    &Apache::lonxml::debug("Got a result of :$result:");
 		}