Line 270 of element.py mentions self.tagStack[i].nsprefix. But the actual name of the attribute is 'prefix', not 'nsprefix'. This means that every _popToTag call invokes a find() call looking for a nonexistant <nsprefix> subtag. This slows down parsing times greatly for no reason.
Line 270 of element.py mentions self.tagStack[ i].nsprefix. But the actual name of the attribute is 'prefix', not 'nsprefix'. This means that every _popToTag call invokes a find() call looking for a nonexistant <nsprefix> subtag. This slows down parsing times greatly for no reason.