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

Modified Files:
        xmlvalidate.pl 
Log Message:
didactor uses entity includes which when not yet existing gives warnings, which 
fails the checkin 


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


Index: xmlvalidate.pl
===================================================================
RCS file: /var/cvs/CVSROOT/xmlvalidate.pl,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- xmlvalidate.pl      9 Jun 2008 08:23:00 -0000       1.8
+++ xmlvalidate.pl      12 Jun 2008 12:58:47 -0000      1.9
@@ -21,7 +21,7 @@
 
     [EMAIL PROTECTED] = 
`SGML_CATALOG_FILES=/usr/share/sgml/docbook/xmlcatalog:/usr/share/sgml/docbook/dtd/xml/4.1.2/catalog.xml
 /usr/bin/xmllint --valid --noout $files 2>&1`;
 
-    @output = `/usr/bin/xmllint --noout $files 2>&1`;
+    @output = `/usr/bin/xmllint --noout $files 2>&1 | grep -v '^warning:'`;
 
     for $line (@output) {
        print STDERR $line;
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to