--- a/devtools/htmlparser.py Tue Aug 11 17:04:59 2009 +0200 +++ b/devtools/htmlparser.py Tue Aug 11 17:13:32 2009 +0200 @@ -169,3 +169,5 @@ except KeyError: continue return False + +VALMAP = {None: None, 'dtd': DTDValidator, 'xml': SaxOnlyValidator}