diff -r 58c519e5a31f -r b2530e3e0afb devtools/htmlparser.py --- 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}