[LON-CAPA-cvs] cvs: loncom /publisher lonpublisher.pm

albertel lon-capa-cvs@mail.lon-capa.org
Tue, 24 Jan 2006 22:09:36 -0000


albertel		Tue Jan 24 17:09:36 2006 EDT

  Modified files:              
    /loncom/publisher	lonpublisher.pm 
  Log:
  - when checking for missing  or duped ids, need to be in xml_mode
  
  
Index: loncom/publisher/lonpublisher.pm
diff -u loncom/publisher/lonpublisher.pm:1.206 loncom/publisher/lonpublisher.pm:1.207
--- loncom/publisher/lonpublisher.pm:1.206	Fri Jan 13 17:17:12 2006
+++ loncom/publisher/lonpublisher.pm	Tue Jan 24 17:09:36 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Publication Handler
 #
-# $Id: lonpublisher.pm,v 1.206 2006/01/13 22:17:12 albertel Exp $
+# $Id: lonpublisher.pm,v 1.207 2006/01/24 22:09:36 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -547,6 +547,7 @@
     my %duplicatedids;
 
     my $parser=HTML::LCParser->new($content);
+    $parser->xml_mode(1);
     my $token;
     while ($token=$parser->get_token) {
 	if ($token->[0] eq 'S') {