[testlib] SaxOnlyValidator is deprecated, use XMLValidator instead
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 06 May 2013 17:26:16 +0200
changeset 8971 062e40f41b57
parent 8970 0a1bd0c590e2
child 8972 771337c3a754
[testlib] SaxOnlyValidator is deprecated, use XMLValidator instead
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,