[testlib] update htmlparsers.VALMAP: stop using SaxOnlyValidator and add an entry for html
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 06 May 2013 16:05:51 +0200
changeset 8972 771337c3a754
parent 8971 062e40f41b57
child 8973 6711f78c18be
[testlib] update htmlparsers.VALMAP: stop using SaxOnlyValidator and add an entry for html
devtools/htmlparser.py
--- a/devtools/htmlparser.py	Mon May 06 17:26:16 2013 +0200
+++ b/devtools/htmlparser.py	Mon May 06 16:05:51 2013 +0200
@@ -278,4 +278,8 @@
                     continue
         return False
 
-VALMAP = {None: None, 'dtd': DTDValidator, 'xml': SaxOnlyValidator}
+VALMAP = {None: None,
+          'dtd': DTDValidator,
+          'xml': XMLValidator,
+          'html': HTMLValidator,
+          }