def _parse_doctype_element(self, i, declstartpos):
        name, j = self._scan_name(i, declstartpos)
        if j == -1:
            return -1
        # style content model; just skip until '>'
        rawdata = self.rawdata
        if rawdata[j:] in '>':
            return rawdata.find(">", j) + 1
        return -1

    # Internal -- scan past <!ATTLIST declarations
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/markupbase.py/ParserBase._parse_doctype_element/swapped operands of `in`