rework of sax parser working as well or better than old one