Update of /var/cvs/CVSROOT
In directory james.mmbase.org:/tmp/cvs-serv31879

Modified Files:
        xmlvalidate.pl 
Log Message:
buildbase.xml is known to be invalid, but correct anyway


See also: http://cvs.mmbase.org/viewcvs/CVSROOT


Index: xmlvalidate.pl
===================================================================
RCS file: /var/cvs/CVSROOT/xmlvalidate.pl,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- xmlvalidate.pl      8 Apr 2008 08:28:32 -0000       1.7
+++ xmlvalidate.pl      9 Jun 2008 08:23:00 -0000       1.8
@@ -5,7 +5,11 @@
     if ($file =~ m/\.(xml|jspx|xsl|xslt|tagx|tld)$/) {
        if (open FIL, "<$file") {
            close FIL;
+           if ($file =~ m/buildbase.xml$/) {
+               print "Ignoring buildbase.xml, because it is known to be 
invalid xml\n";
+           } else {
            $files .= " $file";
+           }
        } else {
            print "Ignoring file '$file', cannot open it\n";
        }
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to