[prev in list] [next in list] [prev in thread] [next in thread]
List: lon-capa-cvs
Subject: [LON-CAPA-cvs] cvs: loncom /xml lonxml.pm
From: raeburn <raeburn () source ! lon-capa ! org>
Date: 2010-09-29 16:09:20
Message-ID: cvsraeburn1285776560 () cvsserver
[Download RAW message or body]
raeburn Wed Sep 29 16:09:20 2010 EDT
Modified files:
/loncom/xml lonxml.pm
Log:
- Complete editing of regexp started in 1.516.
Index: loncom/xml/lonxml.pm
diff -u loncom/xml/lonxml.pm:1.517 loncom/xml/lonxml.pm:1.518
--- loncom/xml/lonxml.pm:1.517 Wed Sep 29 15:56:03 2010
+++ loncom/xml/lonxml.pm Wed Sep 29 16:09:20 2010
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# XML Parser Module
#
-# $Id: lonxml.pm,v 1.517 2010/09/29 15:56:03 raeburn Exp $
+# $Id: lonxml.pm,v 1.518 2010/09/29 16:09:20 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1437,7 +1437,7 @@
my ($is_html,$is_xml);
if ($filecontents =~/(?:\<|\<\;)\?xml[^\<]*\?(?:\>|\>\;)/is) {
$is_xml = 1;
- } elsif ($filecontents =~/(?:\<|\<\;)html(?:\s+[^\<]+|\s*)[^\<]*(?:\>|\>\;)/is) {
+ } elsif ($filecontents =~/(?:\<|\<\;)html(?:\s+[^\<]+|\s*)(?:\>|\>\;)/is) {
$is_html = 1;
}
unless ($is_xml || $is_html) {
_______________________________________________
LON-CAPA-cvs mailing list
LON-CAPA-cvs@mail.lon-capa.org
http://mail.lon-capa.org/mailman/listinfo/lon-capa-cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic