# HG changeset patch # User Sylvain Thénault # Date 1367853976 -7200 # Node ID 062e40f41b57e2f5aeffd8a73891a8f9149fda31 # Parent 0a1bd0c590e2f8103a3a43abc500d6d822666478 [testlib] SaxOnlyValidator is deprecated, use XMLValidator instead diff -r 0a1bd0c590e2 -r 062e40f41b57 devtools/testlib.py --- a/devtools/testlib.py Tue May 14 15:26:24 2013 +0200 +++ b/devtools/testlib.py Mon May 06 17:26:16 2013 +0200 @@ -810,8 +810,8 @@ # snippets #'text/html': DTDValidator, #'application/xhtml+xml': DTDValidator, - 'application/xml': htmlparser.SaxOnlyValidator, - 'text/xml': htmlparser.SaxOnlyValidator, + 'application/xml': htmlparser.XMLValidator, + 'text/xml': htmlparser.XMLValidator, 'application/json': JsonValidator, 'text/plain': None, 'text/comma-separated-values': None,