[devtools] Use XMLValidator instead deprecated SaxOnlyValidator
authorPierre-Yves David <pierre-yves.david@logilab.fr>
Mon, 29 Apr 2013 11:06:28 +0200
changeset 8951 5cfc0387d63f
parent 8950 bcb87fa6da48
child 8952 8916a71e9f11
[devtools] Use XMLValidator instead deprecated SaxOnlyValidator The renaming was introduced in 198fdadafed6.o This prevent a meta class conflict introduced by logilab-common 0fcd2e050621.
devtools/htmlparser.py
--- a/devtools/htmlparser.py	Fri Apr 26 18:47:36 2013 +0200
+++ b/devtools/htmlparser.py	Mon Apr 29 11:06:28 2013 +0200
@@ -90,8 +90,7 @@
                                  '[3.17] you should use the '
                                  'XMLValidator class instead')
 
-
-class XMLDemotingValidator(SaxOnlyValidator):
+class XMLDemotingValidator(XMLValidator):
     """ some views produce html instead of xhtml, using demote_to_html
 
     this is typically related to the use of external dependencies