diff -r bbbccb0b3a66 -r 85194bd49119 cubicweb/utils.py --- a/cubicweb/utils.py Tue Mar 26 13:08:13 2019 +0100 +++ b/cubicweb/utils.py Fri Mar 22 17:42:36 2019 +0100 @@ -35,7 +35,6 @@ from inspect import getargspec from itertools import repeat from uuid import uuid4 -from warnings import warn from threading import Lock from logging import getLogger @@ -447,11 +446,8 @@ def set_htmlattrs(self, attrs): self._htmlattrs = attrs - def set_doctype(self, doctype, reset_xmldecl=None): + def set_doctype(self, doctype): self.doctype = doctype - if reset_xmldecl is not None: - warn('[3.17] xhtml is no more supported', - DeprecationWarning, stacklevel=2) @property def htmltag(self):